/* The fluid design: rede.life's front page where it leads with the family assistant (tools/home_text.py,
   build_website.page_home_hub; Peter 2026-11-18, the sketch https://claude.ai/artifact/78Fvg8Xs9JZb3DDpgckpSm), and
   every page built on its frame since (build_website.fluid_page; Peter 2026-11-19: "we will apply this same design to
   many pages"), /waitlist first. Those pages load this file alone, not site.css: they have no fixed column. Every size is a clamp() on the window's width, so it is the same picture from
   a phone to a 2560 px screen. The colours, the type, the stickers, the phones and the ticket are site.css's; keep the
   two in step. Light or dark follows the system unless the footer's switch chose one (data-theme on <html>). */
@font-face {
  font-family: "RedeEllipsis";
  src: local("Arial Rounded MT Bold"), local("Helvetica Neue"), local("Arial");
  font-weight: 100 900;
  unicode-range: U+2026;
}
:root {
  --paper: #fbf9f6; --paper-2: #f3efe9; --card: #ffffff; --ink: #2e2c2a; --ink-2: #6f6a64; --line: #e8e2da;
  --accent: #c8236c; --accent-on-ink: #ff70b3; --mark: #ffd84a; --coral: #f2603f; --amber: #e0950c; --green: #22a95a; --indigo: #6159e8; --pink: #f0579a; --blue: #2f8dff;
  --shadow: 0 0 0 1px rgba(46,44,42,.07);
  --shadow-drop: drop-shadow(0 0 .5px rgba(46,44,42,.1)) drop-shadow(0 1px 1px rgba(46,44,42,.04)) drop-shadow(0 6px 5px rgba(46,44,42,.06));
  --blush: #ffe1ee; --blush-ink-2: #5e5650; --stub: #ffffff; --perf: rgba(200,35,108,.35); --holo-blend: multiply; --holo-a: .55;
  --w: 250px; --round: "RedeEllipsis", "Hiragino Maru Gothic ProN", ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.19, 1, .22, 1);
  /* the fluid scale */
  --g: clamp(18px, 4.2vw, 96px);            /* side gutter */
  --gap: clamp(64px, 8.5vw, 168px);         /* between sections */
  --body: clamp(17px, 13.5px + .55vw, 25px);
  --h2: clamp(32px, 4.5vw, 92px);
  --h3: clamp(21px, 14px + 1vw, 38px);
  --r-xl: clamp(32px, 3.4vw, 68px);
  --r-l: clamp(26px, 2.4vw, 46px);
  --pad: clamp(22px, 2.2vw, 44px);          /* inside a card */
}
:root[lang="ja"] {
  --round: "Hiragino Maru Gothic ProN", ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #1d1a17; --paper-2: #2b2723; --card: #2a2622; --ink: #f6f1ea; --ink-2: #b3aa9f; --line: #3a3530;
    --accent: #ff70b3; --mark: #a8841a; --shadow: 0 0 0 1px rgba(255,255,255,.07);
    --shadow-drop: drop-shadow(0 0 .5px rgba(255,255,255,.08)) drop-shadow(0 6px 5px rgba(0,0,0,.3));
    --blush: #3a1e2c; --blush-ink-2: #d6c3cc; --stub: #2a2622; --perf: rgba(246,241,234,.25); --holo-blend: screen; --holo-a: .32; color-scheme: dark; }
}
:root[data-theme="dark"] { --paper: #1d1a17; --paper-2: #2b2723; --card: #2a2622; --ink: #f6f1ea; --ink-2: #b3aa9f; --line: #3a3530;
    --accent: #ff70b3; --mark: #a8841a; --shadow: 0 0 0 1px rgba(255,255,255,.07);
    --shadow-drop: drop-shadow(0 0 .5px rgba(255,255,255,.08)) drop-shadow(0 6px 5px rgba(0,0,0,.3));
    --blush: #3a1e2c; --blush-ink-2: #d6c3cc; --stub: #2a2622; --perf: rgba(246,241,234,.25); --holo-blend: screen; --holo-a: .32; color-scheme: dark; }

* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font-family: var(--round); font-weight: 500; font-size: var(--body); line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
h2 { font-size: var(--h2); line-height: 1.04; }
h3 { font-size: var(--h3); line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
img { display: block; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 12px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* The gutter: on every band's inner wrapper, never on the band, so backgrounds reach the window's edge. */
.gut { padding-left: max(var(--g), env(safe-area-inset-left, 0px)); padding-right: max(var(--g), env(safe-area-inset-right, 0px)); }
.muted { color: var(--ink-2); }
.more { color: var(--accent); font-weight: 800; text-decoration: none; font-size: .88em; }


/* ---------- header ---------- */
.top { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 28px); padding-block: clamp(14px, 1.3vw, 28px); position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: .35em; font-weight: 800; font-size: clamp(20px, 15px + .8vw, 34px); text-decoration: none; letter-spacing: -0.02em; margin-right: auto; }
.brand img { width: 1.9em; height: 1.9em; filter: drop-shadow(0 1px 2px rgba(46,44,42,.1)); }
.menus { display: flex; align-items: center; gap: 2px; }
.menus a { font-weight: 700; color: var(--ink-2); text-decoration: none; font-size: clamp(16px, 12px + .5vw, 22px); padding: .5em .7em; border-radius: 999px; transition: background .15s, color .15s; }
.menus a:hover { color: var(--ink); background: var(--paper-2); }
.menu-toggle { display: none; border: 0; background: var(--paper-2); color: var(--ink); width: 40px; height: 40px; border-radius: 50%; place-items: center; cursor: pointer; flex: none; }
/* Phones: the button opens the three links as a card under the header. */
@media (max-width: 720px) {
  .menu-toggle { display: grid; }
  .menus { display: none; position: absolute; top: 100%; left: max(var(--g), env(safe-area-inset-left, 0px)); right: max(var(--g), env(safe-area-inset-right, 0px)); flex-direction: column; align-items: stretch;
    background: var(--card); border-radius: 26px; box-shadow: var(--shadow), 0 16px 34px -20px rgba(46,44,42,.3); padding: 10px; }
  .top.open .menus { display: flex; }
  .menus a { font-size: 18px; color: var(--ink); padding: 12px; }
}
.pill { font-weight: 800; font-size: clamp(13px, 10px + .45vw, 19px); padding: .65em 1.1em; border-radius: 999px; background: var(--ink); color: var(--paper); white-space: nowrap; text-decoration: none; }

/* ---------- buttons, phones, stickers, chips ---------- */
.btn { display: inline-flex; align-items: center; font-weight: 800; font-size: clamp(17px, 13px + .5vw, 24px); border-radius: 999px; padding: .85em 1.4em; text-decoration: none; }
.btn.dark { background: var(--ink); color: var(--paper); }
.btn.soft { background: var(--paper-2); color: var(--ink); }
.cta { display: flex; gap: 10px; flex-wrap: wrap; }
.trial { color: var(--ink-2); font-size: .86em; font-weight: 600; }
.lead { color: var(--ink-2); font-size: clamp(18px, 13px + .75vw, 30px); line-height: 1.4; max-width: 34ch; text-wrap: balance; }
.phone { position: relative; width: var(--w); flex: none; padding: calc(var(--w) * .032); background: #141414;
  border-radius: calc(var(--w) * .165); box-shadow: inset 0 0 0 1.5px #3b3b3b, 0 18px 30px -26px rgba(46,44,42,.3); }
.phone img, .phone video { display: block; width: 100%; height: auto; aspect-ratio: 600 / 1305; border-radius: calc(var(--w) * .135); background: #fbf9f6; object-fit: cover; }
.phone::after { content: ""; position: absolute; left: 50%; top: calc(var(--w) * .062); width: calc(var(--w) * .3); height: calc(var(--w) * .088); translate: -50% 0; background: #000; border-radius: 999px; }
.sticker { position: absolute; width: clamp(48px, 6.2vw, 132px); height: auto; filter: drop-shadow(0 5px 6px rgba(46,44,42,.12));
  transform: rotate(var(--r, 0deg)); animation: bob 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

main { flex: 1 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); align-content: start; }
.sec-head { display: grid; gap: clamp(12px, 1.2vw, 24px); margin-bottom: clamp(24px, 3vw, 64px); }
.sec-head p { color: var(--ink-2); font-size: clamp(18px, 13px + .6vw, 27px); max-width: 52ch; }


/* ================= shared pieces ================= */
:root { --term: #26221e; --term-ink: #f6f1ea; --term-2: #b3aa9f; --term-ok: #7ad69a; --term-line: #3d3833; --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.tag { display: inline-flex; align-items: center; gap: .5em; font-weight: 800; font-size: clamp(13px, 10px + .4vw, 19px); color: var(--ink-2); }
.tag .sticker { position: static; width: 2em; animation: none; filter: drop-shadow(0 3px 4px rgba(46,44,42,.16)); }
.said { justify-self: end; background: var(--blue); color: #fff; font-weight: 700; border-radius: 1.3em 1.3em .45em 1.3em; padding: .55em .95em; max-width: 100%; }
.answer { justify-self: start; display: flex; gap: .6em; align-items: flex-start; background: var(--card); color: var(--ink); border-radius: 1.3em 1.3em 1.3em .45em; padding: .65em 1em; box-shadow: var(--shadow); font-weight: 600; }
.answer i { font-style: normal; flex: none; width: 1.5em; height: 1.5em; border-radius: 50%; display: grid; place-items: center; background: #2a8f86; color: #fff; font-size: .8em; margin-top: .12em; }
.term { background: var(--term); color: var(--term-ink); border-radius: var(--r-l); overflow: hidden; font-family: var(--mono); font-size: clamp(12.5px, 9px + .55vw, 21px); line-height: 1.55;  min-width: 0; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: .8em 1.1em; border-bottom: 1px solid var(--term-line); color: var(--term-2); font-family: var(--round); font-weight: 700; font-size: .8em; }
.term-bar i { width: .8em; height: .8em; border-radius: 50%; background: var(--term-line); }
.term-bar span { margin-left: .5em; }
.term pre { margin: 0; padding: 1.1em 1.3em 1.3em; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.term .p { color: var(--term-ok); } .term .o { color: var(--term-2); }
.plate { display: inline-flex; align-items: center; gap: .6em; max-width: 100%; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: .5em 1em; font-family: var(--mono); font-size: clamp(13px, 10px + .45vw, 20px); font-weight: 600; overflow-wrap: anywhere; }
.names { display: flex; flex-wrap: wrap; gap: 8px; }
.name { display: inline-flex; align-items: center; gap: .5em; background: var(--card); border-radius: 999px; padding: .45em .95em .45em .55em; font-weight: 800; font-size: clamp(14px, 10px + .5vw, 21px); box-shadow: var(--shadow); white-space: nowrap; }
.name::before { content: ""; width: .85em; height: .85em; border-radius: 50%; background: var(--c, var(--ink)); }
.name.mono { font-family: var(--mono); }

/* ================= A · Ask ================= */
/* The hero is one question and its answer, as big as the headline, next to the screen the answer came from. */
.hero-a { display: grid; gap: clamp(28px, 4vw, 90px); align-items: center; padding-block: clamp(28px, 3vw, 80px) 0; }
.hero-a .copy { display: grid; gap: clamp(16px, 1.5vw, 30px); justify-items: start; }
h1 { font-size: clamp(44px, min(6.4vw, 13svh), 170px); line-height: .96; letter-spacing: -0.05em; -webkit-hyphens: auto; hyphens: auto; }  /* a long word (German "Familienassistent") breaks with a hyphen instead of running into the panel */
/* Japanese has no spaces, so the headline is one "word" for fluid_h1: lines break between phrases, not inside one. */
:lang(ja) :is(h1, h2, h3, p) { word-break: auto-phrase; }
h1:lang(ja) { letter-spacing: -0.02em; font-size: clamp(40px, min(5.4vw, 11svh), 144px); }
/* The hero's other half: a big box in a colour of its own (--c), which arrives just after the headline. */
.panel { position: relative; background: color-mix(in srgb, var(--c, var(--green)) 14%, var(--paper)); border-radius: var(--r-xl); overflow: hidden;
  padding: clamp(22px, 2.4vw, 52px) clamp(18px, 2.4vw, 52px); transition: background .5s; }
.demo { display: grid; justify-items: center; --w: clamp(230px, 21vw, 460px); padding-bottom: 0; gap: clamp(10px, 1vw, 20px); }
.demo .talk { display: grid; gap: clamp(8px, .8vw, 16px); width: 100%; font-size: clamp(18px, 12px + 1.25vw, 40px); line-height: 1.25; height: 9.4em; align-content: start; }  /* a set height: the longest question and answer fit, so the box never grows and the text beside it never moves */
.demo .said { font-size: 1em; font-weight: 800; letter-spacing: -0.02em; }
.demo .answer { font-size: .72em; }
.demo .phone { margin-bottom: calc(var(--w) * -0.6); }
.demo .tag { position: absolute; left: clamp(18px, 2.4vw, 52px); bottom: clamp(16px, 1.6vw, 34px); background: var(--card); border-radius: 999px; padding: .4em .9em .4em .5em; box-shadow: var(--shadow); color: var(--ink); z-index: 2; }
.demo.swap .talk, .demo.swap .phone img, .demo.swap .tag { opacity: 0; }
.demo .talk, .demo .phone img, .demo .tag { transition: opacity .35s; }
@media (min-width: 960px) { .hero-a { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }

.hubsec { overflow: hidden; }
.hub { display: grid; gap: 18px; justify-items: center; --w: clamp(220px, 20vw, 440px); }
.hub-side { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hub-side h3 { flex-basis: 100%; text-align: center; font-size: clamp(14px, 10px + .5vw, 21px); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); font-weight: 800; }
.hub-item { display: inline-flex; align-items: center; gap: .55em; background: var(--card); border-radius: 999px; padding: .4em 1em .4em .5em; font-weight: 800; font-size: clamp(15px, 10px + .7vw, 26px); box-shadow: var(--shadow); white-space: nowrap; }
.hub-item .sticker { position: static; width: 1.9em; animation: none; filter: drop-shadow(0 3px 4px rgba(46,44,42,.16)); }
.hub-item.who::before { content: ""; width: 1em; height: 1em; margin: .45em .1em .45em .35em; border-radius: 50%; background: var(--c); }
.hub-item.mono { font-family: var(--mono); }
.hub-mid { position: relative; display: grid; justify-items: center; height: calc(var(--w) * 1.45); padding: 0 30px; align-self: end; clip-path: inset(-60px -200px 0 -200px); }  /* cut the phone off at the bottom only, so the label can grow past the sides when it pulses */
.hub-mid .lock { position: absolute; top: 46%; left: 50%; translate: -50% 0; z-index: 3; display: inline-flex; align-items: center; gap: .5em; background: var(--ink); color: var(--paper); font-weight: 800; border-radius: 999px; padding: .6em 1.1em; font-size: clamp(13px, 9px + .55vw, 21px); white-space: nowrap; box-shadow: 0 10px 18px -10px rgba(0,0,0,.5); }
.flow { width: 2px; height: 28px; border-left: 2px dashed color-mix(in srgb, var(--ink) 30%, transparent); }
@media (min-width: 960px) {
  .hub { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 0; }
  .flow { display: none; }
  .hub-side { display: grid; gap: clamp(10px, 1.1vw, 22px); justify-items: stretch; padding-bottom: clamp(30px, 4vw, 90px); }
  .hub-side h3 { text-align: left; margin-bottom: .4em; }
  .hub-side.out h3 { text-align: right; }
  .hub-row { display: flex; align-items: center; gap: 14px; }
}
@media (max-width: 959px) { .hub-row { display: contents; } }


/* ================= the rest of the page, the same in all three ================= */
.grid5 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 24px); }
.grid5 > * { grid-column: span 2; } .grid5 > :nth-child(-n+2) { grid-column: span 3; }
@media (min-width: 1500px) { .grid5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .grid5 > *, .grid5 > :nth-child(-n+2) { grid-column: auto; } }
.box { background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow); padding: var(--pad); display: grid; gap: clamp(12px, 1.1vw, 20px); align-content: start; min-width: 0; }
.box p { color: var(--ink-2); }
.box .said { color: #fff; } .box .answer { color: var(--ink); }
.ask .said { font-size: clamp(18px, 13px + .7vw, 28px); line-height: 1.25; }
.ask .answer { background: var(--paper-2); box-shadow: none; font-size: .92em; }
/* Three cards in a row from 900 px, one under the other below. */
.grid3 { display: grid; gap: clamp(12px, 1.2vw, 24px); list-style: none; margin: 0; padding: 0; }
.way { overflow: hidden; align-content: space-between; }
.way .term { font-size: clamp(12.5px, 9px + .45vw, 18px); box-shadow: none; }
.way.pocket { padding-bottom: 0; --w: clamp(200px, 15vw, 320px); }
.way.pocket .phone { justify-self: center; margin-bottom: calc(var(--w) * -1.25); }
@media (min-width: 900px) { .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rules { display: grid; gap: clamp(20px, 2.4vw, 56px); }
.rule { border-top: 3px solid var(--ink); padding-top: clamp(14px, 1.4vw, 28px); display: grid; gap: 8px; align-content: start; }
.rule h3 { font-size: clamp(22px, 14px + 1.2vw, 44px); }
.rule p { color: var(--ink-2); }
@media (min-width: 700px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1300px) { .rules { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hold { container-type: inline-size; overflow: hidden; padding-bottom: 0; align-content: space-between; }
.hold .shot { display: flex; justify-content: center; margin: 0 calc(var(--pad) * -1); --w: clamp(180px, 60cqi, 320px); height: calc(var(--w) * 1.1);
  background: linear-gradient(to bottom, transparent 10%, color-mix(in srgb, var(--c) 17%, transparent)); }
.hold .shot .phone { margin-top: 14px; height: fit-content; }
/* A phone: a row of cards becomes one swipe, the next card peeking in. */
@media (max-width: 860px) {
  .swipe { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px; margin-inline: calc(var(--g) * -1); padding: 4px var(--g) 26px; scroll-padding-inline: var(--g); }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 min(80vw, 350px); scroll-snap-align: start; }
}
.dev { background: var(--term); color: var(--term-ink); }
.dev-in { display: grid; gap: clamp(24px, 3vw, 70px); padding-block: clamp(48px, 6vw, 130px); align-items: center; }
.dev .copy { display: grid; gap: clamp(12px, 1.2vw, 22px); justify-items: start; }
.dev p { color: var(--term-2); max-width: 48ch; }
.dev .plate { background: transparent; border-color: var(--term-line); color: var(--term-ink); }
.dev .term { background: #17140f; border: 1px solid var(--term-line); }
@media (min-width: 960px) { .dev-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }


/* Family Paper: a band in A and C, a card in B. */
.paper-in { display: grid; gap: clamp(28px, 4vw, 90px); align-items: center; }
.paper .copy { display: grid; gap: clamp(12px, 1.2vw, 22px); justify-items: start; }
.paper .copy p { color: var(--ink-2); max-width: 44ch; }
.fan { position: relative; --sw: clamp(170px, 19vw, 400px); height: calc(var(--sw) * 1.62); }
.fan img { position: absolute; left: 50%; top: 50%; width: var(--sw); height: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(46,44,42,.08), 0 14px 22px -18px rgba(46,44,42,.3); }
.fan img:nth-child(1) { translate: -98% -50%; rotate: -8deg; }
.fan img:nth-child(2) { translate: -2% -50%; rotate: 8deg; }
.fan img:nth-child(3) { translate: -50% -50%; rotate: -1deg; }
@media (min-width: 860px) { .paper-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.paper { background: color-mix(in srgb, var(--amber) 13%, var(--paper)); overflow: hidden; }
.paper-in { padding-block: clamp(48px, 6vw, 130px); }

.faq { display: grid; gap: clamp(28px, 4vw, 90px); }
.faq details { border-top: 2px solid var(--line); }
.faq details:last-child { border-bottom: 2px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: var(--h3); letter-spacing: -0.02em; padding: .8em 2em .8em 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2em; top: 50%; translate: 0 -50%; color: var(--ink-2); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); max-width: 64ch; padding-bottom: 1.2em; }
@media (min-width: 960px) { .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); align-items: start; } }
/* The price ticket, as wide as the window lets it be; ONCE and the price grow with it. */
.ticket { border-radius: var(--r-l); overflow: hidden; display: grid; filter: var(--shadow-drop); }
.ticket-top { background: var(--blush); display: grid; justify-items: center; text-align: center; gap: clamp(12px, 1.3vw, 26px); padding: clamp(34px, 4.6vw, 100px) clamp(20px, 4vw, 90px); }
.ticket-top h2 { font-size: clamp(21px, 12px + 1.5vw, 44px); line-height: 1.12; font-weight: 900; letter-spacing: -0.02em; }
.ticket-top .line { display: block; }
.ticket-stub { position: relative; isolation: isolate; background: var(--stub); display: grid; gap: 30px; align-content: space-between; padding: clamp(22px, 2.4vw, 56px); border-top: 2px dashed var(--perf); }
.admits { display: flex; align-items: center; gap: .7em; font-size: clamp(13px, 9px + .5vw, 21px); line-height: 1.25; font-weight: 900; color: var(--ink-2); }
.admits img { width: 2.6em; height: 2.6em; flex-shrink: 0; }
.admits strong { color: var(--ink); font-weight: 900; }
.admits:has([data-admits]) { align-items: flex-start; font-size: clamp(13px, 9px + .42vw, 19px); line-height: 1.3; font-weight: 800; min-height: 3.9em; cursor: pointer; user-select: none; }
.admits [data-admits] { margin-top: .08em; transition: opacity .18s var(--ease), translate .18s var(--ease); }
.admits [data-admits].swap { opacity: 0; translate: 0 4px; }
.amount { display: flex; justify-content: flex-end; align-items: flex-start; font-size: clamp(76px, 9.4vw, 230px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.amount small { font-size: .4em; line-height: 1; margin-top: .1em; }
@media (min-width: 600px) { .ticket { grid-template-columns: minmax(0, 1fr) minmax(236px, 34%); } .ticket-stub { border-top: 0; border-left: 2px dashed var(--perf); } }

.final { display: grid; justify-items: center; text-align: center; gap: clamp(14px, 1.4vw, 28px); }
/* Start free under the price ticket, once web sign-up is open (tools/build_website.py start_under_ticket). */
.ticket-cta { justify-content: center; align-items: center; flex-direction: column; margin-top: clamp(18px, 2vw, 36px); text-align: center; }
.final .inline { position: static; width: clamp(64px, 6vw, 120px); }


/* Circles (build_website.circles_section, 2026-12-05): a band with the copy, a drawing of circles people are lifted
   into out of a short list, and the app's clip; three cards under it. The circles are drawn as the app draws them: a
   bowl tinted in its colour (Family a ring), faces inside, the name on a slim badge that follows the lower edge. */
.circles { background: color-mix(in srgb, var(--blue) 7%, var(--paper)); padding-block: clamp(48px, 6vw, 130px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3.4vw, 72px); overflow: hidden; }
.circles-in { display: grid; gap: clamp(20px, 2.4vw, 48px); grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "stage" "phone"; }
.circles .copy { grid-area: copy; display: grid; gap: clamp(12px, 1.2vw, 22px); justify-items: start; align-content: start; }
.circles .copy p { color: var(--ink-2); max-width: 46ch; }
.circles .note { font-size: .85em; }
.cphone { grid-area: phone; display: flex; justify-content: center; --w: clamp(230px, 20vw, 400px); }
.cstage { grid-area: stage; position: relative; width: 100%; max-width: 980px; aspect-ratio: 1; container-type: inline-size; margin-bottom: 2%; }
@media (min-width: 700px) { .cstage { aspect-ratio: 1.5; } }
@media (min-width: 960px) {
  .circles-in { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; grid-template-areas: "copy phone" "stage phone"; column-gap: clamp(40px, 5vw, 120px); }
  .cphone { align-self: start; }
}
.cdisc { position: absolute; left: var(--sx); top: var(--sy); width: var(--sd); aspect-ratio: 1; translate: -50% -50%; container-type: inline-size; }
@media (min-width: 700px) { .cdisc { left: var(--x); top: var(--y); width: var(--d); } }
.cbowl { position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--c) 7%, var(--card)) 0 34%, color-mix(in srgb, var(--c) 36%, var(--card)) 100%);
  box-shadow: inset 0 -3px 8px color-mix(in srgb, var(--c) 18%, transparent), 0 10px 22px -16px color-mix(in srgb, var(--c) 70%, transparent); }
.cdisc.ring .cbowl { background: var(--card); box-shadow: inset 0 0 0 7cqi color-mix(in srgb, var(--c) 32%, var(--card)), 0 10px 22px -16px color-mix(in srgb, var(--c) 70%, transparent); }
.cface { position: absolute; left: var(--fx); top: var(--fy); translate: -50% -50%; width: 25cqi; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: #fbeedb; color: #2e2c2a; font-weight: 800; font-size: 10.5cqi; line-height: 1; box-shadow: 0 0 0 1.6cqi #fff, 0 2px 4px rgba(46,44,42,.12); }
.cface.member { background: var(--fc); color: #fff; }
.cbowl.full .cface { width: 22cqi; font-size: 9.5cqi; }
.cface.more { background: var(--ink); color: var(--paper); font-size: 8.5cqi; }
.cbadge { position: absolute; left: -5%; top: -5%; width: 110%; height: 115%; overflow: visible; pointer-events: none; }
.cbadge path { fill: none; stroke: color-mix(in srgb, var(--c) 30%, var(--card)); stroke-width: calc(var(--fs) * 1.45px); stroke-linecap: round; }
.cbadge text { fill: color-mix(in srgb, var(--c) 62%, var(--ink)); font: 800 calc(var(--fs) * 1px) var(--round); letter-spacing: .02em; dominant-baseline: central; text-anchor: middle; }
/* The list people are lifted out of, like the app's list card; a lifted person's row fades while they are carried. */
.clist { position: absolute; left: 8%; top: 80%; width: 84%; background: var(--card); border-radius: max(14px, 2.4cqi); box-shadow: var(--shadow), 0 10px 22px -18px rgba(46,44,42,.35);
  font-size: max(12px, 1.5cqi); padding: .15em .7em; }
@media (min-width: 700px) { .clist { left: 69%; top: 63%; width: 29%; } }
.crow, .cpill { display: flex; align-items: center; gap: .55em; white-space: nowrap; }
.crow { padding: .4em 0; transition: opacity .3s; }
.crow + .crow { border-top: 1px solid var(--line); }
.crow .cface, .cpill .cface { position: static; translate: none; width: 2em; font-size: .9em; box-shadow: none; flex: none; }
.crow b, .cpill b { font-weight: 800; }
.crow.away { opacity: .35; }
.cpill { display: none; }
.ccard .cut { display: flex; justify-content: center; align-items: flex-start; margin: 0 calc(var(--pad) * -1); height: clamp(240px, 84cqi, 440px); overflow: hidden; padding-top: 18px;
  background: linear-gradient(to bottom, transparent 10%, color-mix(in srgb, var(--c) 17%, transparent)); }
.ccard .cut img { width: 84%; height: auto; border-radius: 7.5cqi 7.5cqi 0 0; box-shadow: 0 0 0 1px rgba(46,44,42,.06), 0 18px 30px -18px rgba(46,44,42,.35); rotate: -2deg; transform-origin: 50% 0; }
.ccard:nth-child(2) .cut img { rotate: 1.5deg; border-radius: 7.5cqi; }

/* ================= motion ================= */

/* Circles: the circles bob a little, whoever drops in waits hidden, a pill flies in (CIRCLES_SCRIPT). */
.anim .cdisc { animation: cbob 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1.4s); }
@keyframes cbob { 0%, 100% { translate: -50% -50%; } 50% { translate: -50% calc(-50% - 1.2%); } }
.anim .cdisc .cbowl { transition: scale .5s cubic-bezier(.2, 1.6, .4, 1); }
.anim .cdisc.got .cbowl { scale: 1.07; }
.anim .cface.new { scale: 0; transition: scale .25s var(--ease); }
.anim .cface.new.on { scale: 1; transition: scale .55s cubic-bezier(.2, 1.7, .4, 1); }
.anim .cpill { display: flex; position: absolute; left: 0; top: 0; opacity: 0; padding: .35em 1em .35em .35em; border-radius: 999px; background: var(--card);
  box-shadow: var(--shadow), 0 8px 16px -10px rgba(46,44,42,.35); font-size: max(12px, 1.5cqi); z-index: 2; transform-origin: 1.35em 50%; transform: translate(-1.35em, -50%); }
.anim .cpill.up { box-shadow: var(--shadow), 0 22px 30px -16px rgba(46,44,42,.45); }

/* Everything below .anim only applies once the script has found an observer and no wish for reduced motion;
   without it the page is whole and still. */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 80%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.box { transition: translate .35s var(--ease), box-shadow .35s; }
@media (hover: hover) { .box:hover { translate: 0 -4px; box-shadow: var(--shadow), 0 14px 26px -22px rgba(46,44,42,.35); } }

/* things rise as they come into view, one after the other, and sink again when they leave */
.anim [data-rise], .anim [data-stagger] > * { opacity: 0; translate: 0 clamp(18px, 2.4vw, 44px); transition: opacity .3s, translate .3s; }
.anim [data-rise].in, .anim [data-stagger].in > * { opacity: 1; translate: 0 0; transition: opacity .7s var(--ease), translate .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }

/* the hero: the headline arrives word by word, then the conversation is typed */
.anim .hero-a h1 .w { display: inline-block; opacity: 0; animation: word .9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 80ms); }
@keyframes word { from { opacity: 0; translate: 0 .45em; rotate: 5deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
.anim .hero-a .copy > :not(h1) { animation: rise .9s var(--ease) both; animation-delay: .55s; }
.anim .hero-a .copy > .cta { animation-delay: .68s; } .anim .hero-a .copy > .trial { animation-delay: .8s; }
@keyframes rise { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
.anim .hero-a .panel { animation: demo-in 1.1s var(--ease) .25s both; }
@keyframes demo-in { from { opacity: 0; translate: 0 44px; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }
.demo .talk { grid-template-columns: minmax(0, 1fr); }
.demo .answer, .typing { grid-area: 2 / 1; }
.typing { display: none; justify-self: start; align-items: center; gap: .32em; background: var(--card); border-radius: 1.3em 1.3em 1.3em .45em; padding: .75em .9em; font-size: .72em; }
.typing i { width: .5em; height: .5em; border-radius: 50%; background: var(--ink-2); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { translate: 0 0; opacity: .5; } 30% { translate: 0 -35%; opacity: 1; } }
.anim .typing { display: flex; opacity: 0; transition: opacity .2s; }
.anim .demo.t .typing { opacity: 1; }
.anim .demo .said { min-height: 2.35em; min-width: 2.4em; opacity: 0; scale: .8; transform-origin: 100% 100%; transition: opacity .25s, scale .45s cubic-bezier(.2, 1.5, .4, 1); }
.anim .demo.q .said { opacity: 1; scale: 1; }
.anim .demo.q:not(.a):not(.t) .said::after { content: ""; display: inline-block; width: 2px; height: .95em; margin-left: 3px; vertical-align: -.1em; background: #fff; animation: blink .8s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.anim .demo .answer { opacity: 0; scale: .85; translate: -8px 6px; transform-origin: 0 100%; transition: opacity .15s, scale .15s, translate .15s; }
.anim .demo.a .answer { opacity: 1; scale: 1; translate: 0 0; transition: opacity .3s, scale .5s cubic-bezier(.2, 1.5, .4, 1), translate .5s var(--ease); }
.anim .demo .phone { transition: translate .7s var(--ease); }
.anim .demo.swap .phone { translate: 0 9%; }
.anim .demo.a .tag .sticker { animation: hop .8s var(--ease); }
.demo .dots { position: absolute; right: clamp(18px, 2.4vw, 52px); bottom: clamp(18px, 1.8vw, 38px); z-index: 2; display: flex; gap: 6px; }
.demo .dots button { all: unset; cursor: pointer; width: 9px; height: 9px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 22%, transparent); transition: width .4s var(--ease), background .3s; }
.demo .dots button[aria-current="true"] { width: 28px; background: var(--ink); }
.demo .dots button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* the icons: each sticker has its own little move when it comes into view, and three of them keep going */
.sticker * { transform-box: fill-box; transform-origin: 50% 50%; }
.sticker .t { transform-box: view-box; transform-origin: 0 0; } /* tilts and shine stripes turn about the icon's own box */
@keyframes pin-drop { 0% { translate: 0 -80%; opacity: 0; } 50% { translate: 0 0; opacity: 1; } 66% { translate: 0 -22%; } 82% { translate: 0 0; } 91% { translate: 0 -7%; } 100% { translate: 0 0; } }
@keyframes shake { 0%, 100% { rotate: 0deg; } 20% { rotate: -14deg; } 40% { rotate: 11deg; } 60% { rotate: -7deg; } 80% { rotate: 4deg; } }
@keyframes snap { 0% { scale: 1; rotate: 0deg; } 30% { rotate: -12deg; scale: 1.1; } 46% { scale: .88; filter: brightness(1.7); } 62% { scale: 1.06; filter: none; } 100% { scale: 1; rotate: 0deg; } }
@keyframes flip { 0% { transform: perspective(240px) rotateX(-85deg); opacity: 0; } 60% { transform: perspective(240px) rotateX(18deg); opacity: 1; } 100% { transform: perspective(240px) rotateX(0deg); } }
@keyframes hop { 0%, 100% { translate: 0 0; } 30% { translate: 0 -30%; } 52% { translate: 0 0; } 68% { translate: 0 -11%; } 84% { translate: 0 0; } }
@keyframes pop { 0% { scale: .3; opacity: 0; } 60% { scale: 1.15; opacity: 1; } 100% { scale: 1; } }
.anim .in .box .sticker { animation: pop .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 250ms); }
.anim .in .box .sticker.s-pin, .anim .live .s-pin { animation-name: pin-drop; animation-duration: 1s; }
.anim .in .box .sticker.s-mail, .anim .live .s-mail { animation-name: shake; }
.anim .in .box .sticker.s-camera, .anim .live .s-camera { animation-name: snap; }
.anim .in .box .sticker.s-cal, .anim .live .s-cal { animation-name: flip; }
.anim .in .box .sticker.s-chat, .anim .live .s-chat { animation-name: hop; }
.anim .live .sticker { animation-duration: .9s; animation-timing-function: var(--ease); animation-fill-mode: both; }
.anim .s-chat circle { animation: bubble-dot 1.4s infinite; }
.anim .s-chat circle:nth-of-type(2) { animation-delay: .18s; } .anim .s-chat circle:nth-of-type(3) { animation-delay: .36s; }
@keyframes bubble-dot { 0%, 55%, 100% { transform: translateY(0); } 28% { transform: translateY(-7px); } }
.anim .s-pin circle { animation: pin-pulse 2.2s infinite; }
@keyframes pin-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.62); } }
.anim .s-camera circle:last-of-type { animation: blink 1.6s steps(2) infinite; }
.anim .s-cal rect:nth-of-type(3), .anim .s-cal rect:nth-of-type(4) { transform-origin: 0 50%; animation: write 3.4s var(--ease) infinite; }
.anim .s-cal rect:nth-of-type(4) { animation-delay: .35s; }
@keyframes write { 0% { transform: scaleX(0); } 22%, 100% { transform: scaleX(1); } }

/* what you can ask: each card is a small conversation that happens as it arrives */
.ask { background: linear-gradient(to bottom, color-mix(in srgb, var(--c) 13%, var(--card)), var(--card) 62%); }
.anim .ask .said { opacity: 0; scale: .7; translate: 10px 8px; transform-origin: 100% 100%; transition: opacity .2s, scale .2s, translate .2s; }
.anim .in > .ask .said { opacity: 1; scale: 1; translate: 0 0; transition: opacity .3s, scale .5s cubic-bezier(.2, 1.5, .4, 1), translate .5s var(--ease); transition-delay: calc(var(--i) * 160ms + 450ms); }
.anim .ask .answer { opacity: 0; translate: -10px 8px; transition: opacity .2s, translate .2s; }
.anim .in > .ask .answer { opacity: 1; translate: 0 0; transition: opacity .4s, translate .6s var(--ease); transition-delay: calc(var(--i) * 160ms + 1150ms); }
.anim .in > .ask .answer i { animation: pop .6s var(--ease) both; animation-delay: calc(var(--i) * 160ms + 1250ms); }

/* the hub: one thing goes in, is kept, and comes out as an answer; then the next */
.wire { display: none; }
.flow { position: relative; }
.flow i, .wire i { position: absolute; width: clamp(10px, 8px + .4vw, 18px); aspect-ratio: 1; border-radius: 50%; background: var(--c, var(--accent)); opacity: 0; }
.flow i { left: -1px; top: 0; translate: -50% -50%; }
.hub-item { transition: scale .45s cubic-bezier(.2, 1.5, .4, 1), box-shadow .3s, opacity .4s, translate .7s var(--ease); }
.hub-say { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35em .9em; margin-top: clamp(20px, 2.2vw, 44px); min-height: 3.2em; text-align: center; font-weight: 800; font-size: clamp(16px, 11px + .7vw, 27px); }
.hub-say em { font-style: normal; color: var(--ink-2); font-weight: 600; }
.hub-say span, .hub-say em { transition: opacity .4s, translate .5s var(--ease); }
.hub-mid .phone img { transition: opacity .3s; }
@keyframes travel { 0% { left: 0; opacity: 0; scale: .4; } 14% { opacity: 1; scale: 1; } 86% { opacity: 1; scale: 1; } 100% { left: 100%; opacity: 0; scale: .4; } }
@keyframes fall { 0% { top: 0; opacity: 0; scale: .4; } 14% { opacity: 1; scale: 1; } 86% { opacity: 1; } 100% { top: 100%; opacity: 0; scale: .4; } }
@keyframes keep { 0% { scale: 1; box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 40% { scale: 1.14; } 100% { scale: 1; box-shadow: 0 0 0 22px transparent; } }
@keyframes gulp { 0%, 100% { scale: 1; } 45% { scale: 1.035; } }
.anim .hub .hub-row.live .hub-item { scale: 1.09; box-shadow: 0 0 0 2.5px var(--c, var(--accent)); }
.anim .hub.busy .hub-row:not(.live) .hub-item { opacity: .42; }
.anim .hub .hub-row.live .wire i { animation: travel 1.05s cubic-bezier(.5, 0, .3, 1) both; }
.anim .hub.s1 .flow.one i, .anim .hub.s3 .flow.two i { animation: fall .9s cubic-bezier(.5, 0, .3, 1) both; }
.anim .hub.s2 .lock { animation: keep .9s var(--ease); }
.anim .hub.s2 .hub-mid .phone { animation: gulp .7s var(--ease); }
.anim .hub.busy ~ .hub-say > * { opacity: .22; translate: 0 4px; }
.anim .hub.s1 ~ .hub-say .say1, .anim .hub.s2 ~ .hub-say :is(.say1, .say2, .arr1), .anim .hub.s3 ~ .hub-say > * { opacity: 1; translate: 0 0; }
.anim .hub .hub-item { opacity: 0; }
.anim .hub .hub-side.in .hub-item { translate: -34px 0; } .anim .hub .hub-side.out .hub-item { translate: 34px 0; }
.anim .hub.in .hub-item { opacity: 1; translate: 0 0; transition-delay: calc(var(--i) * 80ms); }
.anim .hub.in .hub-side.out .hub-item { transition-delay: calc(var(--i) * 80ms + 550ms); }
.anim .hub.in.busy .hub-item { transition-delay: 0s; }
.anim .hub .hub-mid .phone { translate: 0 22%; opacity: 0; transition: translate 1s var(--ease) .2s, opacity .5s .2s; }
.anim .hub.in .hub-mid .phone { translate: 0 0; opacity: 1; }
.anim .hub .lock { opacity: 0; transition: opacity .4s .9s; } .anim .hub.in .lock { opacity: 1; }
@media (min-width: 960px) {
  .wire { display: block; flex: 1; min-width: 24px; height: 2px; position: relative; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--ink) 26%, transparent) 0 6px, transparent 6px 12px); }
  .wire i { top: 50%; left: 0; translate: -50% -50%; }
  .anim .hub .wire { scale: 0 1; transform-origin: 0 50%; transition: scale .8s var(--ease); }
  .anim .hub.in .wire { scale: 1 1; transition-delay: calc(var(--i) * 80ms + 250ms); }
  .anim .hub.in .hub-side.out .wire { transition-delay: calc(var(--i) * 80ms + 450ms); }
}

/* terminals type themselves, a line at a time */
.term pre::after { content: "▍"; color: var(--term-ok); animation: blink 1s steps(2) infinite; }
.anim .term .ln { display: block; opacity: 0; translate: 0 6px; }
.anim .in .term .ln, .anim .term.in .ln { opacity: 1; translate: 0 0; transition: opacity .25s, translate .35s var(--ease); transition-delay: calc(var(--i) * 420ms + 500ms); }
.anim .way .name { scale: 0; }
.anim .in > .way .name { scale: 1; transition: scale .5s cubic-bezier(.2, 1.5, .4, 1); transition-delay: calc(var(--j, 0) * 90ms + 500ms); }
.way .name:nth-child(2) { --j: 1; } .way .name:nth-child(3) { --j: 2; } .way .name:nth-child(4) { --j: 3; }
.anim .way.pocket .phone { translate: 0 28%; }
.anim .in > .way.pocket .phone { translate: 0 0; transition: translate 1.1s var(--ease) .45s; }

/* the four rules: the line is drawn, and each rule shows what it means */
.rule { border-top: 0; position: relative; }
.rule::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--ink); transform-origin: 0 50%; }
.anim .rules .rule::before { scale: 0 1; transition: scale 1s var(--ease); transition-delay: calc(var(--i) * 130ms + 100ms); }
.anim .rules.in .rule::before { scale: 1 1; }
.mini { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; font-size: clamp(13px, 10px + .4vw, 18px); font-weight: 800; }
.mini > span { display: inline-flex; align-items: center; gap: .5em; background: var(--paper-2); border-radius: 999px; padding: .38em .85em .38em .45em; position: relative; white-space: nowrap; }
.sw i { width: 1.9em; height: 1.12em; border-radius: 999px; background: var(--green); position: relative; animation: sw-bg 9s infinite; animation-delay: calc(var(--k) * -1.5s); }
.sw i::after { content: ""; position: absolute; top: .14em; left: .92em; width: .84em; height: .84em; border-radius: 50%; background: #fff; animation: sw-knob 9s infinite; animation-delay: inherit; }
@keyframes sw-bg { 0%, 58%, 96%, 100% { background: var(--green); } 64%, 90% { background: color-mix(in srgb, var(--ink) 25%, transparent); } }
@keyframes sw-knob { 0%, 58%, 96%, 100% { left: .92em; } 64%, 90% { left: .14em; } }
.sw.cut i { animation-duration: 5s; } .sw.cut i::after { animation-duration: 5s; }
.mini .note { padding-left: .85em; animation: note 6s var(--ease) infinite; }
.mini .note::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--green); }
@keyframes note { 0%, 6% { opacity: 0; translate: 0 8px; } 14%, 78% { opacity: 1; translate: 0 0; } 88%, 100% { opacity: 0; translate: 0 -6px; } }
.mini .no { padding-left: .85em; color: var(--ink-2); }
.mini .no::after { content: ""; position: absolute; left: .6em; right: .6em; top: 50%; height: 2.5px; border-radius: 2px; background: var(--coral); transform-origin: 0 50%; animation: strike 5s var(--ease) infinite; animation-delay: calc(var(--k) * .35s); }
@keyframes strike { 0%, 10% { scale: 0 1; } 26%, 90% { scale: 1 1; opacity: 1; } 100% { scale: 1 1; opacity: 0; } }

/* what the hub holds: the screens slide up into their cards */
.hold h3 .sticker { position: static; display: inline-block; width: 1.45em; vertical-align: -.32em; margin-right: .35em; animation: none; filter: none; transform: none; }
.anim .hold .phone { translate: 0 30%; }
.anim .in > .hold .phone { translate: 0 0; transition: translate 1.1s var(--ease); transition-delay: calc(var(--i) * 100ms + 250ms); }

/* Family Paper: the pages fan out of one stack */
.fan img { transition: translate 1.1s var(--ease), rotate 1.1s var(--ease); }
.anim .paper-in:not(.in) .fan img { translate: -50% -50%; rotate: 0deg; }
.anim .paper-in.in .fan img:nth-child(1) { transition-delay: .25s; } .anim .paper-in.in .fan img:nth-child(2) { transition-delay: .4s; }

/* the ticket: ONCE is stamped on, and light sweeps the foil */
.ticket-stub { overflow: hidden; }
.anim .ticket .stamp { scale: 2.6; opacity: 0; rotate: 14deg; }
.anim .ticket.in .stamp { scale: 1; opacity: .92; rotate: -12deg; transition: scale .4s cubic-bezier(.3, 1.7, .5, 1) 1s, opacity .12s 1s, rotate .4s var(--ease) 1s; }

.anim .ticket .amount { translate: 0 30%; opacity: 0; }
.anim .ticket.in .amount { translate: 0 0; opacity: 1; transition: translate .9s var(--ease) .35s, opacity .5s .35s; }

/* the ticket, simpler: the price is the big thing, and ONCE is a rubber stamp on the foil */
.ticket-top { align-content: center; gap: clamp(6px, .8vw, 16px); }
/* As big as the window lets it be, but never wider than the ticket: --price-w is the price's width in ems
   (build_website.price_width), so ₩149,000 gets smaller where $99.99 doesn't. */
.ticket-top { container-type: inline-size; }
.ticket-top .amount { justify-content: center; font-size: min(clamp(104px, 19vw, 460px), 92cqi / var(--price-w, 2.2)); color: var(--ink); }
.stamp { margin: 0; justify-self: end; position: relative; display: grid; place-items: center; width: clamp(132px, 15vw, 310px); aspect-ratio: 1; color: var(--accent); rotate: -12deg; opacity: .92; }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* the footer: a room of its own, dark in both themes, with the site's pages and a wordmark as wide as the window */
.foot { display: block; position: relative; overflow: hidden; margin-top: var(--gap); padding: 0; background: var(--term); color: var(--term-ink); border-radius: var(--r-xl) var(--r-xl) 0 0; font-size: clamp(15px, 11px + .45vw, 20px); }
.foot-in { display: grid; gap: clamp(28px, 3.4vw, 72px); padding-block: clamp(44px, 5.6vw, 120px) 0; position: relative; z-index: 1; }
.foot-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 64px) clamp(16px, 2.4vw, 56px); }
.foot-brand { grid-column: 1 / -1; display: grid; gap: clamp(12px, 1.2vw, 22px); justify-items: start; align-content: start; }
.foot-name { display: inline-flex; align-items: center; gap: .3em; font-weight: 800; font-size: clamp(30px, 18px + 2vw, 64px); letter-spacing: -0.03em; line-height: 1; }
.foot-name img { width: 1.5em; height: 1.5em; }
.foot-brand p { color: var(--term-2); max-width: 28ch; }
.foot .pill { background: var(--term-ink); color: var(--term); }
.foot h3 { font-size: .78em; letter-spacing: .07em; text-transform: uppercase; color: var(--term-2); font-weight: 800; margin-bottom: 1em; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .62em; }
.foot a { color: inherit; text-decoration: none; font-weight: 700; }
.foot li a { display: inline-flex; align-items: center; gap: .55em; transition: color .2s ease; }
.foot li .sticker { position: static; width: 1.55em; flex: none; animation: none; filter: none; transform: none; transform-origin: 50% 80%; transition: transform .45s var(--ease), filter .45s var(--ease); }
/* a link under the pointer or the keyboard: the text stays put and turns pink, the sticker lifts and tilts like one being
   picked up, and settles back the same way (Peter, 2026-11-20, A on https://claude.ai/artifact/WRVCS5DezGsuBkdvU6cR6q;
   the slide and the hop it replaces jumped) */
.foot li a:focus-visible { color: #ff9ccb; }
.foot li a:focus-visible .sticker { transform: translateY(-2px) rotate(-8deg) scale(1.1); filter: drop-shadow(0 4px 3px rgba(0,0,0,.4)); }
@media (hover: hover) { .foot li a:hover { color: #ff9ccb; } .foot li a:hover .sticker { transform: translateY(-2px) rotate(-8deg) scale(1.1); filter: drop-shadow(0 4px 3px rgba(0,0,0,.4)); } }
.foot .plate { background: transparent; border-color: var(--term-line); color: var(--term-2); font-size: .88em; }
.foot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; border-top: 1px solid var(--term-line); padding-top: clamp(18px, 1.8vw, 32px); color: var(--term-2); font-size: .88em; }
.foot-tools { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.theme { display: inline-flex; gap: 2px; background: #17140f; border-radius: 999px; padding: 3px; }
.theme button { display: grid; place-items: center; width: 34px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--term-2); cursor: pointer; }
.theme button[aria-pressed="true"] { background: var(--term-line); color: var(--term-ink); }
.theme button:focus-visible, .language summary:focus-visible { outline: 3px solid #ff70b3; outline-offset: 2px; }
.language { position: relative; }
.language summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; padding: .45em 1em; border-radius: 999px; border: 1px solid var(--term-line); }
.language summary::-webkit-details-marker { display: none; }
.language ul { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 5; min-width: 300px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 6px; background: #17140f; border: 1px solid var(--term-line); border-radius: 18px; }
.language li a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; white-space: nowrap; color: var(--term-ink); }
.language li a:hover { background: var(--term-line); translate: none; color: var(--term-ink); }
@media (max-width: 760px) { .language ul { right: auto; left: 0; } }
.foot-word { margin: clamp(-10px, -1vw, -30px) 0 -0.17em; text-align: center; font-size: 31vw; font-weight: 800; letter-spacing: -0.06em; line-height: .8; color: #322d28; user-select: none; white-space: nowrap; }
.anim .foot-word { translate: 0 22%; transition: translate 1.4s var(--ease); }
.anim .foot:has(.foot-top.in) .foot-word { translate: 0 0; }
@media (min-width: 700px) { .foot-top { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .foot-top { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); } .foot-brand { grid-column: auto; } }

/* the foil, as on the live site: a band of pearl colours that sweeps in once, then follows the mouse while the
   ticket tilts toward it and a glare sits under the pointer; the price takes the same colours */
@property --mx { syntax: "<percentage>"; inherits: true; initial-value: 30%; }
.ticket { --rx: 0deg; --ry: 0deg; transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)); }
.anim .ticket.in { transition: opacity .7s var(--ease), translate .9s var(--ease), transform .9s var(--ease); }
.anim .ticket.in.live { transition: transform .12s linear; }
.anim .ticket.in:not(.live) { animation: foil-sweep 2.4s var(--ease) 1.2s both; }
@keyframes foil-sweep { from { --mx: -40%; } to { --mx: 30%; } }
.ticket-stub .holo, .ticket-stub .glare { position: absolute; inset: 0; pointer-events: none; }
.ticket-stub .holo { z-index: -1; mix-blend-mode: var(--holo-blend); opacity: var(--holo-a);
  background: repeating-radial-gradient(circle at 120% 50%, transparent 0 7px, rgba(200,35,108,.1) 7px 8px),
    linear-gradient(112deg, transparent calc(var(--mx) - 46%), #ff9fd0 calc(var(--mx) - 24%), #a8e6ff calc(var(--mx) - 6%), #fff2a6 calc(var(--mx) + 10%), #c9b8ff calc(var(--mx) + 24%), transparent calc(var(--mx) + 44%)); }
.ticket-stub .glare { z-index: 2; opacity: 0; transition: opacity .4s; mix-blend-mode: soft-light; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.6), transparent 45%); }
.ticket.live .glare { opacity: 1; }
.ticket-top .amount { background: linear-gradient(105deg, var(--ink) calc(var(--mx) - 26%), var(--accent) calc(var(--mx) - 8%), var(--indigo) calc(var(--mx) + 6%), var(--ink) calc(var(--mx) + 24%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* ONCE a little smaller, clear of the inner ring, and heavier */
.stamp b { font-size: clamp(23px, 2.62vw, 54px); font-weight: 900; line-height: 1; text-transform: uppercase; letter-spacing: 0; -webkit-text-stroke: .035em currentColor; }
code { font-family: var(--mono); font-size: .92em; }
.way-copy { display: grid; gap: 12px; justify-items: start; }
.hold .more { display: inline-block; margin-top: .5em; }
.dev .more { color: #ff9ccb; }
.final .trial { margin-top: -4px; }


/* ================= forms ================= */
/* Chips that toggle: in em of the form's own size, which grows with the window like everything
   else. */
.chip-toggle { position: relative; cursor: pointer; }
.chip-toggle input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-toggle span { display: inline-block; padding: .55em 1em; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1.5px var(--line);
  font-weight: 800; transition: background .15s, color .15s, box-shadow .15s; }
.chip-toggle input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip-toggle input:focus-visible + span, .wait-input:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.step-n { width: 1.9em; height: 1.9em; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent); font-weight: 900; font-size: clamp(16px, 12px + .5vw, 24px); }


/* ================= the waitlist ================= */
/* The hero's panel holds the card (build_website.waitlist_card; Peter, 2026-11-19: "a simple button where I can type
   in the email address"): the email and the button, then, optional, the phones and how many they are. Sent, the card
   turns into the foil ticket, its number rolling until the mail's link confirms it, then landing with a burst. */
[data-waitlist] [hidden] { display: none !important; }
.wait-panel { --c: var(--accent); overflow: visible; display: grid; align-items: center; }
.wait-count { display: inline-flex; align-items: center; gap: .55em; font-size: clamp(14px, 10px + .45vw, 20px); font-weight: 800; color: var(--ink-2);
  background: var(--paper-2); padding: .5em 1em; border-radius: 999px; }
.wait-count i { width: .6em; height: .6em; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 60%, transparent);
  animation: wait-live 2s ease-out infinite; }
@keyframes wait-live { to { box-shadow: 0 0 0 10px transparent; } }
.wait-note { font-weight: 700; font-size: clamp(15px, 11px + .45vw, 21px); background: var(--paper-2); border-radius: 1.1em; padding: .75em 1.1em; max-width: 40ch; }
.wait-card { position: relative; width: min(100%, 34em); justify-self: center; font-size: clamp(15px, 11px + .42vw, 21px); }
.wait-form { display: grid; gap: 1.25em; }  /* straight on the panel, as the front page's conversation is: the panel is the card */
.wait-label, .phones legend, .wait-size > span { font-weight: 800; color: var(--ink-2); }
.phones { border: 0; margin: 0; padding: 0; min-width: 0; }
.phones legend { padding: 0; margin-bottom: .45em; }
.chips { display: flex; flex-wrap: wrap; gap: .5em; }
/* The email and the button on one line (stacked where the card is narrow); the optional extras under a hairline. */
.wait-form { gap: 1em; }
.wait-row { display: flex; flex-wrap: wrap; gap: .5em; }
.wait-input { font: inherit; font-weight: 600; color: var(--ink); background: var(--card); border: 2px solid var(--line); border-radius: 999px;
  padding: .8em 1.1em; min-width: 0; transition: border-color .15s; }
.wait-input:focus { border-color: var(--accent); outline: none; }
.wait-input::placeholder { color: color-mix(in srgb, var(--ink-2) 60%, transparent); }
.wait-row .wait-input { flex: 1 1 14em; font-size: 1.1em; }
.wait-submit { flex: 1 0 auto; justify-content: center; font-size: 1.1em; padding: .8em 1.4em; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.wait-extras { display: grid; gap: .8em; padding-top: 1em; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.wait-optional { font-size: .78em; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.wait-size { display: grid; justify-items: start; gap: .45em; }
.wait-size .wait-input { width: 5.5em; text-align: center; -moz-appearance: textfield; }
.wait-size .wait-input::-webkit-inner-spin-button { opacity: .5; }
.wait-submit:disabled { opacity: .7; cursor: progress; }
.wait-error { margin-top: -.4em; font-weight: 800; color: var(--accent); }
.wait-fine { text-align: center; font-size: .88em; color: var(--ink-2); text-wrap: balance; }
.wait-fine a { color: var(--ink-2); font-weight: 800; }
/* The form as one sentence (build_website.waitlist_sentence_form; Peter 2026-11-19, concept C: "exactly on brand"):
   big words you change in place. The number rolls through its words between a small − and +, the phones get a
   highlighter, the address is typed into the line, and the button's stripes run while it sends. Sent, the sentence
   rewrites itself word by word. */
.wait-card { container-type: inline-size; min-width: 0; }
.wait-panel { grid-template-columns: minmax(0, 1fr); }
.sent-form { gap: 1.4em; grid-template-columns: minmax(0, 1fr); }
.sentence { font-size: clamp(26px, 7.4cqi, 60px); font-weight: 800; letter-spacing: -.025em; line-height: 1.5; text-wrap: pretty; color: var(--ink); }
.sent-num { white-space: nowrap; }
.sent-num .slot { position: relative; display: inline-block; vertical-align: bottom; height: 1.5em; overflow: hidden; color: var(--accent);
  transition: width .45s cubic-bezier(.3, 1.5, .5, 1); }
.sent-num .col { display: flex; flex-direction: column; align-items: flex-start; transition: transform .55s cubic-bezier(.3, 1.5, .5, 1); }
.sent-num .col span { height: 1.5em; white-space: nowrap; }
.sent-num .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* − and +: a small pill on the middle of the line, the bars drawn in CSS so they sit dead centre in their circles
   (a text − and + ride on the font's baseline and land off-centre); − soft, + solid. */
.sent-form .steps { display: inline-flex; gap: .14em; padding: .12em; margin: 0 .35em 0 .1em; vertical-align: middle; border-radius: 999px;
  background: var(--card); box-shadow: 0 0 0 1.5px var(--line); font-size: .5em; line-height: 1; }
.sent-form .step-btn { position: relative; width: max(1.75em, 30px); height: max(1.75em, 30px); padding: 0; border: 0; border-radius: 50%;
  background: var(--paper-2); color: var(--ink); cursor: pointer; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), background .15s; }
.sent-form .step-btn.plus { background: var(--ink); color: var(--paper); }
.sent-form .step-btn::before, .sent-form .step-btn.plus::after { content: ""; position: absolute; inset: 0; margin: auto; width: 42%; height: max(.16em, 2.5px);
  border-radius: 9px; background: currentColor; }
.sent-form .step-btn.plus::after { width: max(.16em, 2.5px); height: 42%; }
.sent-form .step-btn:hover { transform: scale(1.08); }
.sent-form .step-btn:active { transform: scale(.88); }
.sent-form .step-btn:disabled { opacity: .3; cursor: default; transform: none; }
.word-t { position: relative; isolation: isolate; border: 0; background: none; padding: 0 .08em; font: inherit; letter-spacing: inherit; cursor: pointer;
  color: color-mix(in srgb, var(--ink) 34%, transparent); transition: color .25s; }
.word-t::before { content: ""; position: absolute; left: -.06em; right: -.06em; top: .3em; bottom: .12em; z-index: -1; background: var(--mark);
  border-radius: .2em .5em .3em .45em; transform: scaleX(0) skewX(-8deg); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.word-t::after { content: ""; position: absolute; left: -.04em; right: -.04em; top: 56%; height: .09em; border-radius: 9px; background: var(--coral);
  transform: scaleX(1) rotate(-2deg); transform-origin: 0 50%; transition: transform .3s var(--ease); pointer-events: none; }
.word-t[aria-pressed="true"] { color: var(--ink); }
.word-t[aria-pressed="true"]::before { transform: scaleX(1) skewX(-8deg); }
.word-t[aria-pressed="true"]::after { transform: scaleX(0) rotate(-2deg); }
/* no "and" between the phones while only one of them is crossed out: "on ~~iPhone~~ Android." */
.sentence:has(.word-t[aria-pressed="true"]):has(.word-t[aria-pressed="false"]) .sent-and { display: none; }
/* both crossed out, a few words change: "on neither ~~iPhone~~ nor ~~Android~~" (sentence_none) */
.sn-on { display: none; }
.sentence:not(:has(.word-t[aria-pressed="true"])) .sn-on { display: inline; }
.sentence:not(:has(.word-t[aria-pressed="true"])) .sn-off { display: none; }
.sent-mail { display: inline-block; max-width: 100%; min-width: 6ch; padding: 0 .05em; border: 0; border-bottom: .09em solid var(--ink); border-radius: 0;
  background: none; color: var(--accent); font: inherit; letter-spacing: inherit; line-height: 1.2; }
.sent-mail::placeholder { color: color-mix(in srgb, var(--ink) 25%, transparent); }
.sent-mail:focus { outline: none; border-bottom-color: var(--accent); }
.sent-form.bad .sent-mail { border-bottom-color: var(--accent); animation: sent-nope .35s; }
@keyframes sent-nope { 25% { translate: -6px 0; } 50% { translate: 5px 0; } 75% { translate: -3px 0; } }
.wait-go { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .6em; width: 100%; overflow: hidden;
  border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); padding: .4em .4em .4em 1.2em; font: inherit; font-size: 1.15em; font-weight: 900;
  cursor: pointer; transition: transform .25s cubic-bezier(.3, 1.5, .5, 1); }
.wait-go:hover { transform: translateY(-2px); }
.wait-go:hover .go-arrow { transform: translateX(4px); }
.go-t { position: relative; }
.go-arrow { position: relative; flex: none; display: grid; place-items: center; width: 2.5em; height: 2.5em; border-radius: 50%; background: var(--accent); color: #fff;
  font-size: 1.15em; transition: transform .3s cubic-bezier(.3, 1.5, .5, 1); }
.go-bar { position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .3s;
  background: repeating-linear-gradient(-45deg, transparent 0 14px, color-mix(in srgb, var(--paper) 12%, transparent) 14px 28px); }
.wait-go.sending { cursor: progress; transform: none; }
.wait-go.sending .go-bar { opacity: 1; animation: go-stripes .6s linear infinite; }
.wait-go.sending .go-arrow { animation: go-ride 1.6s var(--ease) infinite; }
.wait-go.sending .go-t { opacity: .65; }
@keyframes go-stripes { to { background-position: 39.6px 0; } }
@keyframes go-ride { 50% { transform: translateX(-8px) scale(.92); } }
.sent-done { display: grid; gap: .9em; justify-items: start; }
.sent-done .sentence { line-height: 1.3; }
.sent-done .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.sent-done .w > span { display: inline-block; animation: sent-flip .6s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(var(--i) * 45ms); }
.sent-done em { font-style: normal; color: var(--accent); }
@keyframes sent-flip { from { transform: translateY(110%) rotate(6deg); opacity: 0; } }
.sent-done-p { font-weight: 800; overflow-wrap: anywhere; }
.sent-done .wait-t-small { color: var(--ink-2); }
.sent-done > :not(.sentence) { animation: sent-rise .6s var(--ease) .5s both; }
@keyframes sent-rise { from { opacity: 0; transform: translateY(8px); } }
.sent-done .btn { border: 0; cursor: pointer; font-family: inherit; font-size: .95em; padding: .7em 1.1em; }
/* The ticket: the price's, with the family on the stub and a rolling number; it comes in with a flip and a sweep. */
.wait-ticket { text-align: center; animation: ticket-in .8s cubic-bezier(.2, 1.2, .4, 1) both, foil-sweep 2.4s var(--ease) .5s both; }
.wait-ticket.live { animation: none; transition: transform .12s linear; }
@keyframes ticket-in { from { transform: perspective(1200px) rotateX(70deg) translateY(40px); opacity: 0; } }
.wait-ticket .ticket-top { gap: .6em; padding: 1.9em 1.4em 2em; }
.wait-ticket h2 { font-size: clamp(26px, 14px + 1.6vw, 46px); }
.wait-t-p { font-weight: 800; overflow-wrap: anywhere; }
.wait-t-small { font-size: .88em; color: var(--blush-ink-2); }
.wait-t-small:empty { display: none; }
.wait-t-actions { display: flex; gap: .6em; justify-content: center; flex-wrap: wrap; margin-top: .5em; }
.wait-t-actions .btn { font-size: .95em; padding: .7em 1.1em; border: 0; cursor: pointer; font-family: inherit; }
.wait-t-actions .btn.soft { background: color-mix(in srgb, var(--card) 70%, transparent); }
.wait-ticket .ticket-stub { container-type: inline-size; grid-template-rows: auto 1fr; gap: .9em; }
.wait-no { align-self: end; display: flex; justify-content: flex-end; align-items: flex-start; gap: .12em; font-weight: 900; line-height: .84;
  font-size: min(5.2em, 30cqi); letter-spacing: -0.04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* The gradient on each part, not the line: a blurred part (the rolling number) would drop out of a shared text clip. */
.wait-no span { background: linear-gradient(105deg, var(--ink) calc(var(--mx) - 26%), var(--accent) calc(var(--mx) - 8%), var(--indigo) calc(var(--mx) + 6%), var(--ink) calc(var(--mx) + 24%));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.wait-no span:first-child { font-size: .32em; line-height: 1; margin-top: .14em; letter-spacing: 0; }
.wait-card[data-state="pending"] .digits { filter: blur(2.5px); opacity: .75; }
.digits.landed { animation: digits-land .5s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes digits-land { from { transform: scale(1.25); } }
/* The burst when the number lands: dots and hearts in the family colours. */
.wait-burst { position: absolute; left: 50%; top: 45%; width: 0; height: 0; z-index: 5; pointer-events: none; }
.wait-burst i { position: absolute; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--c);
  animation: burst 1.4s cubic-bezier(.15, .8, .3, 1) forwards; }
.wait-burst i.heart { border-radius: 0; width: 18px; height: 16px; clip-path: path("M9 16 L1.6 8.4 A4.4 4.4 0 0 1 9 2.6 A4.4 4.4 0 0 1 16.4 8.4 Z"); }
@keyframes burst { 0% { transform: translate(0, 0) scale(.2); opacity: 1; }
  70% { opacity: 1; } 100% { transform: translate(var(--x), calc(var(--y) + 80px)) rotate(var(--r)) scale(var(--s)); opacity: 0; } }
/* What happens next: three cards, a number on each. */
.step .step-n { margin-bottom: -.2em; }

/* ================= reusable fluid footer flags ================= */
.foot-in.no-word { padding-bottom: clamp(28px, 3.4vw, 64px); }
.foot-in.foot-compact { padding-block: clamp(24px, 3vw, 48px); }
.foot-in.foot-compact .foot-bar { border-top: 0; padding-top: 0; }

/* ================= shared fluid subpage components ================= */
.hero-single { padding-block: clamp(32px, 3.8vw, 88px) 0; }
.hero-single .copy { max-width: 100%; }
.hero-single .lead { max-width: 48ch; }
@media (min-width: 960px) { .hero-a.hero-single { grid-template-columns: minmax(0, 1fr); } }
.kicker { display: inline-flex; align-items: center; gap: .55em; font-weight: 800; font-size: clamp(13px, 10px + .4vw, 19px);
  color: var(--ink-2); background: var(--paper-2); border-radius: 999px; padding: .35em .9em .35em .55em; }
.kicker .sticker { position: static; width: 1.8em; animation: none; filter: drop-shadow(0 2px 3px rgba(46,44,42,.15)); }

/* Feature / product split hero panel with a phone rising out of the bottom edge. */
.shot-panel { display: grid; justify-items: center; align-items: end; padding-bottom: 0; --w: clamp(230px, 21vw, 440px);
  min-height: clamp(340px, 36vw, 560px); }
.shot-panel .shot { position: relative; display: grid; justify-items: center; width: 100%; padding-top: clamp(14px, 1.5vw, 28px); }
.shot-panel .phone { margin-bottom: calc(var(--w) * -0.5); }
.shot-panel .lift { position: absolute; left: 50%; top: calc(clamp(14px, 1.5vw, 28px) + var(--w) * .82); translate: -50% 0;
  width: calc(var(--w) * .96); height: auto; border-radius: calc(var(--w) * .06); z-index: 2; rotate: -2deg;
  box-shadow: 0 18px 34px -16px rgba(46,44,42,.38); }
.btn.dark svg, .btn.soft svg { margin-left: .4em; }

/* Direct answer, grids, clickable cards and notes. */
.direct-answer { font-size: clamp(20px, 14px + .85vw, 32px); font-weight: 700; line-height: 1.38; max-width: 48ch; color: var(--ink); text-wrap: pretty; }
.grid2 { display: grid; gap: clamp(14px, 1.4vw, 28px); list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid4 { display: grid; gap: clamp(14px, 1.4vw, 24px); list-style: none; margin: 0; padding: 0; }
@media (min-width: 620px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card-link { text-decoration: none; align-content: space-between; }
.card-link .more { margin-top: .3em; }
.disclosure { font-size: .88em; font-weight: 700; color: var(--ink-2); background: var(--paper-2); border-radius: var(--r-l);
  padding: clamp(14px, 1.4vw, 22px) var(--pad); max-width: 68ch; margin-top: clamp(14px, 1.4vw, 24px); }
.source { font-size: .82em; color: var(--ink-2); max-width: 72ch; margin-top: clamp(12px, 1.2vw, 20px); }
.source a { color: inherit; }
.paper-note { background: var(--paper-2); border-radius: var(--r-l); padding: clamp(16px, 1.6vw, 26px) var(--pad); color: var(--ink-2);
  max-width: 68ch; margin-top: clamp(16px, 1.6vw, 28px); }
.paper-note a, .block-link { color: var(--accent); font-weight: 800; text-decoration: none; }
.paper-note a:hover, .block-link:hover { text-decoration: underline; }
.sec-body { display: grid; gap: clamp(16px, 1.6vw, 28px); }
.sec-body > p { color: var(--ink-2); max-width: 64ch; }
.sec-body > .direct-answer { color: var(--ink); max-width: 48ch; }
.sec-body > .disclosure, .sec-body > .source, .sec-body > .paper-note { margin-top: 0; }

/* Reusable 2-column feature/steps/media split card (calendar mail, paper how, agents approve/safe). */
.split-card { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow); overflow: hidden;
  display: grid; align-items: stretch; }
.split-card .copy { padding: clamp(26px, 3.2vw, 56px); display: grid; gap: clamp(16px, 1.6vw, 28px); align-content: start; justify-items: start; }
.split-card .copy > p { color: var(--ink-2); max-width: 48ch; }
.split-card .shot { position: relative; display: flex; justify-content: center; align-items: flex-start; overflow: hidden;
  min-height: clamp(360px, 34vw, 520px); padding-top: clamp(28px, 3vw, 48px); --w: clamp(220px, 20vw, 340px);
  background: linear-gradient(to bottom, transparent 5%, color-mix(in srgb, var(--c, var(--amber)) 16%, transparent)); }
.split-card .shot .phone { margin-bottom: calc(var(--w) * -0.45); }
@media (min-width: 900px) { .split-card { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(16px, 1.6vw, 26px); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); column-gap: .9em; row-gap: .2em; counter-increment: step; align-items: start; }
.steps li::before { content: counter(step); grid-row: span 2; width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); font-weight: 900; font-size: .88em; }
.steps p { color: var(--ink-2); }

/* Browser window screenshot (/family-chat, /ai, etc.). */
.browser { margin: 0; background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow), 0 0 0 1px var(--line); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: clamp(10px, 1vw, 16px) clamp(14px, 1.4vw, 22px);
  background: var(--paper-2); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); flex: none; }
.browser-bar span { margin: 0 auto; padding: .2em 1.2em; border-radius: 999px; background: var(--card); color: var(--ink-2);
  font-size: clamp(12px, 10px + .25vw, 15px); translate: -18px 0; }
.browser img { display: block; width: 100%; height: auto; }

/* Responsive tables (comparisons, costs, facts, paper vs phone). */
.vs { background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow); padding: clamp(8px, 1vw, 18px) var(--pad); overflow-x: auto; }
.vs table { width: 100%; border-collapse: collapse; font-size: clamp(14.5px, 12px + .35vw, 20px); }
.vs th, .vs td { text-align: left; vertical-align: top; padding: clamp(11px, 1.1vw, 18px) clamp(8px, 1vw, 16px); border-bottom: 1px solid var(--line); }
.vs tr:last-child th, .vs tr:last-child td { border-bottom: 0; }
.vs thead th { font-size: .88em; font-weight: 800; color: var(--ink-2); padding-top: clamp(14px, 1.4vw, 22px); }
.vs thead th.us { color: var(--accent); }
.vs tbody th { font-weight: 700; width: 34%; }
.vs.facts tbody th { width: 30%; }
.vs td { color: var(--ink-2); }
.vs td.us { color: var(--ink); font-weight: 700; }
.vs td.yes::before, .vs td.no::before { display: inline-block; width: 1.2em; font-weight: 900; }
.vs td.yes::before { content: "✓"; color: var(--green); }
.vs td.no::before { content: "–"; color: var(--ink-2); }
.vs .num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Comparison verdict & roundup reviews. */
.verdict .box ul { margin: 0; padding-left: 1.15em; color: var(--ink-2); display: grid; gap: .45em; }
.verdict .box.us { background: var(--blush); }
.verdict .box.us ul { color: var(--blush-ink-2); }
.review { gap: clamp(12px, 1.2vw, 20px); }
.review header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; }
.review header p { font-weight: 700; color: var(--ink-2); }
.review .pros-cons { display: grid; gap: clamp(14px, 1.4vw, 24px); }
@media (min-width: 720px) { .review .pros-cons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.review h4 { margin: 0 0 .4em; font-size: .88em; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
.review ul { margin: 0; padding-left: 1.15em; color: var(--ink-2); display: grid; gap: .3em; }
.review.us { outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.review a.inline { color: var(--accent); font-weight: 800; text-decoration: none; }
.review a.inline:hover { text-decoration: underline; }
.reviews-list { display: grid; gap: clamp(16px, 1.6vw, 28px); }

/* ================= Apple Watch band (/apple-watch) ================= */
.watch-band-card { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow); overflow: hidden; display: grid; align-items: center;
  background-image: radial-gradient(120% 90% at 90% 100%, color-mix(in srgb, var(--blue) 16%, transparent), transparent 60%); }
.watch-band-card .copy { padding: clamp(26px, 3.2vw, 56px); display: grid; gap: clamp(12px, 1.2vw, 20px); justify-items: start; }
.watch-band-card .copy > p { color: var(--ink-2); max-width: 46ch; }
.watch-points { list-style: none; padding: 0; margin: 2px 0 0; display: grid; gap: .55em; }
.watch-points li { display: flex; gap: .6em; align-items: center; font-weight: 700; }
.watch-points svg { flex: none; color: var(--accent); }
.watch-note { color: var(--ink-2); font-size: .82em; font-weight: 600; }
.watch-stage { position: relative; height: 100%; min-height: clamp(320px, 32vw, 480px); }
@media (min-width: 900px) { .watch-band-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.watch { --w: 200px; position: absolute; left: 50%; top: 50%; width: var(--w); padding: calc(var(--w) * .075); background: #161616;
  border-radius: calc(var(--w) * .27); box-shadow: inset 0 0 0 1.5px #3b3b3b, 0 2px 0 rgba(0,0,0,.06), 0 26px 44px -30px rgba(46,44,42,.45);
  transition: translate .6s var(--ease); }
.watch::before, .watch::after { content: ""; position: absolute; background: linear-gradient(90deg, #2b2b2b, #575757 55%, #2b2b2b); }
.watch::before { right: calc(var(--w) * -.045); top: 21%; width: calc(var(--w) * .06); height: calc(var(--w) * .17); border-radius: calc(var(--w) * .02); }
.watch::after { right: calc(var(--w) * -.022); top: 50%; width: calc(var(--w) * .03); height: calc(var(--w) * .22); border-radius: calc(var(--w) * .015); }
.watch.mid { --w: clamp(190px, 19vw, 270px); translate: -50% -50%; z-index: 3; }
.watch.left, .watch.right { --w: clamp(150px, 15vw, 212px); z-index: 2; }
.watch.left { translate: -104% -60%; }
.watch.right { translate: 4% -40%; }
.watch-band-card:hover .watch.left { translate: -104% -68%; }
.watch-band-card:hover .watch.right { translate: 4% -32%; }
.watch-screen { font-size: calc(var(--w) * .0409); aspect-ratio: 416 / 496; background: #000; color: #f6f1ea; border-radius: calc(var(--w) * .19);
  overflow: hidden; padding: 1.1em 1.1em 1.4em; display: flex; flex-direction: column; gap: .8em; line-height: 1.2; font-family: var(--round);
  -webkit-font-smoothing: antialiased; }
.watch-screen b, .watch-screen small { display: block; }
.ws-top { display: flex; justify-content: space-between; align-items: flex-start; flex: none; }
.ws-faces .ws-top { flex-direction: column; align-items: stretch; }
.ws-time { font: 600 1.7em/1.1 -apple-system, system-ui, sans-serif; align-self: flex-end; }
.ws-large { font-size: 2.3em; font-weight: 600; color: #9c9c9c; letter-spacing: -.01em; margin-top: .05em; }
.ws-clock { display: grid; justify-items: end; }
.ws-title { font-size: 1.7em; font-weight: 600; color: #9c9c9c; }
.ws-back { width: 3.4em; height: 3.4em; border-radius: 50%; background: rgba(255,255,255,.16); position: relative; }
.ws-back::before { content: ""; position: absolute; left: 1.35em; top: 1.15em; width: .95em; height: .95em; border: solid #fff; border-width: 0 0 .22em .22em;
  border-radius: .1em; rotate: 45deg; }
.c-coral { --c: #ff7f66; } .c-amber { --c: #ffb630; } .c-green { --c: #3fcc7a; } .c-indigo { --c: #8079f2; } .c-teal { --c: #3cc6d4; } .c-pink { --c: #ff7ab6; }
.ws-face { width: 5.8em; height: 5.8em; border-radius: 50%; background: var(--c); color: #1d1a17; display: grid; place-items: center; flex: none; }
.ws-face i { font-style: normal; font-weight: 900; font-size: 2.44em; }
.ws-face.big { width: 4.4em; height: 4.4em; }
.ws-face.big i { font-size: 1.85em; }
.ws-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1em .4em; margin-top: -.4em; }
.ws-cell { display: grid; justify-items: center; gap: .2em; min-width: 0; text-align: center; }
.ws-cell b { font-size: 1.5em; font-weight: 800; }
.ws-cell small, .ws-head small { font-size: 1.2em; font-weight: 700; color: #b3aa9f; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.watch-screen small.now { color: #3fcc7a; }
.ws-ring { position: relative; padding: .3em; border-radius: 50%; }
.ws-ring.unread { box-shadow: inset 0 0 0 .3em #3cc6d4; }
.ws-ring em { position: absolute; top: 0; right: 0; font-style: normal; font-weight: 800; font-size: 1.2em; min-width: 1.67em; height: 1.67em;
  border-radius: 1em; background: #3cc6d4; color: #1d1a17; display: grid; place-items: center; }
.ws-button { display: flex; align-items: center; justify-content: center; gap: .45em; flex: none; font-size: 1.5em; font-weight: 700;
  min-height: 2.8em; border-radius: 1.4em; background: rgba(255,255,255,.15); }
.ws-button svg { width: 1.05em; height: 1.05em; }
.ws-button.teal { background: rgba(60,198,212,.24); color: #3cc6d4; }
.ws-button.pink { background: rgba(255,122,182,.22); color: #ff7ab6; }
.ws-head { display: flex; gap: .9em; align-items: center; min-width: 0; }
.ws-head > div { min-width: 0; }
.ws-head b { font-size: 2em; font-weight: 900; }
.ws-bubble { font-size: 1.7em; font-weight: 500; background: #2a2622; padding: .45em .7em; border-radius: 1.05em; align-self: flex-start; max-width: 100%; }
.ws-bubble.mine { align-self: flex-end; background: #137f8d; color: #fff; }
.ws-meta { font-size: 1.2em; font-weight: 600; color: #b3aa9f; margin-top: -.5em; }
.ws-reactions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6em; flex: none; }
.ws-reactions .ws-button { font-size: 2em; min-height: 2.1em; border-radius: 1.05em; }
.ws-reactions .mine { background: rgba(255,122,182,.32); }
.ws-chat { flex: 1 1 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: .45em; }
.ws-from { font-size: 1.3em; font-weight: 800; color: var(--c); margin: .3em 0 -.15em .55em; }
.ws-heart { align-self: flex-end; font-size: 1.3em; background: #2a2622; border-radius: 1em; padding: .1em .45em; margin-top: -.5em; }

/* ================= Familieavisen (/familieavisen) ================= */
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: .5em; background: var(--paper-2); color: var(--ink); text-decoration: none;
  font-weight: 800; font-size: clamp(14px, 11px + .4vw, 19px); padding: .55em 1em; border-radius: 999px; }
.badge svg { color: var(--accent); flex: none; }
.sheet { display: block; width: 100%; height: auto; aspect-ratio: 1240 / 1754; background: #fff; border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(46,44,42,.08), 0 14px 22px -18px rgba(46,44,42,.3); }
.paper-panel { display: grid; place-items: center; min-height: clamp(320px, 34vw, 520px); }
.paper-panel .fan { width: 100%; --sw: clamp(140px, 15vw, 310px); }
.page-strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2vw, 32px) clamp(14px, 1.5vw, 24px); }
@media (min-width: 820px) { .page-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.page-thumb { all: unset; box-sizing: border-box; cursor: zoom-in; display: grid; gap: .7em; width: 100%; }
.page-thumb .sheet { transition: translate .35s var(--ease), box-shadow .35s var(--ease); }
.page-thumb:hover .sheet { translate: 0 -4px; box-shadow: 0 0 0 1px rgba(46,44,42,.08), 0 22px 36px -22px rgba(46,44,42,.38); }
.page-thumb:focus-visible .sheet { outline: 3px solid var(--accent); outline-offset: 4px; }
.page-thumb span { display: flex; gap: .6em; align-items: baseline; font-weight: 700; font-size: .88em; }
.page-thumb b { flex: none; display: inline-grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--paper-2); font-size: .82em; font-weight: 800; }
.price-option { gap: .4em; }
.price-option h3 { display: flex; gap: .5em; align-items: center; }
.price-option h3 svg { color: var(--accent); width: 1em; height: 1em; flex: none; }
.price-option .amount { justify-content: flex-start; font-size: clamp(40px, 4.8vw, 76px); margin-top: .15em; }
.price-option .per { color: var(--ink-2); font-weight: 700; }
.price-option ul { list-style: none; padding: 0; margin: .8em 0 0; display: grid; gap: .55em; }
.price-option li { display: flex; gap: .6em; align-items: flex-start; font-weight: 700; }
.price-option li svg { color: var(--green); flex: none; margin-top: .25em; }
.price-option.ink { background: var(--ink); color: var(--paper); }
.price-option.ink h3 svg, .price-option.ink li svg { color: var(--accent-on-ink); }
.price-option.ink .per { color: inherit; opacity: .75; }
.terms-link { margin-top: clamp(14px, 1.4vw, 24px); }
.terms-link a { color: var(--accent); font-weight: 800; text-decoration: none; }
.terms-link a:hover { text-decoration: underline; }

.viewer { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100dvh; overflow: hidden; }
.viewer::backdrop { background: rgba(20,18,16,.86); }
.viewer[open] { display: grid; place-items: center; }
.viewer figure { margin: 0; display: grid; gap: 12px; justify-items: center; pointer-events: none; }
.viewer img { display: block; width: auto; height: auto; max-width: min(92vw, 820px); max-height: calc(100dvh - 90px); background: #fff; border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5); pointer-events: auto; }
.viewer figcaption { color: #fff; font-weight: 700; font-size: 15px; }
.viewer button { position: fixed; border: 0; cursor: pointer; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.14);
  color: #fff; font: inherit; font-size: 30px; line-height: 1; display: grid; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.viewer button:hover { background: rgba(255,255,255,.26); }
.viewer button:focus-visible { outline: 3px solid var(--accent-on-ink); outline-offset: 3px; }
.viewer .close { top: max(16px, env(safe-area-inset-top)); right: 16px; }
.viewer .prev { left: 16px; top: 50%; translate: 0 -50%; }
.viewer .next { right: 16px; top: 50%; translate: 0 -50%; }
@media (max-width: 760px) { .viewer .prev, .viewer .next { top: auto; bottom: max(16px, env(safe-area-inset-bottom)); translate: none; } .viewer img { max-height: calc(100dvh - 150px); } }

/* ================= Agents (/agents) & CLI (/cli) ================= */
.tile { --c: var(--ink); flex: none; display: inline-grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: .75em;
  color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.tile.coral { --c: var(--coral); } .tile.green { --c: var(--green); } .tile.indigo { --c: var(--indigo); } .tile.blue { --c: var(--blue); }
.tile.pink { --c: var(--pink); } .tile.amber { --c: var(--amber); } .tile.ink { --c: var(--ink); }
/* The assistants' own marks (connect cards): softened brand colours on a light wash of the same. */
.amark { color: var(--c); background: color-mix(in srgb, var(--c) 10%, var(--card)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 12%, transparent); }
:is(.amark, .spark).claude { --c: #c96a4a; } :is(.amark, .spark).gemini { --c: #4a7fe0; }
:is(.amark, .spark):is(.chatgpt, .grok) { --c: color-mix(in srgb, var(--ink) 82%, transparent); }
.sticker.icon { position: static; width: 2.3em; height: 2.3em; animation: none; transform: rotate(-4deg); filter: drop-shadow(0 4px 6px rgba(46,44,42,.14)); }
.nw { white-space: nowrap; }
.inline-code code, .numbered code, .cmd-group code, .sec-body code, .dev-card-f code, .scripts-card code, .step-row p code {
  font-family: var(--mono); font-size: .86em; font-weight: 500; background: var(--paper-2); color: var(--ink);
  padding: .12em .4em; border-radius: 8px; overflow-wrap: break-word; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.copyable { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; background: var(--paper-2); border-radius: 12px;
  padding: 3px 3px 3px 10px; vertical-align: middle; }
.copyable code { background: none; padding: 0; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.copy-btn { flex: none; border: 0; cursor: pointer; font: inherit; font-size: .76em; font-weight: 800; display: inline-flex; align-items: center; gap: 5px;
  padding: .42em .75em; border-radius: 9px; background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--line); transition: color .15s, background .15s; }
.copy-btn:hover { background: var(--paper); }
.copy-btn.done { color: var(--green); }
/* Connect it (connect_picker): a switch of the four assistants, then the chosen one's button, steps and limits.
   Peter, 2026-11-21: C on https://claude.ai/artifact/SZyQhhd2Bbhwg4B6UcbXBo. */
.connect { gap: clamp(18px, 1.8vw, 30px); }
.ctabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 6px; border-radius: calc(var(--r-l) - 8px); background: var(--paper-2); }
.ctabs[hidden] { display: none; }
.ctab { border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: .9em; color: var(--ink-2); background: transparent; display: flex; align-items: center;
  justify-content: center; gap: .6em; padding: .55em .4em; border-radius: calc(var(--r-l) - 14px); min-width: 0; transition: background .2s, color .2s, box-shadow .2s; }
.ctab .tile { width: 2.1em; height: 2.1em; border-radius: .7em; }
.ctab:hover { color: var(--ink); }
.ctab[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 6%, transparent), 0 8px 18px -12px rgba(46,44,42,.45); }
.cpanel { display: grid; gap: clamp(14px, 1.4vw, 22px) clamp(24px, 3vw, 56px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  grid-template-areas: "name steps" "btn steps" "note steps" ". steps"; grid-template-rows: auto auto auto 1fr; align-items: start; }
.cpanel[hidden] { display: none; }
.cpanel + .cpanel { padding-top: clamp(18px, 1.8vw, 30px); border-top: 1px solid var(--line); }
.cpanel-name { grid-area: name; display: flex; align-items: center; gap: .55em; }
.cpanel-name .tile { width: 1.7em; height: 1.7em; border-radius: .55em; }
.connect.ready .cpanel + .cpanel { padding-top: 0; border-top: 0; }
.connect.ready .cpanel-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cpanel .connect-btn { grid-area: btn; }
.cpanel .numbered { grid-area: steps; }
.cnote { grid-area: note; font-size: .86em; color: var(--ink-2); }
.caddr { display: flex; flex-wrap: wrap; align-items: center; gap: .5em .8em; padding-top: clamp(16px, 1.6vw, 26px); border-top: 1px solid var(--line); font-size: .9em; color: var(--ink-2); }
@media (max-width: 760px) {
  .cpanel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "btn" "note" "steps"; }
  .ctab { flex-direction: column; gap: .35em; font-size: .8em; padding: .6em .2em; }
}
/* The connect button: the site's dark pill, the assistant's page one click away. */
.connect-btn { justify-self: start; display: inline-flex; align-items: center; gap: .6em; max-width: 100%; background: var(--ink); color: var(--paper);
  font-weight: 800; font-size: .95em; line-height: 1.25; padding: .8em 1.25em; border-radius: 999px; text-decoration: none; transition: background .2s; }
.connect-btn svg { flex: none; transition: translate .2s var(--ease); }
.connect-btn:hover svg { translate: 3px 0; }
.connect-btn.done { background: var(--green); color: #fff; }
.numbered .copy-btn { padding: .42em; }
.numbered .copy-btn span { display: none; }
.cmd { display: flex; align-items: center; gap: 10px; background: var(--term); color: var(--term-ink); border-radius: 14px; padding: 7px 7px 7px 14px; min-width: 0; }
.cmd code { flex: 1; min-width: 0; background: none; color: inherit; padding: 0; font-size: clamp(13px, 10px + .35vw, 17px); white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.cmd code::before { content: "$ "; color: #ff70b3; }
.cmd .copy-btn { background: rgba(255,255,255,.1); color: var(--term-ink); box-shadow: none; }
.cmd .copy-btn:hover { background: rgba(255,255,255,.18); }
.cmd .copy-btn.done { color: var(--term-ok); }

/* Agents hero assistant + phone stage inside .panel */
.assist-panel { display: grid; gap: clamp(14px, 1.5vw, 24px); padding-bottom: 0; --w: clamp(210px, 18vw, 340px); }
.assist { position: relative; z-index: 2; background: var(--card); border-radius: var(--r-l); text-align: left;
  padding: clamp(14px, 1.4vw, 22px) clamp(16px, 1.6vw, 24px); display: grid; gap: clamp(12px, 1.2vw, 18px);
  box-shadow: var(--shadow), 0 18px 34px -26px rgba(46,44,42,.35); }
.assist-bar { display: flex; gap: 6px; align-items: center; }
.assist-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.bubble.you { justify-self: end; max-width: 90%; background: var(--blue); color: #fff; border-radius: 1.3em 1.3em .45em 1.3em;
  padding: .55em .9em; font-weight: 700; min-height: 2.5em; }
.bubble.you .ask-mark { display: none; }
.reply { display: flex; gap: 12px; align-items: flex-start; opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .5s var(--ease); }
.assist-panel.sent .reply { opacity: 1; transform: none; }
.reply > div { display: grid; gap: 10px; justify-items: start; }
.reply p { font-weight: 600; color: var(--ink); }
.reply .tile, .maplink .tile { width: 32px; height: 32px; border-radius: 10px; }
.maplink { display: flex; gap: 10px; align-items: center; background: var(--paper); border-radius: 16px; padding: 8px 14px 8px 8px; box-shadow: 0 0 0 1px var(--line); }
.maplink b { display: block; font-size: .88em; line-height: 1.25; }
.maplink small { color: var(--ink-2); font-size: .76em; font-weight: 600; }
.assist-panel > .phone { justify-self: center; margin-bottom: calc(var(--w) * -0.58); }

/* Agents capability cards & demos (AGENT_SCRIPT) */
.agent-card { container-type: inline-size; overflow: hidden; padding-bottom: 0; align-content: space-between; }
.agent-card .copy { display: grid; gap: clamp(10px, 1vw, 16px); justify-items: start; }
/* The whole phone, the same size in every card and standing on the same line: a phone cut at a different height in each
   card (the top of one, the bottom of the next) made the row look ragged (Peter, 2026-11-21). */
.agent-card .shot { display: flex; justify-content: center; align-items: flex-end; margin: 0 calc(var(--pad) * -1); --w: clamp(170px, 62cqi, 230px);
  padding: clamp(18px, 2vw, 30px) 0 var(--pad); background: linear-gradient(to bottom, transparent 10%, color-mix(in srgb, var(--c) 17%, transparent)); }
.agent-ask { background: var(--paper-2); color: var(--ink); border-radius: 1.1em 1.1em 1.1em .35em; padding: .5em .85em; font-weight: 700;
  font-size: .86em; min-height: 2.5em; transition: background .3s, color .3s; }
/* The assistant's mark: a round tile exactly one line tall, floated so it sits on the first line, and the text beside it in
   its own block so it never wraps under the mark (a flex row made the bubble shrink to two words a line). */
.agent-ask:has(.amark) { padding-left: .6em; }
.agent-ask .ask-mark.amark { float: left; display: grid; place-items: center; width: 1.5em; height: 1.5em; margin-right: .6em; border-radius: 50%; }
.agent-ask .ask-mark.amark + .ask-text { display: flow-root; }
.agent-ask .ask-mark.amark svg { width: .95em; height: .95em; }
.agent-card.sent .agent-ask { background: color-mix(in srgb, var(--coral) 14%, var(--paper-2)); }
.agent-ask .ask-mark:not(.amark) { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--card); color: var(--coral);
  vertical-align: -5px; margin-right: 8px; box-shadow: 0 0 0 1px var(--line); }
.caret { display: none; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: currentColor; animation: blink 1s steps(1) infinite; }
.asking .caret { display: inline-block; } /* not .typing: the front page's chat dots own that class */
.rest { color: transparent; }
.agent-phone .screen { position: relative; overflow: hidden; border-radius: calc(var(--w) * .135); }
.agent-phone video { border-radius: 0; aspect-ratio: 600 / 1304; }
.agent-phone .landing { position: absolute; z-index: 3; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  border: 3px solid var(--accent-on-ink); opacity: 0; pointer-events: none; }
.landed .agent-phone .landing { animation: landing .9s ease-out; }
@keyframes landing { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(2.2); } }
.spark { position: absolute; z-index: 50; left: 0; top: 0; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%;
  display: grid; place-items: center; background: var(--card); color: var(--c, var(--coral)); pointer-events: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--coral)) 24%, transparent), 0 8px 18px -6px rgba(46,44,42,.45); }

.numbered { list-style: none; margin: 0; padding: 0; display: grid; gap: .75em; counter-reset: n; color: var(--ink-2); }
.numbered li { counter-increment: n; position: relative; padding-left: 2.3em; min-height: 1.6em; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: .08em; width: 1.7em; height: 1.7em; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper-2); color: var(--ink); font-weight: 800; font-size: .78em; }
.safe-list { list-style: none; margin: 0; padding: clamp(26px, 3.2vw, 52px); display: grid; gap: clamp(18px, 1.8vw, 28px); }
.safe-list li { display: flex; gap: 1em; align-items: flex-start; }
.safe-list li > div { display: grid; gap: 4px; }
.safe-list p { color: var(--ink-2); }
.safe-note { grid-column: 1 / -1; padding: clamp(16px, 1.8vw, 24px) clamp(26px, 3.2vw, 52px); border-top: 1px solid var(--line); color: var(--ink-2); font-size: .88em; }
.safe-note a, .dev-card-f a, .scripts-card a { color: var(--accent); font-weight: 800; text-decoration: none; }
.safe-note a:hover, .dev-card-f a:hover, .scripts-card a:hover { text-decoration: underline; }
.dev-card-f { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: clamp(26px, 3.4vw, 56px); display: grid; gap: clamp(14px, 1.4vw, 22px); }
.dev-card-f > p { color: var(--ink-2); max-width: 64ch; }
.dev-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dev-links .copyable { padding: 6px 6px 6px 14px; border-radius: 999px; }
.dev-links .copy-btn { border-radius: 999px; }
.dev-cli { margin-top: .4em; background: var(--paper); border-radius: var(--r-l); padding: clamp(20px, 2.4vw, 34px); display: grid; gap: clamp(14px, 1.4vw, 22px); }
.dev-cli-head { display: flex; gap: 14px; align-items: center; }
.dev-cli .numbered { gap: 16px 28px; }
@media (min-width: 900px) { .dev-cli .numbered { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dev-cli .more svg { vertical-align: -3px; margin-left: 4px; }

/* CLI terminal & command reference */
.term .in { display: block; color: var(--term-ink); }
.term .in::before { content: "$ "; color: #ff70b3; }
.term .out { display: block; color: var(--term-2); margin-bottom: .5em; }
.term .out:last-child { margin-bottom: 0; }
.step-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(14px, 1.4vw, 24px); counter-reset: step; }
.step-row { counter-increment: step; background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow); padding: var(--pad);
  display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 16px 20px; align-items: center; }
.step-row::before { content: counter(step); align-self: start; width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); font-weight: 900; font-size: .88em; }
.step-row .copy { display: grid; gap: 6px; align-self: start; }
.step-row p { color: var(--ink-2); }
.step-row .cmds { grid-column: 1 / -1; display: grid; gap: 8px; min-width: 0; }
@media (min-width: 900px) { .step-row { grid-template-columns: 2.2em minmax(0, 1fr) minmax(0, 1.05fr); } .step-row .cmds { grid-column: auto; } }
.cmd-card { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: clamp(8px, 1vw, 18px) clamp(24px, 3vw, 48px); display: grid; }
.cmd-group { display: grid; gap: 14px 28px; padding: clamp(20px, 2.2vw, 34px) 0; }
@media (min-width: 820px) { .cmd-group { grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr); } }
.cmd-group + .cmd-group { border-top: 1px solid var(--line); }
.cmd-group h3 { display: flex; gap: .6em; align-items: center; align-self: start; }
.cmd-group h3 .sticker, .cmd-group h3 .tile { width: 1.8em; height: 1.8em; border-radius: .55em; }
.cmd-group dl { margin: 0; display: grid; gap: clamp(14px, 1.4vw, 22px); }
.cmd-group dl > div { display: grid; gap: 4px; }
.cmd-group dd { margin: 0; color: var(--ink-2); }
.scripts-card { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: clamp(26px, 3.2vw, 52px);
  display: grid; gap: clamp(22px, 2.6vw, 44px); align-items: center; }
@media (min-width: 900px) { .scripts-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.scripts-card .copy { display: grid; gap: 12px; }
.scripts-card p { color: var(--ink-2); }
.scripts-card .note { font-size: .88em; font-weight: 700; }

/* ================= Documents (/support, /privacy, /avis, /changelog, /404) ================= */
.doc-body { display: grid; gap: clamp(14px, 1.4vw, 22px); max-width: 68ch; }
.doc-body h2 { font-size: clamp(24px, 2.4vw, 40px); margin-top: clamp(20px, 2.4vw, 42px); }
.doc-body p { color: var(--ink-2); }
.doc-body a { color: var(--accent); font-weight: 800; text-decoration: none; }
.doc-body a:hover { text-decoration: underline; }

/* ---------- /changelog (build_website.page_changelog; family.co/changelog's shape): the date in a column on the left,
   a thin line with a dot per build, and the build's headline, summary and New / Improved / Fixed beside it. ---------- */
.log, .log-end { --log-date: max(15vw, 11em); --log-pad: clamp(28px, 4vw, 96px); }
.log { display: grid; }
.log-entry { display: grid; grid-template-columns: min(var(--log-date), 300px) minmax(0, 1fr); }
.log-date { color: var(--ink-2); font-weight: 700; font-size: clamp(14px, 11px + .4vw, 20px); padding: .55em 1.2em 0 0; white-space: nowrap; }
.log-body { position: relative; border-left: 2px solid var(--line); padding: 0 0 clamp(56px, 6vw, 120px) var(--log-pad);
  display: grid; gap: clamp(12px, 1.1vw, 20px); justify-items: start; max-width: calc(64ch + var(--log-pad)); }
.log-body::before { content: ""; position: absolute; left: -9px; top: .95em; width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink-2); }
.log:not(.filtered) .log-entry:first-child .log-body::before, .log-entry.is-first .log-body::before { background: var(--accent); border-color: var(--accent); }
.log-entry:last-child .log-body, .log-entry.is-last .log-body { border-left-color: transparent; padding-bottom: 0; }
.log-body .tag { min-height: 2em; }
.log-filter { display: flex; flex-wrap: wrap; gap: .4em; }
.log-filter[hidden] { display: none; }
.log-filter button { font: inherit; font-weight: 800; font-size: clamp(14px, 11px + .4vw, 20px); color: var(--ink-2); background: var(--paper-2);
  border: 0; border-radius: 999px; padding: .5em 1em; cursor: pointer; transition: background .15s, color .15s; }
.log-filter button:hover { color: var(--ink); }
.log-filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.log-entry[hidden] { display: none; }
.log-body h2 { font-size: clamp(26px, 2.6vw, 48px); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.log-body h2 a { text-decoration: none; }
.log-body h2 a:hover { color: var(--accent); }
.log-sum { color: var(--ink-2); font-size: clamp(18px, 13px + .6vw, 27px); line-height: 1.4; }
.log-kind { display: grid; gap: .45em; margin-top: .35em; }
.log-kind h3 { font-size: clamp(15px, 11px + .45vw, 21px); letter-spacing: 0; font-weight: 800; }
.log-kind ul { margin: 0; padding-left: 1.15em; display: grid; gap: .5em; color: var(--ink-2); }
.log-kind li::marker { color: var(--line); }
.log-end { color: var(--ink-2); font-weight: 700; margin-top: clamp(48px, 5vw, 100px); padding-left: calc(min(var(--log-date), 300px) + var(--log-pad)); }
@media (max-width: 720px) {
  .log-entry { grid-template-columns: minmax(0, 1fr); }
  .log-date { padding: 0 0 .3em clamp(22px, 6vw, 32px); font-size: 14px; white-space: normal; }
  .log-body { padding-left: clamp(22px, 6vw, 32px); }
  .log-body::before { top: -1.55em; }
  .log-end { padding-left: 0; }
}
.updated { color: var(--ink-2); font-size: .88em; font-weight: 700; }
.contact { padding-top: clamp(16px, 1.8vw, 28px); border-top: 2px solid var(--line); color: var(--ink-2); font-weight: 600; max-width: 64ch; }
.contact a { color: var(--accent); font-weight: 800; }
.release-list { display: grid; gap: clamp(16px, 1.6vw, 24px); max-width: 72ch; }
.release h2 { font-size: clamp(22px, 2vw, 34px); display: flex; flex-wrap: wrap; align-items: baseline; gap: .5em; }
.release h2 span { font-size: .72em; color: var(--ink-2); font-weight: 700; }
.release .when { font-size: .84em; font-weight: 700; color: var(--ink-2); }
.release ul { margin: 0; padding-left: 1.2em; color: var(--ink-2); display: grid; gap: .35em; }
.release .note { font-size: .88em; font-style: italic; color: var(--ink-2); }
.center-doc { justify-items: center; text-align: center; padding-block: clamp(60px, 10vw, 140px); }
.center-doc .copy { justify-items: center; text-align: center; }
/* The switch box stays put under the pointer (the other boxes lift on hover). */
@media (hover: hover) { .box.connect:hover { translate: none; box-shadow: var(--shadow); } }
