/* The one-page homepage (site/src/landing.html), served as the index only
   where a variant asks for it (site.landing in app.variants.json). It adds
   to style.css, whose fonts and colours it uses; the invitation and legal
   pages never load this file.

   The picture draws the app's own Home three ways: ready to tap, the Tap In
   celebration, then counted, with one example reaction. Its sizes and colours
   are the app's (lib/theme.ts, screens/home, components/home). landing.js
   plays the three in turn by setting one attribute, data-state. Without the
   script, or where motion is reduced, the page shows the counted Home, still.

   Under How it works the hand floats among sparkles and lightning; with the
   script it comes down from close up as the page scrolls (--p, 0 to 1) and
   lands, and the app's burst of rays and pieces goes off round it. */
:root { --line: #C9BFFF; --arc: #B3A6FF; --wash: rgba(255, 255, 255, 0.14); --tint: #E4DEFF; --orange: #EC6A06; --disc: rgba(22, 17, 61, 0.08); }
.fill-lime { fill: var(--lime); } .fill-ink { fill: var(--ink); } .fill-arc { fill: var(--arc); } .fill-white { fill: #FFFFFF; } .fill-brand { fill: var(--brand); }
.ray-lime, .ray-soft, .ray-arc { fill: none; stroke-linecap: round; }
.ray-lime { stroke: var(--lime); } .ray-soft { stroke: var(--on-brand); opacity: 0.6; } .ray-arc { stroke: var(--arc); }
.burst line { stroke-width: 4; } .picture line { stroke-width: 10; }

/* What shows when. */
html:not(.js) .d-r, html:not(.js) .d-wait { display: none !important; }
html.js .demo[data-state="ready"] .d-c { display: none !important; }
html.js .demo:not([data-state="ready"]) .d-r { display: none !important; }
html.js .demo:not([data-row="in"]) .d-row { display: none !important; }
html.js .demo[data-row="in"] .d-wait { display: none !important; }

/* Spacing: one gap between sections (--gap), one inset for a panel's sides
   (--side), one radius for the panels (--round). The private-testing band
   sits close under the waitlist, which it belongs with. */
.home { --gap: 40px; --side: 22px; --round: 36px; max-width: 1040px; margin: 0 auto; padding: 20px 16px 28px; }
.lead { margin-top: 16px; position: relative; overflow: hidden; background: var(--brand); color: #FFFFFF; border-radius: var(--round); padding: 32px var(--side) 0; display: flex; flex-direction: column; }
.lead-mark { position: absolute; right: -150px; bottom: -120px; transform: rotate(14deg); fill: var(--brand-soft); }
.lead-words { position: relative; }
.lead h1 { margin: 0; font-family: 'Bricolage Display', system-ui, sans-serif; font-weight: 800; font-size: clamp(34px, 10vw, 42px); line-height: 1.02; letter-spacing: -0.025em; }
.lead h1 span { display: block; text-wrap: balance; }
.lead h1 span + span { margin-top: 0.14em; }
.lead h1 .lime { color: var(--lime); }
.squad { margin: 23px 3px 3px; display: flex; }
.squad .face { width: 48px; height: 48px; border-radius: 24px; }
.squad .face + .face { margin-left: -5px; }
.lead-words p { margin: 16px 0 0; max-width: 30em; font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--on-brand); text-wrap: balance; }

/* The picture: a phone with Home in it, running off the bottom of the
   panel: its top and sides are drawn, and the panel cuts it. Home is laid
   out at the app's own width, 372, and drawn smaller (--s) to fit the
   outline, as a screenshot would be. */
.phone { --s: 0.624; position: relative; align-self: center; box-sizing: border-box; width: 250px; height: calc(9px + 690px * var(--s)); margin-top: 28px; padding: 9px 9px 0; background: var(--ink); border-radius: 46px 46px 0 0; }
.glass { height: 100%; overflow: hidden; border-radius: 38px 38px 0 0; background: var(--ground); }
.screen { position: relative; overflow: hidden; width: 372px; height: 690px; background: var(--ground); color: var(--ink); transform: scale(var(--s)); transform-origin: 0 0; }
.island { position: absolute; z-index: 2; top: 11px; left: 50%; width: 104px; height: 30px; margin-left: -52px; border-radius: 15px; background: var(--ink); }
@media (min-width: 360px) { .phone { --s: 0.704; width: 280px; } }
.view { padding: 50px 12px 0; }
.demo-top { display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 6px; }
.mini { display: flex; align-items: center; gap: 6px; font-family: 'Bricolage Text', system-ui, sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }

.card { position: relative; overflow: hidden; margin-top: 6px; border-radius: 34px; padding: 14px 20px 20px; background: var(--brand); color: #FFFFFF; }
.demo:not([data-state="ready"]) .card, html:not(.js) .card { background: radial-gradient(circle at 50% 30%, var(--brand-soft), var(--brand) 62%); padding-bottom: 18px; }
.card-mark { position: absolute; top: -52px; right: -78px; transform: rotate(16deg); fill: var(--brand-soft); }
.card-top { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 30px; }
.demo:not([data-state="ready"]) .card-top, html:not(.js) .card-top { min-height: 68px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-brand); }
.burst { margin-right: -8px; flex: none; }
.one { position: relative; margin: 4px 0 0; font-family: 'Bricolage Display', system-ui, sans-serif; font-weight: 800; font-size: 40px; line-height: 1.05; letter-spacing: -0.025em; }
.demo:not([data-state="ready"]) .one, html:not(.js) .one { margin-top: 2px; font-size: 36px; }
.daychip { position: relative; margin: 12px 0 0; width: fit-content; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 18px; background: var(--wash); }
.daychip strong { font-size: 17px; font-weight: 700; line-height: 20px; }
.daychip span { font-size: 15px; font-weight: 500; line-height: 18px; }

/* The app's edge buttons: a face that sits on its edge and drops onto it when pressed. */
.tapin, .counted, .done { color: var(--ink); position: relative; }
.face-btn { display: flex; align-items: center; justify-content: center; transition: transform 0.1s ease-out; }
.tapin { margin-top: 18px; width: 100%; border-radius: 40px; background: var(--lime-edge); padding-bottom: 6px; }
.tapin .face-btn { height: 76px; gap: 12px; border-radius: 40px; background: var(--lime); font-family: 'Bricolage Text', system-ui, sans-serif; font-weight: 800; font-size: 30px; letter-spacing: -0.02em; }
.tap-disc { width: 48px; height: 48px; border-radius: 24px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.tap-disc svg { transform: rotate(-10deg); }
.demo[data-press] .tapin .face-btn { transform: translateY(6px); }
.counted { margin-top: 16px; width: fit-content; border-radius: 28px; background: var(--lime-edge); padding-bottom: 4px; }
.counted .face-btn { height: 48px; gap: 10px; padding: 0 8px; border-radius: 28px; background: var(--lime); font-size: 17px; font-weight: 700; }
.ck { flex: none; width: 26px; height: 26px; border-radius: 13px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.ck svg { stroke: var(--lime); }
.rp { flex: none; width: 34px; height: 34px; border-radius: 17px; background: var(--disc); display: flex; align-items: center; justify-content: center; }
.rp svg { stroke: var(--ink); }
.next { position: relative; margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--wash); display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; font-size: 16px; font-weight: 500; color: var(--on-brand); }
.next strong { font-family: 'Bricolage Text', system-ui, sans-serif; font-weight: 800; font-size: 21px; line-height: 25px; color: #FFFFFF; }

.week { list-style: none; margin: 20px 0 0; padding: 0 2px; display: grid; grid-template-columns: repeat(7, 1fr); }
.week li { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.wd { height: 18px; font-size: 13px; font-weight: 600; line-height: 18px; color: var(--muted); }
.now .wd { font-weight: 700; color: var(--brand); }
.demo:not([data-state="ready"]) .now .wd, html:not(.js) .now .wd { color: var(--ink); }
.dot { width: 22px; height: 22px; margin: 2px 0; border-radius: 13px; display: flex; align-items: center; justify-content: center; }
.dot-done { background: var(--brand); } .dot-done svg { stroke: #FFFFFF; }
.dot-none { background: var(--line); } .dot-none::after { content: ''; width: 8px; height: 3px; border-radius: 2px; background: var(--link); }
.dot-open { width: 26px; height: 26px; margin: 0; background: #FFFFFF; border: 4px solid var(--brand); }
.dot-today { width: 26px; height: 26px; margin: 0; background: var(--lime); } .dot-today svg { stroke: var(--ink); }

.act { margin-top: 14px; }
.act-head { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 0 6px; }
.act-head p { margin: 0; font-family: 'Bricolage Text', system-ui, sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.act-line { margin: 0; display: flex; align-items: center; gap: 10px; padding: 4px 6px; font-size: 16px; font-weight: 500; line-height: 1.35; color: var(--muted); }
.act-card { margin-top: 2px; padding: 0 14px; border-radius: 26px; background: var(--card); }
.act-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.act-row p { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.act-row strong, .memo-top strong { font-size: 16px; font-weight: 700; line-height: 21px; }
.act-row p span, .memo-top span { font-size: 15px; font-weight: 500; color: var(--muted); }
/* A voice memo: the app's one player, where it sits. */
.memo-words { flex: 1; min-width: 0; }
.act-row .memo-top, .memo-top { margin: 0; display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.memo-top .new { align-self: center; padding: 4px 8px; border-radius: 10px; background: var(--brand); color: #FFFFFF; font-size: 11px; font-weight: 700; line-height: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.player { margin-top: 4px; width: fit-content; max-width: 100%; display: flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: 26px; background: var(--ground); }
.play { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; }
.play svg { width: 20px; height: 20px; fill: #FFFFFF; }
.play .eq { display: none; width: 26px; height: 26px; }
.eq rect { transform-box: fill-box; transform-origin: center; }
.wave { position: relative; flex: 0 1 auto; width: 96px; min-width: 48px; aspect-ratio: 98 / 24; }
.wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave-off { fill: var(--line); }
.wave-on { fill: var(--brand); clip-path: inset(0 100% 0 0); }
.time { min-width: 30px; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); }
.dots { flex: none; display: flex; gap: 3px; padding: 0 2px; }
.dots i { width: 4px; height: 4px; border-radius: 2px; background: var(--muted); }
/* While it plays: the bars for the triangle, the fill moving, and no longer new. */
.demo[data-play] .play .tri { display: none; } .demo[data-play] .play .eq { display: block; }
.demo[data-play] .time { color: var(--brand); }
.demo[data-play] .new { display: none; }
.face { flex: none; width: 44px; height: 44px; border-radius: 22px; background: var(--orange); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; }
.face.small { width: 26px; height: 26px; font-size: 13px; }
.face.mid { width: 30px; height: 30px; }
img.face { display: block; object-fit: cover; background: var(--line); }
/* A photo is ringed in its person's tint, as the app rings it (PersonAvatar);
   in a row the circles overlap by 5, as the app stacks them. Home's own
   Activity row draws its face without a ring, so the picture does too. */
.t-pink { --ring: #EE4B9B; } .t-teal { --ring: #12A39A; } .t-orange { --ring: #EC6A06; } .t-blue { --ring: #2E8BFF; }
img.face { box-shadow: 0 0 0 3px var(--ring); }
img.face.small { box-shadow: 0 0 0 2px var(--ring); }
.act-row img.face { box-shadow: none; }
.stack { flex: none; display: flex; margin: 0 2px; }
.stack .face + .face { margin-left: -5px; }
.cheer-row { margin: 10px 0 0; min-height: 56px; box-sizing: border-box; display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 26px; background: var(--tint); font-size: 17px; font-weight: 700; color: var(--link); }


/* The Tap In celebration, over the whole screen. */
.cheer { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; padding: 96px 18px 34px; background: var(--brand); color: #FFFFFF; text-align: center; }
.demo[data-state="cheer"] .cheer { display: flex; }
.c-one { margin: 0; font-size: 17px; font-weight: 600; color: var(--on-brand); }
.picture { width: min(100%, 250px); height: auto; margin: 6px 0 0; overflow: visible; }
.c-head { margin: 4px 0 0; font-family: 'Bricolage Display', system-ui, sans-serif; font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.025em; text-wrap: balance; }
.c-chip { margin: 14px 0 0; display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 20px; background: var(--wash); font-size: 15px; font-weight: 600; text-align: left; }
.c-chip .ck { width: 22px; height: 22px; background: var(--lime); } .c-chip .ck svg { stroke: var(--ink); }
.c-line { margin: 12px 0 0; font-size: 17px; font-weight: 500; color: var(--on-brand); }
.c-squad { margin: 12px 0 0; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.done { margin-top: auto; width: 100%; border-radius: 30px; background: var(--link); padding-bottom: 5px; }
.done .face-btn { height: 54px; border-radius: 30px; background: #FFFFFF; font-family: 'Bricolage Text', system-ui, sans-serif; font-weight: 800; font-size: 21px; }


/* Motion: the lime grows from the press; the words come as the app's do. */
@keyframes grow { from { clip-path: circle(0 at var(--ox, 50%) var(--oy, 50%)); } to { clip-path: circle(140% at var(--ox, 50%) var(--oy, 50%)); } }
@keyframes pop { 0% { transform: scale(0.2); } 62% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes burst { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes rise { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes arrive { 0% { transform: translateY(10px) scale(0.96); opacity: 0; box-shadow: 0 0 0 0 var(--lime); } 55% { transform: none; opacity: 1; box-shadow: 0 0 0 5px var(--lime); } 100% { box-shadow: 0 0 0 0 rgba(200, 245, 60, 0); } }
@keyframes bob { 0%, 100% { transform: translateY(-7px) rotate(-4deg); } 50% { transform: translateY(7px) rotate(3deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes flicker { 0%, 24%, 100% { opacity: 1; } 8% { opacity: 0.2; } 12% { opacity: 1; } 16% { opacity: 0.35; } 60% { opacity: 0.7; } }
@keyframes zap { 0% { opacity: 0; transform: scale(0.3); } 35% { opacity: 1; transform: scale(1.4); } 100% { opacity: 1; transform: scale(1); } }
@keyframes squash { 0% { transform: scale(1.22, 0.76); } 38% { transform: scale(0.9, 1.12); } 68% { transform: scale(1.05, 0.96); } 100% { transform: none; } }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translate(-5px, 4px); } 40% { transform: translate(5px, -2px); } 60% { transform: translate(-3px, 2px); } 80% { transform: translate(2px, -1px); } }
@keyframes wavefill { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes waveloop { 0% { clip-path: inset(0 100% 0 0); } 78%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes eq { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.p-disc, .p-rays, .p-pieces { transform-box: view-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .demo[data-state="cheer"] .cheer { animation: grow 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .demo[data-state="cheer"] .p-disc { animation: pop 0.55s cubic-bezier(0.2, 0.8, 0.3, 1) 0.1s both; }
  .demo[data-state="cheer"] .p-rays { animation: burst 0.4s ease-out 0.32s both; }
  .demo[data-state="cheer"] .p-pieces { animation: burst 0.6s cubic-bezier(0.2, 0.8, 0.3, 1.2) 0.36s both; }
  .demo[data-state="cheer"] .star { animation: twinkle 2.6s ease-in-out 1.4s infinite; }
  .demo[data-state="cheer"] .star:nth-of-type(2n) { animation-delay: 2.5s; }
  .demo[data-state="cheer"] .c-head { animation: rise 0.4s ease-out 0.3s both; }
  .demo[data-state="cheer"] .c-chip { animation: rise 0.35s ease-out 0.85s both; }
  .demo[data-state="cheer"] .c-line { animation: rise 0.35s ease-out 0.95s both; }
  .demo[data-state="cheer"] .c-squad { animation: rise 0.35s ease-out 1.05s both; }
  .demo[data-state="ready"] .view { animation: fade 0.35s ease-out both; }
  .demo[data-state="counted"] .dot-today { animation: pop 0.45s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
  .demo[data-state="counted"][data-row="in"] .act-card { animation: arrive 0.9s ease-out both; }
  .demo[data-state="counted"][data-row="in"] .cheer-row { animation: rise 0.4s ease-out 0.25s both; }
  .demo[data-play] .wave-on { animation: wavefill 3.4s linear both; }
  .demo[data-play] .eq rect, .voice-card .eq rect { animation: eq 0.9s ease-in-out infinite; }
  .eq rect:nth-child(2) { animation-delay: -0.3s; } .eq rect:nth-child(3) { animation-delay: -0.6s; } .eq rect:nth-child(4) { animation-delay: -0.15s; }
  .voice-card .play .tri { display: none; } .voice-card .play .eq { display: block; }
  .voice-card .wave-on { animation: waveloop 6s linear infinite; }
  .voice-card .new { display: none; }
  .bob { animation: bob 4.4s ease-in-out infinite; }
  .spot { animation: pulse 3.6s ease-in-out infinite; }
  .sky.landed .spot { animation: pop 0.5s cubic-bezier(0.2, 0.8, 0.3, 1), pulse 3.6s ease-in-out 0.5s infinite; }
  .sky .star { animation: twinkle 2.8s ease-in-out infinite; }
  .sky g:nth-child(3n) .star { animation-delay: 0.9s; } .sky g:nth-child(3n + 1) .star { animation-delay: 1.8s; }
  .sky .bolt { animation: flicker 3.4s linear infinite; }
  .sky g:nth-child(2n) .bolt { animation-delay: 1.3s; }
  .sky.landed { animation: shake 0.4s ease-out; }
  .sky.landed .logo { animation: squash 0.6s cubic-bezier(0.2, 0.8, 0.3, 1); }
  .sky.landed .sky-rays { animation: burst 0.3s cubic-bezier(0.2, 0.8, 0.3, 1.4) both; }
  .sky.landed .sky-bits { animation: burst 0.55s cubic-bezier(0.2, 0.8, 0.3, 1.3) 0.08s both; }
  .sky.landed .bolt { animation: zap 0.5s ease-out both, flicker 3.4s linear 0.5s infinite; }
  .sky.landed g:nth-child(2n) .bolt { animation-delay: 0.08s, 1.6s; }
  .waitlist .face-btn { transition: transform 0.1s ease-out; }
}
@media (prefers-reduced-motion: reduce) {
  .face-btn { transition: none; }
}

/* The voice memo, said plainly. */
.voice { margin-top: var(--gap); background: var(--card); border-radius: var(--round); padding: 32px var(--side); display: flex; flex-direction: column; gap: 22px; }
.kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
.voice h2 { margin: 8px 0 0; font-family: 'Bricolage Display', system-ui, sans-serif; font-weight: 800; font-size: 32px; line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
.voice-words p + p, .voice h2 + p { margin: 12px 0 0; max-width: 30em; font-size: 18px; font-weight: 500; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.voice-words .plain { margin-top: 10px; font-weight: 700; color: var(--ink); }
.voice-card { align-self: stretch; display: flex; align-items: center; gap: 12px; padding: 16px 14px; border-radius: 28px; background: var(--ground); }
.voice-card .face { width: 56px; height: 56px; border-radius: 28px; font-size: 22px; }
.voice-card .memo-top strong { font-size: 19px; line-height: 24px; }
.voice-card .player { margin-top: 8px; width: 100%; gap: 12px; padding: 6px 16px 6px 6px; border-radius: 32px; background: var(--card); }
.voice-card .play { width: 52px; height: 52px; }
.voice-card .wave { flex: 1 1 0; width: auto; max-width: 260px; }
.voice-card .time { color: var(--brand); }

/* How it works. */
.how { margin-top: var(--gap); }
.how h2 { margin: 0 var(--side); font-family: 'Bricolage Text', system-ui, sans-serif; font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }
.steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.steps li { background: var(--card); border-radius: 28px; padding: 20px 22px 22px; display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; }
.num { grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 18px; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: 'Bricolage Text', system-ui, sans-serif; font-weight: 800; font-size: 18px; }
.steps h3 { margin: 6px 0 0; font-size: 19px; font-weight: 700; line-height: 1.25; }
.steps p { margin: 6px 0 0; font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* The floating hand, and the way onto the waitlist. */
.join { margin-top: var(--gap); position: relative; overflow: hidden; border-radius: var(--round); padding: 12px var(--side) 32px; background: var(--link); color: #FFFFFF; display: flex; flex-direction: column; align-items: center; }
.sky { --p: 1; position: relative; width: 100%; max-width: 400px; aspect-ratio: 4 / 3; }
.sky-bits, .sky-rays { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sky-rays line { stroke-width: 8; }
.sky .star, .sky .bolt { transform-box: fill-box; transform-origin: center; }
.spot { position: absolute; inset: 0; margin: auto; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--brand); }
.zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.bob { width: 37.5%; }
.logo { display: block; width: 100%; height: auto; overflow: visible; fill: var(--lime); transform-origin: 50% 90%; }
.logo-rays { fill: none; stroke: var(--lime); stroke-width: 4; stroke-linecap: round; }
/* With the script: the hand starts close up and comes down as the page scrolls; the sparks wait for it to land. */
.sky.armed .zoom { transform: translateY(calc((1 - var(--p)) * -28px)) rotate(calc((1 - var(--p)) * 16deg)) scale(calc(1 + (1 - var(--p)) * 2.4)); opacity: calc(0.2 + var(--p) * 3); }
.sky.armed:not(.landed) .sky-bits, .sky.armed:not(.landed) .sky-rays { opacity: 0; }
.waitlist { position: relative; margin-top: 8px; width: 100%; max-width: 340px; border-radius: 36px; background: var(--lime-edge); padding-bottom: 6px; color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.waitlist .face-btn { height: 66px; padding: 0 20px; border-radius: 36px; background: var(--lime); font-family: 'Bricolage Text', system-ui, sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.waitlist:hover .face-btn { transform: translateY(-2px); }
.waitlist:active .face-btn { transform: translateY(6px); }
.waitlist:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 4px; }

.testing { margin-top: 12px; background: var(--ink); color: #FFFFFF; border-radius: 28px; padding: 24px var(--side); }
.testing h2 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); }
.testing p { margin: 8px 0 0; max-width: 34em; font-size: 19px; font-weight: 600; line-height: 1.4; text-wrap: balance; }
.home .legal { margin-top: 28px; flex-wrap: wrap; }
/* The top bar's way onto the waitlist: the site's text link. */
.bar-link { min-height: 44px; margin: -5px 0; display: flex; align-items: center; color: var(--link); font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

@media (min-width: 900px) {
  .home { --gap: 64px; --side: 64px; --round: 44px; padding: 32px 32px 40px; }
  .lead { margin-top: 24px; padding: 48px var(--side) 0; flex-direction: row; align-items: center; gap: 48px; }
  .lead-words { flex: 1 1 0; padding-bottom: 48px; }
  .lead h1 { font-size: clamp(44px, 4.6vw, 50px); }
  .lead-words p { margin-top: 20px; font-size: 20px; }
  .phone { --s: 0.75; flex: 0 0 auto; align-self: flex-end; width: 299px; height: calc(10px + 690px * var(--s)); margin: 0; padding: 10px 10px 0; border-radius: 50px 50px 0 0; }
  .glass { border-radius: 41px 41px 0 0; }
  .lead-mark { right: -110px; bottom: -150px; }
  .voice { padding: 56px var(--side); flex-direction: row; align-items: center; gap: 56px; }
  .voice-words { flex: 1 1 0; }
  .voice h2 { font-size: 44px; }
  .voice h2 + p { margin-top: 16px; font-size: 20px; }
  .voice-card { flex: 0 0 420px; align-self: center; padding: 24px; border-radius: 32px; }
  .how h2 { margin: 0; font-size: 32px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
  .steps li { display: block; padding: 28px 28px 30px; }
  .steps h3 { margin-top: 14px; }
  .join { padding: 24px var(--side) 56px; }
  .testing { margin-top: 16px; padding: 28px var(--side); border-radius: 32px; }
  .home .legal { margin-top: 40px; }
}
