/* The site's design system, shared by every public page and the server's rendered legal pages:
   tokens, fonts, base and type, layout, the frame (header, footer, skip link), buttons, store
   badges, captions, cards, the trust blocks and the shared surfaces. A page's own layout is in its
   own file beside it; the drawn app screens are in screens.css. The floor is evergreen 2022+
   (README.md): no color-mix(), no :dir(). Sizes in rem and em, so a reader's font size applies. */
@font-face { font-family: "Readex Pro"; src: url("/fonts/readex-pro-400.woff2") format("woff2");
             font-weight: 400; font-style: normal; font-display: swap; }
/* The one semibold file also answers a bold (<b>, <strong>, <th>), so the browser never fakes one. */
@font-face { font-family: "Readex Pro"; src: url("/fonts/readex-pro-600.woff2") format("woff2");
             font-weight: 500 700; font-style: normal; font-display: swap; }
/* The brand line's own face, cut to the letters of DayStory and «داي ستوري» alone (SIL Open Font License).
   Blocked, not swapped: the rays on the د are placed by this face's measurements. */
@font-face { font-family: "Baloo Bhaijaan 2"; src: url("/fonts/baloo-bhaijaan-2-800-brand.woff2") format("woff2");
             font-weight: 800; font-style: normal; font-display: block; }
@font-face { font-family: "Mada"; src: url("/fonts/mada-digits-600.woff2") format("woff2");
             font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0030-0039, U+0660-066C; }

/* The apps' palette (NurseryColors, ConceptHues) plus the site's navy, sun and device frame. With no
   build step to read Color.kt, this copy is the one that is wrong if the two stop matching. The
   reader's preference picks light or dark unless the app names one on <html> (data-scheme). A hue
   is a container and the accent drawn on it. */
