:root {
  --ink-strong: #17242c;
  --ink: #26343d;
  --blue-dark: #24495e;
  --blue: #3e708e;
  --blue-clear: #4f819f;
  --blue-soft: #dcecf3;
  --teal: #3e7774;
  --gold: #c9922e;
  --gold-soft: #fff4d6;
  --mist: #f3f7f8;
  --slate: #5b6a73;
  --line: #c9d8df;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(23, 36, 44, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--mist);
  font-family: "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  color: var(--ink-strong);
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.08;
}
h1 { max-width: 760px; margin-bottom: 1.25rem; font-size: 4.25rem; }
h2 { margin-bottom: 1rem; font-size: 2.65rem; }
h3 { margin-bottom: .55rem; font-size: 1.15rem; }
.wrap { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; color: #fff; background: var(--blue-dark); border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand-link { width: 190px; flex: 0 0 auto; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; color: var(--slate); font-weight: 700; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--blue-dark); }

.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: .72rem 1rem; border: 1px solid transparent; border-radius: 6px; font-weight: 800; }
.button.primary { color: #fff; background: var(--blue); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { color: var(--blue-dark); background: #fff; border-color: var(--line); }
.button.on-dark { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.62); }
.button.light { color: var(--blue-dark); background: #fff; }
.button.compact { padding-inline: .85rem; }
.button:focus-visible, a:focus-visible { outline: 3px solid rgba(79,129,159,.45); outline-offset: 3px; }

.hero { min-height: 540px; height: calc(100svh - 120px); max-height: 680px; position: relative; display: grid; align-items: center; overflow: hidden; background: var(--ink-strong); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: .36; }
.hero-overlay { position: absolute; inset: 0; background: rgba(23,36,44,.72); }
.hero-content { position: relative; z-index: 1; padding-block: 4rem 5rem; color: #fff; }
.hero-content h1 { color: #fff; }
.hero-lead { max-width: 700px; margin-bottom: 1.75rem; color: rgba(255,255,255,.88); font-size: 1.3rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.pilot-note { margin: 1.25rem 0 0; display: flex; align-items: center; gap: .55rem; color: rgba(255,255,255,.76); font-size: .9rem; }
.pilot-note span { width: 9px; height: 9px; border-radius: 999px; background: #f1c56e; }
.eyebrow { margin-bottom: .65rem; color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
.hero .eyebrow, .cta-section .eyebrow { color: #f1c56e; }

.section { padding: 5.5rem 0; }
.section-heading { max-width: 780px; margin-bottom: 2rem; }
.section-heading > p:last-child { color: var(--slate); font-size: 1.08rem; }
.product-section, .controls-section, .story-section { background: #fff; }
.product-figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.product-figure img { width: 100%; }
.product-figure figcaption { padding: .75rem 1rem; color: var(--slate); border-top: 1px solid var(--line); font-size: .86rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature { padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.feature p { margin: 0; color: var(--slate); }
.feature-icon { width: 42px; height: 42px; margin-bottom: 1rem; display: grid; place-items: center; color: var(--blue-dark); background: var(--blue-soft); border-radius: 6px; }
.feature-icon .ui-icon { width: 21px; height: 21px; }

.capabilities-section { background: #fff; }
.capability-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.capability-group { min-width: 0; padding: 1.5rem; background: var(--mist); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); }
.capability-group:nth-child(2) { border-top-color: var(--gold); }
.capability-group:nth-child(3) { border-top-color: var(--teal); }
.capability-group:nth-child(4) { border-top-color: var(--blue-dark); }
.capability-kicker { margin-bottom: .35rem; color: var(--blue); font-size: .76rem; font-weight: 900; text-transform: uppercase; }
.capability-group h3 { margin-bottom: 1rem; font-size: 1.35rem; }
.capability-group ul { margin: 0; padding-left: 1.25rem; color: var(--slate); }
.capability-group li + li { margin-top: .55rem; }

.nanny-section { background: var(--blue-soft); border-block: 1px solid #b9d2de; }
.nanny-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); gap: 3.5rem; align-items: center; }
.controls-layout, .story-layout, .cta-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: 4rem; align-items: center; }
.nanny-story { min-width: 0; display: grid; grid-template-columns: minmax(150px, 200px) minmax(0, 1fr); gap: 1.75rem; align-items: start; }
.nanny-portrait { margin: 0; }
.nanny-portrait img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #fff; border: 1px solid #b9d2de; border-radius: var(--radius); }
.nanny-portrait figcaption { margin-top: .6rem; color: var(--slate); font-size: .82rem; line-height: 1.35; }
.nanny-copy > p { color: var(--slate); font-size: 1.05rem; }
.nanny-copy .eyebrow { color: var(--blue-dark); font-size: .78rem; }
.nanny-copy h2 { font-size: 2.35rem; }
.nanny-quote { margin: 1.25rem 0; padding: .35rem 0 .35rem 1rem; font-size: 1.3rem; }
.nanny-copy .nanny-principle { margin-bottom: 0; color: var(--ink); font-size: .98rem; font-weight: 700; }
.guided-steps { margin: 0; padding: 0; display: grid; gap: .75rem; list-style: none; }
.guided-steps li { display: grid; grid-template-columns: 38px 1fr; gap: .8rem; align-items: center; padding: .85rem; background: #fff; border: 1px solid #b9d2de; border-radius: var(--radius); }
.guided-steps li > span { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 6px; font-weight: 900; }
.guided-steps strong, .guided-steps small { display: block; }
.guided-steps small { margin-top: .15rem; color: var(--slate); }

.controls-layout { align-items: start; }
.control-list { margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); list-style: none; }
.control-list > li { display: grid; grid-template-columns: 36px 1fr; gap: .1rem .75rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.control-list > li > span { grid-row: span 2; width: 36px; height: 36px; display: grid; place-items: center; color: var(--teal); background: #e7f4ec; border-radius: 6px; }
.control-list .ui-icon { width: 19px; height: 19px; }
.control-list small { color: var(--slate); }

.connections-section { background: var(--mist); border-top: 1px solid var(--line); }
.connection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.connection-grid article { min-width: 0; padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.connection-grid h3 { margin: 1rem 0 .55rem; }
.connection-grid p { margin: 0; color: var(--slate); }
.status-chip { display: inline-flex; padding: .28rem .55rem; color: #725211; background: var(--gold-soft); border: 1px solid #ead39a; border-radius: 999px; font-size: .72rem; font-weight: 900; }
.pilot-boundary { margin-top: 1rem; padding: 1.25rem 1.4rem; background: var(--blue-soft); border: 1px solid #b9d2de; border-radius: var(--radius); }
.pilot-boundary strong { display: block; margin-bottom: .25rem; color: var(--blue-dark); }
.pilot-boundary p { margin: 0; color: var(--slate); }

.story-layout { align-items: start; }
.story-copy { max-width: 700px; color: var(--slate); font-size: 1.08rem; }
blockquote { margin: 1.5rem 0; padding: 1rem 0 1rem 1.25rem; color: var(--blue-dark); border-left: 4px solid var(--gold); font-family: Manrope, "Segoe UI", Arial, sans-serif; font-size: 1.75rem; font-weight: 800; }

.cta-section { padding: 4.5rem 0; color: #fff; background: var(--blue-dark); }
.cta-layout h2 { color: #fff; }
.cta-layout p:last-child { margin-bottom: 0; color: rgba(255,255,255,.8); }
.cta-layout .button { justify-self: end; }
.cta-actions { justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem; }
.cta-actions .button { justify-self: auto; }

.site-footer { padding: 2rem 0; background: #fff; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-inner img { width: 190px; }
.footer-product { display: block; }
.footer-inner p { margin: 0; color: var(--slate); font-size: .86rem; text-align: right; }
.footer-meta { display: grid; justify-items: end; gap: .35rem; }
.footer-meta nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem; color: var(--blue-dark); font-size: .86rem; font-weight: 800; }
.footer-meta a:hover, .footer-meta a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.ui-icon { width: 1.1rem; height: 1.1rem; fill: none; }

.legal-main { min-height: calc(100svh - 160px); }
.legal-title-band { padding: 4.5rem 0 3.25rem; background: var(--blue-soft); border-bottom: 1px solid var(--line); }
.legal-title { max-width: 860px; margin-inline: auto; }
.legal-title h1 { margin-bottom: .75rem; font-size: 3.25rem; }
.legal-title > p:not(.eyebrow) { max-width: 720px; margin-bottom: .75rem; color: var(--slate); font-size: 1.15rem; }
.legal-title small { color: var(--slate); font-weight: 700; }
.legal-content-band { padding: 4rem 0 5rem; background: #fff; }
.legal-content { max-width: 860px; margin-inline: auto; }
.legal-content section { padding: 1.65rem 0; border-bottom: 1px solid var(--line); }
.legal-content section:first-child { padding-top: 0; }
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 { margin-bottom: .7rem; font-size: 1.55rem; }
.legal-content p:last-child, .legal-content ul:last-child { margin-bottom: 0; }
.legal-content li + li { margin-top: .4rem; }
.legal-content a, .support-options a:not(.button), .support-boundary a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.support-options-band { padding: 4rem 0; background: #fff; }
.support-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.support-options article { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.support-options h2 { font-size: 1.45rem; }
.support-options p { color: var(--slate); }
.support-boundary-band { padding: 3rem 0; background: var(--gold-soft); border-block: 1px solid #ead39a; }
.support-boundary { max-width: 860px; margin-inline: auto; }
.support-boundary h2 { font-size: 1.65rem; }
.support-boundary p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  h1 { font-size: 3.4rem; }
  h2 { font-size: 2.2rem; }
  .site-nav { display: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .connection-grid { grid-template-columns: 1fr; }
  .nanny-layout, .controls-layout, .story-layout, .cta-layout { grid-template-columns: 1fr; gap: 2rem; }
  .cta-layout .button { justify-self: start; }
  .cta-actions { justify-self: start; justify-content: flex-start; }
}

@media (max-width: 620px) {
  h1 { font-size: 2.65rem; }
  h2 { font-size: 1.95rem; }
  .wrap { width: min(100% - 1.25rem, 1160px); }
  .site-header .button { display: none; }
  .header-inner { min-height: 64px; }
  .brand-link { width: 166px; }
  .hero { min-height: 540px; height: calc(100svh - 108px); max-height: 620px; }
  .hero-content { padding-block: 3rem 3.5rem; }
  .hero-lead { font-size: 1.1rem; }
  .hero-actions { display: grid; }
  .section { padding: 4rem 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .capability-groups { grid-template-columns: 1fr; }
  .nanny-story { grid-template-columns: 1fr; }
  .nanny-portrait { width: min(72vw, 240px); }
  .nanny-copy h2 { font-size: 1.95rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner p { text-align: left; }
  .footer-meta { justify-items: start; }
  .footer-meta nav { justify-content: flex-start; }
  .cta-actions { display: grid; width: 100%; }
  .legal-nav { display: none; }
  .legal-title-band { padding: 3.25rem 0 2.5rem; }
  .legal-title h1 { font-size: 2.45rem; }
  .legal-content-band, .support-options-band { padding: 3rem 0 4rem; }
  .support-options { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
