/* The home page: a story told by scrolling. Without scripts, or for a reader who asked for less
   motion, every scene below is laid out still and complete; the `.js` class on <html> (set in
   index.html) is what lets it move. home.js feeds each scene its progress as `--p`, from 0 to 1,
   and the rules here turn that one number into everything that moves. */

.home { overflow-x: clip; }
.home main > section, .dark > section { position: relative; }
.inner { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.block { padding: clamp(76px, 10.5vw, 136px) 0; }
.center { text-align: center; }

.eyebrow { margin: 0 0 14px; font-size: clamp(15px, 1.6vw, 19px); font-weight: 700; color: var(--primary); letter-spacing: -0.01em; }
.display { margin: 0; font-size: clamp(40px, 8.2vw, 96px); line-height: 1.03; letter-spacing: -0.04em; font-weight: 700; text-wrap: balance; }
.title { margin: 0; font-size: clamp(31px, 5.4vw, 64px); line-height: 1.07; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
.title em { font-style: italic; }
.sub { margin: 0; font-size: clamp(18px, 2.1vw, 24px); line-height: 1.38; font-weight: 500; color: var(--muted); letter-spacing: -0.012em; text-wrap: pretty; }
.center .sub { margin-left: auto; margin-right: auto; max-width: 29em; }
/* A highlighter stroke under the words that matter, as on a paper report. */
.mark { --hl: rgba(255, 201, 71, 0.78); background-image: linear-gradient(98deg, transparent 0.4%, var(--hl) 2.4%, var(--hl) 97.4%, transparent 99.6%); background-repeat: no-repeat; background-size: 100% 0.4em; background-position: 0 88%; padding: 0 0.1em; margin: 0 -0.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (prefers-color-scheme: dark) { .mark { --hl: rgba(240, 168, 72, 0.6); } }
.js [data-reveal] .mark { background-size: 0% 0.4em; transition: background-size 0.9s cubic-bezier(0.3, 0.6, 0.2, 1) 0.75s; }
.js [data-reveal].in .mark { background-size: 100% 0.4em; }

.soon { display: inline-flex; align-items: center; gap: 10px; background: var(--text); color: var(--bg); border-radius: 999px; padding: 13px 22px; font-weight: 700; font-size: 16px; }
.soon svg { width: 18px; height: 18px; flex: none; }

/* A phone. Everything about it scales from its width, --pw. */
.phone { position: relative; width: var(--pw, 292px); padding: calc(var(--pw, 292px) * 0.031); border-radius: calc(var(--pw, 292px) * 0.158); background: var(--bezel); box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, 0.09); }
.phone > img, .phone > .screen { display: block; width: 100%; height: auto; border-radius: calc(var(--pw, 292px) * 0.128); }

/* Things appear as they are reached. */
.js [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="drop"] { transform: translateY(-150%) scale(0.94); filter: none; transition-timing-function: cubic-bezier(0.2, 1.25, 0.3, 1); transition-duration: 0.8s; }

@keyframes bob { from { transform: translateY(-7px); } to { transform: translateY(7px); } }
@keyframes drift { from { transform: translate(-4%, 3%) scale(1); } to { transform: translate(5%, -4%) scale(1.12); } }
@keyframes rise { from { opacity: 0; transform: translateY(120px) scale(0.94); } to { opacity: 1; transform: none; } }

.glow { position: absolute; border-radius: 50%; filter: blur(72px); pointer-events: none; z-index: 0; animation: drift 15s ease-in-out infinite alternate; }

/* ---------------------------------------------------------------- 1. the opening */
.hero { padding: clamp(44px, 6vw, 84px) 22px 0; text-align: center; overflow: hidden; }
.hero > *:not(.glow) { position: relative; z-index: 1; }
.hero .sub { max-width: 27em; margin: 20px auto 26px; }
.hero > p { margin: 0; }
.hero .g1 { width: min(52vw, 560px); height: min(52vw, 560px); left: calc(50% - min(52vw, 560px)); bottom: -6%; background: var(--primary); opacity: 0.3; }
.hero .g2 { width: min(48vw, 520px); height: min(48vw, 520px); left: calc(50% + min(2vw, 20px)); bottom: -2%; background: var(--warm); opacity: 0.3; animation-direction: alternate-reverse; }
.hero-stage { margin: clamp(36px, 4.4vw, 60px) auto 0; width: min(100%, 940px); height: clamp(400px, 56vw, 600px); }
.hero-phone { position: absolute; left: 50%; top: 0; --pw: clamp(240px, 30vw, 320px); margin-left: calc(var(--pw) / -2); transform: translateY(calc((0.5 - var(--p, 0.25)) * 110px)); }
.js .hero-phone .phone { animation: rise 1.3s cubic-bezier(0.16, 0.84, 0.24, 1) 0.3s both; }

.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 16px 10px 10px; border-radius: 18px; background: rgba(255, 255, 255, 0.82); background: color-mix(in srgb, var(--card) 84%, transparent); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 16px 40px rgba(22, 33, 58, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.28); animation: bob 7s ease-in-out infinite alternate; }
.chip .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.chip .ic svg { width: 20px; height: 20px; }
.chip small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); line-height: 1.25; }
.chip b { display: block; font-size: 16px; line-height: 1.25; letter-spacing: -0.01em; white-space: nowrap; }
.chip b span { font-size: 12px; font-weight: 600; color: var(--muted); }
.ca { left: calc(50% - min(40vw, 372px)); top: 14%; }
.cb { right: calc(50% - min(43vw, 400px)); top: 36%; animation-duration: 8.5s; animation-delay: -3s; }
.cc { left: calc(50% - min(38vw, 344px)); top: 60%; animation-duration: 9.5s; animation-delay: -5s; }