:root { color-scheme: light dark;
        --page: #F8F1EB; --card: #FFFFFF; --tint: #F2EAE3; --ink: #1C2431; --ink-2: #505865; --line: #E2DBD4;
        --primary: #22416A; --on-primary: #FFFFFF; --primary-soft: #D7E3F8; --primary-soft-ink: #0A1D36;
        --peach: #FFDBC9; --peach-ink: #3A1400; --error: #BA1A1A; --error-soft: #FFDAD6; --error-soft-ink: #410002;
        --ok: #006D43; --ok-soft: #C0FFD6; --amber-soft: #FFF2A6; --amber-ink: #201C00;
        --meals: #FFE3D1; --meals-accent: #B8541A; --naps: #E6E1FF; --naps-accent: #5E52C9;
        --health: #D2F1E6; --health-accent: #1F7A5E; --photos: #FFEFB8; --photos-accent: #8D6B00;
        --messages: #D6EBFF; --messages-accent: #2267A0; --misc: #EFE5D8; --misc-accent: #8A6E4E;
        --navy: #062F57; --navy-2: #0E3F70; --on-navy: #F8F1EB; --on-navy-2: #B4C6E2; --sun: #F6A821; --on-sun: #231600;
        --frame: #0D1626; --edge: transparent; --qr-ground: #FFFFFF; --qr-ink: #1C2431;
        --logo-ink: #08284A; --logo-sun: #FDCC1C; --logo-cream: #FEF3E4; }
/* The dark palette twice, the same values: PublicWebDriftTest holds the two equal. */
@media (prefers-color-scheme: dark) {
  :root:not([data-scheme]) {
        --page: #12161C; --card: #1E242C; --tint: #262D37; --ink: #E5E7EC; --ink-2: #C2C6CE; --line: #333B46;
        --primary: #A9C7F0; --on-primary: #0B2B4E; --primary-soft: #28486F; --primary-soft-ink: #D7E3F8;
        --peach: #7D3610; --peach-ink: #FFDBC9; --error: #FFB4AB; --error-soft: #93000A; --error-soft-ink: #FFDAD6;
        --ok: #76DAA1; --ok-soft: #005231; --amber-soft: #504700; --amber-ink: #F6E46B;
        --meals: #5A2B10; --meals-accent: #FFB68E; --naps: #34305F; --naps-accent: #C6BFFF;
        --health: #0F4336; --health-accent: #7FD8B6; --photos: #4A3516; --photos-accent: #E9C349;
        --messages: #0E3F60; --messages-accent: #9CCBF5; --misc: #3E362C; --misc-accent: #C8B08F;
        --navy: #0A2545; --navy-2: #16305C; --on-navy: #EEF2F9; --on-navy-2: #A9BBDC; --sun: #F8B84A; --on-sun: #231600;
        --frame: #3A4658; --edge: #333B46; --qr-ground: #FFFFFF; --qr-ink: #1C2431;
        --logo-ink: #FEF3E4; --logo-sun: #FDCC1C; }
}
:root[data-scheme="light"] { color-scheme: light; }
:root[data-scheme="dark"] { color-scheme: dark;
        --page: #12161C; --card: #1E242C; --tint: #262D37; --ink: #E5E7EC; --ink-2: #C2C6CE; --line: #333B46;
        --primary: #A9C7F0; --on-primary: #0B2B4E; --primary-soft: #28486F; --primary-soft-ink: #D7E3F8;
        --peach: #7D3610; --peach-ink: #FFDBC9; --error: #FFB4AB; --error-soft: #93000A; --error-soft-ink: #FFDAD6;
        --ok: #76DAA1; --ok-soft: #005231; --amber-soft: #504700; --amber-ink: #F6E46B;
        --meals: #5A2B10; --meals-accent: #FFB68E; --naps: #34305F; --naps-accent: #C6BFFF;
        --health: #0F4336; --health-accent: #7FD8B6; --photos: #4A3516; --photos-accent: #E9C349;
        --messages: #0E3F60; --messages-accent: #9CCBF5; --misc: #3E362C; --misc-accent: #C8B08F;
        --navy: #0A2545; --navy-2: #16305C; --on-navy: #EEF2F9; --on-navy-2: #A9BBDC; --sun: #F8B84A; --on-sun: #231600;
        --frame: #3A4658; --edge: #333B46; --qr-ground: #FFFFFF; --qr-ink: #1C2431;
        --logo-ink: #FEF3E4; --logo-sun: #FDCC1C; }

/* Shapes, spacing and motion, the same in light and dark: the apps' card corner 28, chips 8, and
   M3's emphasised-decelerate curve. --sun-glow is the light sun's channels, for its glows at any
   strength (rgba(var(--sun-glow), .3)), the same in both palettes. */
:root { --sun-glow: 246, 168, 33; --radius: 1.75rem; --radius-chip: .5rem; --ease: cubic-bezier(.05, .7, .1, 1);
        --gutter: max(1.25rem, env(safe-area-inset-left, 0px)); --band: clamp(3.5rem, 9vw, 8rem);
        --digits: "Mada", "Readex Pro", sans-serif;
        --mono: ui-monospace, "SF Mono", Menlo, "Courier New", monospace; }

/* A concept's hue, read by `.hb` (here and in screens.css). */
.h-primary { --hue: var(--primary-soft); --on-hue: var(--primary-soft-ink); }
.h-error { --hue: var(--error-soft); --on-hue: var(--error-soft-ink); }
.h-meals { --hue: var(--meals); --on-hue: var(--meals-accent); }
.h-naps { --hue: var(--naps); --on-hue: var(--naps-accent); }
.h-health { --hue: var(--health); --on-hue: var(--health-accent); }
.h-photos { --hue: var(--photos); --on-hue: var(--photos-accent); }
.h-messages { --hue: var(--messages); --on-hue: var(--messages-accent); }
.h-misc { --hue: var(--misc); --on-hue: var(--misc-accent); }

/* Base. Arabic sets the sizes; English reads a little tighter. */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--page); font-size: 1rem; line-height: 1.6;
       font-family: "Readex Pro", "Segoe UI", Tahoma, Arial, sans-serif; overflow-wrap: break-word;
       -webkit-font-smoothing: antialiased; }
/* Nothing may be wider than the screen: an Arabic page that overflows opens at the end of every line.
   `clip`, not `hidden`, so <body> is no scroll box and a sticky header keeps working. */
html, body { max-width: 100%; overflow-x: clip; }
html[lang="ar"] body { line-height: 1.75; }
@media (min-width: 56.25em) { body { font-size: 1.0625rem; } }
b, strong, th { font-weight: 600; }
a { color: var(--primary); }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.navy :focus-visible, .foot :focus-visible { outline-color: var(--sun); }
/* A link to a place on the page lands below the sticky header: on a phone its two rows are taller than
   6rem, so common.js measures it (--top-height). */
[id] { scroll-margin-top: calc(var(--top-height, 5rem) + 1rem); }
::selection { background: var(--primary-soft); color: var(--primary-soft-ink); }

/* Type. Headings break between words, never inside one; English headings are drawn a little tight,
   Arabic never tracked. */
h1, h2, h3 { font-weight: 600; line-height: 1.15; margin: 0; overflow-wrap: normal; text-wrap: balance; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.35; }
p { margin: 0; }
.h-huge, .h-xl, .h-lg { line-height: 1.04; }
html[lang="en"] .h-huge, html[lang="en"] .h-xl, html[lang="en"] .h-lg { letter-spacing: -.03em; }
.h-huge { font-size: clamp(2.6rem, 7vw, 5.6rem); }
.h-xl { font-size: clamp(2.5rem, 7vw, 5.25rem); }
html[lang="ar"] .h-xl { font-size: clamp(2.2rem, 6vw, 4.5rem); }
.h-lg { font-size: clamp(2rem, 5vw, 3.6rem); }
html[lang="ar"] .h-lg { font-size: clamp(1.85rem, 4.4vw, 3.2rem); }
.h-md { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.2; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 38ch; text-wrap: pretty; }
.navy .lede { color: var(--on-navy-2); }
/* An audience page's small label over its headline, after a sun dot. */
.eyebrow { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--sun); }
.navy .eyebrow { color: var(--on-navy-2); }
/* A headline's last words, kept on one line with the logo's rays after them; Arabic ends on the left. */
.headline-end { display: inline-block; }
.headline-rays { display: inline; width: .42em; height: .4em; margin-inline-start: .08em; vertical-align: .35em; overflow: visible; }
html[dir="rtl"] .headline-rays { transform: scaleX(-1); }
/* A heading of two sentences or clauses: each its own line. */
.ln { display: block; }
/* A plain link beside a page's main action. */
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; text-underline-offset: 3px; }
.navy .text-link { color: var(--on-navy); font-weight: 400; }
/* The line under a drawn screen: what it is, never a claim about real people. */
.cap { margin: .75rem 0 0; font-size: .8125rem; color: var(--ink-2); text-align: center; }
.navy .cap { color: var(--on-navy-2); }

