/* oursbaby.com: one stylesheet for the landing, privacy and delete pages.
   Tokens follow docs/tokens.json (Sage light, Night dark). No third-party requests:
   Figtree is served from /fonts. Corners 12/10/8, never full pills. */

/* The app's own four Figtree weights (app/assets/fonts), cut to Latin. */
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-Regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-SemiBold-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-Bold-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-ExtraBold-latin.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #EEF2EC;
  --surface: #F8FAF7;
  --ink: #1C2723;
  --soft: #5A6862;
  --line: #D8E0D6;
  --track: #DFE6DD;
  --sleep: #9A90E0;
  --feed: #D6B25C;
  --mark: #6C5CE7;
  --focus: #6A5FC4;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17122E;
    --surface: #211A40;
    --ink: #EFEBF7;
    --soft: #B3ACCB;
    --line: #2F2755;
    --track: #251E48;
    --sleep: #6C66B4;
    --feed: #B08A45;
    --mark: #A9A2F0;
    --focus: #A9A2F0;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-feature-settings: "ss01" 0;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }

.page {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.5rem 1.375rem 3rem;
}

/* Header: the cub mark and the name. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 650;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.brand .mark { width: 30px; height: 30px; color: var(--mark); flex: none; }
.brand .mark svg { width: 100%; height: 100%; display: block; }

/* Landing: text and the day ring. */
.hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-top: 2.5rem;
}
.hero-ring { order: -1; justify-self: start; width: min(15rem, 62vw); }
.hero h1 {
  margin: 0;
  font-weight: 650;
  font-size: clamp(2.25rem, 7.4vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
  max-width: 13ch;
}
.lede {
  margin: 1.1rem 0 0;
  font-size: 1.1875rem;
  color: var(--soft);
  max-width: 34rem;
}

.ways { list-style: none; margin: 1.9rem 0 0; padding: 0; display: grid; gap: 0.6rem; max-width: 24rem; }
.way {
  display: block;
  padding: 0.95rem 1.1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--surface);
}
.way.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.way.primary:hover { text-decoration: underline; }
.way.soon { color: var(--soft); font-weight: 500; }
.way small { display: block; font-weight: 450; color: var(--soft); font-size: 0.875rem; margin-top: 0.1rem; }
.way.primary small { color: inherit; opacity: 0.72; }
.note { margin: 0.9rem 0 0; font-size: 0.9375rem; color: var(--soft); max-width: 24rem; }

.ring { width: 100%; height: auto; display: block; overflow: visible; }
.ring .track { fill: none; stroke: var(--track); }
.ring .sleep { fill: none; stroke: var(--sleep); stroke-width: 22; }
.ring .feed { fill: none; stroke: var(--feed); stroke-width: 12; }
.ring .track.outer { stroke-width: 22; }
.ring .track.inner { stroke-width: 12; }
.ring .now { fill: var(--ink); }
.ring .reveal { fill: none; stroke: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .ring .reveal { animation: ring-draw 1.6s cubic-bezier(.3,.1,.2,1) 0.15s both; }
  .ring .now { animation: now-in 0.4s ease-out 1.6s both; }
}
@keyframes ring-draw { from { stroke-dashoffset: 710.00; } to { stroke-dashoffset: 0; } }
@keyframes now-in { from { opacity: 0; } to { opacity: 1; } }

.section { margin-top: 3.5rem; max-width: 36rem; }
.section h2 {
  margin: 0 0 0.6rem;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.section p { margin: 0 0 0.9rem; }

.promises { list-style: none; margin: 0; padding: 0; }
.promises li { padding: 0.8rem 0; border-top: 1px solid var(--line); }
.promises li:last-child { border-bottom: 1px solid var(--line); }

.foot {
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.9375rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.foot p { margin: 0; flex-basis: 100%; }
/* 2026-11-01: the footer's Play badge in proportion. Its img says 135 x 40,
   but Google's artwork is 646 x 250 with its clear space inside, so without
   this it was drawn squashed. As the pages' own badges: the button 40 px. */
.foot-play a { display: inline-block; }
.foot-play img { display: block; height: 59px; width: auto; margin: -9.5px -9px; }

@media (min-width: 56rem) {
  .page { padding: 2rem 2.5rem 4rem; }
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3rem; padding-top: 4.5rem; }
  .hero-ring { order: 0; justify-self: center; width: min(23rem, 100%); }
}

/* Policy pages: one readable column. */
.doc { max-width: 40rem; padding-top: 2.5rem; }
.doc h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.doc .updated { color: var(--soft); margin: 0.6rem 0 2rem; font-size: 0.9375rem; }
.doc h2 { font-size: 1.25rem; font-weight: 650; margin: 2.25rem 0 0.5rem; letter-spacing: -0.01em; }
.doc p, .doc li { max-width: 38rem; }
.doc ul, .doc ol { padding-left: 1.25rem; }
.doc li { margin: 0.35rem 0; }
.doc .summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
}
.doc .summary p { margin: 0; }