/* ---------------------------------------------------------------- pinned scenes */
.js .pin { height: var(--len, 300vh); }
.js .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.captions { position: absolute; z-index: 3; left: 0; right: 0; top: clamp(84px, 13vh, 132px); padding: 0 22px; text-align: center; }
.cap { position: absolute; left: 0; right: 0; margin: 0 auto; max-width: 15.5em; padding: 0 22px;
  --o: min(clamp(0, calc((var(--p, 0) - var(--a)) * 25 + 1), 1), clamp(0, calc((var(--b) - var(--p, 0)) * 25), 1));
  opacity: var(--o); transform: translateY(calc((1 - var(--o)) * 16px)); }

/* ---------------------------------------------------------------- 2. the drawer */
.drawer .c1 { --a: -1; --b: 0.2; }
.drawer .c2 { --a: 0.25; --b: 0.6; max-width: 17em; }
.drawer .c3 { --a: 0.7; --b: 2; }
.pile { position: absolute; left: 50%; top: 67%; width: 0; height: 0; --pw: min(230px, 27vh, 58vw); --k: 1; }
.pile .phone { position: absolute; left: calc(var(--pw) / -2); top: calc(var(--pw) * -1.05); --s: clamp(0, calc((var(--t, 0) - 0.3) / 0.6), 1); opacity: var(--s); transform: translateY(calc((1 - var(--s)) * 70px)) scale(calc(0.8 + 0.2 * var(--s))); z-index: 1; }
.halo { position: absolute; left: calc(var(--pw) * -1.6); top: calc(var(--pw) * -1.6); width: calc(var(--pw) * 3.2); height: calc(var(--pw) * 3.2); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 34%, transparent), transparent 72%); opacity: clamp(0, calc((var(--t, 0) - 0.5) * 2), 1); }
.paper { position: absolute; z-index: 2; left: calc(var(--w) / -2); top: calc(var(--h) / -2); width: var(--w); height: var(--h);
  --tt: clamp(0, calc((var(--t, 0) - var(--dl, 0)) / (1 - var(--dl, 0))), 1);
  transform: translate(calc(var(--xn) * min(1vw, 13px) * (1 - var(--tt))), calc(var(--yn) * min(1vh, 9px) * (1 - var(--tt)))) rotate(calc(var(--r) * (1 - var(--tt)))) scale(calc(var(--k) * (1 - 0.8 * var(--tt))));
  opacity: calc(1 - clamp(0, calc((var(--tt) - 0.7) / 0.3), 1)); will-change: transform, opacity; }
.float { width: 100%; height: 100%; animation: bob 6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -1.7s); }