/* Layout: a column, a band of the page, a navy band. */
.wrap { max-width: 75rem; margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: var(--band); }
.tint { background: var(--tint); }
.navy { background: var(--navy); color: var(--on-navy); }
/* The sun's glow in a navy panel's far corner. */
.glow { position: relative; overflow: clip; }
.glow::before { content: ""; position: absolute; inset-block-start: -40%; inset-inline-end: -10%; width: 60%; aspect-ratio: 1; border-radius: 50%;
                background: radial-gradient(closest-side, rgba(var(--sun-glow), .3), transparent); pointer-events: none; }
.glow > * { position: relative; }
/* A reading column: the accessibility statement and the legal pages. */
.page { max-width: 50rem; margin-inline: auto; padding: 0 var(--gutter) 1rem; }

/* The frame. The header is solid and sticky (owner, 2026-11-14: no glass); on a phone the two tabs
   drop to a second row under the brand, the same one nav, and the header has no button. */
.top { position: sticky; top: 0; z-index: 20; background: var(--page); transition: box-shadow .2s; }
/* common.js: a hairline once the page has moved, and how far through it the reader is. */
.top.scrolled { box-shadow: 0 1px 0 var(--line); }
.progress { position: absolute; inset: auto 0 0; height: 3px; background: var(--sun); transform: scaleX(0); transform-origin: left;
            pointer-events: none; }
