/* The site's styles (site v2, the design "Grandsapp Site v2"): Figtree and the design's tonal tokens, day and evening, all
   from this origin. The CSP allows no inline style, so every rule lives here. The motion is CSS only (no script on any
   page): time-based rises and loops, and scroll-driven ones where the browser has them (the showcase's screens follow the
   chapter in the middle of the window); without that support every chapter shows and the tablet keeps its board. */

@font-face { font-family: Figtree; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/fonts/figtree-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Figtree; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/fonts/figtree-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg-page: #F7F1EB; --bg-raised: #FCF8F3; --bg-pill: #EADBCB; --ink: #1F1A17; --ink-soft: #4A403A; --rule: #D9CBBE;
  --link: #1F5B4E; --bezel: #1E1B17;
  --m-call: #1F5B4E; --m-call-ink: #FFF8F2; --m-call-icon: #A8E0CF;
  --m-list: #6B4A12; --m-list-ink: #FFF8F2; --m-list-icon: #F2CF8A;
  --m-remind: #8C3A22; --m-remind-ink: #FFF8F2; --m-remind-icon: #F7B9A3;
  --m-weather: #24496B; --m-weather-ink: #FFF8F2; --m-weather-icon: #AFCDEB;
  --m-mirror: #4A4440; --m-mirror-ink: #FFF8F2; --m-mirror-icon: #D9CFC7;
  --m-photo: #5A3F66; --m-photo-ink: #FFF8F2; --m-photo-icon: #DCC3EA;
  --act-back: #3D352F; --act-back-ink: #FFF8F2; --act-primary: #1F5B4E; --act-primary-ink: #FFF8F2;
  --act-second-ink: #1F1A17; --act-second-edge: #1F1A17; --chip-bg: #1F5B4E; --chip-ink: #FFF8F2;
  --cap-bg: #F7F1EB; --cap-ink: #1F1A17; --cap-ink-soft: #4A403A; --face-bg: #A8E0CF; --face-ink: #0F2B24; --photo-empty: #EADBCB;
  --font: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg-page: #161311; --bg-raised: #221D1A; --bg-pill: #2C2622; --ink: #F5EDE6; --ink-soft: #D3C7BD; --rule: #3A332E;
    --link: #A8E0CF; --bezel: #000000;
    --m-call: #9FD8C7; --m-call-ink: #0F2B24; --m-call-icon: #0F2B24;
    --m-list: #EBC27A; --m-list-ink: #2E1E00; --m-list-icon: #2E1E00;
    --m-remind: #F2B49C; --m-remind-ink: #3A140A; --m-remind-icon: #3A140A;
    --m-weather: #A9C8E8; --m-weather-ink: #0E2135; --m-weather-icon: #0E2135;
    --m-mirror: #D6CCC4; --m-mirror-ink: #2A2420; --m-mirror-icon: #2A2420;
    --m-photo: #D9C2EA; --m-photo-ink: #2B1A36; --m-photo-icon: #2B1A36;
    --act-back: #D6CCC4; --act-back-ink: #2A2420; --act-primary: #9FD8C7; --act-primary-ink: #0F2B24;
    --act-second-ink: #F5EDE6; --act-second-edge: #F5EDE6; --chip-bg: #9FD8C7; --chip-ink: #0F2B24;
    --cap-bg: #2C2622; --cap-ink: #F5EDE6; --cap-ink-soft: #D3C7BD; --face-bg: #0F2B24; --face-ink: #9FD8C7; --photo-empty: #2C2622;
  }
}

/* The modules' colours, as the tablet's tiles: --mb the tile, --mi its text, --mc its icon. */
.m-call { --mb: var(--m-call); --mi: var(--m-call-ink); --mc: var(--m-call-icon); }
.m-list { --mb: var(--m-list); --mi: var(--m-list-ink); --mc: var(--m-list-icon); }
.m-remind { --mb: var(--m-remind); --mi: var(--m-remind-ink); --mc: var(--m-remind-icon); }
.m-weather { --mb: var(--m-weather); --mi: var(--m-weather-ink); --mc: var(--m-weather-icon); }
.m-mirror { --mb: var(--m-mirror); --mi: var(--m-mirror-ink); --mc: var(--m-mirror-icon); }
.m-photo { --mb: var(--m-photo); --mi: var(--m-photo-ink); --mc: var(--m-photo-icon); }
.m-back { --mb: var(--act-back); --mi: var(--act-back-ink); --mc: var(--act-back-ink); }

/* Base */
* { box-sizing: border-box; }
html { background: var(--bg-page); color: var(--ink); font: 500 1.125rem/1.55 var(--font); -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { margin: 0; background: var(--bg-page); overflow-x: clip; }
a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 8px; }
img { max-width: 100%; }
.i { display: block; flex: none; width: 1em; height: 1em; fill: currentColor; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: .5rem; z-index: 10; background: var(--bg-raised); color: var(--ink); padding: .5rem .75rem; border-radius: 8px; }
.skip:focus { left: 1rem; }

