/* Brand tokens and typography match web/src/app/style.css. */
:root {
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #242a43;
  background: #f6f7fc;
  font-synthesis: none;
  --brand: #2b3675;
  --muted: #626b85;
  --line: #dde1ef;
  accent-color: var(--brand);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
a {
  color: var(--brand);
  text-underline-offset: 4px;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #9da8dc;
  outline-offset: 5px;
}
a:hover {
  color: #4658a2;
}
img {
  max-width: 100%;
}
.wrap {
  width: min(1160px, calc(100% - 80px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 20px;
  top: -100px;
  padding: 12px;
  background: white;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
.site-header {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand span {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -1px;
}
.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-header nav > a,
.site-footer nav > a {
  font-size: 13px;
  text-decoration: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border-radius: 7px;
  padding: 15px 21px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  min-height: 46px;
}
.primary {
  background: var(--brand);
  color: white;
}
.primary:hover {
  background: #3c4a8d;
  color: white;
}
.secondary {
  background: white;
  border-color: var(--line);
}
.compact {
  padding: 10px 15px;
  gap: 15px;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 64px;
  padding-block: 78px 70px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 2px;
  color: #596697;
  line-height: 1.7;
  margin: 0 0 20px;
}
h1,
.display,
.dashboard-preview > h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -1.5px;
}
h1 {
  font-size: clamp(42px, 4.6vw, 62px);
  line-height: 1.1;
  margin: 0 0 24px;
}
h1 em {
  color: var(--brand);
  font-weight: 400;
}
.lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 470px;
  margin: 0 0 30px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 25px;
}
.text-link {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  padding-block: 5px;
}
.text-link span {
  margin-left: 8px;
}
.hero-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 23px;
  line-height: 1.6;
}
.dashboard-preview {
  margin: 0;
  border: 1px solid #d5dbee;
  border-radius: 16px;
  background: #eef0f9;
  padding: 26px;
  box-shadow: 0 18px 45px -28px #2b36754a;
  transform: rotate(1deg);
}
.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.preview-top .eyebrow {
  font-size: 8px;
  letter-spacing: 1.2px;
  margin: 0;
}
.status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #4a7159;
  white-space: nowrap;
}
.status i {
  width: 6px;
  height: 6px;
  background: #55966b;
  border-radius: 50%;
}
.dashboard-preview > h2 {
  font-size: 31px;
  margin: 23px 0 7px;
  letter-spacing: -0.8px;
}
.preview-intro {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 23px;
}
.example-profile {
  padding: 19px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 12px;
}
.profile-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8ebfa;
  color: #4f5e9b;
  font-family: Georgia, serif;
  font-size: 20px;
}
.avatar.second {
  background: #f4ede3;
  color: #927344;
}
.profile-heading h3 {
  font-size: 14px;
  margin: 0 0 3px;
}
.profile-heading div > span {
  font-size: 9px;
  color: var(--muted);
}
.pill {
  margin-left: auto;
  font-size: 9px;
  padding: 5px 9px;
  border-radius: 20px;
  background: #eef5ed;
  color: #4a7159;
}
.pill.bedtime {
  background: #eef0f9;
  color: #596697;
}
.usage {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 20px 0 11px;
}
.usage strong {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -1px;
}
.usage strong span {
  font-size: 14px;
  letter-spacing: 0;
}
.usage > span {
  font-size: 10px;
  color: var(--muted);
}
.meter {
  height: 6px;
  border-radius: 6px;
  background: #edf0f8;
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  background: #6979bb;
  border-radius: 6px;
}
.profile-detail {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  font-size: 9px;
  color: var(--muted);
}
.profile-detail strong {
  font-weight: 500;
  color: var(--brand);
}
.bedtime-row {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 22px;
}
.moon {
  font-size: 31px;
  color: #6979bb;
}
.bedtime-row strong {
  font-size: 11px;
  font-weight: 500;
}
.bedtime-row p {
  font-size: 10px;
  color: var(--muted);
  margin: 5px 0;
}
.dashboard-preview figcaption {
  text-align: center;
  font-size: 9px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 19px;
}
.principles {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-block: 1px solid var(--line);
  padding-block: 24px;
}
.principles > span {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #4c5779;
}
.principles > span > span {
  font-size: 24px;
  color: #6979bb;
}
.section-space {
  padding-block: 85px;
}
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.display {
  font-size: 40px;
  line-height: 1.18;
  margin: 0 0 24px;
  letter-spacing: -1px;
}
.story-copy p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 18px;
}
.features {
  background: #eef0f9;
  border-block: 1px solid var(--line);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 38px;
}
.feature-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 25px 22px;
}
.feature-number {
  font-size: 9px;
  color: #596697;
  letter-spacing: 1.4px;
}
h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.feature-grid h3 {
  margin: 25px 0 12px;
}
.feature-grid p,
.steps p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}
.section-heading .display {
  margin-bottom: 0;
}
.section-heading > p {
  max-width: 330px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 5px;
}
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  margin: 44px 0;
}
.step {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #e8ebfa;
  border: 1px solid #d5dbee;
  border-radius: 50%;
  font-size: 12px;
  color: var(--brand);
}
.steps h3 {
  margin: 19px 0 10px;
}
.setup-note {
  padding: 23px 27px;
  background: #edf0fa;
  border: 1px solid #d9dff4;
  border-radius: 9px;
}
.setup-note > strong {
  font-size: 13px;
  font-weight: 600;
}
.setup-note p {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
  margin: 9px 0;
}
.setup-note .text-link {
  font-size: 12px;
}
.privacy-callout {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 30px;
  align-items: center;
  padding: 42px 52px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.privacy-symbol {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: #eef0f9;
  display: grid;
  place-items: center;
}
.privacy-callout .display {
  font-size: 34px;
  margin-bottom: 15px;
}
.privacy-callout .eyebrow {
  margin-bottom: 13px;
}
.privacy-callout p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 680px;
  margin: 0 0 12px;
}
.faq {
  max-width: 850px;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  padding: 23px 0;
}
details p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0 0 24px;
  max-width: 710px;
}
.closing {
  text-align: center;
  background: #eef0f9;
  border-block: 1px solid var(--line);
  padding: 65px 0;
}
.closing .display {
  font-size: 46px;
}
.closing > div > p:last-child {
  font-size: 12px;
  color: var(--muted);
  margin-top: 18px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 28px;
}
.site-footer .brand span {
  font-size: 19px;
}
.site-footer p {
  font-size: 11px;
  color: var(--muted);
}
.site-footer nav {
  gap: 23px;
}
.site-footer nav > a {
  font-size: 11px;
}
.policy {
  max-width: 780px;
  padding-block: 65px 80px;
}
.policy h1 {
  font-size: 50px;
}
.policy .policy-intro {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
}
.policy h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 38px 0 15px;
  letter-spacing: -0.4px;
}
.policy p,
.policy li {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}
.policy li {
  margin-bottom: 10px;
}
.policy strong {
  color: #242a43;
}
.policy .updated {
  font-size: 12px;
}
.policy .toc {
  padding: 20px 26px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
}
.policy .toc a {
  display: inline-block;
  margin: 4px 18px 4px 0;
  font-size: 13px;
}
section[id],
h2[id] {
  scroll-margin-top: 30px;
}
@media (min-width: 1500px) {
  .hero {
    padding-block: 96px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero {
    gap: 30px;
  }
  .dashboard-preview {
    padding: 20px;
    transform: none;
  }
  .preview-top {
    flex-wrap: wrap;
  }
  .story {
    gap: 50px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-header nav {
    gap: 20px;
  }
  .principles {
    gap: 15px;
  }
  .principles > span {
    font-size: 11px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .site-footer p {
    margin-right: auto;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    min-height: 0;
    flex-wrap: wrap;
    padding-block: 17px;
    gap: 15px;
  }
  .brand span {
    font-size: 23px;
  }
  .site-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .site-header nav > a {
    font-size: 11px;
  }
  .site-header .compact {
    min-height: 40px;
    padding: 8px 10px;
    gap: 6px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 48px;
    gap: 36px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .lead {
    font-size: 16px;
  }
  .hero-note {
    font-size: 10px;
  }
  .dashboard-preview {
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
    padding: 24px;
  }
  .preview-top {
    flex-wrap: nowrap;
  }
  .principles {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 22px;
    gap: 15px;
  }
  .principles > span {
    font-size: 12px;
  }
  .section-space {
    padding-block: 52px;
  }
  .story {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .story .display br {
    display: none;
  }
  .display {
    font-size: 34px;
  }
  .story-copy p {
    font-size: 14px;
  }
  .feature-grid {
    gap: 12px;
    margin-top: 26px;
  }
  .feature-grid article {
    padding: 20px 17px;
  }
  .feature-grid h3 {
    font-size: 15px;
    margin-top: 18px;
  }
  .feature-grid p {
    font-size: 12px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 20px;
    max-width: none;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-block: 30px;
  }
  .steps li {
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: 15px;
  }
  .step {
    grid-row: 1/3;
  }
  .steps h3 {
    margin: 4px 0 7px;
  }
  .setup-note {
    padding: 22px;
  }
  .privacy-callout {
    padding: 26px;
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .privacy-symbol {
    width: 75px;
    height: 75px;
  }
  .privacy-symbol img {
    width: 58px;
    height: 58px;
  }
  .privacy-callout .display {
    font-size: 31px;
  }
  .closing {
    padding-block: 48px;
  }
  .closing .display {
    font-size: 40px;
  }
  .site-footer {
    gap: 14px;
  }
  .site-footer p {
    margin: 0;
  }
  .site-footer nav {
    width: 100%;
    justify-content: space-between;
    padding-top: 10px;
  }
  .policy {
    padding-block: 42px;
  }
  .policy h1 {
    font-size: 42px;
  }
  .policy .policy-intro {
    font-size: 16px;
  }
}
@media (max-width: 370px) {
  .hero h1 {
    font-size: 41px;
  }
  .actions {
    gap: 16px;
  }
  .button {
    gap: 16px;
    padding: 13px 17px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .preview-top {
    flex-wrap: wrap;
  }
  .profile-detail {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 720px) {
  .hero h1 br {
    display: none;
  }
}