html[dir="rtl"] .progress { transform-origin: right; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; max-width: 75rem; margin-inline: auto;
       padding: .5rem var(--gutter); }
/* The wordmark, the logo's own colours: the D and the name in ink (cream on a dark page), the rays sun. */
.brand { display: flex; align-items: center; gap: .3em; min-height: 3rem; font: 800 1.75rem/1 "Baloo Bhaijaan 2", "Readex Pro", system-ui, sans-serif;
         color: var(--logo-ink); text-decoration: none; }
.wordmark { display: inline-flex; align-items: baseline; }
.logo-letter { fill: currentColor; }
.logo-rays path { fill: none; stroke: var(--logo-sun); }
/* The D at the face's capital height (602 of 1000), its rays drawn above it. */
.logo-d { flex: none; width: .587em; height: .602em; overflow: visible; }
/* The Arabic wordmark: the D's rays, 1.3 times their size on the D, hung from the د's shoulder as from
   the D's. Measured from Baloo Bhaijaan 2's د (ink 26..508 by 0..521 of 1000), from the top of the
   inline's content area, 1.080 em above the baseline. */
.dal { position: relative; }
.rays-on-dal { position: absolute; left: .307em; top: .39em; width: .336em; height: .318em; overflow: visible; }
.mark { flex: none; width: 2.5rem; height: 2.5rem; }
.tabs { display: flex; gap: .5rem; order: 3; flex-basis: 100%; }
.tabs a { flex: 1; display: grid; place-items: center; min-height: 3rem; padding: 0 1rem; border-radius: 999px;
          border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: .95rem; white-space: nowrap;
          text-decoration: none; }
.tabs a[aria-current="page"] { background: var(--primary); border-color: transparent; color: var(--on-primary); font-weight: 600; }
.lang { margin-inline-start: auto; }
.lang a { display: inline-flex; align-items: center; gap: .5rem; min-height: 3rem; padding: 0 1rem; border-radius: 999px;
          border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: .9375rem; text-decoration: none; }
.lang svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.top .cta { display: none; }
@media (min-width: 56.25em) {
  .bar { flex-wrap: nowrap; min-height: 4.5rem; }
  .tabs { order: 0; flex-basis: auto; margin-inline-start: auto; gap: .25rem; }
  .tabs a { border: 0; background: none; }
  .tabs a[aria-current="page"] { background: var(--primary-soft); color: var(--primary-soft-ink); }
  .lang { margin-inline-start: 0; }
  .top .cta { display: inline-flex; }
}
/* On a laptop the chosen tab's fill is one pill that slides to the tab under the pointer (common.js). */
.tab-pill { display: none; }
@media (min-width: 56.25em) and (hover: hover) {
  .tabs { position: relative; isolation: isolate; }
  .tab-pill { display: block; position: absolute; top: 0; left: 0; z-index: -1; height: 100%; border-radius: 999px; background: var(--primary-soft);
              opacity: 0; transform-origin: 0 0; transition: transform .45s var(--ease), opacity .2s; }
  .tab-pill.shown { opacity: 1; }
  .tabs:has(.tab-pill.shown) a[aria-current="page"] { background: none; }
}

/* The first thing a keyboard reaches on every page: clipped to nothing until the keyboard is on it, so
   no scroll position or screenshot ever shows it. It hands focus to <main>, which draws no ring. */
.skip { position: fixed; z-index: 60; top: .5rem; inset-inline-start: .5rem; padding: .75rem 1.125rem; border-radius: 999px;
        background: var(--primary); color: var(--on-primary); font-weight: 600; text-decoration: none; }
.skip:not(:focus-visible) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
main[tabindex]:focus { outline: none; }

