/* Heron landing page. The Lily Pond world (lily_pond_design.md): a soft pastel UI, plum ink, never black,
   pixel art at whole-number scales only, stepped motion for sprites and smooth motion for the interface. */
:root {
  --ink: #3a2b45; --ink-2: #6b5577; --ink-3: #7d6b91;
  --card: rgb(255 255 255 / 0.80); --field: #fff; --ground-2: #f3edff; --well: #f6f2ff;
  --line: rgb(58 43 69 / 0.10); --edge: rgb(58 43 69 / 0.16);
  --pink: #ff7aa6; --pink-top: #ffa3c2; --pink-deep: #c93d6e;
  --lilac: #a786f0; --lilac-deep: #7a5bd6; --mint: #8fd67c; --butter: #ffd86e; --sheet: #fff8fb;
  --g1: #d9ecff; --g2: #fde7f3; --g3: #fff6e8;
  --shadow-card: inset 0 1px 0 rgb(255 255 255 / 0.9), 0 6px 18px -10px rgb(58 43 69 / 0.35);
  --shadow-float: 0 1px 0 rgb(255 255 255 / .8) inset, 0 40px 80px -40px rgb(58 43 69 / .55), 0 12px 24px -16px rgb(58 43 69 / .3);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --th: "Anuphan", "Leelawadee UI", "Noto Sans Thai", sans-serif;
  --en: "Bricolage Grotesque", "Anuphan", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 96px);
  color-scheme: light;
}
:root[data-sky="night"] { --g1: #dcd6ff; --g2: #f6e1f2; --g3: #fff3e6; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--lilac) transparent; scrollbar-gutter: stable; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0; min-height: 100vh; overflow-x: clip;
  color: var(--ink); font: 500 17px/1.65 var(--th);
  background: linear-gradient(180deg, var(--g1) 0%, var(--g2) 58%, var(--g3) 100%) fixed;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
:root[data-lang="en"] body { font-family: var(--en); }
::selection { background: #ffd0e0; color: var(--ink); }
::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-thumb { background: var(--lilac); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
:focus-visible { outline: 2px solid var(--lilac-deep); outline-offset: 3px; border-radius: 6px; }
img, canvas, iframe, svg { display: block; }
.px, .pixword, .cloud { image-rendering: pixelated; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
button { font: inherit; color: inherit; }
.ic { width: 20px; height: 20px; flex: none; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.h1 { font: 700 clamp(46px, 6.4vw, 92px)/1.08 var(--th); letter-spacing: -0.012em; text-wrap: balance; }
.h1 em, .h2 em { font-style: normal; font-family: var(--en); font-weight: 800; letter-spacing: -0.035em; color: var(--pink-deep); }
:root[data-lang="en"] .h1 { font-family: var(--en); font-weight: 800; letter-spacing: -0.035em; line-height: 1.0; }
.h2 { font: 700 clamp(34px, 4.2vw, 60px)/1.14 var(--th); letter-spacing: -0.01em; text-wrap: balance; }
:root[data-lang="en"] .h2 { font-family: var(--en); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; }
.lede { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.62; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.h1 .line { display: block; overflow: clip; padding-bottom: .06em; }
.h1 .line > span { display: inline-block; }
[data-swap] { transition: filter 200ms ease, opacity 200ms ease; }
.swapping [data-en] { filter: blur(2px); opacity: .35; }

/* ---------- buttons ---------- */
.btn {
  --lift: 3px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 18px; border: 0; border-radius: 12px; cursor: pointer; text-decoration: none; white-space: nowrap;
  background: #fff; color: var(--ink); font-weight: 600;
  box-shadow: inset 0 0 0 2px var(--ink), 0 var(--lift) 0 0 var(--ink);
  transition: transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out), background-color 160ms ease;
}
.btn--main { --lift: 4px; border-radius: 14px; font-weight: 700; background: linear-gradient(var(--pink-top), var(--pink)); box-shadow: inset 0 0 0 2.5px var(--ink), 0 var(--lift) 0 0 var(--ink); }
.btn--lg { height: 58px; padding: 0 30px; font-size: 19px; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn--block { width: 100%; height: 54px; }
.btn:active { transform: translateY(var(--lift)) scale(.97); box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 0 var(--ink); }
.btn--main:active { box-shadow: inset 0 0 0 2.5px var(--ink), 0 0 0 0 var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background-color: #fbf8ff; }
  .btn--main:hover { background: linear-gradient(#ffb3cd, #ff8ab1); }
}
.btn .ic { width: 18px; height: 18px; }
.magnet { will-change: transform; }

/* ---------- top bar ---------- */
.bar {
  position: fixed; z-index: 40; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 28px;
  height: 84px; padding: 0 var(--gutter);
  transition: height 300ms var(--ease-out), padding 300ms var(--ease-out);
}
.bar::before {
  content: ""; position: absolute; z-index: -1; inset: 10px clamp(8px, 2vw, 32px);
  border-radius: 18px; background: rgb(255 255 255 / .78); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 0 0 1px var(--edge), 0 18px 40px -26px rgb(58 43 69 / .6);
  opacity: 0; transform: translateY(-8px) scale(.98); transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.bar.is-solid { height: 76px; }
.bar.is-solid::before { opacity: 1; transform: none; }
.bar__logo { display: block; padding: 4px; margin-left: -4px; }
.bar__nav { display: flex; gap: 6px; margin-left: auto; }
.bar__nav a { position: relative; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: color 160ms ease, background-color 160ms ease; }
.bar__nav a.is-on { color: var(--ink); }
.bar__nav a.is-on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--pink-deep); }
@media (hover: hover) and (pointer: fine) { .bar__nav a:hover { color: var(--ink); background: rgb(255 255 255 / .6); } }
.bar__end { display: flex; align-items: center; gap: 14px; }
.lang { position: relative; display: inline-flex; padding: 3px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--edge); }
.lang__b { position: relative; z-index: 1; width: 42px; height: 30px; border: 0; border-radius: 999px; background: none; cursor: pointer; font: 700 12px/1 var(--en); letter-spacing: .04em; color: var(--ink-2); transition: color 200ms ease; }
.lang__b[aria-pressed="true"] { color: #fff; }
.booting .lang__dot, .booting .lang__b { transition: none; }
.lang__dot { position: absolute; left: 3px; top: 3px; width: 42px; height: 30px; border-radius: 999px; background: var(--ink); transition: transform 320ms var(--ease-out); }
:root[data-lang="en"] .lang__dot { transform: translateX(42px); }
.bar__progress { position: absolute; left: clamp(26px, 3vw, 48px); right: clamp(26px, 3vw, 48px); bottom: 10px; height: 3px; overflow: hidden; border-radius: 3px; opacity: 0; transition: opacity 300ms ease; }
.bar.is-solid .bar__progress { opacity: 1; }
.bar__progress i { display: block; height: 100%; background: var(--pink); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- the opening ---------- */
.curtain { position: fixed; inset: 0; z-index: 30; pointer-events: none; background: linear-gradient(180deg, var(--g1), var(--g2)); opacity: 0; }
.is-opening .curtain { opacity: 1; }

/* ---------- hero and how it works: one live panel, sticky beside both ---------- */
.duo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 120px); padding: 0 var(--gutter); }
.sky { position: absolute; left: 0; right: 0; top: 0; height: 100svh; overflow: hidden; pointer-events: none; }
.cloud { position: absolute; width: 128px; height: auto; }
.cloud.c1 { left: 6%; top: 17%; }
.cloud.c2 { left: 44%; top: 11%; width: 96px; opacity: .85; }
.cloud.c3 { right: 3%; top: 26%; width: 128px; }
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 56px; }
.hero__copy { position: relative; max-width: 700px; }
.hero__copy .lede { margin-top: 26px; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.promises { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 40px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.promises li { display: inline-flex; align-items: center; gap: 9px; }
.promises li::before, .lamp { content: ""; width: 11px; height: 11px; border-radius: 3px; background: var(--mint); box-shadow: inset 0 0 0 2px var(--ink); flex: none; }
.lamp { display: inline-block; background: var(--butter); }
.duo__side { position: relative; padding-top: max(104px, calc(50svh - 410px)); }
.hero__panel { position: sticky; top: max(88px, calc(50svh - 410px)); margin: 0; }
.hero__note { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* the Chrome side panel frame around the real panel */
.sidep { width: 372px; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--edge), var(--shadow-float); }
.sidep__bar { display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 12px; background: #f7f5fa; border-bottom: 1px solid var(--line); font: 600 13px/1 "Segoe UI", system-ui, sans-serif; color: #2b2633; }
.sidep__bar img { border-radius: 4px; }
.sidep__bar .ic { width: 16px; height: 16px; color: #6f6878; }
.sidep__bar .ic:first-of-type { margin-left: auto; }
.sidep__frame { width: 372px; height: min(760px, calc(100svh - 170px)); min-height: 520px; border: 0; background: #fff; }

.how { padding: 8vh 0 24vh; }
.how__list { position: relative; display: grid; grid-template-columns: 4px minmax(0, 1fr); gap: 28px; margin-top: 44px; }
.steps { margin: 0; padding: 0; list-style: none; }
.step { min-height: 64svh; display: grid; grid-template-columns: 44px 1fr; align-content: center; gap: 12px; color: var(--ink-3); transition: color 300ms ease; }
.step > b { font: 800 26px/1.2 var(--en); color: var(--ink-2); transition: color 300ms ease; }
.step h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25; font-weight: 700; }
.step p { margin-top: 10px; font-size: 18px; line-height: 1.6; max-width: 28em; opacity: .55; transition: opacity 300ms var(--ease-out), color 300ms ease; }
.step.is-on { color: var(--ink); }
.step.is-on > b { color: var(--pink-deep); }
.step.is-on p { opacity: 1; color: var(--ink-2); }
.rail { position: sticky; top: 30svh; width: 4px; height: 40svh; border-radius: 4px; background: var(--line); overflow: hidden; }
.rail i { display: block; width: 100%; height: 100%; background: var(--pink); transform-origin: 50% 0; transform: scaleY(0); }

/* ---------- five looks: the flipbook ---------- */
.looks { height: calc(100svh + var(--len, 450vh)); }
.looks__pin { position: sticky; top: 0; height: 100svh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 104px var(--gutter) 28px; }
.looks__head { text-align: center; }
.looks__pin { isolation: isolate; }
.looks__tint { position: absolute; inset: 0; z-index: -1; pointer-events: none; transition: background-color 480ms ease; }
.book__mascot { display: none; }
.still .looks__cap { display: none; }
.looks__head .lede { margin: 10px auto 0; }
.book {
  --pw: min(470px, 44vw); --ph: min(680px, calc(100svh - 380px));
  flex: none;
  position: relative; width: calc(var(--pw) * 2); height: var(--ph); perspective: 2400px; perspective-origin: 50% 40%;
}
.book__left, .page { position: absolute; top: 0; width: var(--pw); height: 100%; border-radius: 18px; }
.book__left { left: 0; border-radius: 18px 4px 4px 18px; background: var(--sheet); box-shadow: var(--shadow-float); }
.book__spine { position: absolute; z-index: 30; left: calc(var(--pw) - 14px); top: 0; width: 28px; height: 100%; pointer-events: none; background: linear-gradient(90deg, transparent, rgb(58 43 69 / .10) 45%, rgb(58 43 69 / .16) 50%, rgb(58 43 69 / .10) 55%, transparent); }
.page { left: var(--pw); transform-style: preserve-3d; transform-origin: 0 50%; will-change: transform; }
.face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face--front { border-radius: 4px 18px 18px 4px; background: var(--look-bg, #fff); box-shadow: var(--shadow-float); display: grid; place-items: center; }
.face--back { border-radius: 18px 4px 4px 18px; transform: rotateY(180deg); background: var(--sheet); box-shadow: var(--shadow-float); }
.face .shade { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.face--front .shade { background: linear-gradient(90deg, rgb(58 43 69 / .28), rgb(58 43 69 / 0) 60%); }
.face--back .shade { background: linear-gradient(270deg, rgb(58 43 69 / .22), rgb(58 43 69 / 0) 60%); }
.page__panel { width: 360px; height: calc(var(--ph) - 40px); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--edge), 0 18px 40px -26px rgb(58 43 69 / .55); background: #fff; }
.page__panel iframe { width: 360px; height: 100%; border: 0; pointer-events: none; }
.leaf { position: relative; height: 100%; padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; }
.leaf__n { font: 800 clamp(96px, 11vw, 168px)/.82 var(--en); letter-spacing: -0.045em; color: var(--ink); }
.leaf__n small { font-size: .2em; letter-spacing: 0; color: var(--ink-2); margin-left: .3em; vertical-align: top; }
.leaf h3 { margin-top: 22px; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.15; font-weight: 700; }
.leaf__en { display: block; margin-top: 6px; font: 600 15px/1.3 var(--en); letter-spacing: 0.02em; color: var(--ink-2); }
:root[data-lang="en"] .leaf__en { display: none; }
.leaf p { margin-top: 14px; color: var(--ink-2); max-width: 22em; }
.leaf__art { margin-top: auto; align-self: flex-end; width: 192px; height: auto; transform-origin: 50% 100%; }
.leaf__tint { position: absolute; inset: 0; z-index: -1; opacity: .55; }
.cover { display: grid; place-content: center; text-align: center; gap: 18px; height: 100%; padding: 40px; }
.cover p { color: var(--ink-2); max-width: 18em; margin: 0 auto; }
.tabs { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tabs button { display: inline-flex; flex: none; white-space: nowrap; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .7); box-shadow: inset 0 0 0 1.5px var(--edge); cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink-2); transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 140ms var(--ease-out); }
.tabs button b { font: 800 13px/1 var(--en); color: var(--ink-2); }
.tabs button[aria-current="true"] { background: #fff0f5; color: var(--ink); box-shadow: inset 0 0 0 2px var(--pink); }
.tabs button[aria-current="true"] b { color: var(--pink-deep); }
.tabs button:active { transform: scale(.97); }
.tabs kbd { font: 700 11px/1 var(--en); padding: 3px 5px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--ink-3); color: var(--ink-2); }

/* ---------- trust ---------- */
.trust { padding: clamp(96px, 12vw, 180px) var(--gutter) clamp(64px, 8vw, 120px); }
.trust__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; max-width: 1240px; margin: 0 auto; }
.trust__head .h2 { max-width: 12em; }
.trust__dog { position: relative; width: 192px; height: 160px; flex: none; }
.trust__dog img:first-child { position: absolute; bottom: 0; left: 0; }
.trust__dog .dog { position: absolute; left: 70px; bottom: 58px; }
.bang { position: absolute; left: 92px; bottom: 150px; font: 700 34px/1 "Bricolage Grotesque"; color: var(--butter); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; opacity: 0; }
.nots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); max-width: 1240px; margin: 56px auto 0; }
.not { padding: 30px 0 34px; border-top: 1.5px solid var(--edge); }
.not h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; font-weight: 700; }
.not h3::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 14px; border-radius: 4px; background: var(--mint); box-shadow: inset 0 0 0 2.5px var(--ink); vertical-align: .12em; }
.not p { margin-top: 10px; color: var(--ink-2); max-width: 30em; }

/* ---------- before sale day ---------- */
.ready { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); gap: clamp(40px, 6vw, 110px); align-items: start; max-width: 1240px; margin: 0 auto; padding: clamp(64px, 8vw, 120px) var(--gutter); box-sizing: content-box; }
.ready__copy .lede { margin-top: 12px; }
.checks { margin: 32px 0 0; padding: 0; list-style: none; }
.checks li { border-top: 1.5px solid var(--line); }
.checks li:last-child { border-bottom: 1.5px solid var(--line); }
.checks label { display: flex; align-items: center; gap: 16px; padding: 18px 4px; cursor: pointer; font-size: 19px; font-weight: 600; transition: color 200ms ease; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.box { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 2.5px var(--ink); transition: background-color 160ms var(--ease-out), transform 140ms var(--ease-out); }
.box .ic { width: 18px; height: 18px; color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity 160ms var(--ease-out), transform 220ms var(--ease-out); }
.checks input:checked + .box { background: var(--mint); }
.checks input:checked + .box .ic { opacity: 1; transform: none; }
.checks input:checked ~ span:last-child { color: var(--ink-2); }
.checks input:focus-visible + .box { outline: 2px solid var(--lilac-deep); outline-offset: 3px; }
.checks label:active .box { transform: scale(.97); }
.clock { padding: 30px; border-radius: 20px; background: var(--card); backdrop-filter: blur(6px); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); }
.clock h3 { font-size: 22px; font-weight: 700; }
.clock__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; margin-top: 18px; }
.clock__in label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.clock__in input { min-width: 0; width: 100%; height: 46px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--field); box-shadow: inset 0 0 0 1.5px var(--edge); font: 600 16px/1 var(--en); color: var(--ink); caret-color: var(--pink-deep); }
.clock__in input:focus { outline: 2px solid var(--lilac); outline-offset: 1px; }
.clock__out { display: block; margin: 26px 0 22px; }
.digits { display: block; font: 800 clamp(48px, 5vw, 76px)/1 var(--en); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.digits .d { display: inline-block; }
.clock__unit { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.fine { margin-top: 12px; font-size: 13px; color: var(--ink-2); text-align: center; }

/* ---------- pricing: one water lane, three stops (board 09); three tall rows on phones (board 14) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.price { padding: clamp(64px, 8vw, 120px) var(--gutter); }
.price__card { max-width: 1150px; margin: 0 auto; padding: clamp(28px, 3.4vw, 44px); border-radius: 24px; background: linear-gradient(180deg, #e3f1ff, #f6f1ff 70%); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); }
.price .h2 { font-size: clamp(34px, 3.6vw, 48px); }
.price .lede { margin-top: 10px; }
.price__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 330px); gap: clamp(32px, 4vw, 56px); margin-top: 34px; align-items: end; }

.lane { position: relative; margin-top: 70px; height: 26px; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; }
.lane__water { position: absolute; inset: 0; overflow: hidden; border-radius: 8px; background: #eef4f8; box-shadow: inset 0 0 0 2px var(--ink); }
.lane__water i { position: absolute; inset: 2px; border-radius: 6px 0 0 6px; background: linear-gradient(180deg, #bfeafb 0 25%, #a6e0f7 25% 50%, #90d6f3 50% 75%, #7ccbee 75%); transform: translateX(-100%); }
.lane__water i::after { content: ""; position: absolute; right: -1px; top: 0; bottom: 0; width: 2px; background: var(--ink); }
.lane__dot { position: absolute; z-index: 1; top: 7px; left: calc(12px + var(--f) * (100% - 24px)); width: 12px; height: 12px; margin-left: -6px; border-radius: 3px; background: #fff; box-shadow: inset 0 0 0 2px var(--ink); pointer-events: none; }
.lane__rider { position: absolute; z-index: 2; left: 0; bottom: 6px; width: 0; transform: translateX(0); will-change: transform; }
.lane__boat { position: absolute; left: -48px; bottom: 0; width: 96px; height: 80px; pointer-events: none; animation: bob 1.2s steps(1) infinite; }
@keyframes bob { 0% { transform: none; } 50% { transform: translateY(-2px); } }
.lane.is-dragging { cursor: grabbing; }

.stops { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; }
.stop { display: flex; flex-direction: column; gap: 2px; padding: 4px 6px; border-radius: 10px; cursor: pointer; color: var(--ink-2); }
.stop:nth-of-type(2) { align-items: center; text-align: center; }
.stop:nth-of-type(3) { align-items: flex-end; text-align: right; }
.stop__rd, .stop__day { display: none; }
.stop__txt { display: contents; }
.stop__name { font-size: 18px; line-height: 1.3; font-weight: 700; transition: color 200ms ease; }
.stop__price { font: 600 15px/1.4 var(--en); transition: color 200ms ease; }
.stop[aria-checked="true"] .stop__name { color: var(--ink); }
.stop[aria-checked="true"] .stop__price { color: var(--pink-deep); }
@media (hover: hover) and (pointer: fine) { .stop:hover .stop__name { color: var(--ink); } }

.incl { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.incl li { display: inline-flex; align-items: center; gap: 8px; }
.incl li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--mint); box-shadow: inset 0 0 0 2px var(--ink); flex: none; }

.bignum { display: flex; align-items: flex-start; font: 800 clamp(84px, 8vw, 112px)/1 var(--en); letter-spacing: -0.055em; font-variant-numeric: tabular-nums; color: var(--ink); }
.bignum__cur { font-size: .36em; line-height: 1; margin: .14em .06em 0 0; letter-spacing: 0; }
.bignum__digits { display: inline-flex; height: 1em; overflow: hidden; }
.wheel { display: inline-block; height: 1em; overflow: hidden; }
.wheel__strip { display: block; will-change: transform; }
.wheel__strip > span { display: block; height: 1em; line-height: 1; }
.comma { display: inline-block; line-height: 1; margin: 0 .05em 0 .01em; }
.perday { margin-top: 8px; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ink-2); }
.perday b { font-family: var(--en); color: var(--ink); }
.price__dock { margin-top: 22px; }
.buy { width: 100%; height: 56px; font-size: 17px; }
.buy__price { display: none; }
.buy[aria-busy="true"] { cursor: progress; }
.price__fine { margin-top: 10px; text-align: left; color: var(--ink-2); line-height: 1.5; }
.price__fine .narrow { display: none; }
.owned { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #fff6d6; box-shadow: inset 0 0 0 1.5px var(--edge); font-size: 14px; font-weight: 600; line-height: 1.5; }
.owned a { color: var(--ink); font-weight: 700; }
/* the main buttons of this task press down 3 % for 140 ms (board 13) */
.price .btn, .sib .btn { transition: transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out), background-color 160ms ease; }
.price .btn:active, .sib .btn:active { transform: translateY(var(--lift)) scale(.97); }

/* ---------- top bar: sign in, the account, the test-mode strip ---------- */
.navlink { display: inline-block; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 0; border-radius: 10px; background: none; padding: 8px 10px; font-weight: 600; font-size: 15px; color: var(--ink-2); text-decoration: none; cursor: pointer; transition: color 160ms ease, background-color 160ms ease; }
.navlink[hidden] { display: none; }
.navlink--me { padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--edge); color: var(--ink); font: 600 13px/1.4 var(--en); }
@media (hover: hover) and (pointer: fine) { .navlink:hover { color: var(--ink); background: rgb(255 255 255 / .6); } .navlink--me:hover { background: #fbf8ff; } }
.teststrip { position: fixed; z-index: 45; left: 0; right: 0; top: 0; height: 26px; background: var(--butter); color: var(--ink); font-size: 12.5px; font-weight: 700; line-height: 26px; text-align: center; box-shadow: inset 0 -1.5px 0 var(--ink); }
:root[data-test-mode] .bar { top: 26px; }

/* ---------- the sign-in box (board 09, 1-3) and the bottom sheet (board 14, 2) ---------- */
@property --sib-pink { syntax: "<number>"; inherits: true; initial-value: 0; }
.sib-open, .sib-open body { overflow: hidden; }
.sib-scrim { position: fixed; inset: 0; z-index: 60; background: rgb(58 43 69 / .18); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sib { position: fixed; z-index: 61; left: calc(50% - 220px); top: 18vh; width: min(440px, calc(100vw - 32px)); --sib-pink: 0; }
.sib[hidden], .sib-scrim[hidden] { display: none; }
.sib__shadow { position: absolute; inset: 0; border-radius: 22px; box-shadow: var(--shadow-float), 0 0 0 1px var(--line); pointer-events: none; }
.sib__box { position: relative; overflow: hidden; padding: 26px; border-radius: 22px; background: #fffdfe; clip-path: inset(0 round 22px); }
/* while it grows out of the pink button, the box is pink first, then paper */
.sib__box::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(var(--pink-top), var(--pink)); opacity: var(--sib-pink); }
.sib__grab { display: none; }
.sib__x { position: absolute; z-index: 2; right: 14px; top: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); cursor: pointer; transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out); }
.sib__x:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .sib__x:hover { background: var(--well); color: var(--ink); } }
.sib__x .ic { width: 18px; height: 18px; }
.sib__title { margin: 0; padding-right: 40px; font-size: 22px; line-height: 1.3; font-weight: 700; }
.sib__sub { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.sib__sub b { color: var(--ink); font-family: var(--en); font-weight: 700; }
/* first-time buyers: signing in here is also how an account is made */
.sib__first { margin-top: 2px; font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.sib__pass { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--well); font-size: 15px; font-weight: 700; line-height: 1.3; }
.sib__pass-price { margin-left: auto; font: 700 15px/1 var(--en); color: var(--ink-2); }
.lamp--wait { width: 10px; height: 10px; background: var(--butter); }
.sib__form { margin-top: 4px; }
.sib__lab { display: block; margin: 18px 0 8px; font-size: 13px; font-weight: 600; line-height: 1; color: var(--ink-2); }
.sib__field { width: 100%; height: 48px; padding: 0 14px; border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--edge); font: 500 16px/1 var(--en); color: var(--ink); caret-color: var(--pink-deep); transition: box-shadow 160ms ease; }
.sib__field:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgb(167 134 240 / .35); }
.sib__main { margin-top: 14px; }
.sib__msg { min-height: 0; font-size: 13.5px; font-weight: 600; line-height: 1.5; color: var(--pink-deep); }
.sib__msg--on { margin-top: 10px; }
.sib__msg--info { color: var(--ink-2); }
.sib__or { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 12.5px; line-height: 1; color: var(--ink-3); }
.sib__or::before, .sib__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sib__or[hidden], .sib__google[hidden] { display: none; }
.sib__google { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; margin-top: 10px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--edge); font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; transition: background-color 160ms ease, transform 140ms var(--ease-out); }
.sib__google:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .sib__google:hover { background: #fbf8ff; } }
.sib__g { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(from -45deg, #ea4335 0 25%, #4285f4 0 50%, #34a853 0 75%, #fbbc05 0); box-shadow: inset 0 0 0 3px #fff; }
.sib__hint { display: none; margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); text-align: center; }
.sib__small { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.sib__link { border: 0; padding: 0; background: none; font: inherit; font-weight: 600; color: var(--lilac-deep); cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .sib__link:hover { text-decoration: underline; text-underline-offset: 3px; } }
.sib__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sib__acts .sib__main { margin-top: 0; }
.sib__busy { display: flex; align-items: center; gap: 10px; }
.spin { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 3px solid var(--ground-2); border-top-color: var(--lilac-deep); animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.num { font-family: var(--en); font-variant-numeric: tabular-nums; }

/* the code: one input, drawn as six boxes */
.otp { position: relative; margin-top: 18px; }
.otp__in { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; color: transparent; caret-color: transparent; font-size: 16px; letter-spacing: 1em; outline: none; }
.otp__in::selection { background: transparent; }
.otp__cells { display: flex; gap: 8px; }
.otp__cells b { flex: 1; display: grid; place-items: center; height: 58px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--edge); font: 800 28px/1 var(--en); color: var(--ink); transition: box-shadow 160ms ease, background-color 160ms ease, color 160ms ease; }
.otp__cells b.is-cur { box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgb(167 134 240 / .35); }
.otp__cells b.is-cur:empty::after { content: ""; width: 2px; height: 26px; background: var(--lilac-deep); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.otp__cells.is-err b { background: #ffeef4; color: var(--pink-deep); box-shadow: inset 0 0 0 1.5px var(--pink-deep); }

/* phones: the box is a bottom sheet with a grab handle */
.sib[data-shape="sheet"] { left: 0; right: 0; top: auto; bottom: 0; width: auto; }
.sib[data-shape="sheet"] .sib__shadow { border-radius: 26px 26px 0 0; box-shadow: 0 -30px 60px -30px rgb(58 43 69 / .6); }
.sib[data-shape="sheet"] .sib__box { padding: 12px 20px calc(30px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; clip-path: none; max-height: calc(100svh - 24px); overflow-y: auto; }
.sib[data-shape="sheet"] .sib__box { padding-top: 0; }
.sib[data-shape="sheet"] .sib__grab { display: block; height: 32px; margin: 0 -20px 4px; }
.sib[data-shape="sheet"] .sib__grab::before { content: ""; display: block; width: 40px; height: 5px; margin: 12px auto 0; border-radius: 5px; background: var(--edge); }
/* the flick is ours, not the browser's pan: on the handle and the words at the top */
.sib[data-shape="sheet"] .sib__grab, .sib[data-shape="sheet"] .sib__title, .sib[data-shape="sheet"] .sib__sub, .sib[data-shape="sheet"] .sib__pass { touch-action: none; }
.sib[data-shape="sheet"] .sib__x { top: 26px; }
.sib[data-shape="sheet"] .sib__google { height: 50px; }
.sib[data-shape="sheet"] .sib__hint { display: block; }
.motion-less .lane__boat, .motion-less .spin, .motion-less .otp__cells b.is-cur:empty::after { animation: none; }
/* less motion: a press still shows (the shadow goes in), but nothing moves or shrinks */
.motion-less .btn:active, .motion-less .price .btn:active, .motion-less .sib .btn:active, .motion-less .sib__google:active, .motion-less .sib__x:active, .motion-less .tabs button:active, .motion-less .checks label:active .box { transform: none; }
@media (prefers-reduced-motion: reduce) { .btn:active, .price .btn:active, .sib .btn:active, .sib__google:active, .sib__x:active, .tabs button:active, .checks label:active .box { transform: none; } }
/* ---------- questions ---------- */
.faq { max-width: 980px; margin: 0 auto; padding: clamp(64px, 8vw, 120px) var(--gutter) clamp(96px, 10vw, 160px); box-sizing: content-box; }
.qs { margin-top: 34px; }
.qs details { border-top: 1.5px solid var(--edge); }
.qs details:last-child { border-bottom: 1.5px solid var(--edge); }
.qs summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; cursor: pointer; list-style: none; font-size: clamp(19px, 1.7vw, 24px); font-weight: 700; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary .ic { width: 22px; height: 22px; transition: transform 260ms var(--ease-out); }
.qs details[open] summary .ic { transform: rotate(45deg); }
.qs .a { overflow: hidden; }
.qs .a p { padding: 0 4px 26px; max-width: 46em; color: var(--ink-2); }
.qs .a a { color: var(--lilac-deep); font-weight: 650; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }

/* ---------- footer pond ---------- */
.foot { position: relative; }
.pond { position: relative; height: 240px; overflow: hidden; }
.pond__water { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 150px; }
.pond__boat { position: absolute; left: 0; bottom: 70px; }
.pond__pad { position: absolute; bottom: 18px; }
.pond__pad.p1 { left: 12%; } .pond__pad.p2 { left: 47%; bottom: 40px; } .pond__pad.p3 { right: 10%; }
.foot__row { display: flex; align-items: center; gap: 28px; padding: 26px var(--gutter) 34px; background: #7ccbee; color: var(--ink); font-size: 15px; font-weight: 600; }
.foot__row p { flex: 1; }
.totop { font-weight: 700; }

/* ---------- narrow screens ---------- */
@media (max-width: 1100px) {
  .bar__nav { display: none; }
  .bar__end { margin-left: auto; }
}
@media (max-width: 900px) {
  .duo { grid-template-columns: minmax(0, 1fr); }
  .duo__copy { display: contents; }
  .hero { order: 1; min-height: 0; padding: 104px 0 40px; }
  .duo__side { order: 2; z-index: 3; display: flex; justify-content: center; padding-top: 0; }
  .how { order: 3; padding-top: 24px; }
  .hero__panel { top: 72px; }
  .sidep__frame { height: 500px; min-height: 0; }
  .hero__note { display: none; }
  .step { min-height: 56svh; align-content: end; padding-bottom: 3svh; }
  .rail { display: none; }
  .how__list { grid-template-columns: minmax(0, 1fr); }
  .looks__pin { padding-top: 84px; gap: 14px; }
  .looks__head .lede { display: none; }
  .book { --ph: calc(100svh - 300px); }
  .looks__cap { display: flex; align-items: center; gap: 12px; text-align: left; font-size: 15px; }
  .looks__cap .book__mascot { display: block; flex: none; height: auto; }
  .ready { grid-template-columns: minmax(0, 1fr); }
  .nots { grid-template-columns: 1fr; }
  .book { --pw: min(372px, calc(100vw - 32px)); width: var(--pw); }
  .book__left, .book__spine, .face--back { display: none; }
  .page { left: 0; }
  .face--front { border-radius: 18px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; justify-content: flex-start; padding: 2px 4px; scrollbar-width: none; }
  .tabs kbd { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  /* pricing: three tall choices and a buy button pinned to the bottom of the screen (board 14, 1) */
  .price { display: flex; flex-direction: column; min-height: 100svh; padding: 92px 16px 0; }
  .price__card, .price__grid, .price__pick, .price__big { display: contents; }
  .price .h2 { order: 1; font-size: 30px; line-height: 1.2; }
  .price .lede { order: 2; margin-top: 6px; font-size: 15px; }
  .lane, .bignum, .perday { display: none; }
  .stops { order: 3; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 28px; }
  .stop, .stop:nth-of-type(2), .stop:nth-of-type(3) { flex-direction: row; align-items: center; text-align: left; gap: 14px; padding: 16px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--edge); transition: box-shadow 200ms var(--ease-out), background-color 200ms ease; }
  .stop[aria-checked="true"] { background: #fffdfe; box-shadow: inset 0 0 0 2.5px var(--ink), 0 4px 0 0 var(--ink); }
  .stop__rd { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); }
  .stop[aria-checked="true"] .stop__rd::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pink-deep); }
  .stop__txt { display: flex; flex-direction: column; gap: 2px; }
  .stop__name, .stop[aria-checked="true"] .stop__name { color: var(--ink); }
  .stop__day { display: block; font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--ink-2); }
  .stop__price, .stop[aria-checked="true"] .stop__price { margin-left: auto; font: 800 26px/1 var(--en); letter-spacing: -0.04em; color: var(--ink); }
  .incl { order: 4; margin-top: 22px; }
  .owned { order: 5; }
  .price__dock { order: 6; position: sticky; z-index: 5; bottom: 0; margin: auto -16px 0; padding: 16px 18px calc(16px + env(safe-area-inset-bottom)); background: rgb(255 253 254 / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--line); }
  .buy { height: 54px; }
  .buy__price { display: inline; }
  .price__fine { margin-top: 8px; text-align: center; font-size: 12.5px; }
  .price__fine .wide { display: none; }
  .price__fine .narrow { display: inline; }
  .navlink:not(.navlink--me) { display: none; }
  .navlink--me { max-width: 96px; }
  :root[data-account="in"] .bar .btn--sm { display: none; }
  .bar { height: 68px; gap: 12px; } .bar.is-solid { height: 64px; }
  .bar .btn--sm { height: 36px; padding: 0 12px; font-size: 14px; }
  .lang__b { width: 36px; } .lang__dot { width: 36px; } :root[data-lang="en"] .lang__dot { transform: translateX(36px); }
  .hero__acts .btn { flex: 1 1 100%; }
  .bar { padding: 0 16px; }
  .bar__end { gap: 8px; }
  .cloud.c2, .cloud.c3 { display: none; }
  .cloud.c1 { left: auto; right: 6%; top: 84px; width: 64px; }
  .hero { padding-top: 132px; }
  .sidep, .sidep__frame { width: min(372px, calc(100vw - 32px)); }
  .trust__head { flex-direction: column; align-items: flex-start; }
  .foot__row { flex-wrap: wrap; }
  .page__panel { width: calc(var(--pw) - 24px); } .page__panel iframe { width: 100%; }
}

/* ---------- reduced motion: still poses, nothing travels ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; }
  .step p { opacity: 1; }
  .lane__boat, .spin, .otp__cells b.is-cur:empty::after { animation: none; }
  /* the boat jumps: not even the 1 ms transition above */
  .lane__rider, .lane__water i { transition: none !important; }
}
.still .lane__boat { animation: none; }
.still .looks { height: auto; }
.still .looks__pin { position: relative; height: auto; }
.still .step p { opacity: 1; }
.still .step { min-height: 0; padding: 22px 0; align-content: start; }
.still .how { padding-bottom: 6vh; }
.still .rail { display: none; }
.still .how__list { grid-template-columns: minmax(0, 1fr); }
.still .book { height: auto; width: min(980px, 100%); perspective: none; display: grid; gap: 28px; }
.still .book__left, .still .book__spine { display: none; }
.still .page { position: relative; left: 0; width: 100%; height: var(--ph); display: grid; grid-template-columns: 1fr 1fr; transform: none !important; }
.still .face { position: relative; transform: none; backface-visibility: visible; }
.still .page .face--back { order: -1; display: block; }
.still .tabs { display: none; }
@media (max-width: 900px) { .still .page { grid-template-columns: 1fr; height: auto; } .still .face--front { height: var(--ph); } }