/* Paper, drawn. It stays paper-coloured in the dark, as paper does. */
.leaf { background: #FDFCF8; color: #2B3550; border-radius: 5px; padding: 12px; overflow: hidden; font-size: 8px; line-height: 1.25; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 14px 30px rgba(16, 24, 40, 0.2); }
.leaf b { display: block; font-size: 7.5px; letter-spacing: 0.06em; margin: 8px 0 6px; }
.leaf p { display: flex; justify-content: space-between; margin: 4px 0; color: #2B3550; font-size: 8px; font-weight: 600; }
.ln { display: block; height: 4px; border-radius: 2px; background: #DCE1EA; margin: 5px 0; }
.w25 { width: 25%; } .w35 { width: 35%; } .w40 { width: 40%; } .w45 { width: 45%; } .w50 { width: 50%; } .w55 { width: 55%; } .w60 { width: 60%; } .w70 { width: 70%; } .w75 { width: 75%; } .w80 { width: 80%; } .w85 { width: 85%; } .w90 { width: 90%; }
.rep .hd { display: block; height: 14px; margin: -12px -12px 10px; background: var(--hc); }
.rx .hd { display: block; height: 3px; margin: 0 0 6px; background: #3A4A78; }
.rx .rxs { font-size: 26px; font-weight: 500; letter-spacing: 0; margin: 6px 0 2px; line-height: 1; font-family: Georgia, "Times New Roman", serif; }
.rx svg { display: block; width: 100%; }
.rx .sig { width: 46%; margin: 4px 0 0 auto; }
.vac { background: #FFF6DC; }
.vac b { margin-top: 0; color: #7A5A12; }
.vac .grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3px; }
.vac .grid i { height: 16px; border-radius: 2px; background: #F1E3B8; position: relative; }
.vac .grid i.ok::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 800; color: #7A5A12; }
.chat { background: #DDF7D3; border-radius: 16px 16px 4px 16px; padding: 8px 10px 6px; box-shadow: 0 12px 28px rgba(16, 24, 40, 0.18); display: flex; flex-direction: column; gap: 2px; }
.chat .pdf { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.72); border-radius: 9px; padding: 7px 8px; font-size: 11px; font-weight: 600; color: #23302A; white-space: nowrap; }
.chat .pdf b { background: #E5484D; color: #fff; font-size: 8px; letter-spacing: 0.04em; border-radius: 4px; padding: 5px 4px; }
.chat small { align-self: flex-end; font-size: 9px; color: #5E7A62; }
.sticky { background: #FFE98A; color: #54430A; padding: 14px 12px; font: 600 15px/1.25 "Bradley Hand", "Marker Felt", "Segoe Print", "Comic Sans MS", cursive; box-shadow: 0 12px 26px rgba(16, 24, 40, 0.18); border-radius: 2px 2px 14px 2px; }
.bill { font-family: ui-monospace, "SF Mono", Menlo, monospace; padding: 10px 9px; border-radius: 2px; }
.bill b { margin-top: 0; text-align: center; }
.bill p { border-top: 1px dashed #B9C0CE; padding-top: 6px; margin-top: 10px; }

/* ---------------------------------------------------------------- 3. reading a report */
.read .c1 { --a: -1; --b: 0.11; }
.read .c2 { --a: 0.16; --b: 0.52; }
.read .c3 { --a: 0.58; --b: 0.8; }
.read .c4 { --a: 0.85; --b: 2; }
.bench { position: absolute; left: 0; right: 0; top: clamp(252px, 37vh, 340px); display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 5.5vw, 72px); padding: 0 16px; }
.sheet { position: relative; flex: none; width: clamp(138px, 29vw, 310px); background: #FDFCF8; color: #2B3550; border-radius: 6px; padding: 2.4em 2.2em; font-size: clamp(5px, 0.98vw, 10.5px); line-height: 1.3; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 24px 50px rgba(16, 24, 40, 0.2); }
.sheet .ln { height: 0.5em; margin: 0.55em 0; border-radius: 0.25em; }
.sh-head { display: flex; gap: 1.2em; align-items: center; padding-bottom: 1.4em; border-bottom: 0.2em solid #2F6FED; }
.sh-head .logo { width: 3.4em; height: 3.4em; border-radius: 0.8em; background: #2F6FED; flex: none; }
.sh-head div { flex: 1; }
.sh-meta { padding: 1.2em 0 0.4em; }
.sh-title { display: block; text-align: center; letter-spacing: 0.08em; font-size: 1.02em; margin: 1.4em 0 1em; }
.sh-th, .sh-row { display: grid; grid-template-columns: 1.5fr 0.8fr 1fr 1.25fr; gap: 0.6em; align-items: center; padding: 0 0.6em; }
.sh-th { font-weight: 700; color: #6A7590; font-size: 0.86em; padding-bottom: 0.7em; border-bottom: 0.1em solid #DCE1EA; }
.sh-row { position: relative; height: 3em; font-weight: 600; border-bottom: 0.1em solid #EEF1F6; white-space: nowrap; }
.sh-row::before { content: ""; position: absolute; inset: 0.25em -0.3em; border-radius: 0.6em; background: #2F6FED; opacity: calc(0.14 * clamp(0, calc((var(--p, 0) - var(--k, 2)) * 25), 1)); }
.sh-row.smudge span:nth-child(2) { filter: blur(0.09em); opacity: 0.75; }
.sh-row.smudge::before { background: #E08A1E; }
.sh-row span { position: relative; overflow: hidden; }
.sh-foot { padding-top: 2.2em; display: flex; flex-direction: column; align-items: flex-end; }
.sh-foot .ln { margin: 0.4em 0; }
.scan { position: absolute; left: -5%; right: -5%; height: 0; z-index: 2; top: calc(clamp(0, calc((var(--p, 0) - 0.12) / 0.5), 1) * 100%);
  opacity: min(clamp(0, calc((var(--p, 0) - 0.09) * 30), 1), clamp(0, calc((0.66 - var(--p, 0)) * 30), 1)); }
.scan::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7em; background: linear-gradient(to top, rgba(47, 111, 237, 0.26), rgba(47, 111, 237, 0)); }
.scan::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2.5px; border-radius: 2px; background: #2F6FED; box-shadow: 0 0 14px 2px rgba(47, 111, 237, 0.7); }
.vf { position: absolute; width: 1.9em; height: 1.9em; min-width: 12px; min-height: 12px; border: 3px solid var(--primary); opacity: min(clamp(0, calc(var(--p, 0) * 30 + 1), 1), clamp(0, calc((0.7 - var(--p, 0)) * 30), 1)); }
.vf.tl { left: -12px; top: -12px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.vf.tr { right: -12px; top: -12px; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.vf.bl { left: -12px; bottom: -12px; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.vf.br { right: -12px; bottom: -12px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }

.reader { position: relative; flex: none; width: clamp(176px, 40vw, 380px); background: var(--card); border-radius: clamp(18px, 2.4vw, 26px); padding: clamp(10px, 1.6vw, 18px) clamp(12px, 2vw, 22px); box-shadow: var(--shadow); text-align: left; font-size: clamp(12px, 1.5vw, 17px); }
.rd-head { font-size: 0.76em; font-weight: 700; color: var(--faint); letter-spacing: 0.02em; padding: 0.2em 0 0.6em; }
.rd-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.7em; padding: 0.62em 0; border-top: 1px solid var(--border);
  --o: clamp(0, calc((var(--p, 0) - var(--k, 2)) * 25), 1); opacity: var(--o); transform: translateY(calc((1 - var(--o)) * 14px)); }
.rd-row .nm { font-weight: 600; line-height: 1.2; min-width: 0; }
.rd-row .nm em { display: block; font-style: normal; font-size: 0.72em; font-weight: 600; color: var(--amber); opacity: calc(1 - var(--ok, 0)); }
.rd-row .vl { text-align: right; line-height: 1.15; white-space: nowrap; }
.rd-row .vl b { font-size: 1.22em; letter-spacing: -0.02em; }
.rd-row .vl span { font-size: 0.74em; color: var(--muted); font-weight: 600; }
.rd-row .vl small { display: block; font-size: 0.7em; color: var(--faint); font-weight: 500; }
.tick { position: relative; width: 1.35em; height: 1.35em; border-radius: 50%; flex: none; --ok: var(--o); box-shadow: inset 0 0 0 2px var(--border); }
.tick::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); opacity: var(--ok); transform: scale(calc(0.6 + 0.4 * var(--ok))); }
.tick::after { content: ""; position: absolute; left: 34%; top: 20%; width: 26%; height: 46%; border: solid #fff; border-width: 0 2.2px 2.2px 0; transform: rotate(42deg); opacity: var(--ok); }
.rd-row.ask { --ok: clamp(0, calc((var(--p, 0) - 0.86) * 25), 1); }
.rd-row.ask .tick { --ok: inherit; box-shadow: inset 0 0 0 2px var(--amber); }
.filed { display: flex; align-items: center; gap: 0.6em; margin-top: 0.4em; padding: 0.7em 0 0.2em; border-top: 1px solid var(--border); font-weight: 700; font-size: 0.88em; color: var(--primary);
  --o: clamp(0, calc((var(--p, 0) - 0.92) * 25), 1); opacity: var(--o); transform: translateY(calc((1 - var(--o)) * 10px)); }
.filed i { width: 2em; height: 2em; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 0.8em; color: #fff; background: #2F6FED; }

/* ---------------------------------------------------------------- side-by-side sections */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split .sub { margin-top: 18px; max-width: 24em; }
.split .phone { margin: 0 auto; --pw: clamp(240px, 27vw, 310px); }
.split.flip .copy { order: 2; }
.tilt { perspective: 1400px; }
.js .tilt .phone { transform: rotateY(calc(clamp(0, calc(0.42 - var(--p, 1)), 0.42) * 46deg)) rotateX(calc(clamp(0, calc(0.42 - var(--p, 1)), 0.42) * 14deg)); transform-origin: 50% 60%; }
.js .tilt.back .phone { transform: rotateY(calc(clamp(0, calc(0.42 - var(--p, 1)), 0.42) * -46deg)) rotateX(calc(clamp(0, calc(0.42 - var(--p, 1)), 0.42) * 14deg)); }
.points { list-style: none; padding: 0; margin: 26px 0 0; }
.points li { position: relative; padding-left: 30px; margin: 12px 0; font-size: 17px; font-weight: 500; }
.points li::before { content: ""; position: absolute; left: 2px; top: 0.36em; width: 15px; height: 8px; border: solid var(--primary); border-width: 0 0 2.6px 2.6px; transform: rotate(-45deg) scale(0.86); transform-origin: left; }
.points.pinkish li::before { border-color: var(--pink); }
.points.warmish li::before { border-color: var(--warm); }

/* ---------------------------------------------------------------- 5. the family */
.family { overflow: hidden; --e: clamp(0, calc((var(--p, 1) - 0.2) * 3), 1); }
.family .inner { position: relative; z-index: 1; }
.family .sub { margin-top: 18px; }
.family .glow { width: min(46vw, 520px); height: min(46vw, 520px); top: 46%; opacity: calc(0.28 * var(--e)); }
.family .g1 { left: calc(50% - min(50vw, 560px)); background: #2F6FED; }
.family .g2 { left: calc(50% + min(4vw, 40px)); background: #E08A1E; animation-direction: alternate-reverse; }
.people { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 30px 0 0; }
.people span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 14%, var(--card)); }
.people i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; color: #fff; background: var(--c); }
.duo { position: relative; --pw: clamp(184px, 26vw, 292px); height: calc(var(--pw) * 2.24); margin: clamp(44px, 6vw, 72px) 0 0; }
.duo .phone { position: absolute; left: 50%; top: 2%; margin-left: calc(var(--pw) / -2); }
.duo .pa { z-index: 2; transform: translateX(calc(var(--e) * -1 * min(56%, 25vw))) rotate(calc(var(--e) * -5deg)); }
.duo .pb { transform: translateX(calc(var(--e) * min(56%, 25vw))) rotate(calc(var(--e) * 5deg)); }

/* ---------------------------------------------------------------- reminders: a lock screen */
.notif { position: absolute; z-index: 3; left: 6%; right: 6%; display: flex; align-items: flex-start; gap: 0.75em; padding: 0.85em 0.9em; border-radius: 1.5em; font-size: calc(var(--pw) * 0.037); line-height: 1.25; text-align: left; color: #10141F; background: rgba(246, 247, 250, 0.9); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); box-shadow: 0 0.8em 2.4em rgba(10, 16, 30, 0.28); }
.notif img { width: 2.7em; height: 2.7em; border-radius: 0.62em; flex: none; }
.notif > div { flex: 1; min-width: 0; }
.notif b { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6em; font-weight: 700; }
.notif span { display: block; color: #3A4257; }
.notif time { font-size: 0.84em; font-weight: 500; color: #6B7386; }
.wall { aspect-ratio: 603 / 1311; position: relative; overflow: hidden; background: linear-gradient(172deg, #1E3A8A 0%, #5B4BB5 44%, #E08A5B 100%); color: #fff; text-align: center; }
.lk-date { padding-top: 16%; font-size: calc(var(--pw) * 0.058); font-weight: 600; opacity: 0.92; }
.lk-time { font-size: calc(var(--pw) * 0.3); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; }
.notif { position: relative; left: auto; right: auto; margin: 0 6% 0.7em; }
.wall .notif:first-of-type { margin-top: 12%; }
.wall::after { content: ""; position: absolute; left: 32%; right: 32%; bottom: 1.6%; height: 0.75%; border-radius: 99px; background: rgba(255, 255, 255, 0.85); }
.notif .acts { display: flex; gap: 0.5em; margin-top: 0.7em; }
.notif .acts i { white-space: nowrap; font-style: normal; font-weight: 700; font-size: 0.92em; padding: 0.42em 0.9em; border-radius: 999px; background: rgba(16, 20, 31, 0.08); }
.notif .acts i:first-child { background: #2F6FED; color: #fff; }

/* ---------------------------------------------------------------- 8. privacy, in the dark */
.dark { background: #000; color: #F5F5F7; }
.dark .eyebrow { color: #6B9BFF; }
.dark .title { color: #F5F5F7; max-width: 15em; margin: 0 auto; }
.dark .sub { color: #A1A1A6; margin-top: 18px; }
.lede { margin-bottom: clamp(56px, 8vw, 104px); }
.zeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 56px); text-align: center; }
.zero svg { display: block; height: clamp(120px, 20vw, 230px); margin: 0 auto 10px; overflow: visible; }
.zero ellipse { fill: none; stroke: var(--c); stroke-width: 15; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 60px 80px; }
.js .zero ellipse { stroke-dashoffset: 100; transition: stroke-dashoffset 1.5s cubic-bezier(0.3, 0.1, 0.2, 1); transition-delay: calc(var(--d, 0) * 90ms + 150ms); }
.js .zero.in ellipse { stroke-dashoffset: 0; }
.zero h3 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 34px); letter-spacing: -0.03em; }
.zero p { margin: 0 auto; max-width: 17em; color: #A1A1A6; font-size: 16px; }
.air { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 32px); align-items: center; margin: clamp(56px, 8vw, 100px) 0 36px; padding: clamp(22px, 3.4vw, 40px); border-radius: 30px; background: #111113; box-shadow: inset 0 0 0 1px #232326; text-align: left; }
.air h3 { margin: 0 0 8px; font-size: clamp(21px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -0.025em; }
.air p { margin: 0; color: #A1A1A6; max-width: 38em; }
.plane { width: clamp(52px, 6vw, 72px); height: clamp(52px, 6vw, 72px); border-radius: 22%; display: grid; place-items: center; background: #FF9F0A; color: #fff; }
.plane svg { width: 56%; height: 56%; transform: rotate(45deg); }
.switch { width: 62px; height: 36px; border-radius: 999px; background: #34C759; padding: 3px; }
.switch i { display: block; width: 30px; height: 30px; border-radius: 50%; background: #fff; transform: translateX(26px); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }
.js .air .plane { background: #2C2C2E; transition: background 0.5s 0.9s; }
.js .air .plane svg { transform: rotate(45deg) translateY(4px); opacity: 0.5; transition: transform 0.7s cubic-bezier(0.2, 1.4, 0.3, 1) 0.9s, opacity 0.5s 0.9s; }
.js .air .switch { background: #39393D; transition: background 0.4s 0.9s; }
.js .air .switch i { transform: none; transition: transform 0.45s cubic-bezier(0.3, 1.3, 0.4, 1) 0.9s; }
.js .air.in .plane { background: #FF9F0A; }
.js .air.in .plane svg { transform: rotate(45deg); opacity: 1; }
.js .air.in .switch { background: #34C759; }
.js .air.in .switch i { transform: translateX(26px); }
.dark .more { color: #6B9BFF; font-weight: 700; font-size: 19px; }

/* ---------------------------------------------------------------- 9. what it will not do */
.never .sub { margin-top: 30px; }
.asprinted { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 28px; text-align: left; width: min(100%, 460px); margin: clamp(48px, 7vw, 76px) auto clamp(64px, 8vw, 84px); padding: 22px 26px; background: var(--card); border-radius: 24px; box-shadow: var(--shadow); }
.asprinted b { font-size: 20px; letter-spacing: -0.01em; }
.asprinted small { display: block; color: var(--faint); font-size: 14px; }
.asprinted .v { text-align: right; white-space: nowrap; }
.asprinted .v b { font-size: 30px; letter-spacing: -0.03em; }
.asprinted .v span { color: var(--muted); font-weight: 600; }
.tag { position: absolute; font-style: normal; font-size: 13px; font-weight: 700; color: var(--teal); white-space: nowrap; }
.tag::before { content: ""; position: absolute; width: 1.5px; background: var(--teal); left: 50%; }
.tag.t1 { right: 26px; top: -30px; }
.tag.t1::before { top: 100%; height: 28px; left: 70%; }
.tag.t2 { right: 26px; bottom: -30px; }
.tag.t2::before { bottom: 100%; height: 16px; left: 74%; }
.nevers { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.nevers span { position: relative; padding: 10px 18px; border-radius: 999px; background: var(--card); color: var(--muted); font-size: clamp(16px, 1.9vw, 20px); font-weight: 600; }
.nevers span::after { content: ""; position: absolute; left: 9%; right: 9%; top: 50%; height: 2.5px; border-radius: 2px; background: var(--pink); }
.js .nevers span::after { transform: scaleX(0); transform-origin: left; transition: transform 0.55s cubic-bezier(0.6, 0, 0.2, 1); }
.js .nevers.in span::after { transform: scaleX(1); }
.js .nevers.in span:nth-child(1)::after { transition-delay: 0.9s; }
.js .nevers.in span:nth-child(2)::after { transition-delay: 1.25s; }
.js .nevers.in span:nth-child(3)::after { transition-delay: 1.6s; }

/* ---------------------------------------------------------------- 10. the rest of the file */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.tile { grid-column: span 2; display: flex; flex-direction: column; background: var(--card); border-radius: 28px; padding: 26px; min-height: 300px; }
.tile.t-search, .tile.t-card { grid-column: span 3; }
.tile .vis { flex: 1; display: grid; place-items: center; padding: 6px 0 22px; }
.tile h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -0.02em; }
.tile p { margin: 0; color: var(--muted); }
.t-search .vis { place-items: stretch; align-content: center; gap: 12px; }
.field { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 16px; background: var(--bg); font-size: 19px; font-weight: 500; }
.field svg { width: 20px; height: 20px; color: var(--faint); flex: none; }
.caret { width: 2px; height: 1.2em; margin-left: -8px; background: var(--primary); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.result { padding: 4px 6px 0; }
.result small { display: block; color: var(--faint); font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.result div { display: flex; justify-content: space-between; align-items: baseline; padding: 13px 16px; border-radius: 16px; background: var(--soft); color: var(--strong); font-size: 18px; }
.js .t-search .result { opacity: 0; transform: translateY(10px); transition: opacity 0.5s, transform 0.5s; }
.js .t-search.typed .result { opacity: 1; transform: none; }
.faceid { width: 86px; height: 86px; color: var(--primary); }
.js .t-lock.in .faceid { animation: pulse 2.6s ease-in-out 0.6s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.file { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: var(--bg); }
.file svg { width: 34px; height: 34px; color: var(--teal); flex: none; }
.file b { display: block; font-size: 15px; }
.file span { color: var(--faint); letter-spacing: 0.14em; }
.cardpages { display: flex; gap: 14px; align-items: center; }
.cardpages .leaf { width: 96px; height: 122px; padding: 10px 9px; box-shadow: 0 8px 20px rgba(16, 24, 40, 0.16); }
.cardpages .leaf:nth-child(1) { transform: rotate(-4deg); }
.cardpages .leaf:nth-child(2) { transform: rotate(3deg) translateY(5px); }
.cardpages .vac .grid i { height: 18px; }
.cardpages .add { width: 96px; height: 122px; border-radius: 8px; border: 2px dashed var(--faint); display: grid; place-items: center; color: var(--pink); font-size: 30px; font-weight: 300; opacity: 0.8; }
.overtime { display: grid; grid-template-columns: repeat(3, auto); gap: 8px; }
.overtime div { padding: 10px 13px; border-radius: 14px; background: var(--bg); text-align: center; }
.overtime small { display: block; font-size: 12px; font-weight: 700; color: var(--faint); }
.overtime b { font-size: 23px; letter-spacing: -0.03em; color: var(--teal); }

/* ---------------------------------------------------------------- 11. the price */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes turn { to { --ang: 360deg; } }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 880px; margin: clamp(40px, 6vw, 72px) auto 0; }
.plan { position: relative; background: var(--card); border-radius: 30px; padding: clamp(26px, 3.4vw, 40px); }
.plan.plus::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2.5px; background: conic-gradient(from var(--ang), var(--primary), var(--violet), var(--warm), var(--primary)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; }
.js .plan.plus::before { animation: turn 7s linear infinite; }
.plan h3 { margin: 0 0 10px; font-size: 19px; }
.amount { font-size: clamp(44px, 6vw, 64px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.amount span { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); }
.plan .or { margin: 8px 0 0; color: var(--muted); font-size: 16px; font-weight: 500; }
.small { color: var(--muted); font-size: 15px; max-width: 880px; margin: 26px auto 0; }

/* ---------------------------------------------------------------- 12. about, and the way out */
.about { padding-bottom: 0; }
.maker { display: flex; gap: clamp(22px, 4vw, 44px); align-items: center; max-width: 880px; margin: 0 auto; padding: clamp(26px, 4vw, 48px); background: var(--card); border-radius: 30px; }
.maker img { width: clamp(96px, 14vw, 150px); height: auto; flex: none; animation: bob 4.5s ease-in-out infinite alternate; }
.maker h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 34px); line-height: 1.12; letter-spacing: -0.03em; }
.maker p:not(.eyebrow) { margin: 0 0 12px; color: var(--muted); }
.maker p:last-child { margin: 0; }
.maker .eyebrow { margin-bottom: 8px; }
.finale { padding: clamp(96px, 13vw, 170px) 22px clamp(88px, 12vw, 150px); text-align: center; overflow: hidden; }
.finale > *:not(.glow) { position: relative; z-index: 1; }
.finale .sub { max-width: 24em; margin: 20px auto 32px; }
.finale > p { margin: 0; }
.finale .glow { width: min(50vw, 520px); height: min(50vw, 520px); top: 22%; opacity: 0.24; }
.finale .g1 { left: calc(50% - min(48vw, 520px)); background: var(--primary); }
.finale .g2 { left: calc(50% + min(2vw, 20px)); background: var(--warm); animation-direction: alternate-reverse; }
.home footer { margin-top: 0; padding-bottom: 40px; }

/* ---------------------------------------------------------------- still pages: no scripts, or less motion */
html:not(.js) [data-scene] { --p: 1; --t: 1; }
html:not(.js) .pin .stage { padding: clamp(72px, 10vw, 130px) 0; }
html:not(.js) .captions, html:not(.js) .cap { position: static; opacity: 1; transform: none; }
html:not(.js) .cap + .cap { margin-top: 0.5em; }
html:not(.js) .paper, html:not(.js) .scan, html:not(.js) .vf, html:not(.js) .halo { display: none; }
html:not(.js) .pile { position: static; width: auto; height: auto; display: flex; justify-content: center; margin-top: 48px; }
html:not(.js) .pile .phone { position: static; }
html:not(.js) .bench { position: static; margin-top: 48px; }
html:not(.js) .glow, html:not(.js) .chip, html:not(.js) .float, html:not(.js) .maker img, html:not(.js) .caret { animation: none; }

/* ---------------------------------------------------------------- narrow screens */
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.flip .copy { order: 0; }
  .split .sub { max-width: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { grid-column: span 1; min-height: 260px; }
  .tile.t-search, .tile.t-card, .tile.t-lock { grid-column: span 2; }
  .plans { grid-template-columns: 1fr; }
  .zeros { gap: 10px; }
  .zero p { font-size: 13.5px; }
  .air { grid-template-columns: auto 1fr; }
  .air .switch { display: none; }
  .maker { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 1100px) {
  .pile { --k: 1.18; }
}
@media (max-width: 600px) {
  .zeros { grid-template-columns: 1fr; gap: 26px; text-align: left; }
  .zero { display: grid; grid-template-columns: 84px 1fr; column-gap: 20px; align-items: center; }
  .zero svg { grid-row: span 2; height: 112px; margin: 0; }
  .zero h3 { align-self: end; margin-bottom: 4px; font-size: 26px; }
  .zero p { align-self: start; margin: 0; max-width: none; font-size: 15px; }
  .air { grid-template-columns: 1fr; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile, .tile.t-search, .tile.t-card, .tile.t-lock { grid-column: span 1; min-height: 0; padding: 22px; }
  .tile .vis { padding: 16px 0 24px; }
}
@media (max-width: 700px) {
  .pile { --k: 0.62; }
  .chip { padding: 7px 11px 7px 7px; gap: 7px; border-radius: 14px; }
  .chip .ic { width: 28px; height: 28px; border-radius: 9px; }
  .chip .ic svg { width: 16px; height: 16px; }
  .chip small { font-size: 10.5px; }
  .chip b { font-size: 13px; }
  .chip b span { font-size: 10.5px; }
  .ca { left: -10px; top: 13%; }
  .cb { right: -10px; top: 38%; }
  .cc { left: -10px; top: 63%; }
  .rd-row { gap: 0.5em; }
  .rd-row .vl small { font-size: 0.66em; }
  .bench { gap: 12px; padding: 0 12px; }
  .asprinted { padding: 18px 20px; gap: 14px; }
  .asprinted .v b { font-size: 26px; }
}