/* The footer, the same on every page: the brand, then three named groups (owner, 2026-11-03), on navy. */
.foot { background: var(--navy); color: var(--on-navy); padding-block: clamp(2.5rem, 6vw, 4.5rem); font-size: .95rem; }
.fgrid { display: grid; gap: 2rem; }
.fbrand { display: grid; gap: .5rem; align-content: start; }
.foot .brand { color: var(--logo-cream); }
.fbrand p { color: var(--on-navy-2); }
.foot nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.25rem; }
.group { display: flex; flex-direction: column; align-items: flex-start; }
.group-name { margin-bottom: .25rem; font-size: .82rem; font-weight: 600; color: var(--on-navy-2); }
.foot a:not(.brand) { display: flex; align-items: center; min-height: 2.75rem; color: var(--on-navy); text-decoration: none; }
.foot a[aria-current="page"] { color: var(--sun); font-weight: 600; }
@media (hover: hover) { .foot a:not(.brand):hover { color: var(--sun); } }
@media (min-width: 56.25em) {
  .fgrid { grid-template-columns: 1.4fr 3fr; }
  .foot nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Buttons: filled by default, tonal for a second action, sun on navy; fully round. Material's state
   layer (8% hovered, 10% pressed) in the label's own colour. */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .625rem;
       min-height: 3.5rem; padding: .5rem 1.75rem; border: 0; border-radius: 999px; background: var(--primary); color: var(--on-primary);
       font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; }
.btn.small { min-height: 3rem; padding: .25rem 1.375rem; font-size: .92rem; }
.btn.tonal { background: var(--primary-soft); color: var(--primary-soft-ink); }
.btn.sunny { background: var(--sun); color: var(--on-sun); }
.btn::before, .tabs a::before, .lang a::before, .store[href]::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: currentColor; opacity: 0;
  transition: opacity .15s; pointer-events: none; }
.tabs a, .lang a { position: relative; }
@media (hover: hover) { .btn:hover::before, .tabs a:hover::before, .lang a:hover::before, .store[href]:hover::before { opacity: .08; } }
.btn:active::before, .tabs a:active::before, .lang a:active::before, .store[href]:active::before { opacity: .1; }
.btn svg { width: 1.25rem; height: 1.25rem; }

/* A switch between two views, made of real radio buttons so it works with no script; on navy. */
.switch { display: flex; width: max-content; max-width: 100%; padding: 4px; border: 0; border-radius: 999px; background: var(--navy-2); }
.switch label { position: relative; display: grid; place-items: center; min-height: 2.75rem; padding: 0 1.125rem; border-radius: 999px;
                font-size: .9rem; font-weight: 600; color: var(--on-navy-2); cursor: pointer; }
.switch label:has(:checked) { background: var(--sun); color: var(--on-sun); }
.switch label:has(:focus-visible) { outline: 3px solid var(--sun); outline-offset: 2px; }

/* A choice drawn as its label (the switch, the consent levels, the registration's kind of nursery): the
   real radio over the whole label, unseen, so a tap anywhere on it chooses and the keyboard still reaches it. */
.switch input, .levels input, .choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }

/* An outline icon from the app's set (24 grid), drawn in the text colour. An arrow or chevron points
   onward in the reading direction. */
.i { flex: none; width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.75;
     stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .i.onward { transform: scaleX(-1); }
/* A concept's icon on its hue (the apps' square), from a `.h-*` hue class. */
.hb { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .9rem;
      background: var(--hue); color: var(--on-hue); font-size: 1.2rem; }

/* The store badges: always drawn, solid, tagged "Soon" until config.js gives a link (common.js); a
   badge with its link says "Get it on" above the store's name. The App Store is first on an iPhone. */
.stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; width: min(100%, 26.25rem); }
/* Two lines beside the icon, so a narrow badge never spills: "Soon" or "Get it on" over the name. */
.store { position: relative; overflow: hidden; display: grid; grid-template-columns: auto auto; justify-content: center;
         align-content: center; align-items: center; column-gap: .625rem; row-gap: .125rem; min-height: 3.75rem;
         padding: .5rem .75rem; border-radius: 1rem; background: var(--primary); color: var(--on-primary); line-height: 1.2;
         text-decoration: none; text-align: start; }