/* Footer columns, on every page (tools/site/nara_pages.py, FOOTER). */
.foot-cols {
  flex-basis: 100%;
  display: grid;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}
.foot-cols h2 { margin: 0 0 0.35rem; font-size: 0.9375rem; font-weight: 650; color: var(--ink); }
.foot-cols a { display: block; padding: 0.2rem 0; text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }
.foot .tm { font-size: 0.8125rem; }
@media (min-width: 40rem) { .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* The "switching from Nara" pages (docs/site/nara-pages-2026-10), in this
   template: the pages' own look, on the site's tokens, light and dark. */
:root { --on: #4B3DBF; }
@media (prefers-color-scheme: dark) { :root { --on: #B9B0F0; } }

.top { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.top-nav { margin-left: auto; display: flex; gap: 1.1rem; font-weight: 600; font-size: 0.9375rem; }
.top-nav a { text-decoration: none; }
.top-nav a:hover { text-decoration: underline; }
@media (max-width: 40rem) { .top-nav { display: none; } }

.seo img { max-width: 100%; height: auto; display: block; }
.seo a { color: var(--on); }
.seo section { padding: 2.75rem 0; }
.seo section.alt {
  background: var(--surface);
  margin: 0 -1.375rem;
  padding-left: 1.375rem;
  padding-right: 1.375rem;
  border-radius: 12px;
}
.seo section.intro { padding: 2rem 0 0.5rem; }
.seo section.tight { padding-top: 1.25rem; }
.seo .hero { padding: 2rem 0 2.75rem; }
.seo .kick { font-size: 0.875rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on); }
.seo h1 {
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-weight: 700;
  margin: 0.6rem 0 1rem;
  max-width: none;
}
.seo h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 0.9rem; }
.seo h3 { font-size: 1.1875rem; margin: 0 0 0.4rem; font-weight: 700; }
.seo .lede { margin-top: 0; }
.seo .lede.wide { max-width: 47rem; }
.seo .center { text-align: center; }
.seo .center .lede { margin: 0 auto; }
.seo .center .get { margin-left: auto; margin-right: auto; }
.seo .more { margin-top: 1rem; }
.seo .checked { font-size: 0.8125rem; color: var(--soft); margin-top: 0.75rem; }

/* A whole phone: the bezel round all four corners, the screen inside it
   uncropped (440 x 956 points, the picture at 2x). */
.seo .phone {
  width: min(300px, 100%);
  margin: 0 auto;
  padding: 10px;
  border-radius: 46px;
  background: #1A1F1D;
  box-shadow: 0 24px 48px rgba(20, 30, 28, 0.18);
}
.seo .phone img { width: 100%; height: auto; border-radius: 36px; }
@media (prefers-color-scheme: dark) {
  .seo .phone { box-shadow: 0 0 0 1px #2F2755, 0 24px 48px rgba(0, 0, 0, 0.45); }
}

.seo .steps, .seo .grid3 { display: grid; gap: 1rem; }
.seo .card { background: var(--surface); border-radius: 12px; padding: 1.25rem; }
.seo section.alt .card { background: var(--bg); }
.seo .card p { margin: 0; }
.seo .num {
  width: 2rem; height: 2rem; border-radius: 8px;
  background: var(--ink); color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; margin-bottom: 0.6rem;
}
.seo .two { display: grid; gap: 2.5rem; align-items: center; }

.seo ul.ticks { list-style: none; padding: 0; margin: 0.9rem 0 0; }
.seo ul.ticks li { padding: 0.5rem 0 0.5rem 1.75rem; position: relative; border-top: 1px solid var(--line); }
.seo ul.ticks li:first-child { border-top: 0; }
.seo ul.ticks li::before {
  content: ""; position: absolute; left: 0.25rem; top: 0.95rem;
  width: 10px; height: 10px; border-radius: 5px; background: var(--on);
}

.seo .tbl { overflow-x: auto; background: var(--surface); border-radius: 12px; }
.seo table { border-collapse: collapse; width: 100%; min-width: 38rem; font-size: 0.97rem; }
.seo th, .seo td { text-align: left; padding: 0.8rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.seo thead th { border-top: 0; font-size: 0.875rem; color: var(--soft); }
.seo tbody th { font-weight: 700; width: 30%; }

.seo .faq details { background: var(--surface); border-radius: 12px; padding: 0.9rem 1.1rem; margin-bottom: 0.6rem; }
.seo .faq summary { font-weight: 800; cursor: pointer; font-size: 1.0625rem; }
.seo .faq p { margin: 0.6rem 0 0; }

/* The way in: the web app now, the store badges coming soon. Apple's and
   Google's own artwork, unaltered; a badge links only to its store. */
.seo .get { margin-top: 1.4rem; max-width: 24rem; }
.seo .get .way { text-align: left; }
.seo .soon-label { margin: 0.9rem 0 0.4rem; font-size: 0.875rem; font-weight: 600; color: var(--soft); }
.seo .badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.seo .center .badges { justify-content: center; }
.seo .soon-label + .badges { margin-top: 0; }
.seo .badges img { height: 40px; width: auto; display: block; }
/* Google's badge carries its own clear space inside the image; at this
   height its button matches Apple's 40 px. */
.seo .badges img[src$="google-play-badge.png"] { height: 59px; margin: -9.5px -9px; max-width: none; }

@media (min-width: 56rem) {
  .seo .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2.5rem; padding-top: 2.5rem; }
  .seo .steps, .seo .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seo .two { grid-template-columns: 1fr 1fr; }
  .seo section.alt { margin: 0 -2.5rem; padding-left: 2.5rem; padding-right: 2.5rem; }
}

/* The home page (www/index.html, from docs/site/home-redesign-2026-10): the
   two-phone demo, the Nara count, Day, Night and 3 am, the readable ring,
   the mosaic and its lens, the hand-back and doctor cards. Behaviour in
   /home.js. Everything is under .hm so the other pages are untouched. The
   phones' screens keep the app's own Light and Midnight colours in either
   page theme. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.cub { color: #E8A27C; }
.brand .mark .cub { color: #E8A27C; }

.top-nav .navbtn { background: var(--ink); color: var(--bg); padding: 0.5rem 0.85rem; border-radius: 10px; }
.top-nav .navbtn:hover { text-decoration: none; opacity: 0.9; }
@media (max-width: 40rem) {
  .top-nav.keep-btn { display: flex; }
  .top-nav.keep-btn a:not(.navbtn) { display: none; }
}

:root { --chosen: #E7E3F8; }
@media (prefers-color-scheme: dark) { :root { --chosen: #2E2660; } }

.hm { --sl: #9A90E0; --fe: #E9A07A; --di: #5FB592; }
.hm .k-sl { color: var(--sl); }
.hm .k-fe { color: var(--fe); }
.hm .k-di { color: var(--di); }
.hm a { color: var(--on); }
.hm h1 { font-size: clamp(2.5rem, 6vw, 4.125rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 1.1rem; }
.hm h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; margin: 0.4rem 0 0.9rem; }
.hm .lede { font-size: 1.25rem; color: var(--soft); max-width: 32.5rem; margin: 0; }
.hm .kick { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on); }
.hm section { padding: 3.5rem 0; }
.hm .hm-hero { padding: 2.25rem 0 3.75rem; }
.hm .hero-g { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.1rem; align-items: center; }
.hm .ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; margin-top: 1.6rem; }
.hm .btn { display: inline-flex; align-items: center; height: 54px; padding: 0 1.4rem; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 800; text-decoration: none; }
.hm .btn:hover { opacity: 0.92; }
.hm .soon { font-size: 0.875rem; color: var(--soft); }
/* Release day (tools/site/stores_live.py): the store badges, Apple's and
   Google's own artwork at 48 px, each linking to its store, and the browser
   as a plain link under them. */
.hm .badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.hm .badges a { flex: none; }
.hm .badges img { height: 48px; width: auto; display: block; }
/* Google's badge carries its own clear space inside the image; at this
   height its button matches Apple's 48 px. */
.hm .badges img[src$="google-play-badge.png"] { height: 70.8px; margin: -11.4px -10.8px; }
.hm .ctas .badges { flex-basis: 100%; }
.hm .web { font-weight: 700; color: var(--ink); }
.hm .getc .badges { justify-content: center; margin: 1.4rem 0 1rem; }
.hm .getc .web { display: inline-block; }
.hm .proof { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hm .proof li { font-size: 0.875rem; font-weight: 700; background: var(--surface); border-radius: 10px; padding: 0.5rem 0.8rem; }

/* The demo: Priya's phone at 3 am and Sam's, and the three buttons. */
.hm .demo { background: linear-gradient(160deg, #E3EBE4, #F1F4EF); border-radius: 30px; padding: 22px 18px 18px; position: relative; }
.hm .try { margin: 0 0 12px; text-align: center; font-weight: 800; font-size: 0.9375rem; }
.hm .phones { display: flex; justify-content: center; align-items: flex-start; gap: 8px; }
.hm .ph { width: 236px; border-radius: 30px; padding: 8px; background: #1A1F1D; box-shadow: 0 18px 36px rgba(20, 30, 28, 0.18); }
.hm .ph .scr { border-radius: 23px; padding: 14px 12px 12px; min-height: 360px; position: relative; overflow: hidden; }
.hm .ph.light .scr, .hm .nightph.light .scr { background: #EEF2EC; color: #1E2B2A; --sl: #9A90E0; --fe: #E9A07A; --di: #5FB592; --card: #FAFBF8; --sub: #56645F; --chipb: #E1E7DF; }
.hm .ph.night .scr, .hm .nightph.night .scr, .hm .nightph.deep .scr { background: #0F141B; color: #E2E8F0; --sl: #B3ABF0; --fe: #ECAD8C; --di: #7CCDAC; --card: #18202A; --sub: #8C98A8; --chipb: #222C38; }
.hm .pname { text-align: center; color: #C9D2DE; font-size: 12px; font-weight: 700; padding: 7px 0 2px; }
.hm .hd { display: flex; align-items: center; gap: 8px; }
.hm .hd b { display: block; font-size: 17px; }
.hm .hd span { font-size: 11.5px; color: var(--sub); }
.hm .lines { margin: 10px 0; display: flex; flex-direction: column; gap: 4px; }
.hm .ln { display: flex; align-items: center; gap: 7px; font-size: 13.5px; }
.hm .ln b { transition: color 0.4s; }
.hm .card { background: var(--card); border-radius: 16px; padding: 10px 10px 4px; }
.hm .ch { display: flex; justify-content: space-between; font-size: 12.5px; }
.hm .ch span { color: var(--sub); }
.hm .rows .row { display: grid; grid-template-columns: 60px 18px 1fr auto; align-items: center; gap: 5px; padding: 7px 4px; font-size: 12px; border-top: 1px solid color-mix(in srgb, var(--sub) 18%, transparent); border-radius: 8px; }
.hm .rows .row time { font-weight: 800; font-size: 11.5px; white-space: nowrap; }
.hm .chip { font-style: normal; font-size: 9.5px; font-weight: 800; width: 18px; height: 18px; border-radius: 9px; background: var(--chipb); display: inline-flex; align-items: center; justify-content: center; }
.hm .row.wash { animation: hm-wash 2.4s ease-out; }
.hm .row.enter { animation: hm-enter 0.45s cubic-bezier(.2,.8,.2,1), hm-wash 2.4s ease-out; }
@keyframes hm-wash { 0% { background: color-mix(in srgb, var(--di) 40%, transparent); } 100% { background: transparent; } }
@keyframes hm-enter { from { transform: translateY(-8px); opacity: 0; } to { transform: none; opacity: 1; } }
.hm .toast { position: absolute; left: 10px; right: 10px; bottom: 10px; background: #1E2B2A; color: #EEF2EC; font-size: 12px; font-weight: 700; padding: 9px 11px; border-radius: 12px; transform: translateY(60px); opacity: 0; transition: 0.35s; }
.hm .ph.night .toast { background: #E2E8F0; color: #0F141B; }
.hm .toast.on { transform: none; opacity: 1; }
.hm .wire { align-self: center; width: 28px; height: 2px; background: repeating-linear-gradient(90deg, #9FB3AA 0 4px, transparent 4px 8px); position: relative; }
.hm .wire span { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 4px; background: var(--on); opacity: 0; }
.hm .wire.go span { animation: hm-travel 0.6s ease-in forwards; }
@keyframes hm-travel { 0% { left: 0; opacity: 1; } 100% { left: 22px; opacity: 1; } }
.hm .rbs { display: flex; justify-content: center; gap: 14px; margin-top: 16px; }
.hm .rb { border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 5px; font: 700 13px "Figtree", sans-serif; color: var(--ink); cursor: pointer; }
.hm .rb i { width: 60px; height: 60px; border-radius: 30px; background: var(--surface); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(20, 30, 28, 0.10); transition: transform 0.15s; }
.hm .rb:active i { transform: scale(0.92); }
.hm .rb.done i { background: var(--chosen); }
.hm .rb:focus-visible { outline: 0; }
.hm .rb:focus-visible i { outline: 3px solid var(--on); outline-offset: 3px; }

/* Coming from Nara: the count. A band, as the switching pages' .alt. */
.hm .two { display: grid; grid-template-columns: 1fr 1fr; gap: 3.1rem; align-items: center; }
.hm .nara, .hm .promise { background: var(--surface); margin: 0 -1.375rem; padding-left: 1.375rem; padding-right: 1.375rem; border-radius: 12px; }
.hm .steps3 { padding-left: 1.25rem; margin: 1rem 0; }
.hm .steps3 li { margin: 0.5rem 0; }
.hm .more { font-weight: 800; }
.hm .countcard { background: var(--bg); border-radius: 26px; padding: 28px 22px; text-align: center; position: relative; }
.hm .cc-n { display: block; font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -2px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.hm .cc-l { color: var(--soft); font-weight: 700; }
.hm .cc-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 16px 0; }
.hm .cc-chips span { background: var(--surface); border-radius: 10px; padding: 6px 10px; font-size: 13.5px; font-weight: 700; }
.hm .oldrow { background: var(--surface); border-radius: 16px; padding: 12px 14px; text-align: left; box-shadow: 0 12px 26px rgba(20, 30, 28, 0.10); transform: rotate(-1.2deg); }
.hm .oldrow .ok { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.hm .oldrow > div { display: flex; gap: 8px; align-items: flex-start; margin-top: 6px; font-size: 15px; }
.hm .oldrow i { display: block; font-size: 13.5px; color: var(--soft); }
.hm .oldrow b, .hm .rows .row time, .hm .hr span, .hm .dr b { white-space: nowrap; }

/* Bringing Nara photos: what the helper makes, and that it never passes through Ours. */
.hm .np-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 999px; padding: 7px 13px; font-weight: 700; font-size: 14px; color: var(--ink); }
.hm .np-pill i { width: 8px; height: 8px; border-radius: 4px; background: var(--on); }
.hm .ft p.np-line { font-size: 1rem; }
.hm .np-file { display: flex; align-items: center; gap: 14px; background: var(--surface); border-radius: 18px; padding: 16px; width: 100%; max-width: 340px; box-shadow: 0 12px 26px rgba(20, 30, 28, 0.10); }
.hm .np-file i { flex: none; width: 54px; height: 54px; border-radius: 14px; background: var(--ink); color: var(--bg); display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; font-size: 14.5px; }
.hm .np-file b { display: block; font-size: 15px; word-break: break-all; }
.hm .np-file span { font-size: 13.5px; color: var(--soft); }

/* What it does: a row each. */
.hm .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; padding: 2.1rem 0; }
.hm .frow.rev .ft { order: 2; }
.hm .ft p { font-size: 1.125rem; color: var(--soft); max-width: 28.75rem; }
.hm .fv { display: flex; justify-content: center; }
.hm .seg { display: inline-flex; background: var(--surface); border-radius: 12px; padding: 4px; gap: 4px; margin-top: 8px; }
.hm .seg button { border: 0; background: none; font: 800 14px "Figtree", sans-serif; color: var(--soft); padding: 10px 16px; border-radius: 10px; cursor: pointer; }
.hm .seg button.on { background: var(--chosen); color: var(--ink); }
.hm .nightph { width: 270px; border-radius: 34px; padding: 9px; background: #1A1F1D; box-shadow: 0 20px 40px rgba(20, 30, 28, 0.18); }
.hm .nightph .scr { border-radius: 26px; padding: 16px 14px; min-height: 430px; transition: background 0.6s, color 0.6s, filter 0.6s; }
.hm .nightph.deep .scr { filter: brightness(0.78); }
.hm .side2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.hm .sd { background: var(--card); border-radius: 18px; padding: 14px; text-align: center; transition: background 0.6s; }
.hm .sd span { display: block; font-size: 12.5px; font-weight: 700; }
.hm .sd b { font-weight: 800; font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hm .sd.on { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fe) 60%, transparent); }
.hm .bigbtns { display: flex; justify-content: space-between; margin-top: 40px; }
.hm .bigbtns i { width: 50px; height: 50px; border-radius: 25px; background: var(--card); display: flex; align-items: center; justify-content: center; transition: background 0.6s; }
.hm .ringbox { position: relative; width: min(380px, 100%); }
.hm #ring { width: 100%; height: auto; touch-action: pan-y; cursor: crosshair; display: block; }
.hm .tip { margin-top: 6px; text-align: center; font-weight: 800; min-height: 26px; }
.hm .mosbox { position: relative; width: min(420px, 100%); background: var(--surface); border-radius: 26px; padding: 16px; }
.hm #mos { width: 100%; height: auto; display: block; cursor: crosshair; touch-action: pan-y; }
.hm .lens { position: absolute; left: 0; top: 0; width: 120px; height: 120px; border-radius: 60px; overflow: hidden; box-shadow: 0 12px 26px rgba(20, 30, 28, 0.25), inset 0 0 0 2px rgba(30, 43, 42, 0.1); pointer-events: none; opacity: 0; transition: opacity 0.2s; background: var(--surface); }
.hm .mtip { position: absolute; left: 0; top: 0; pointer-events: none; background: var(--ink); color: var(--bg); font-weight: 800; font-size: 12px; padding: 6px 9px; border-radius: 8px; opacity: 0; transition: opacity 0.2s; white-space: nowrap; }
.hm .mcap { display: flex; align-items: baseline; gap: 8px; justify-content: center; }
.hm .mcap b { font-weight: 800; font-size: 40px; line-height: 1; color: var(--on); letter-spacing: -1px; }
.hm .mcap span { color: var(--soft); font-weight: 700; }
.hm .hand, .hm .docard { width: min(360px, 100%); background: var(--surface); border-radius: 24px; padding: 18px; box-shadow: 0 16px 34px rgba(20, 30, 28, 0.10); }
.hm .hh { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.hm .hh b { display: block; font-size: 18px; }
.hm .hh span { font-size: 13px; color: var(--soft); }
.hm .hr { display: flex; gap: 12px; align-items: center; background: var(--bg); border-radius: 14px; padding: 11px 12px; margin-top: 8px; }
.hm .hr b { display: block; font-size: 15px; }
.hm .hr span { font-size: 12.5px; color: var(--soft); }
.hm .hn { font-style: italic; color: var(--soft); margin: 12px 4px 0; }
.hm .dh b { display: block; font-size: 18px; }
.hm .dh span { font-size: 13px; color: var(--soft); }
.hm .dr { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--line); margin-top: 6px; }
.hm .dr span { color: var(--soft); }
.hm .dbtn { margin-top: 12px; height: 46px; border-radius: 12px; background: var(--ink); color: var(--bg); display: flex; align-items: center; justify-content: center; font-weight: 800; }

/* What we promise, and the way in. */
.hm .pg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hm .pg div { background: var(--bg); border-radius: 20px; padding: 18px; }
.hm .pg b { display: block; font-size: 18px; margin-bottom: 4px; }
.hm .pg span { color: var(--soft); }
.hm .getc { text-align: center; max-width: 38.75rem; margin: 0 auto; }
.hm .getc p { color: var(--soft); font-size: 1.125rem; }
.hm .getc .new { font-size: 0.875rem; }
.hm .wrap { max-width: none; margin: 0; padding: 0; }

/* Added by home.js, so without it everything is simply shown. */
.hm .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s, transform 0.7s; }
.hm .reveal.in { opacity: 1; transform: none; }

@media (prefers-color-scheme: dark) {
  .hm .demo { background: linear-gradient(160deg, #1D1640, #241C4A); }
  /* A 1.5 px edge, so the phones don't vanish into the dark page. */
  .hm .ph, .hm .nightph { box-shadow: 0 0 0 1.5px #2A3340, 0 18px 36px rgba(0, 0, 0, 0.35); }
  .hm .rb i, .hm .oldrow, .hm .hand, .hm .docard { box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35); }
  .hm .lens { box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.08); }
}

@media (max-width: 860px) {
  .hm .hero-g, .hm .two, .hm .frow { grid-template-columns: 1fr; }
  .hm .frow.rev .ft { order: 0; }
  .hm .pg { grid-template-columns: 1fr 1fr; }
  .hm .wire { display: none; }
  .hm .demo { padding: 18px 8px; }
  .hm .ph .scr { min-height: 330px; padding: 12px 9px; }
  .hm .rows .row { grid-template-columns: 44px 16px 1fr; font-size: 11px; }
  .hm .rows .row .chip { display: none; }
  .hm .lines .ln { font-size: 12px; }
}
@media (max-width: 560px) {
  .hm .phones { zoom: 0.66; }
  .hm .rbs { margin-top: 12px; }
  .hm .pg { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hm *, .hm *::before, .hm *::after { animation: none !important; transition: none !important; }
  .hm .reveal { opacity: 1; transform: none; }
}
@media (min-width: 56rem) {
  .hm .nara, .hm .promise { margin: 0 -2.5rem; padding-left: 2.5rem; padding-right: 2.5rem; }
}

/* The Ours wordmark in every header (tools/site/nara_pages.py, BRAND). */
.brand .wordmark { display: block; height: 28px; width: auto; color: #1E2B2A; }
/* Ink in light, cream in dark, all one colour (docs/brand/BRAND.md). */
@media (prefers-color-scheme: dark) { .brand .wordmark { color: #FAFBF8; } }
.seo .callout { margin-top: 1.25rem; }

/* oursbaby.com/get (2026-10-25): the stores once live, the sign-up until then. */
.get .stores { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.get .btn { display: inline-flex; align-items: center; height: 52px; padding: 0 1.3rem; border: 0; border-radius: 12px; background: var(--ink); color: var(--bg); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.get .btn[disabled] { opacity: 0.6; }
.get form.launch { display: grid; gap: 0.6rem; max-width: 26rem; margin: 1rem 0 1.5rem; }
.get form.launch label { font-weight: 650; }
.get form.launch input { height: 48px; padding: 0 0.9rem; border: 1px solid var(--soft); border-radius: 10px; font: inherit; background: var(--bg); color: var(--ink); }
.get form.launch .consent, .get form.launch .said { margin: 0; color: var(--soft); font-size: 0.9375rem; }
.get [hidden] { display: none !important; }
.get form.launch .btn { justify-self: start; }

/* A look inside (2026-11-01): the store screens, scrolling sideways, running to the window's edges. */
.look { padding: 1.5rem 0 3rem; }
.look-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.look h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.12; margin: 0.35rem 0 0; letter-spacing: -0.01em; }
.look .kick { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on); }
.look-nav { display: flex; gap: 0.5rem; }
.look-nav button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.look-nav button:hover { border-color: var(--soft); }
.look-nav button:disabled { opacity: 0.35; cursor: default; }
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 1.25rem calc(50% - 50vw) 0; padding: 6px calc(50vw - 50%) 24px; }
.strip::-webkit-scrollbar { display: none; }
/* A screen still to load: a quiet tile, its alt text unseen. */
.strip img:not([src]) { background: var(--track); color: transparent; }
.strip img { flex: none; width: 240px; height: auto; border-radius: 22px; scroll-snap-align: start; box-shadow: 0 1px 0 var(--line), 0 14px 32px rgba(28, 39, 35, 0.12); }
@media (max-width: 40rem) { .strip img { width: 200px; border-radius: 18px; } .look-nav { display: none; } }
