:root {
  color-scheme: light;
  --bg: #f6f5f2;
  --surface: #fff;
  --ink: #1c1b1f;
  --muted: #5e5c66;
  --accent: #00696b;
  --accent-strong: #005456;
  --accent-soft: #d6f0ef;
  --line: #e4e2de;
  --feeding: #a14e00;
  --feeding-soft: #fce9d9;
  --sleep: #4f4fb8;
  --sleep-soft: #e6e6fa;
  --diaper: #256b2a;
  --diaper-soft: #e2f2e1;
  --font: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 1rem/1.6 var(--font); }
button { color: inherit; font: inherit; cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.symbol-set { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; z-index: 3; left: 1rem; top: .7rem; transform: translateY(-180%); padding: .5rem 1rem; background: var(--surface); }
.skip:focus { transform: none; }
.wrap { width: min(var(--max), calc(100% - 5.5rem)); margin-inline: auto; }
.top { min-height: 82px; display: grid; align-items: center; grid-template-columns: 1fr auto 1fr; gap: 1rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: .65rem; width: fit-content; align-items: center; font-size: 1.15rem; font-weight: 760; letter-spacing: -.05em; text-decoration: none; white-space: nowrap; }
.brand img { flex: 0 0 auto; }
.top nav { display: flex; gap: clamp(1.2rem, 3vw, 2.45rem); }
.top nav a, .footer a:not(.brand) { font-size: .94rem; font-weight: 620; text-decoration: none; }
.top nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .23em; }
.nav-action { justify-self: end; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .6rem 1.26rem; border: 1px solid transparent; border-radius: 999px; font-size: .94rem; font-weight: 670; text-decoration: none; white-space: nowrap; }
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { background: var(--accent-strong); }
.button-outline { border-color: #9daaa8; color: var(--accent); background: transparent; }
.button-outline:hover { background: var(--accent-soft); }
.text-link { color: var(--accent); font-size: .94rem; font-weight: 670; text-underline-offset: .22em; }
.text-link:hover { color: var(--accent-strong); }
h1, h2, h3 { margin: 0; }
h1, h2 { font-weight: 720; line-height: 1.06; letter-spacing: -.058em; text-wrap: balance; }
h2 { font-size: clamp(2.15rem, 4.2vw, 3.55rem); }
.app-hero { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: 4rem 4.3rem; }
.platform { margin: 0 0 1.1rem; color: var(--accent); font-size: .875rem; font-weight: 720; }
.app-hero h1 { font-size: clamp(3.55rem, 6.05vw, 6.1rem); }
.app-hero h1 em { font-style: normal; color: var(--accent); }
.intro { max-width: 26rem; margin: 1.35rem 0 1.65rem; color: var(--muted); font-size: clamp(1.02rem, 1.65vw, 1.19rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.15rem; }
.hero-categories { display: flex; flex-wrap: wrap; gap: .45rem .9rem; margin-top: 2rem; }
.hero-categories > span { display: inline-flex; align-items: center; gap: .38rem; color: var(--muted); font-size: .875rem; font-weight: 650; }
.category-icon { width: 2.15rem; height: 2.15rem; flex: 0 0 auto; border-radius: 50%; display: inline-grid; place-items: center; }
.category-icon svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.feeding { background: var(--feeding-soft); color: var(--feeding); }
.sleep { background: var(--sleep-soft); color: var(--sleep); }
.diaper { background: var(--diaper-soft); color: var(--diaper); }
.app-visual { margin: 0; min-width: 0; }
.product-stage { position: relative; display: grid; place-items: center; isolation: isolate; overflow: hidden; padding: 1.7rem 1rem; border-radius: 1.75rem; background: var(--accent-soft); }
.orbit { position: absolute; z-index: -1; width: 84%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #a9d8d6; }
.orbit-two { width: 105%; }
.phone { width: min(100%, 16.4rem); padding: .32rem; overflow: hidden; border: 1px solid #3c5555; border-radius: 1.5rem; background: #144548; box-shadow: 0 18px 34px #18434b35; }
.screen { width: 100%; height: auto; border-radius: 1.15rem; }
.app-visual-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem .85rem; flex-wrap: wrap; padding-top: .65rem; }
.app-visual-footer figcaption { color: var(--muted); font-size: .875rem; }
.screen-controls, .demo-tabs { display: flex; flex-wrap: wrap; gap: .3rem; }
.screen-control, .demo-tab { background: var(--surface); border: 1px solid var(--line); padding: .26rem .66rem; min-height: 40px; border-radius: .5rem; font-weight: 620; font-size: .875rem; }
.screen-control:hover, .demo-tab:hover { border-color: var(--accent); }
.screen-control[aria-pressed="true"], .demo-tab[aria-pressed="true"] { border-color: transparent; background: var(--accent-soft); color: var(--accent-strong); }
.preview-band { padding-block: 4.5rem; background: #ecefea; border-block: 1px solid #e0e5df; }
.preview-grid { display: grid; grid-template-columns: .87fr 1.13fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.preview-copy p, .guides-heading p { color: var(--muted); }
.preview-copy p { margin: .75rem 0 0; max-width: 25rem; }
.demo { min-height: 345px; padding: 1.2rem 1.5rem; border-radius: 1rem; border: 1px solid var(--line); background: var(--surface); }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .75rem; }
.demo-top h3 { font-size: 1.2rem; letter-spacing: -.035em; }
.sample { padding: .11rem .45rem; color: var(--muted); background: #f1efeb; border-radius: .35rem; font-size: .78rem; font-weight: 640; white-space: nowrap; }
.demo-tabs { margin-bottom: .5rem; }
.activity { list-style: none; margin: 0; padding: 0; }
.activity li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .65rem; min-height: 56px; padding: .45rem 0; border-top: 1px solid var(--line); }
.activity strong, .activity small { display: block; line-height: 1.4; }
.activity strong, .activity time { font-size: .9rem; }
.activity small, .activity time { color: var(--muted); }
.activity-author { white-space: nowrap; }
.activity time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.guides { padding-block: 4.5rem 3.8rem; }
.guides-heading { display: flex; justify-content: space-between; gap: .7rem 2rem; align-items: end; margin-bottom: 1.4rem; }
.guides-heading p { margin: 0; max-width: 19rem; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .85rem; }
.guide-card { display: flex; flex-direction: column; min-width: 0; align-items: flex-start; gap: .9rem; padding: 1.2rem; border-radius: 1rem; border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.guide-card:hover { border-color: #8db4b1; }
.guide-card .category-icon { width: 2.7rem; height: 2.7rem; }
.card-content { flex: 1; display: flex; flex-direction: column; gap: .35rem; }
.card-content strong { font-size: 1.15rem; line-height: 1.22; letter-spacing: -.032em; }
.card-content span { color: var(--muted); }
.card-content .card-action { margin-top: auto; padding-top: .45rem; font-size: .875rem; color: var(--accent); font-weight: 670; text-decoration: underline; text-underline-offset: .23em; }
.faq { display: grid; grid-template-columns: .78fr 1.22fr; gap: 1.5rem; border-top: 1px solid var(--line); padding-block: 2.5rem 4.3rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; position: relative; padding: .85rem 2rem .85rem 0; font-weight: 660; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; right: .15rem; top: .7rem; content: '+'; color: var(--accent); font-size: 1.2rem; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 1rem .85rem 0; color: var(--muted); }
.footer { background: #ecefea; border-top: 1px solid #e0e5df; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1.15rem; padding-block: 1.3rem; font-size: .875rem; }
.article { width: min(45rem, calc(100% - 3rem)); margin-inline: auto; padding-block: clamp(2.5rem, 6vw, 4.8rem) 4rem; }
.article h1 { font-size: clamp(2.75rem, 6vw, 4.75rem); }
.article h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); margin-top: 1.8rem; letter-spacing: -.045em; }
.article h3 { margin: 1.25rem 0 .45rem; font-size: 1.1rem; }
.article p, .article li { color: var(--muted); }
.article p { margin: .65rem 0 .95rem; }
.article .eyebrow { margin-top: 0; color: var(--accent); font-size: .875rem; font-weight: 690; }
.article .lede { font-size: 1.13rem; margin: 1.05rem 0 1.35rem; }
.article ul { padding-left: 1.3rem; }
.article li { margin-bottom: .45rem; }
.article blockquote, .aside-box { padding: .8rem 1.15rem; margin: 1.2rem 0; background: var(--accent-soft); border-left: .25rem solid var(--accent); border-radius: .5rem; }
.article blockquote p { margin: .35rem 0; color: var(--ink); }
.article .related { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--accent); }
.sheet { margin-top: 1.5rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.sheet h2 { margin: 0 0 .65rem; }
.sheet p { margin: .45rem 0; }
.sheet-table { margin-top: .7rem; width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .875rem; }
.sheet-table th, .sheet-table td { height: 2.15rem; border: 1px solid #aebfba; padding: .15rem .35rem; overflow-wrap: anywhere; text-align: left; }
.sheet-table th { background: var(--accent-soft); }
.sheet-table th:nth-child(1) { width: 19%; }
.sheet-table th:nth-child(2) { width: 27%; }
.sheet .notes-line { min-height: 1.5rem; border-bottom: 1px solid #aebfba; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 3rem); }
  .app-hero { gap: 1.8rem; }
  .preview-grid { gap: 2rem; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 2rem); }
  .top { min-height: 0; grid-template-columns: 1fr auto; padding-block: .6rem; gap: .35rem .65rem; }
  .top nav { grid-row: 2; grid-column: 1/-1; justify-content: center; gap: 1.6rem; }
  .top nav a { min-height: 44px; display: flex; align-items: center; }
  .top .button { min-height: 44px; padding: .35rem .75rem; font-size: .875rem; }
  .app-hero, .preview-grid, .faq { grid-template-columns: 1fr; }
  .app-hero { padding-block: 2.4rem 2.65rem; gap: 1.6rem; }
  .app-hero h1 { font-size: clamp(2.9rem, 10.1vw, 4.75rem); }
  .hero-categories { margin-top: 1.2rem; }
  .product-stage { padding: 1.2rem .75rem; }
  .phone { width: min(72%, 15.1rem); }
  .preview-band { padding-block: 2.6rem; }
  .preview-grid { gap: 1.2rem; }
  .demo { min-height: 0; padding: 1rem; }
  .guides { padding-block: 2.7rem; }
  .guides-heading { flex-direction: column; align-items: start; }
  .guides-heading p { max-width: none; }
  .guide-grid { grid-template-columns: 1fr; }
  .faq { gap: .7rem; padding-block: 2rem 2.9rem; }
}
@media (max-width: 360px) {
  .app-visual-footer { justify-content: center; }
  .screen-control, .demo-tab { padding-inline: .5rem; }
  .category-icon { width: 1.9rem; height: 1.9rem; }
}
@media (pointer: coarse) {
  .screen-control, .demo-tab { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@page { margin: 13mm; }
@media print {
  body.printable { background: white; color: black; }
  body.printable .top, body.printable .footer, body.printable .skip, .printable .no-print { display: none; }
  body.printable .article { width: 100%; max-width: none; margin: 0; padding: 0; }
  .sheet { border: 0; margin: 0; padding: 0; }
  .sheet h2 { font-size: 25pt; }
  .sheet p { color: black; }
  .sheet-table th, .sheet-table td, .sheet .notes-line { border-color: #666; }
  .sheet-table th, .sheet-table td { height: 7mm; }
  .sheet-table tr { break-inside: avoid; }
}