.navy .store { background: var(--on-navy); color: var(--navy); }
.store .i { grid-row: span 2; font-size: 1.3rem; }
.store b { white-space: nowrap; }
.store small { justify-self: start; font-size: .75rem; }
@media (max-width: 26.25em) { .store { padding: .5rem; column-gap: .375rem; font-size: .92rem; } }

/* The cards. A white card of text (the accessibility statement, each legal section). */
.sheet { background: var(--card); border-radius: var(--radius); padding: 1.5rem 1.25rem; }
.sheet > :first-child { margin-top: 0; }
.sheet > :last-child { margin-bottom: 0; }
@media (min-width: 56.25em) { .sheet { padding: 2.25rem 3rem 2.5rem; } }
/* The soft hero: the primary container fading down, dark text (a page's title). */
.soft-hero { border-radius: var(--radius); background: linear-gradient(180deg, var(--primary-soft), var(--tint));
             color: var(--primary-soft-ink); }
.title { margin: .5rem 0 1.25rem; padding: 1.75rem 1.5rem; }
.title h1 { font-size: clamp(1.875rem, 4vw, 2.5rem); }
.summary { margin-top: .5rem; font-size: 1.0625rem; max-width: 36em; }
@media (min-width: 56.25em) { .title { padding: 2.5rem 3rem; } .summary { font-size: 1.125rem; } }
/* A numbered list: each number in a circle, in the document's own digits. */
.counted { list-style: none; padding: 0; counter-reset: step; }
.counted > li { counter-increment: step; }
.counted > li::before { content: counter(step); flex: none; display: block; width: 2rem; height: 2rem; line-height: 2rem;
                        border-radius: 50%; text-align: center; font-family: var(--digits); font-weight: 600; font-size: .9375rem;
                        background: var(--primary-soft); color: var(--primary-soft-ink); }
html[dir="rtl"] .counted > li::before { content: counter(step, arabic-indic); }

/* Running text. */
.prose p, .prose li { line-height: 1.75; max-width: 40em; }
html[lang="en"] .prose p, html[lang="en"] .prose li { line-height: 1.65; }
.prose h2 { font-size: 1.375rem; margin: 2rem 0 .75rem; }
.prose p + p { margin-top: .875rem; }
.prose ul { margin: 0 0 1rem; padding: 0; padding-inline-start: 1.25rem; }
.prose li { margin: 0 0 .5rem; }
.prose li::marker { color: var(--ink-2); }
/* "Last updated": a white chip. */
.published { margin: 0 0 .75rem; }
.published span { display: inline-block; padding: .25rem .875rem; line-height: 1.5rem; border-radius: var(--radius-chip);
                  font-size: .875rem; background: var(--card); color: var(--ink-2); }

/* Built on trust (the home and the audience pages): cards of promises, two of them drawn. */
.bento { display: grid; gap: .875rem; margin-top: 2.25rem; }
.cell { display: grid; gap: .5rem; align-content: start; padding: 1.5rem; border-radius: 2rem; background: var(--card);
        box-shadow: inset 0 0 0 1px var(--edge); }
.cell > b { font-size: 1.08rem; }
.cell > span { color: var(--ink-2); font-size: .95rem; text-wrap: pretty; }
/* The dose card: navy, its records one row each, "Given ✓" in the record's green. */
.cell.dose { background: var(--navy); color: var(--on-navy); box-shadow: none; }
.cell.dose > b { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.15; }
.cell.dose > span { color: var(--on-navy-2); }
.rec { display: flex; align-items: center; gap: .75rem; margin-top: .5rem; padding: 1rem; border-radius: 1.25rem; background: var(--navy-2); }
.rec .hb { width: 2.5rem; height: 2.5rem; border-radius: .75rem; }
.rec .what { flex: 1; min-width: 0; display: grid; }
.rec small { color: var(--on-navy-2); font-size: .86rem; }
.given { flex: none; padding: .3em .85em; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: .8rem; font-weight: 600; white-space: nowrap; }
/* The consent selector: three real choices (radios), the wall dimming what a level leaves out, no script. */
.levels { display: flex; flex-wrap: wrap; gap: .375rem; margin: .25rem 0 0; padding: 0; border: 0; min-width: 0; }
.levels legend { padding: 0; }
.levels label { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .875rem;
                border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; cursor: pointer; }