/* The teal band: the header, the heroes and "Kako početi" */
.top, .band { background: var(--m-call); color: var(--m-call-ink); }
.band { display: flow-root; }
.top a:focus-visible, .band a:focus-visible { outline-color: var(--m-call-ink); }
.band a { color: inherit; }
.band a:hover { color: inherit; opacity: .8; }
.top-in { max-width: 1200px; margin: 0 auto; padding: 22px 24px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; }
.brand { font: 800 26px/1 var(--font); letter-spacing: -.03em; color: var(--m-call-ink); text-decoration: none; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 22px; flex: 1 1 auto; }
.top nav a { min-height: 44px; display: inline-flex; align-items: center; font: 600 17px/1 var(--font); color: var(--m-call-ink); text-decoration: none; }
.top nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.top a:hover { color: var(--m-call-ink); opacity: .8; }
.top nav .alt { margin-left: auto; padding: 0 16px; border-radius: 999px; border: 2px solid var(--m-call-ink); font-weight: 700; font-size: 16px; }
.band .cta { display: inline-flex; align-items: center; min-height: 56px; padding: 0 26px; border-radius: 999px; background: var(--m-call-ink); color: var(--m-call); font: 700 18px/1.2 var(--font); text-decoration: none; }
.band .cta:hover { color: var(--m-call); opacity: .9; }
.band .cta.quiet { padding: 0 24px; background: transparent; border: 3px solid var(--m-call-ink); color: var(--m-call-ink); }
.band .cta.quiet:hover { color: var(--m-call-ink); opacity: .85; }
.hero-ctas { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Home: the hero */
.hero-text { max-width: 1200px; margin: 0 auto; padding: 64px 24px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero h1 { margin: 0; max-width: 16ch; font: 800 clamp(40px, 5.8vw, 78px)/.98 var(--font); letter-spacing: -.035em; text-wrap: balance; }
.hero-lead { margin: 0; max-width: 34em; font: 500 clamp(19px, 1.7vw, 24px)/1.45 var(--font); text-wrap: pretty; }
.hero-devices { max-width: 1200px; margin: 0 auto -120px; padding: 56px 24px 0; position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 24px; }
.hero-tablet { flex: 1 1 560px; min-width: 0; max-width: 900px; }
.hero-phone { flex: 0 0 clamp(170px, 23%, 250px); }

/* The tablet: a bezel and a 16:10 screen, sized in its own width (cqw) */
.tablet { container-type: inline-size; }
.tablet-bezel { background: var(--bezel); border-radius: 3.2cqw; padding: 1.1cqw; box-shadow: 0 2cqw 4.4cqw rgba(14, 13, 12, .3); }
.tablet-screen { position: relative; aspect-ratio: 16/10; border-radius: 2.2cqw; overflow: hidden; background: var(--bg-page); color: var(--ink); }
.tile { background: var(--mb); color: var(--mi); border-radius: 3.1cqw; }
.board { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 1.85cqw; padding: 2.45cqw; background: var(--bg-page); }
.b-clock { grid-column: 1 / span 2; grid-row: 1; display: flex; flex-direction: column; justify-content: center; gap: 1cqw; padding-left: .4cqw; min-width: 0; }
.b-time { font: 700 12.6cqw/.9 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.b-dateline { display: flex; align-items: center; gap: 1cqw; min-width: 0; font: 700 2.45cqw/1.1 var(--font); white-space: nowrap; }
.b-part { padding: .45cqw 1.2cqw; border-radius: 999px; background: var(--bg-pill); font: 600 2.1cqw/1.1 var(--font); }
.b-photo { grid-column: 3 / span 2; grid-row: 1 / span 2; position: relative; overflow: hidden; border-radius: 3.1cqw; background: var(--photo-empty); }
.b-photo img, .p-photo img, .mini-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; top: 1.5cqw; left: 1.5cqw; display: flex; align-items: center; gap: .8cqw; padding: .6cqw 1.4cqw; border-radius: 999px; background: var(--chip-bg); color: var(--chip-ink); font: 700 2.1cqw/1.1 var(--font); }
.chip .i { font-size: 2.3cqw; }
.cap { position: absolute; left: 1.25cqw; right: 1.25cqw; bottom: 1.25cqw; display: flex; flex-direction: column; gap: .3cqw; padding: 1.2cqw 1.7cqw; border-radius: 2cqw; background: var(--cap-bg); color: var(--cap-ink); }
.cap-t { font: 700 2.45cqw/1.15 var(--font); }
.cap-by { font: 500 2.1cqw/1.15 var(--font); color: var(--cap-ink-soft); }
.b-call { grid-column: 1 / span 2; grid-row: 2; display: flex; align-items: stretch; justify-content: space-between; gap: 1.5cqw; padding: 2cqw 2.3cqw; }
.b-call-l { display: flex; flex-direction: column; justify-content: space-between; }
.b-call-l > .i { font-size: 5cqw; color: var(--mc); }
.b-call-n { font: 700 3.7cqw/1 var(--font); }
.faces { display: flex; align-items: center; gap: .9cqw; }
.faces span { width: 7.4cqw; height: 7.4cqw; border-radius: 50%; background: var(--face-bg); color: var(--face-ink); display: flex; align-items: center; justify-content: center; font: 700 3.1cqw/1 var(--font); }
.b-small { grid-row: 3; display: flex; flex-direction: column; justify-content: space-between; padding: 1.85cqw 2cqw; }
.b-small > .i { font-size: 4.4cqw; color: var(--mc); }
.b-lab { display: flex; flex-direction: column; gap: .3cqw; }
.b-name { font: 700 3.1cqw/1.05 var(--font); }
.b-sub { font: 500 2.1cqw/1.1 var(--font); }

/* The phone: a bezel and a 390:844 screen of the family app */
.phone { container-type: inline-size; }
.phone-bezel { background: var(--bezel); border-radius: 13.8cqw; padding: 2.6cqw; box-shadow: 0 3cqw 6cqw rgba(14, 13, 12, .3); }
.phone-screen { aspect-ratio: 390/844; border-radius: 11.3cqw; overflow: hidden; background: var(--bg-page); color: var(--ink); display: flex; flex-direction: column; }
.ph-status { flex: none; height: 11.3cqw; display: flex; align-items: center; justify-content: space-between; padding: 0 7.2cqw; font: 600 3.85cqw/1 var(--font); }
.ph-sig { display: flex; gap: 1.5cqw; }
.ph-sig .i { font-size: 4.6cqw; }
.ph-bar { flex: none; display: flex; align-items: center; gap: 2cqw; padding: 1cqw 3cqw 2cqw; font: 700 5cqw/1 var(--font); }
.ph-bar > .i { font-size: 6.2cqw; margin: 3.05cqw; }
.ph-bar > span { flex: 1; }
.ph-body { flex: 1; min-height: 0; overflow: hidden; padding: 2cqw 5.1cqw 5.1cqw; display: flex; flex-direction: column; gap: 4.1cqw; }
.ph-flat { padding-top: 0; }
.ph-person { display: flex; align-items: center; gap: 3.6cqw; }
.ph-avatar { width: 13.3cqw; height: 13.3cqw; flex: none; border-radius: 50%; object-fit: cover; background: var(--face-bg); }
.ph-who, .ph-head { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .8cqw; }
.ph-head { flex: none; gap: 1cqw; }
.ph-name { font: 700 7.2cqw/1.05 var(--font); }
.ph-state { display: flex; align-items: center; gap: 1.5cqw; font: 500 3.3cqw/1.2 var(--font); color: var(--ink-soft); }
.ph-hint { font: 500 3.3cqw/1.2 var(--font); color: var(--ink-soft); }
.dot { width: 2cqw; height: 2cqw; flex: none; border-radius: 50%; background: var(--m-call); }
.ph-actions { display: flex; gap: 2.6cqw; }
.ph-call { flex: 1; height: 14.4cqw; display: flex; align-items: center; justify-content: center; gap: 2.6cqw; border-radius: 3.6cqw; background: var(--act-primary); color: var(--act-primary-ink); font: 700 4.1cqw/1 var(--font); }
.ph-call .i, .ph-sq .i, .ph-cta .i { font-size: 6.2cqw; }
.ph-sq { flex: none; width: 14.4cqw; height: 14.4cqw; display: flex; align-items: center; justify-content: center; border-radius: 3.6cqw; background: var(--bg-pill); color: var(--ink); }
.ph-needs { display: flex; flex-direction: column; gap: 3cqw; padding: 4.1cqw; border-radius: 5.6cqw; background: var(--mb); color: var(--mi); }
.ph-needs-head { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; }
.ph-needs-t { display: flex; align-items: center; gap: 2cqw; font: 700 4.1cqw/1 var(--font); }
.ph-needs-t .i { font-size: 5.6cqw; color: var(--mc); }
.ph-meta { font: 600 3.3cqw/1 var(--font); white-space: nowrap; }
.ph-voice { display: flex; align-items: center; gap: 2.6cqw; padding: 2.6cqw 3cqw; border-radius: 3cqw; background: var(--mi); color: var(--mb); }
.ph-voice .i { font-size: 7.2cqw; }
.ph-voice-t { flex: 1; font: 600 3.85cqw/1.2 var(--font); }
.ph-dur { font: 600 3.3cqw/1 var(--font); font-variant-numeric: tabular-nums; }
.ph-needs-line { font: 500 3.85cqw/1.35 var(--font); }
.ph-card { display: flex; flex-direction: column; border-radius: 5.6cqw; background: var(--bg-raised); border: 1px solid var(--rule); overflow: hidden; }
.ph-card-t { padding: 3.6cqw 4.1cqw 2cqw; font: 700 4.1cqw/1 var(--font); }
.ph-row { display: flex; align-items: center; gap: 3cqw; padding: 2.6cqw 4.1cqw; }
.ph-row + .ph-row { border-top: 1px solid var(--rule); }
.ph-row:last-child { padding-bottom: 3.6cqw; }
.ph-hm { width: 12.3cqw; flex: none; font: 700 3.85cqw/1 var(--font); font-variant-numeric: tabular-nums; }
.ph-rt { flex: 1; font: 500 3.85cqw/1.2 var(--font); }
.ph-done { display: flex; align-items: center; gap: 1cqw; font: 600 3.3cqw/1 var(--font); color: var(--m-call); }
.ph-done .i { font-size: 4.6cqw; }
.ph-in { font: 600 3.3cqw/1 var(--font); color: var(--ink-soft); }
.ph-tabs { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 2cqw 2cqw 6.7cqw; background: var(--bg-raised); border-top: 1px solid var(--rule); }
.ph-tabs > span { height: 13.3cqw; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1cqw; color: var(--ink-soft); font: 600 3.1cqw/1 var(--font); }
.ph-tabs .i { box-sizing: content-box; padding: .5cqw 4.6cqw; border-radius: 999px; font-size: 6.2cqw; }
.ph-tabs .on { color: var(--ink); font-weight: 700; }
.ph-tabs .on .i { background: var(--bg-pill); }
.ph-pic { flex: none; aspect-ratio: 4/3; border-radius: 7cqw; overflow: hidden; background: var(--photo-empty); }
.ph-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph-field { display: flex; flex-direction: column; gap: 1.5cqw; }
.ph-label { font: 600 3.3cqw/1.2 var(--font); color: var(--ink-soft); }
.ph-input { height: 13.3cqw; display: flex; align-items: center; gap: 2cqw; padding: 0 3.6cqw; border-radius: 3.6cqw; background: var(--bg-raised); border: 1px solid var(--rule); font: 500 4.1cqw/1 var(--font); }
.ph-input.on { border: .5cqw solid var(--ink); }
.ph-input .i { font-size: 5cqw; }
.caret { width: .5cqw; height: 5.6cqw; margin-left: -1.5cqw; background: var(--ink); }
.ph-prev { display: flex; flex-direction: column; gap: 2cqw; }
.ph-prev-t { font: 700 3.85cqw/1 var(--font); }
.mini-bezel { background: var(--bezel); border-radius: 3.6cqw; padding: 1.5cqw; }
.mini-photo { position: relative; aspect-ratio: 16/10; border-radius: 2.3cqw; overflow: hidden; background: var(--photo-empty); }
.mini-chip { position: absolute; top: 2cqw; left: 2cqw; padding: .8cqw 2cqw; border-radius: 999px; background: var(--chip-bg); color: var(--chip-ink); font: 700 2.3cqw/1.1 var(--font); }
.mini-cap { position: absolute; left: 2cqw; right: 2cqw; bottom: 2cqw; display: flex; flex-direction: column; gap: .3cqw; padding: 1.5cqw 2.3cqw; border-radius: 2cqw; background: var(--cap-bg); color: var(--cap-ink); }
.mini-cap-t { font: 700 2.8cqw/1.15 var(--font); }
.mini-cap-by { font: 500 2.3cqw/1.15 var(--font); color: var(--cap-ink-soft); }
.ph-cta { margin-top: auto; height: 14.4cqw; flex: none; display: flex; align-items: center; justify-content: center; gap: 2.6cqw; border-radius: 3.6cqw; background: var(--act-primary); color: var(--act-primary-ink); font: 700 4.1cqw/1 var(--font); }
.ph-voice-card { display: flex; align-items: center; gap: 3cqw; padding: 3cqw 3.6cqw; border-radius: 5.6cqw; background: var(--mb); color: var(--mi); }
.ph-voice-card .ph-voice-t { font-weight: 700; line-height: 1.1; }
.ph-play { width: 11.3cqw; height: 11.3cqw; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--mi); color: var(--mb); }
.ph-play .i { font-size: 6.6cqw; }
.ph-item { display: flex; align-items: center; gap: 3cqw; padding: 3cqw 3.6cqw; }
.ph-item + .ph-item { border-top: 1px solid var(--rule); }
.ph-thumb { width: 10.2cqw; height: 10.2cqw; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 3cqw; background: var(--m-list); color: var(--m-list-icon); }
.ph-thumb .i { font-size: 5.6cqw; }
.ph-item-l { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .5cqw; }
.ph-item-n { font: 700 4.1cqw/1.1 var(--font); }
.ph-item-by { font: 500 3.3cqw/1.1 var(--font); color: var(--ink-soft); }
.ph-item-go { display: flex; align-items: center; gap: 1cqw; font: 600 3.3cqw/1.1 var(--font); }
.ph-item-go .i { font-size: 4cqw; }
.ph-bring { height: 10.2cqw; padding: 0 3.6cqw; display: flex; align-items: center; border-radius: 3.6cqw; background: var(--act-primary); color: var(--act-primary-ink); font: 700 3.3cqw/1 var(--font); white-space: nowrap; }
.ph-note { margin-top: auto; display: flex; flex-direction: column; gap: 2cqw; padding: 3.6cqw; border-radius: 5.6cqw; background: var(--bg-pill); }
.ph-note-t { font: 700 3.85cqw/1.2 var(--font); }
.ph-note-x { font: 500 3.3cqw/1.35 var(--font); }
.ph-note-a { font: 700 3.3cqw/1 var(--font); color: var(--m-call); }
.ph-switch { display: flex; align-items: center; gap: 3cqw; padding: 3.3cqw 3.6cqw; font: 600 3.85cqw/1.2 var(--font); }
.ph-switch + .ph-switch { border-top: 1px solid var(--rule); }
.ph-switch > span:first-child { flex: 1; }
.sw { position: relative; width: 13.3cqw; height: 8.2cqw; flex: none; border-radius: 999px; background: var(--act-primary); }
.sw::after { content: ""; position: absolute; top: 1cqw; right: 1cqw; width: 6.2cqw; height: 6.2cqw; border-radius: 50%; background: var(--act-primary-ink); }
.mini-remind { aspect-ratio: 16/10; border-radius: 2.3cqw; overflow: hidden; background: var(--mb); color: var(--mi); display: flex; flex-direction: column; justify-content: space-between; padding: 2.6cqw; }
.mini-r-top { display: flex; align-items: center; gap: 1.5cqw; font: 700 6cqw/1 var(--font); letter-spacing: -.03em; }
.mini-r-top .i { font-size: 4cqw; color: var(--mc); }
.mini-r-text { font: 700 3.6cqw/1.1 var(--font); }
.mini-r-ok { height: 7cqw; display: flex; align-items: center; justify-content: center; gap: 1cqw; border-radius: 2cqw; background: #9FD8C7; color: #0F2B24; font: 700 3.3cqw/1 var(--font); }
.mini-r-ok .i { font-size: 3.6cqw; }

/* Home: who it is for, the trust row, the section heads */
.who { max-width: 1200px; margin: 0 auto; padding: 184px 24px 0; display: flex; flex-direction: column; gap: 32px; }
.who-text { margin: 0; max-width: 36em; font: 500 clamp(20px, 1.8vw, 26px)/1.45 var(--font); text-wrap: pretty; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.trust li { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 24px; background: var(--bg-raised); border: 1px solid var(--rule); font: 700 19px/1.3 var(--font); text-wrap: pretty; }
.trust-i { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--bg-pill); display: flex; align-items: center; justify-content: center; }
.trust-i .i { font-size: 28px; }
.sec-head { max-width: 1200px; margin: 0 auto; padding: 96px 24px 0; display: flex; flex-direction: column; gap: 16px; }
.room + .sec-head { padding-top: 64px; }
.sec-head h2 { margin: 0; font: 800 clamp(34px, 4.4vw, 58px)/1.02 var(--font); letter-spacing: -.035em; }
.sec-head p { margin: 0; max-width: 40em; font: 500 clamp(19px, 1.6vw, 22px)/1.5 var(--font); text-wrap: pretty; }

/* Home: the showcase, a sticky tablet beside seven chapters */
.showcase { max-width: 1200px; margin: 0 auto; padding: 36px 24px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px 56px; align-items: start; }
.show-tablet { position: sticky; top: 16px; z-index: 1; width: min(100%, 56vh); margin: 0 auto; }
.show-tablet .tablet-bezel { box-shadow: 0 2cqw 4.4cqw rgba(14, 13, 12, .22); }
.show-tablet .chip { display: none; }
/* In one column the chapters pass under the tablet: it keeps a strip of the page above and below it. */
@media (max-width: 943px) { .show-tablet { top: 0; padding: 16px 0 12px; background: var(--bg-page); } }
.chapters { list-style: none; margin: 0; padding: 2vh 0 8vh; display: flex; flex-direction: column; }
.ch { min-height: 56vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.ch-pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--mb); color: var(--mi); font: 700 15px/1 var(--font); }
.ch-pill .i { font-size: 20px; color: var(--mc); }
.ch p { margin: 0; font: 500 clamp(22px, 2.2vw, 30px)/1.35 var(--font); text-wrap: pretty; }
.ch strong { font-weight: 800; letter-spacing: -.02em; }
.scr { position: absolute; inset: 0; opacity: 0; }
.night { position: absolute; inset: 0; background: #000; color: #D98B2B; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6cqw; }
.night-time { font: 700 15cqw/.9 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.night-date { font: 600 2.6cqw/1.1 var(--font); }
.focus { display: flex; flex-direction: column; background: var(--bg-page); color: var(--ink); }
.f-head { flex: none; display: flex; align-items: center; gap: 2.2cqw; padding: 1.85cqw 2.45cqw 0; }
.f-back { display: flex; align-items: center; gap: 1cqw; height: 7.5cqw; padding: 0 2.6cqw 0 2cqw; border-radius: 2.5cqw; background: var(--act-back); color: var(--act-back-ink); font: 700 3.1cqw/1 var(--font); }
.f-back .i { font-size: 3.4cqw; }
.f-title { flex: 1; min-width: 0; font: 700 3.75cqw/1.1 var(--font); }
.f-time { font: 600 3.1cqw/1 var(--font); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.f-body { flex: 1; min-height: 0; padding: 1.85cqw 2.45cqw 2.45cqw; }
.w-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.85cqw; }
.w-now { display: flex; flex-direction: column; justify-content: space-between; padding: 2.5cqw 2.8cqw; border-radius: 3.1cqw; background: var(--mb); color: var(--mi); }
.w-temp { display: flex; align-items: center; gap: 1.85cqw; font: 700 9.4cqw/.9 var(--font); letter-spacing: -.03em; }
.w-temp .i { font-size: 11cqw; color: var(--mc); }
.w-say { display: flex; flex-direction: column; gap: .9cqw; }
.w-sunny { font: 700 5cqw/1.05 var(--font); }
.w-adv { font: 500 2.5cqw/1.3 var(--font); }
.w-rows { display: flex; flex-direction: column; gap: 1.25cqw; }
.w-row { flex: 1; display: flex; align-items: center; gap: 1.85cqw; padding: 0 2.2cqw; border-radius: 2.5cqw; background: var(--bg-pill); }
.w-row > .i { font-size: 5cqw; }
.w-lab { flex: 1; display: flex; flex-direction: column; gap: .3cqw; }
.w-n { font: 700 3.1cqw/1.05 var(--font); }
.w-s { font: 500 2.1cqw/1.1 var(--font); }
.w-t { font: 700 3.75cqw/1 var(--font); }
.p-body { display: flex; flex-direction: column; gap: 1.85cqw; }
.p-photo { position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: 3.1cqw; background: var(--photo-empty); }
.p-cap { flex-direction: row; align-items: center; justify-content: space-between; gap: 1.85cqw; }
.p-cap-l { display: flex; flex-direction: column; gap: .3cqw; }
.p-cap > .cap-by { font-weight: 600; line-height: 1; }
.p-nav { flex: none; display: flex; justify-content: space-between; gap: 1.85cqw; }
.act-line, .act-primary { display: flex; align-items: center; gap: 1cqw; height: 7.5cqw; border-radius: 2.5cqw; font: 700 3.1cqw/1 var(--font); }
.act-line { padding: 0 2.8cqw 0 1.85cqw; border: .25cqw solid var(--act-second-edge); color: var(--act-second-ink); }
.act-primary { padding: 0 1.85cqw 0 2.8cqw; background: var(--act-primary); color: var(--act-primary-ink); }
.act-line .i, .act-primary .i { font-size: 4cqw; }
.r-screen { display: flex; flex-direction: column; justify-content: space-between; padding: 2.45cqw; background: var(--mb); color: var(--mi); }
.r-top { display: flex; align-items: center; justify-content: space-between; }
.r-label { display: flex; align-items: center; gap: 1.5cqw; font: 700 3.75cqw/1 var(--font); }
.r-label .i { font-size: 5cqw; color: var(--mc); }
.r-now { font: 600 3.1cqw/1 var(--font); font-variant-numeric: tabular-nums; }
.r-mid { display: flex; flex-direction: column; gap: 1.2cqw; }
.r-time { font: 700 11cqw/.9 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.r-text { font: 700 5.5cqw/1.05 var(--font); }
.r-acts { display: flex; gap: 1.85cqw; }
.r-again { flex: 0 0 32%; height: 9cqw; display: flex; align-items: center; justify-content: center; gap: 1cqw; border-radius: 2.5cqw; border: .25cqw solid var(--mi); font: 700 3.1cqw/1 var(--font); }
.r-again .i { font-size: 3.6cqw; }
.r-ok { flex: 1; height: 9cqw; display: flex; align-items: center; justify-content: center; gap: 1.4cqw; border-radius: 2.5cqw; background: #9FD8C7; color: #0F2B24; font: 700 4.4cqw/1 var(--font); }
.r-ok .i { font-size: 4.6cqw; }
.l-body { display: grid; grid-template-columns: minmax(0, 1fr) 28%; gap: 2.4cqw; }
.l-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1.85cqw; min-height: 0; }
.l-item { display: flex; flex-direction: column; justify-content: space-between; padding: 1.7cqw 1.85cqw; border-radius: 3.1cqw; background: var(--mb); color: var(--mi); }
.l-item > .i { font-size: 5.6cqw; color: var(--mc); }
.l-off { background: none; border: .25cqw solid var(--act-second-edge); color: var(--act-second-ink); }
.l-off > .i { color: inherit; }
.l-lab { display: flex; flex-direction: column; gap: .5cqw; }
.l-start { align-items: flex-start; }
.l-n { font: 700 3.1cqw/1.05 var(--font); }
.l-s { display: flex; align-items: center; gap: .5cqw; font: 500 2.1cqw/1.1 var(--font); }
.l-s.on { font-weight: 700; }
.l-s .i { font-size: 2.5cqw; }
.l-pill { padding: .4cqw 1.1cqw; border-radius: 999px; background: var(--mi); color: var(--mb); font: 700 2.1cqw/1.1 var(--font); }
.l-say { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5cqw; padding: 1.5cqw; border-radius: 3.1cqw; background: var(--act-primary); color: var(--act-primary-ink); text-align: center; font: 700 3.1cqw/1.1 var(--font); }
.l-say .i { font-size: 7cqw; }
.msg-body { display: flex; flex-direction: column; gap: 1.4cqw; }
.msg-row { flex: 1; display: flex; align-items: center; gap: 2cqw; padding: 0 2.2cqw; border-radius: 3.1cqw; background: var(--mb); color: var(--mi); }
.msg-row > .i { font-size: 6.5cqw; color: var(--mc); }
.msg-who { flex: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 1.2cqw; font: 700 3.1cqw/1.05 var(--font); }
.msg-new { padding: .35cqw 1.1cqw; border-radius: 999px; background: var(--chip-bg); color: var(--chip-ink); font: 700 2.1cqw/1.1 var(--font); }
.c-screen { background: #0E0D0C; color: #F7F1EB; display: grid; grid-template-columns: minmax(0, 1fr) 40%; gap: 3.6cqw; padding: 4.2cqw 5cqw; }
.c-face { display: flex; align-items: center; justify-content: center; min-width: 0; }
.c-ring { position: relative; width: 34cqw; height: 34cqw; }
.c-halo { position: absolute; inset: -9%; border-radius: 50%; background: #9FD8C7; opacity: .3; }
.c-ring img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #A8E0CF; border: .45cqw solid #9FD8C7; }
.c-side { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.c-who { display: flex; flex-direction: column; gap: .8cqw; }
.c-name { font: 700 6.9cqw/1 var(--font); }
.c-calling { font: 600 3.75cqw/1.1 var(--font); }
.c-auto { margin-top: .6cqw; display: flex; align-items: center; gap: .8cqw; font: 600 2.2cqw/1.2 var(--font); color: #C9C2BA; }
.c-auto .i { font-size: 2.6cqw; }
.c-acts { display: flex; flex-direction: column; gap: 2.4cqw; }
.c-no { height: 8.75cqw; display: flex; align-items: center; justify-content: center; gap: 1.2cqw; border-radius: 2.5cqw; background: #8E1F17; color: #FFF8F2; border: .25cqw solid #FFF8F2; font: 700 3.75cqw/1 var(--font); }
.c-no .i { font-size: 4cqw; }
.c-yes { height: 14cqw; display: flex; align-items: center; justify-content: center; gap: 1.6cqw; border-radius: 2.5cqw; background: #9FD8C7; color: #0F2B24; font: 700 5cqw/1 var(--font); }
.c-yes .i { font-size: 6cqw; }

/* Home: the room, the family's phones */
.room { max-width: 1200px; margin: 88px auto 0; padding: 0 24px; }
.room img { display: block; width: 100%; height: auto; aspect-ratio: 21/9; min-height: 260px; object-fit: cover; border-radius: 32px; background: var(--photo-empty); }
.phones { max-width: 1200px; margin: 0 auto; padding: 40px 24px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px; align-items: start; justify-items: center; }
.fam-phone { width: 100%; max-width: 300px; }
.fam-phone .phone-bezel { box-shadow: 0 3cqw 6cqw rgba(14, 13, 12, .22); }
.fam-mid { margin-top: clamp(0px, 4vw, 56px); }

/* Home: privacy and price, on the dark band */
.dark-band { margin: 104px 0 0; background: var(--act-back); color: var(--act-back-ink); }
.dark-in { max-width: 1200px; margin: 0 auto; padding: 88px 24px 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px 64px; align-items: center; }
.privacy { min-width: 0; }
.big { margin: 0; display: flex; flex-direction: column; gap: 4px; font: 800 clamp(40px, 6vw, 86px)/1 var(--font); letter-spacing: -.04em; text-wrap: balance; }
.big span { display: block; }
.privacy p { margin: 28px 0 0; max-width: 34em; font: 500 clamp(19px, 1.6vw, 22px)/1.5 var(--font); text-wrap: pretty; }
.privacy a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.privacy a:hover { color: inherit; opacity: .8; }
.privacy a:focus-visible { outline-color: var(--act-back-ink); }
.price { min-width: 0; background: var(--bg-raised); color: var(--ink); border-radius: 32px; padding: 28px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, .2); }
.price h2 { margin: 0; font: 700 clamp(28px, 3vw, 38px)/1.1 var(--font); letter-spacing: -.02em; }
.price p { margin: 0; font: 500 18px/1.5 var(--font); text-wrap: pretty; }
.toggle { position: relative; display: inline-flex; align-self: flex-start; padding: 4px; border-radius: 999px; background: var(--bg-pill); }
.toggle input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.toggle label { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; cursor: pointer; color: var(--ink); font: 700 16px/1 var(--font); transition: background 200ms, color 200ms; }
.toggle input:checked + label { background: var(--ink); color: var(--bg-page); }
.toggle input:focus-visible + label { outline: 3px solid var(--link); outline-offset: 3px; }
.price-tablet .tablet-bezel { box-shadow: none; }
.pb { border-radius: 2.2cqw; overflow: hidden; background: var(--bg-page); display: flex; flex-direction: column; }
.pb-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.85cqw; height: 17cqw; padding: 2.45cqw 2.45cqw 1.85cqw; }
.pb-tile { display: flex; flex-direction: column; justify-content: space-between; padding: 1.85cqw 2cqw; font: 700 3.1cqw/1.05 var(--font); }
.pb-tile > .i { font-size: 4.4cqw; color: var(--mc); }
.pb-strip { height: 5.2cqw; display: flex; align-items: center; justify-content: center; background: var(--bg-pill); color: var(--ink-soft); font: 600 2.9cqw/1 var(--font); transition: background 300ms, color 300ms; }
.price:has(#price-paid:checked) .pb-strip { background: var(--bg-page); color: transparent; }

/* Home: how to start */
.start { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; padding: 80px 24px 88px; }
.start h2 { margin: 0; font: 800 clamp(34px, 4.6vw, 60px)/1 var(--font); letter-spacing: -.035em; }
.start-links { margin: 4px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; font: 600 18px/1.5 var(--font); }

/* The other pages: the hero band and the article */
.doc-hero-in { max-width: 46rem; margin: 0 auto; padding: 52px 24px 60px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.doc-icon { width: 64px; height: 64px; border-radius: 22px; background: var(--m-call-ink); color: var(--m-call); display: flex; align-items: center; justify-content: center; }
.doc-icon .i { font-size: 34px; }
.doc-hero h1 { margin: 0; font: 800 clamp(38px, 5vw, 64px)/1 var(--font); letter-spacing: -.035em; text-wrap: balance; }
.doc-hero .lead { margin: 0; max-width: 34em; font: 500 clamp(19px, 1.7vw, 23px)/1.45 var(--font); text-wrap: pretty; }
.hero-tiles { list-style: none; width: 100%; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; counter-reset: step; }
.hero-tiles li { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: 22px; background: var(--m-call-ink); color: var(--m-call); font: 600 16px/1.35 var(--font); text-wrap: pretty; }
.hero-tiles li > .i { font-size: 30px; }
.steps li { counter-increment: step; }
.step { display: flex; align-items: center; gap: 10px; }
.step::before { content: counter(step); width: 28px; height: 28px; border-radius: 50%; background: var(--m-call); color: var(--m-call-ink); display: flex; align-items: center; justify-content: center; font: 700 15px/1 var(--font); }
.step .i { font-size: 26px; }
.doc { max-width: 46rem; margin: 0 auto; padding: 40px 24px 64px; }
.doc h2 { margin: 48px 0 14px; font: 700 clamp(26px, 2.6vw, 32px)/1.15 var(--font); letter-spacing: -.02em; text-wrap: pretty; }
.doc h2::before { content: ""; display: block; width: 46px; height: 5px; margin: 0 0 14px; border-radius: 999px; background: var(--m-call); }
.doc h3 { margin: 30px 0 8px; font: 700 22px/1.25 var(--font); }
.doc p { margin: 0 0 16px; font: 500 19px/1.55 var(--font); text-wrap: pretty; }
.doc .note { font-size: 17px; color: var(--ink-soft); }
.doc ul { margin: 0 0 18px; padding-left: 1.25em; font: 500 19px/1.55 var(--font); }
.doc ul > li { margin: 0; padding-left: .15em; text-wrap: pretty; }
.doc ul > li::marker { color: var(--m-call); }
.doc ol { list-style: none; margin: 8px 0 22px; padding: 0; display: flex; flex-direction: column; gap: 12px; font: 500 19px/1.55 var(--font); counter-reset: li-step; }
.doc ol > li { position: relative; margin: 0; padding: 10px 0 10px 62px; min-height: 46px; text-wrap: pretty; }
.doc ol > li::before { content: counter(li-step); counter-increment: li-step; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: var(--m-call); color: var(--m-call-ink); display: flex; align-items: center; justify-content: center; font: 700 20px/1 var(--font); }
.doc strong { font-weight: 700; }
.doc code { font: 500 .92em ui-monospace, Menlo, Consolas, monospace; overflow-wrap: anywhere; background: var(--bg-pill); padding: 2px 7px; border-radius: 7px; }
.doc .card { background: var(--bg-raised); border: 1px solid var(--rule); border-radius: 24px; padding: 22px 26px 8px; margin: 20px 0 24px; }
.doc dl { margin: 8px 0 0; }
.doc dt { margin: 0; padding: 22px 0 6px; border-top: 1px solid var(--rule); font: 700 21px/1.3 var(--font); }
.doc dd { margin: 0 0 22px; font: 500 19px/1.55 var(--font); text-wrap: pretty; }
.doc .cta, .price .cta { display: inline-flex; align-items: center; min-height: 56px; margin: 4px 12px 8px 0; padding: 0 26px; border-radius: 999px; background: var(--act-primary); color: var(--act-primary-ink); font: 700 18px/1.2 var(--font); text-decoration: none; }
.doc .cta:hover, .price .cta:hover { color: var(--act-primary-ink); opacity: .9; }
.doc button.cta { border: 0; cursor: pointer; }
.doc .cta.quiet { padding: 0 24px; background: transparent; border: 3px solid var(--ink); color: var(--ink); }

footer { max-width: 1200px; margin: 0 auto; padding: 28px 24px 64px; border-top: 1px solid var(--rule); color: var(--ink-soft); font: 500 16px/1.5 var(--font); display: flex; flex-direction: column; gap: 8px; }
footer p { margin: 0; }

/* Motion. Time-based: the hero rises, the chip after 1.8 s, the night clock flipping with the day board, the call's halo. */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes halo { 0%, 100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.14); opacity: .12; } }
@keyframes flip { 0%, 45% { opacity: 0; } 50%, 95% { opacity: 1; } 100% { opacity: 0; } }
@keyframes drift-down { to { transform: translateY(40px); } }
@keyframes drift-up { to { transform: translateY(-80px); } }
/* The showcase: a chapter is lit, and its screen shown, while it crosses the middle tenth of the window. The first stays
   lit before it, the last after it (the board shows before the first and the call stays after the last). */
@keyframes lit { 0% { opacity: .38; } 12%, 88% { opacity: 1; } 100% { opacity: .38; } }
@keyframes lit-first { 0%, 88% { opacity: 1; } 100% { opacity: .38; } }
@keyframes lit-last { 0% { opacity: .38; } 12%, 100% { opacity: 1; } }
@keyframes shown { 0% { opacity: 0; } 12%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes shown-last { 0% { opacity: 0; } 12%, 100% { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: rise 700ms var(--ease) both; }
  .hero-lead { animation: rise 700ms var(--ease) 120ms both; }
  .hero .hero-ctas { animation: rise 700ms var(--ease) 220ms both; }
  .hero-tablet > .tablet { animation: rise 900ms var(--ease) 320ms both; }
  .hero-phone > .phone { animation: rise 900ms var(--ease) 460ms both; }
  .chip { animation: appear 300ms 1.8s both; }
  .night { animation: flip 5.6s ease-in-out infinite; }
  .c-halo { animation: halo 1s ease-in-out infinite; }
  @supports (animation-timeline: view()) {
    .who-text, .trust li, .sec-head h2, .sec-head p, .room img, .fam-phone, .big span, .privacy p, .price, .start h2, .doc h2, .doc h3, .doc ol, .doc dl, .doc .card {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}
/* The hero's parallax, only while the tablet and the phone stand side by side (stacked, the phone would drift over it). */
@media (prefers-reduced-motion: no-preference) and (min-width: 840px) {
  @supports (animation-timeline: scroll()) {
    .hero-tablet { animation: drift-down linear both; animation-timeline: scroll(root); animation-range: 0 1000px; }
    .hero-phone { animation: drift-up linear both; animation-timeline: scroll(root); animation-range: 0 1000px; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .night { opacity: 0; }
}
/* The showcase's switching is content, not movement: it runs under reduced motion too (the night flip does not). */
@supports (animation-timeline: view()) and (timeline-scope: --a) {
  .showcase { timeline-scope: --ch0, --ch1, --ch2, --ch3, --ch4, --ch5, --ch6; }
  .ch { view-timeline-inset: 45%; animation: lit linear both; animation-range: cover 0% cover 100%; }
  .ch-0 { animation-name: lit-first; }
  .ch-6 { animation-name: lit-last; }
  .scr { animation: shown linear both; animation-range: cover 0% cover 100%; }
  .scr-6 { animation-name: shown-last; }
  .ch-0 { view-timeline-name: --ch0; animation-timeline: --ch0; } .scr-0 { animation-timeline: --ch0; }
  .ch-1 { view-timeline-name: --ch1; animation-timeline: --ch1; } .scr-1 { animation-timeline: --ch1; }
  .ch-2 { view-timeline-name: --ch2; animation-timeline: --ch2; } .scr-2 { animation-timeline: --ch2; }
  .ch-3 { view-timeline-name: --ch3; animation-timeline: --ch3; } .scr-3 { animation-timeline: --ch3; }
  .ch-4 { view-timeline-name: --ch4; animation-timeline: --ch4; } .scr-4 { animation-timeline: --ch4; }
  .ch-5 { view-timeline-name: --ch5; animation-timeline: --ch5; } .scr-5 { animation-timeline: --ch5; }
  .ch-6 { view-timeline-name: --ch6; animation-timeline: --ch6; } .scr-6 { animation-timeline: --ch6; }
  /* In one column the sticky tablet covers the top of the window: the lit band moves below it (60–70 % down). */
  @media (max-width: 943px) { .ch { view-timeline-inset: 60% 30%; } }
}

/* Site v3. The other pages: two-column blocks with a mock-up, point lists, the parts diagram, the sees / does-not-see
   columns, the device codes, the pairing row, the FAQ's disclosures, the deletion ways, fact cards, a table of contents. */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 28px 40px; align-items: center; margin: 8px 0 28px; }
.duo-media { display: flex; justify-content: center; }
.duo-media .tablet { width: 100%; max-width: 560px; }
.duo-media .phone { width: 100%; max-width: 230px; }
@media (min-width: 760px) { .duo { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .duo-rev .duo-media { order: 2; } }
.doc .points, .doc .tips, .doc .routes { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.doc .points > li, .doc .tips > li, .doc .routes > li { display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 14px 16px; border-radius: 18px; background: var(--bg-raised); border: 1px solid var(--rule); font: 500 18px/1.5 var(--font); }
.doc .points > li > .i, .doc .tips > li > .i, .doc .routes > li > .i, .faq summary > .i:first-child { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--bg-pill); color: var(--ink); font-size: 24px; }
.doc-photo { margin: 28px 0; }
.doc-photo img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 24px; background: var(--photo-empty); }
.doc-photo figcaption { margin: 10px 4px 0; font: 500 16px/1.4 var(--font); color: var(--ink-soft); }
.flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 12px 0 20px; }
.flow-node { flex: 1 1 120px; max-width: 180px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 12px; border-radius: 20px; background: var(--bg-raised); border: 1px solid var(--rule); text-align: center; font: 700 16px/1.25 var(--font); }
.flow-node > .i { font-size: 32px; }
.flow-node small { display: block; font: 500 14px/1.2 var(--font); color: var(--ink-soft); }
.flow-server { background: var(--m-call); color: var(--m-call-ink); border-color: transparent; }
.flow-server small { color: inherit; opacity: .8; }
.flow-arrow .i { font-size: 28px; color: var(--ink-soft); }
.sees { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin: 12px 0 20px; }
.sees-col { padding: 18px 20px; border-radius: 20px; background: var(--bg-raised); border: 2px solid var(--rule); }
.sees-yes { border-color: var(--m-weather); }
.sees-no { border-color: var(--m-call); }
.doc .sees-col h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 10px; font: 700 20px/1.2 var(--font); }
.sees-col h3 .i { font-size: 24px; }
.doc .sees-col ul { margin: 0; padding-left: 1.2em; font: 500 17px/1.5 var(--font); }
.codes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 8px 0 20px; }
.code-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--bg-pill); font: 600 16px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .04em; }
.code-chip .i { font-size: 20px; }
.codes-eq { font: 700 26px/1 var(--font); color: var(--m-call); }
.doc p.callout, .callout { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 20px; padding: 16px 18px; border-radius: 18px; background: var(--bg-raised); border: 1px solid var(--rule); font: 500 18px/1.5 var(--font); }
.callout > .i { flex: none; font-size: 28px; color: var(--m-call); margin-top: 2px; }
.pair-row { display: grid; grid-template-columns: minmax(0, 1.7fr) auto minmax(0, .85fr); gap: 16px; align-items: center; margin: 12px 0 24px; }
.pair-row .tablet { width: 100%; }
.pair-row .phone { width: 100%; max-width: 230px; margin: 0 auto; }
.pair-arrow .i { font-size: 32px; color: var(--m-call); }
@media (max-width: 639px) { .pair-row { grid-template-columns: 1fr; } .pair-arrow { justify-self: center; transform: rotate(90deg); } }
.faq { margin: 0 0 10px; border-radius: 18px; background: var(--bg-raised); border: 1px solid var(--rule); overflow: hidden; }
.faq summary { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; list-style: none; font: 700 18px/1.3 var(--font); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > span:not(.faq-x) { flex: 1; }
.faq-x { flex: none; display: flex; transition: transform 200ms; }
.faq-x .i { font-size: 26px; color: var(--ink-soft); }
.faq[open] .faq-x { transform: rotate(180deg); }
.faq summary:focus-visible { outline: 3px solid var(--link); outline-offset: -3px; border-radius: 18px; }
.doc .faq > p { margin: 0; padding: 0 18px 16px 70px; font-size: 18px; }
@media (max-width: 480px) { .doc .faq > p { padding-left: 18px; } }
.ways { display: flex; flex-direction: column; gap: 16px; margin: 8px 0 28px; }
.way { padding: 20px 22px 6px; border-radius: 22px; background: var(--bg-raised); border: 1px solid var(--rule); }
.doc .way h2 { margin: 0 0 12px; display: flex; align-items: center; gap: 10px; font: 700 22px/1.25 var(--font); }
.doc .way h2::before { display: none; }
.doc h2 > .i { display: inline-block; vertical-align: -.2em; margin-right: .35em; font-size: 26px; color: var(--m-call); }
.doc .way h2 > .i { flex: none; margin: 0; }
.doc .way p, .doc .way ol, .doc .way ul { font-size: 17px; }
.doc .way ol > li { padding-left: 54px; min-height: 40px; }
.doc .way ol > li::before { width: 38px; height: 38px; font-size: 17px; }
.doc-wrap { max-width: 46rem; margin: 0 auto; padding: 0 24px; }
.doc-wrap .doc { padding-left: 0; padding-right: 0; }
.toc { margin: 36px 0 0; padding: 18px 20px; border-radius: 20px; background: var(--bg-raised); border: 1px solid var(--rule); }
.toc-t { margin: 0 0 8px; font: 700 14px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font: 600 15px/1.35 var(--font); }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (min-width: 1140px) {
  .doc-wrap { max-width: none; display: grid; grid-template-columns: minmax(0, 46rem) 260px; justify-content: center; gap: 48px; }
  .toc { position: sticky; top: 24px; order: 2; align-self: start; margin-top: 40px; max-height: calc(100vh - 48px); overflow: auto; }
  .toc ol { flex-direction: column; gap: 8px; }
}
.doc ul > li:has(> strong:first-child) { list-style: none; margin: 0 0 10px; padding: 12px 16px; border-radius: 16px; background: var(--bg-raised); border: 1px solid var(--rule); }
.doc ul:has(> li > strong:first-child) { padding-left: 0; }
.doc ul > li:has(> strong:first-child) > strong { display: block; margin-bottom: 2px; }
.doc-hero .hero-ctas { justify-content: flex-start; }
/* The family app's forms (Nova obitelj, Dodaj tablet) */
.ph-form { gap: 3cqw; }
.ph-seg { display: flex; padding: .8cqw; border-radius: 3.6cqw; background: var(--bg-pill); }
.ph-seg > span { flex: 1; text-align: center; padding: 2.4cqw 0; border-radius: 3cqw; font: 600 3.6cqw/1 var(--font); }
.ph-seg > .on { background: var(--ink); color: var(--bg-page); }
.ph-check { display: flex; align-items: center; gap: 2.6cqw; padding: 3cqw 3.6cqw; border-radius: 3.6cqw; background: var(--bg-raised); border: 1px solid var(--rule); font: 600 3.6cqw/1.2 var(--font); }
.ph-check .i { font-size: 5.6cqw; color: var(--m-call); }
.ph-hint { font: 500 3.1cqw/1.2 var(--font); color: var(--ink-soft); }
.ph-digits { font: 700 6.2cqw/1 var(--font); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.ph-opt { opacity: .7; }
.ph-opt.on { opacity: 1; }
.ph-opt > .i { font-size: 5.6cqw; color: var(--m-call); }
/* The tablet's pairing screen */
.pair { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.4cqw; padding: 3cqw; background: var(--bg-page); color: var(--ink); }
.pair-main { display: flex; flex-direction: column; justify-content: center; gap: 1.4cqw; min-width: 0; }
.pair-title { font: 700 4.6cqw/1 var(--font); }
.pair-hint { font: 500 2.6cqw/1.3 var(--font); color: var(--ink-soft); }
.pair-code { font: 700 10cqw/1 var(--font); letter-spacing: .04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pair-dev { font: 600 2.6cqw/1.2 var(--font); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.pair-steps { display: flex; flex-direction: column; justify-content: center; gap: 1.6cqw; padding: 2.4cqw; border-radius: 3.1cqw; background: var(--bg-raised); border: 1px solid var(--rule); }
.pair-steps-t { font: 700 2.8cqw/1.2 var(--font); }
.pair-step { display: flex; align-items: center; gap: 1.6cqw; padding: 1.8cqw 2cqw; border-radius: 2.4cqw; background: var(--act-primary); color: var(--act-primary-ink); font: 700 2.7cqw/1.2 var(--font); }
.pair-step .i { font-size: 3.6cqw; }
/* Home: the people, and the video call */
.people { max-width: 1200px; margin: 36px auto 0; padding: 0 24px; }
.people img, .call-photo img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 32px; background: var(--photo-empty); }
.people img { aspect-ratio: 2 / 1; }
@media (max-width: 639px) { .people img { aspect-ratio: 3 / 2; } }
.call-sec { max-width: 1200px; margin: 0 auto; padding: 36px 24px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 28px; align-items: center; }
.call-photo { margin: 0; }
.call-photo img { aspect-ratio: 3 / 2; }
.call-demo { width: 100%; }
.cd { position: absolute; inset: 0; }
.cd-one, .cd-group { background: #0E0D0C; opacity: 0; }
.cd-remote { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cd-self { position: absolute; right: 2.4cqw; bottom: 2.4cqw; width: 24%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2cqw; border: .3cqw solid #F7F1EB; box-shadow: 0 1cqw 2cqw rgba(0, 0, 0, .35); }
.cd-tag { position: absolute; left: 1.6cqw; top: 1.6cqw; padding: .6cqw 1.4cqw; border-radius: 999px; background: rgba(14, 13, 12, .62); color: #F7F1EB; font: 700 2.2cqw/1.1 var(--font); }
.cd-tag-main { left: 2.4cqw; top: 2.4cqw; font-size: 2.6cqw; font-variant-numeric: tabular-nums; }
.cd-end { position: absolute; left: 50%; bottom: 2.4cqw; transform: translateX(-50%); display: flex; align-items: center; gap: 1.2cqw; height: 7.5cqw; padding: 0 3cqw; border-radius: 2.5cqw; background: #8E1F17; color: #FFF8F2; font: 700 3.1cqw/1 var(--font); white-space: nowrap; }
.cd-end .i { font-size: 4cqw; }
.cd-grid { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.4cqw; padding: 2cqw 2cqw 11cqw; }
.cd-tile { position: relative; overflow: hidden; border-radius: 2.4cqw; background: #2A2420; }
.cd-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cd-me { outline: .4cqw solid #9FD8C7; outline-offset: -.4cqw; }
/* The call cycles: ringing, the call with Ana, the call with the three of them; under reduced motion the last stays. */
@keyframes cd-one { 0%, 22% { opacity: 0; } 27%, 56% { opacity: 1; } 61%, 100% { opacity: 0; } }
@keyframes cd-group { 0%, 56% { opacity: 0; } 61%, 96% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .cd-one { animation: cd-one 18s ease-in-out infinite; }
  .cd-group { animation: cd-group 18s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) { .cd-group { opacity: 1; } }