.levels label:has(:checked) { background: var(--primary); border-color: transparent; color: var(--on-primary); font-weight: 600; }
.levels label:has(:focus-visible) { outline: 3px solid var(--primary); outline-offset: 3px; }
.wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .375rem; }
.wall i { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: .75rem; transition: opacity .35s, filter .35s; }
.wall svg { width: 100%; height: 100%; }
.wall .kind { position: absolute; inset-inline-end: 4px; bottom: 4px; display: grid; place-items: center; width: 1.25rem; height: 1.25rem;
             border-radius: 50%; background: #FFFFFF; color: #1C2431; font-size: .62rem; }
.cell.consent:has([value="none"]:checked) .wall i,
.cell.consent:has([value="individual"]:checked) .wall [data-group] { opacity: .16; filter: grayscale(1); }
.says { color: var(--ink); font-weight: 600; }
.says > span { display: none; }
.cell.consent:has([value="none"]:checked) .says > [data-level="none"],
.cell.consent:has([value="individual"]:checked) .says > [data-level="individual"],
.cell.consent:has([value="all"]:checked) .says > [data-level="all"] { display: inline; }
/* A promise beside its icon: a row on a phone, a card's top from a tablet. */
@media (max-width: 43.6875em) {
  .bento { gap: .625rem; margin-top: 1.5rem; }
  .cell.point { grid-template-columns: auto 1fr; column-gap: .875rem; row-gap: .125rem; padding: .875rem 1rem; border-radius: 1.375rem; align-items: center; }
  .cell.point > .hb { grid-row: span 2; align-self: start; width: 2.5rem; height: 2.5rem; border-radius: .8rem; }
  .cell.dose, .cell.consent { padding: 1.125rem; border-radius: 1.625rem; }
  .cell.consent > .hb { display: none; }
  .wall { gap: .3rem; }
}
@media (min-width: 35em) and (max-width: 56.1875em) {
  .bento { grid-template-columns: 1fr 1fr; }
  .cell.dose, .cell.consent { grid-column: span 2; }
}
@media (min-width: 56.25em) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cell.dose { grid-column: span 2; grid-row: span 2; }
  .cell.consent, .cell.wide { grid-column: span 2; }
  .cell.wide { grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; }
  .cell.wide > .hb { grid-row: span 2; }
}

/* The audience pages' promises as a list, each beside its icon: one column, three from a laptop. */
.points { list-style: none; display: grid; gap: 1rem 1.75rem; margin: 1.5rem 0 0; padding: 0; }
.points li { display: flex; align-items: flex-start; gap: .875rem; }
.points .hb { width: 2.75rem; height: 2.75rem; border-radius: .875rem; font-size: 1.1rem; }
.points li > span { display: grid; gap: .125rem; }
.points li > span > span { color: var(--ink-2); font-size: .95rem; text-wrap: pretty; }

/* The 404: both languages on one white card, the Day D above them. */
.missing { max-width: 28rem; margin: 3rem auto; padding: 2.5rem 1.5rem; text-align: center; background: var(--card); border-radius: var(--radius); }
.mark.big { width: 4.5rem; height: 4.5rem; margin: 0 auto 1.25rem; }
.missing h1, .missing h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.other { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
@media (max-width: 30em) { .missing { margin: 1rem; } }

/* Said to a screen reader, never drawn. */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
                   clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* On a computer only: open this page on the phone, the QR beside its words (common.js draws it). */
.handoff { display: none; }
@media (min-width: 56.25em) and (hover: hover) {
  .handoff.drawn { display: flex; align-items: center; gap: 1rem; max-width: 26.25rem; padding: .75rem; padding-inline-end: 1.25rem;
                   border-radius: 1.5rem; background: var(--card); color: var(--ink); }
}
.qr { flex: none; width: 5.5rem; }
.handoff p { display: grid; gap: .125rem; }
.handoff span { color: var(--ink-2); font-size: .9rem; }
.qr-ground { fill: var(--qr-ground); }
.qr-ink { fill: var(--qr-ink); }

/* A page's opening words: its label, headline, line and action, one under another. */
.copy { display: grid; gap: 1.25rem; justify-items: start; min-width: 0; }
/* An opening of words and art: one column, then side by side from a laptop, each page setting the
   two shares (--hero-words, --hero-art). */
.hero .wrap { display: grid; gap: 2rem; align-items: center; }
.hero .art { min-width: 0; }
@media (min-width: 56.25em) {
  .hero .wrap { grid-template-columns: minmax(0, var(--hero-words, 1fr)) minmax(0, var(--hero-art, 1fr)); gap: 3.5rem; }
}
/* A drawn screen on the sun (the download and parents pages' openings). */
.sun-panel { display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 2.5rem; background: var(--sun); }
/* A row of numbered pills, each step's number in a circle beside its words (the home's demo, the parents
   page's closing); the page sets the colours (--pill, --pill-number, --on-pill-number). */
.pills { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .625rem; margin: 0; padding: 0; counter-reset: step; }
.pills li { counter-increment: step; display: flex; align-items: center; gap: .625rem; padding: .375rem; padding-inline-end: 1rem;
            border-radius: 999px; background: var(--pill); font-weight: 600; text-align: start; }
.pills li::before { content: counter(step); flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
                    background: var(--pill-number); color: var(--on-pill-number); font-family: var(--digits); font-size: .9375rem; }
html[dir="rtl"] .pills li::before { content: counter(step, arabic-indic); }
.get { display: grid; gap: .5rem; justify-items: start; }

/* The three steps that end the download and invite pages (StartSteps.kt): each its number, icon and
   words in a white row. */
.how { display: grid; gap: .75rem; margin: 1.75rem 0 0; }
.how li { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem; border-radius: 1.75rem; background: var(--card);
          font-weight: 600; box-shadow: inset 0 0 0 1px var(--edge); }
.how li::before { width: 2.5rem; height: 2.5rem; line-height: 2.5rem; background: var(--sun); color: var(--on-sun); }
@media (min-width: 56.25em) { .how { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Motion, always an enhancement: every rule starts from the finished, visible state. `rise` plays
   once on load, the line and the action a beat after the headline. Nothing loops. Under reduced
   motion nothing moves; print shows everything. */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.rise { animation: rise .5s var(--ease) both; }
.d1 { animation-delay: .06s; }
.d2 { animation-delay: .12s; }

/* A laptop's touches (common.js marks the cards): a soft glow under the pointer, and onward arrows that nudge. */
.glows { position: relative; }
.glows::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
                background: radial-gradient(15rem circle at var(--x, 50%) var(--y, 50%), rgba(var(--sun-glow), .2), transparent 70%); }
.glows:hover::after { opacity: 1; }
@media (hover: hover) {
  .btn .i.onward, .go .i.onward { transition: translate .25s var(--ease); }
  .btn:hover .i.onward, .aud:hover .go .i.onward { translate: .25rem; }
  html[dir="rtl"] .btn:hover .i.onward, html[dir="rtl"] .aud:hover .go .i.onward { translate: -.25rem; }
}
/* A press answers at once, a phone's thumb included. */
.btn, .store[href], .tabs a, .lang a, .replay { transition: transform .15s; }
.btn:active, .store[href]:active, .tabs a:active, .lang a:active, .replay:active { transform: scale(.97); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print {
  *, *::before, *::after { animation: none !important; }
  .top { position: static; }
  .sheet { background: none; padding-inline: 0; }
  .handoff { display: none; }
}
