/* Fonts are served from this site, never from Google: the privacy policy (section 6) promises
   the website makes no outside requests on load. */
@font-face { font-family: "Fredoka"; src: url("/fonts/fredoka-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* Layout: always two columns, side by side. Left = the full Resurface story in short sections (the dive through
   the app, the engine at the bottom, the rise through what uses it, then Alec's own story). Right = a sticky
   ocean column where the whale carries one task down and back up, in step with the left. Palette provisional (T151). */
:root {
  --deep: #050911; --night: #0b1220; --panel: #121a28; --edge: #233044; --line: #1c2636;
  --ink: #eef2f7; --muted: #92a0b3; --slot: #e0b27a;
  /* palette: everything below changes with the switcher; the navy above stays */
  --accent: #7cc6a6; --accent-rgb: 124, 198, 166; --warm: #e0b27a; --warm-rgb: 224, 178, 122;
  --sea: #12302c; --water-2: #0c1c1d; --water-3: #07111a; --sky-1: #060a11; --sky-2: #16222f;
  --sun: #e0b27a; --sun-hi: #f3d3a6; --lk-1: #16413a; --lk-2: #0f2a2c; --tint: #13221f; --node: #172234;
  /* the whale, its spout, the kelp and the fish (the app's own palettes.json values) */
  --wh-hi: #C4EFDC; --wh-body: #7cc6a6; --wh-deep: #4f9c7d; --wh-dark: #2F6B54;
  --sp1: #7cc6a6; --sp2: #e0b27a; --sp3: #8bb7e0; --sp4: #c99ae0;
  --kelp-base: #173d31; --kelp-mid: #2f6b54; --kelp-tip: #4f9c7d; --kelp-pod: #7cc6a6;
  --display: "Fredoka", "Avenir Next Rounded", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --phone: 270px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--night); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; margin: 0; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
p { margin: 0; }

.slot { color: var(--muted); }
body.mark .slot { outline: 1.5px dashed var(--slot); outline-offset: 5px; border-radius: 3px; }
body.mark .stand { text-decoration: underline dotted var(--slot) 2px; text-underline-offset: 7px; }
.note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 10px; }
body:not(.mark) .note { display: none; }

/* header */
.top { max-width: 1240px; margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.tile { display: inline-grid; place-items: center; width: 40px; height: 40px; background: #0e1116; border: 1px solid var(--edge); border-radius: 22%; flex: none; }
.tile svg { width: 88%; height: 88%; }
.soon { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border: 1.5px solid var(--edge); border-radius: 14px; font-weight: 700; font-size: 16px; }
.soon svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* page grid: always side by side */
.main { max-width: 1240px; margin: 0 auto; padding-inline: 24px; display: grid; gap: 0 56px;
  grid-template-columns: minmax(0, 1fr) clamp(108px, 34%, 420px); }
.left { min-width: 0; }

/* sections on the left */
.sec { display: grid; grid-template-columns: minmax(0, 1fr) var(--phone); gap: 40px; align-items: center; padding-block: 64px; border-top: 1px solid var(--line); }
.sec.hero { border-top: 0; grid-template-columns: minmax(0, 1fr); padding-block: 40px 72px; }
.sec-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; align-items: flex-start; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 750; max-width: 12ch; }
.lede { font-size: 1.25rem; color: var(--muted); max-width: 32ch; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.sec h2 { font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
.sec p { font-size: 1.08rem; max-width: 40ch; }

/* chapter dividers: the dive, the engine, the rise */
.chapter { padding: 56px 0 8px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.chapter .eyebrow { color: var(--warm); }
.chapter h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; }
.chapter + .sec { border-top: 0; }

/* the personal story */
.sec.story { grid-template-columns: minmax(0, 1fr); }
.story-card { background: linear-gradient(160deg, var(--tint), var(--panel)); border: 1px solid var(--edge); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.story-card p { font-size: 1.15rem; max-width: none; }
.sign { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 16px; }

/* sketches */
figure { margin: 0; }
.phone { width: var(--phone); max-width: 100%; aspect-ratio: 9 / 19; border-radius: 32px; background: #2a3546; padding: 7px; margin-inline: auto; }
.phone img.real { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 26px; background: #0e1116; }
/* Lock Screen mockup, sized off the phone's own width so it scales at every breakpoint */
.lock { position: relative; height: 100%; border-radius: 26px; overflow: hidden; container-type: inline-size;
  background: radial-gradient(120% 60% at 50% 62%, var(--lk-1) 0%, var(--lk-2) 40%, #0a1424 75%), #0a1424; color: rgba(238,242,247,.94);
  font-family: -apple-system, "SF Pro Display", "Segoe UI", system-ui, sans-serif; text-align: center; }
.lk-date { position: absolute; top: 9%; left: 0; right: 0; font-size: 5cqw; font-weight: 600; opacity: .85; }
.lk-time { position: absolute; top: 11.5%; left: 0; right: 0; font-size: 24cqw; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.lk-whale { position: absolute; left: 10%; width: 80%; top: 33%; }
.lk-widget { position: absolute; left: 7%; bottom: 15.5%; width: 44%; text-align: left; font-size: 4.1cqw; font-weight: 600; line-height: 1.2; color: rgba(255,255,255,.88); }
.lk-btn { position: absolute; bottom: 4.6%; width: 12.7cqw; height: 12.7cqw; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff; }
.lk-btn svg { width: 50%; height: 50%; }
.lk-btn.l { left: 11%; } .lk-btn.r { right: 11%; }
.lk-home { position: absolute; bottom: 1.4%; left: 33%; right: 33%; height: 1.3cqw; border-radius: 1cqw; background: rgba(255,255,255,.85); }
.screen { height: 100%; border-radius: 26px; background: #0e1116; display: flex; flex-direction: column; gap: 9px; padding: 28px 13px 13px; overflow: hidden; }
.bar { height: 8px; border-radius: 4px; background: #26303c; }
.bar.ink { background: #8b97a7; opacity: .6; }
.field { border: 1.5px solid var(--accent); border-radius: 12px; padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; }
.icons { display: flex; gap: 8px; justify-content: center; margin-top: 6px; }
.icons i { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid #3d4a5a; display: block; }
.keys { margin-top: auto; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.keys i { display: block; height: 14px; border-radius: 3px; background: #1d2530; }
.mcard { margin-block: auto; background: #1d2530; border-radius: 18px; padding: 18px 12px; display: flex; flex-direction: column; gap: 8px; }
.mcard.lift { box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .5); }
.btns { display: flex; gap: 8px; margin-top: 10px; }
.btns i { display: block; flex: 1; height: 24px; border-radius: 12px; }
.btns .f { background: var(--accent); }
.btns .o { border: 1.5px solid #3d4a5a; }
.btns .o.hl { border-color: var(--warm); box-shadow: 0 0 0 3px rgba(var(--warm-rgb), .2); }
.cal { display: flex; flex-direction: column; gap: 7px; margin-top: 6px; }
.cal .ev { height: 30px; border-radius: 8px; background: #1d2530; }
.cal .free { height: 46px; border-radius: 8px; border: 1.5px dashed var(--accent); }
.clock { width: 62%; height: 32px; border-radius: 9px; background: #26303c; margin: 6px auto 14px; }
.widget { background: #1d2530; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.home { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.home i { display: block; aspect-ratio: 1; border-radius: 10px; background: #1d2530; }
.home .wbig { grid-column: span 4; aspect-ratio: auto; height: 74px; border-radius: 16px; background: #1d2530; box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .45); display: flex; flex-direction: column; gap: 6px; padding: 12px; justify-content: center; }
.notif { background: #26303c; border-radius: 14px; padding: 10px; display: flex; gap: 8px; align-items: center; }
.notif b { width: 22px; height: 22px; border-radius: 6px; background: #0e1116; border: 1px solid #3d4a5a; flex: none; }
.notif span { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.diagram { width: var(--phone); max-width: 100%; margin-inline: auto; display: flex; flex-direction: column; gap: 18px; padding: 18px; border-radius: 20px; border: 1px solid var(--edge); background: var(--panel); }
.tl { position: relative; height: 14px; }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: #26303c; }
.tl i { position: absolute; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* blurbs: a short callout sitting on the screen, next to the thing it describes */
figure.shot { position: relative; width: var(--phone); max-width: 100%; justify-self: center; }
.blurb { position: absolute; z-index: 2; left: -22px; max-width: 78%; padding: 10px 14px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--accent); font-size: 15px; line-height: 1.35; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
@media (max-width: 599px) {
  .blurb { left: -10px; font-size: 13px; padding: 8px 10px; max-width: 88%; }
}

/* the engine, as a flow */
.flowfig { width: min(100%, 330px); justify-self: center; display: flex; flex-direction: column; gap: 14px; }
.flow { display: flex; flex-direction: column; align-items: stretch; padding: 16px; border-radius: 22px; background: var(--panel); border: 1px solid var(--edge); }
body.mark .slot-block { outline: 1.5px dashed var(--slot); outline-offset: 5px; }
.fnode { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 14px; background: var(--node); border: 1px solid var(--edge); font-size: 13.5px; line-height: 1.35; }
.fnode > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fnode b { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.fnode span { color: var(--muted); }
.fk { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 12px; color: var(--accent); border: 1.5px solid var(--accent); }
.fnode.back { border-color: rgba(var(--accent-rgb), .55); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .08); }
.farrow { height: 18px; position: relative; }
.farrow::before { content: ""; position: absolute; left: 22px; top: 2px; bottom: 5px; border-left: 1.5px solid var(--muted); opacity: .6; }
.farrow::after { content: ""; position: absolute; left: 18.5px; bottom: 2px; border: 4px solid transparent; border-top: 5px solid var(--muted); border-bottom: 0; opacity: .6; }
.stages { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.stages li { display: flex; gap: 8px; align-items: baseline; }
.stages i { flex: none; font-style: normal; font-weight: 700; font-size: 11.5px; min-width: 24px; padding: 1px 5px; border-radius: 6px; text-align: center; background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.stages span { color: var(--ink); opacity: .9; }
.fsplit { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fsplit .fnode { padding: 10px; font-size: 12.5px; }
.fsplit .fnode b { font-size: 14px; }
.fnode svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fnode.grow b { color: var(--accent); }
.fnode.shrink b { color: var(--warm); }
.floop { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; color: var(--muted); justify-content: center; }
.floop svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fcap { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 999px) { .flowfig { justify-self: start; } }

/* the ocean column */
.panel { position: sticky; top: 24px; align-self: start; height: calc(100vh - 48px); height: calc(100svh - 48px);
  border-radius: 28px; overflow: hidden; border: 1px solid var(--edge); background: var(--deep); }
.scene { position: absolute; inset: 0; overflow: hidden; }
.scene > * { position: absolute; }
.sky { left: 0; right: 0; top: 0; background: linear-gradient(var(--sky-1), var(--sky-2)); }
.stars { left: 0; right: 0; top: 0; background-image:
  radial-gradient(1.2px 1.2px at 14% 20%, rgba(238,242,247,.55), transparent 60%),
  radial-gradient(1px 1px at 40% 45%, rgba(238,242,247,.4), transparent 60%),
  radial-gradient(1px 1px at 62% 18%, rgba(238,242,247,.5), transparent 60%),
  radial-gradient(1.1px 1.1px at 88% 52%, rgba(238,242,247,.35), transparent 60%); }
.sun { width: 26px; height: 26px; border-radius: 50%; right: 16%; background: radial-gradient(circle at 40% 38%, var(--sun-hi), var(--sun) 60%); box-shadow: 0 0 26px 6px rgba(var(--warm-rgb), .25); }
.water { left: 0; right: 0; bottom: 0; background: linear-gradient(var(--sea), var(--water-2) 28%, var(--water-3) 60%, var(--deep)); }
.wave { left: 0; width: 200%; height: 30px; }
.rays { left: -10%; right: -10%; bottom: 0; pointer-events: none; background:
  linear-gradient(100deg, transparent 20%, rgba(var(--accent-rgb), .07) 23%, transparent 27%,
  transparent 50%, rgba(var(--accent-rgb), .05) 53%, transparent 57%, transparent 70%, rgba(var(--accent-rgb), .06) 73%, transparent 77%);
  -webkit-mask-image: linear-gradient(#000, transparent 55%); mask-image: linear-gradient(#000, transparent 55%); }
.gauge { left: 14px; width: 12px; }
.gauge::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 1px; background: rgba(146,160,179,.25); }
.gauge i { position: absolute; left: 1px; width: 9px; height: 1px; background: rgba(146,160,179,.5); }
.gauge b { position: absolute; left: 1px; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--accent); }
.whale { left: 0; top: 0; transform-origin: 50% 50%; will-change: transform; }
.bubble { left: 0; top: 0; border-radius: 50%; border: 1.5px solid rgba(238,242,247,.45); opacity: 0; }
.card { left: 0; top: 0; width: min(150px, 50%); padding: 10px 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--edge);
  font-family: var(--display); font-weight: 650; font-size: 14px; line-height: 1.25; text-align: center; will-change: transform;
  --glow: 0; box-shadow: 0 10px 30px rgba(0,0,0,.4), 0 0 0 calc(var(--glow) * 3px) rgba(var(--accent-rgb), .65), 0 0 calc(var(--glow) * 40px) calc(var(--glow) * 6px) rgba(var(--accent-rgb), .42); }
.panel.narrow .card { width: 72%; padding: 5px 4px; border-radius: 9px; font-size: 10px; line-height: 1.2; }
.panel.narrow .gauge { left: 6px; }
.sky,.stars{z-index:0} .sun{z-index:1} .water,.wave{z-index:2} .rays{z-index:3} .gauge{z-index:4} .bubble{z-index:5} .whale{z-index:6} .card{z-index:7}

/* closing */
.after { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
.privacy { display: flex; gap: 22px; align-items: flex-start; margin-block: 72px 72px; padding: 32px; border-radius: 28px; background: var(--panel); border: 1px solid var(--edge); }
.privacy svg { width: 40px; height: 40px; flex: none; color: var(--accent); }
.privacy > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.privacy h3 { font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.15; }
footer { border-top: 1px solid var(--line); padding-block: 32px 96px; }
.foot { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; font-size: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a { padding-block: 10px; }
.mail { color: var(--muted); }

/* medium widths: text above its screen, ocean still beside */
@media (max-width: 999px) {
  :root { --phone: 230px; }
  .main { gap: 0 28px; }
  .sec { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sec figure, .sec .diagram { justify-self: start; margin: 0; }
  .phone { margin: 0; }
}
/* phones: a slim depth column on the right */
@media (max-width: 599px) {
  body { font-size: 17px; }
  .top { padding: 16px; }
  .main, .after { padding-inline: 16px; }
  .main { gap: 0 14px; grid-template-columns: minmax(0, 1fr) 104px; }
  .panel { top: 12px; height: calc(100vh - 24px); height: calc(100svh - 24px); border-radius: 18px; }
  :root { --phone: 170px; }
  .sec { padding-block: 40px; }
  .lede { font-size: 1.1rem; }
  .story-card { padding: 22px; }
  .privacy { flex-direction: column; padding: 22px; margin-block: 48px; }
}

/* Reduce Motion: the column stops following; one still picture of the ending */
.rm .panel { position: relative; top: auto; }



/* detail pass: sky, surface and deep */
.stars { display: none; }
.skyfx, .seafx { left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.skyfx { z-index: 0; }
.seafx { z-index: 3; }
.cloud { z-index: 1; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(238,242,247,.10), transparent); filter: blur(4px); }
.cloud.c1 { width: 46%; } .cloud.c2 { width: 34%; height: 18px; } .cloud.c3 { width: 56%; height: 22px; }
.horizon { z-index: 1; left: 0; right: 0; height: 70px; background: linear-gradient(transparent, color-mix(in srgb, var(--sun) 16%, transparent)); }
.sun { box-shadow: 0 0 26px 6px rgba(var(--warm-rgb), .22), 0 0 90px 30px color-mix(in srgb, var(--sun) 10%, transparent); }
.sun { width: 36px; height: 36px; background:
  radial-gradient(circle at 34% 30%, transparent 52%, rgba(0,0,0,.22) 88%),
  radial-gradient(circle at 62% 62%, rgba(60,40,20,.13) 0 9%, transparent 10.2%),
  radial-gradient(circle at 65.2% 65.2%, rgba(255,250,235,.26) 0 9%, transparent 10.2%),
  radial-gradient(circle at 70% 30%, rgba(60,40,20,.13) 0 6%, transparent 7.2%),
  radial-gradient(circle at 72.1% 32.1%, rgba(255,250,235,.26) 0 6%, transparent 7.2%),
  radial-gradient(circle at 44% 72%, rgba(60,40,20,.13) 0 5%, transparent 6.2%),
  radial-gradient(circle at 45.8% 73.8%, rgba(255,250,235,.26) 0 5%, transparent 6.2%),
  radial-gradient(circle at 24% 58%, rgba(60,40,20,.13) 0 4%, transparent 5.2%),
  radial-gradient(circle at 25.4% 59.4%, rgba(255,250,235,.26) 0 4%, transparent 5.2%),
  radial-gradient(circle at 54% 44%, rgba(60,40,20,.13) 0 3.5%, transparent 4.7%),
  radial-gradient(circle at 55.2% 45.2%, rgba(255,250,235,.26) 0 3.5%, transparent 4.7%),
  radial-gradient(circle at 80% 52%, rgba(60,40,20,.13) 0 4.5%, transparent 5.7%),
  radial-gradient(circle at 81.6% 53.6%, rgba(255,250,235,.26) 0 4.5%, transparent 5.7%),
  radial-gradient(circle at 40% 24%, rgba(60,40,20,.13) 0 3.5%, transparent 4.7%),
  radial-gradient(circle at 41.2% 25.2%, rgba(255,250,235,.26) 0 3.5%, transparent 4.7%),
  radial-gradient(circle at 20% 40%, rgba(60,40,20,.13) 0 3%, transparent 4.2%),
  radial-gradient(circle at 21.1% 41.0%, rgba(255,250,235,.26) 0 3%, transparent 4.2%),
  radial-gradient(circle at 66% 80%, rgba(60,40,20,.13) 0 3%, transparent 4.2%),
  radial-gradient(circle at 67.0% 81.0%, rgba(255,250,235,.26) 0 3%, transparent 4.2%),
  radial-gradient(circle at 32% 48%, rgba(60,40,20,.13) 0 2.5%, transparent 3.7%),
  radial-gradient(circle at 32.9% 48.9%, rgba(255,250,235,.26) 0 2.5%, transparent 3.7%),
  radial-gradient(circle at 50% 86%, rgba(60,40,20,.13) 0 2.5%, transparent 3.7%),
  radial-gradient(circle at 50.9% 86.9%, rgba(255,250,235,.26) 0 2.5%, transparent 3.7%),
  radial-gradient(circle at 84% 34%, rgba(60,40,20,.13) 0 2.5%, transparent 3.7%),
  radial-gradient(circle at 84.9% 34.9%, rgba(255,250,235,.26) 0 2.5%, transparent 3.7%),
  radial-gradient(ellipse 34% 24% at 40% 44%, rgba(70,50,30,.16), transparent 72%),
  radial-gradient(ellipse 24% 20% at 64% 62%, rgba(70,50,30,.13), transparent 72%),
  radial-gradient(ellipse 18% 14% at 30% 66%, rgba(70,50,30,.10), transparent 72%),
  radial-gradient(circle at 40% 38%, var(--sun-hi), var(--sun) 64%); }
.wave.w2, .wave.w3 { z-index: 2; }
.fish { z-index: 3; width: 44%; opacity: .72; }
.fish .fish-a { --fish-body: url(#fishA); --fish-fin: var(--sp3); } .fish .fish-b { --fish-body: url(#fishB); --fish-fin: var(--sp4); }
.seabed { z-index: 3; left: 0; right: 0; bottom: 0; width: 100%; height: 17%; }
.seabed .kelp { opacity: .62; transform-box: fill-box; transform-origin: 50% 100%; }
.seabed .k-stalk { fill: none; stroke: color-mix(in srgb, var(--sea) 62%, var(--accent) 38%); stroke-linecap: round; }
.seabed .k-hi { fill: none; stroke: color-mix(in srgb, var(--accent) 40%, transparent); stroke-linecap: round; stroke-width: 1; }
.seabed .k-leaf { fill: color-mix(in srgb, var(--sea) 45%, var(--accent) 55%); opacity: .55; }
.seabed .k-float { fill: color-mix(in srgb, var(--accent) 60%, var(--sea) 40%); opacity: .7; }
.seabed .rock { fill: #04080e; opacity: .9; }
.seabed .rock2 { fill: #03060b; }
.panel.narrow .fish { width: 60%; }


/* depth pass: layers at different distances, and a camera that sinks with the whale */
.far { z-index: 2; left: -10%; width: 125%; bottom: -8%; height: 30%; }
.far path { fill: color-mix(in srgb, var(--sea) 55%, #9fc7d0 12%); opacity: .35; filter: blur(1.5px); }
.haze { z-index: 2; left: 0; right: 0; height: 90px; background: linear-gradient(transparent, color-mix(in srgb, var(--accent) 7%, transparent), transparent); }
.water { bottom: -15%; }
.seabed { bottom: -10%; height: 27%; left: -12%; right: auto; width: 130%; }
.water-front { z-index: 6; left: 0; right: 0; height: 30%; pointer-events: none;
  background: linear-gradient(color-mix(in srgb, var(--accent) 14%, transparent), color-mix(in srgb, var(--sea) 30%, transparent) 40%, transparent); }
.wave.front { z-index: 6; }
.fg { z-index: 8; left: -12%; width: 135%; bottom: -16%; height: 34%; pointer-events: none; filter: blur(1.6px); }
.fg .fgk { stroke: #050c12; opacity: .95; transform-box: fill-box; transform-origin: 50% 100%; }
.fg .fgr { fill: #03070c; }
.panel.narrow .fg { height: 24%; }


/* volume pass: lit, rounded foreground; a thick near-surface; splashes */
.fg { filter: blur(1.1px); }
.fg .fgk { transform-box: fill-box; transform-origin: 50% 100%; }
.fg .fgk-body { stroke: #061018; stroke-width: 11; }
.fg .fgk-hi { stroke: color-mix(in srgb, var(--accent) 22%, transparent); stroke-width: 2.4; }
.fg .fgk-leaf { fill: #071219; stroke: color-mix(in srgb, var(--accent) 16%, transparent); stroke-width: 1; }
.fg .fgr-top { stop-color: color-mix(in srgb, var(--sea) 80%, var(--accent) 20%); }
.fg .fgr-top2 { stop-color: color-mix(in srgb, var(--sea) 85%, var(--accent) 15%); }
.fg .fgr-rim { fill: none; stroke: color-mix(in srgb, var(--accent) 30%, transparent); stroke-width: 1.4; stroke-linecap: round; }
.wave.front { height: 46px; }
.wave.front .crest { stroke: rgba(238,242,247,0.22); stroke-width: 1.5; }
.wave.front .lip-top { stop-color: color-mix(in srgb, var(--accent) 14%, transparent); }
.splashfx { z-index: 7; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }


/* section stops beside the whale: click one to go there */
.stops { position: absolute; z-index: 9; left: 8px; width: 28px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.stops::before { content: ""; position: absolute; left: 50%; top: 14px; bottom: 14px; width: 1px; background: rgba(146,160,179,.28); }
.stops button { position: relative; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.stops button i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(238,242,247,.6); background: rgba(5,9,17,.7); transition: transform .2s, border-color .2s, background .2s; }
.stops button:hover i { transform: scale(1.35); border-color: var(--accent); }
.stops button[aria-current="step"] i { background: var(--accent); border-color: var(--accent); transform: scale(1.2); }
.stops .here { position: absolute; left: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(var(--accent-rgb), .8); pointer-events: none; }
.panel.narrow .stops { left: 2px; }
@media (prefers-reduced-motion: reduce) { .stops button i { transition: none; } }


/* kelp, drawn as flowing ribbons */
.kelpfx { z-index: 3; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.fgfx { z-index: 8; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; filter: blur(1.2px); }

/* the app's colour options (SettingsSheet.swift): Default, Red-green friendly, Tritanopia-friendly, High-contrast mono */
:root[data-palette="cv-rg"] { --accent: #5aa9ff; --accent-rgb: 90, 169, 255; --warm: #f2b23c; --warm-rgb: 242, 178, 60;
  --sea: #0f2a48; --water-2: #0b1d33; --water-3: #071324; --sun: #f2c46a; --sun-hi: #fff0c8;
  --lk-1: #173a5e; --lk-2: #102a46; --tint: #10213a; --node: #15223c;
  --wh-hi: #cfe6ff; --wh-body: #5aa9ff; --wh-deep: #3b82c4; --wh-dark: #23548a;
  --sp1: #5aa9ff; --sp2: #f2b23c; --sp3: #9fd0ff; --sp4: #ffd98a;
  --kelp-base: #12304f; --kelp-mid: #23548a; --kelp-tip: #3b82c4; --kelp-pod: #9fd0ff; }
:root[data-palette="cv-trit"] { --accent: #ff6fae; --accent-rgb: 255, 111, 174; --warm: #28c2b8; --warm-rgb: 40, 194, 184;
  --sea: #0f3036; --water-2: #0b2025; --water-3: #07141a; --sun: #f3dfcc; --sun-hi: #fff8ef;
  --lk-1: #3b1d36; --lk-2: #1c1730; --tint: #2a1726; --node: #1a1d33;
  --wh-hi: #ffd0e4; --wh-body: #ff6fae; --wh-deep: #c74e86; --wh-dark: #8a2f5a;
  --sp1: #ff6fae; --sp2: #28c2b8; --sp3: #ffb3d4; --sp4: #7fe0d9;
  --kelp-base: #0f3a3a; --kelp-mid: #1a6b66; --kelp-tip: #239d95; --kelp-pod: #7fe0d9; }
:root[data-palette="cv-mono"] { --accent: #e9eef4; --accent-rgb: 233, 238, 244; --warm: #e9eef4; --warm-rgb: 233, 238, 244;
  --sea: #1c242c; --water-2: #141a20; --water-3: #0b0f14; --sun: #e9eef4; --sun-hi: #ffffff;
  --lk-1: #2a3138; --lk-2: #1a1f25; --tint: #1e2227; --node: #1b2028;
  --wh-hi: #ffffff; --wh-body: #cfd6df; --wh-deep: #aeb8c4; --wh-dark: #6b7684;
  --sp1: #e9eef4; --sp2: #aeb8c4; --sp3: #ffffff; --sp4: #8b97a7;
  --kelp-base: #1e252d; --kelp-mid: #3b4552; --kelp-tip: #6b7684; --kelp-pod: #aeb8c4; }


/* contact: button in the header and a form that opens over the page */
.top-right { display: flex; align-items: center; gap: 14px; }
.contact-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--edge); background: transparent; color: var(--ink); font: 700 15px var(--body); cursor: pointer; }
.contact-btn svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
.contact-btn:hover { border-color: var(--accent); }
@media (max-width: 599px) {
  .top-right { gap: 6px; }
  .contact-btn { width: 40px; padding: 0; justify-content: center; }
  .contact-btn span { display: none; }
  .top .brand { font-size: 0; gap: 0; }
}
html:has(dialog[open]) { overflow: hidden; }
dialog.contact { width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100svh - 32px); padding: 0; border: 1px solid var(--edge); border-radius: 24px; background: var(--panel); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.55); overflow: auto; }
dialog.contact::backdrop { background: rgba(5,9,17,.74); backdrop-filter: blur(3px); }
.c-wrap { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.c-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.c-head h2 { font-size: 1.6rem; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
.c-x { width: 44px; height: 44px; margin: -6px -8px -6px 0; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.c-x svg { width: 22px; height: 22px; }
.c-x:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.c-state[hidden] { display: none; }
.c-blurb { color: var(--muted); margin-bottom: 16px; font-size: 16px; line-height: 1.5; }
#contactForm { display: flex; flex-direction: column; gap: 16px; }
.c-field { display: flex; flex-direction: column; gap: 6px; }
.c-field label { font-weight: 700; font-size: 15px; }
.c-field input, .c-field textarea { font: 16px/1.4 var(--body); color: var(--ink); background: var(--night); border: 1.5px solid var(--edge); border-radius: 12px; padding: 12px 14px; width: 100%; box-sizing: border-box; }
.c-field textarea { min-height: 128px; resize: vertical; }
.c-field input:focus, .c-field textarea:focus { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 1px; border-color: var(--accent); }
.c-field [aria-invalid="true"] { border-color: var(--warm); }
.c-help { font-size: 14px; color: var(--muted); line-height: 1.4; margin: 0; }
.c-err { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--warm); margin: 0; }
.c-err[hidden] { display: none; }
.c-err svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.c-note { font-size: 14px; color: var(--muted); line-height: 1.45; margin: 0; }
.c-send { min-height: 48px; border: 0; border-radius: 14px; background: var(--accent); color: #0b1018; font: 700 17px var(--display); cursor: pointer; padding: 0 22px; }
.c-send:hover { filter: brightness(1.06); }
.c-ghost { min-height: 44px; border: 1.5px solid var(--edge); border-radius: 12px; background: transparent; color: var(--ink); font: 700 15px var(--body); cursor: pointer; padding: 0 16px; }
.c-ghost:hover { border-color: var(--accent); }
.c-status { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 8px; }
.c-ok { width: 44px; height: 44px; color: var(--accent); }
.c-warn { width: 44px; height: 44px; color: var(--warm); }
.c-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--edge); border-top-color: var(--accent); animation: cspin 0.9s linear infinite; }
@keyframes cspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .c-spin { animation: none; border-top-color: var(--edge); border-right-color: var(--accent); } }
.c-addr { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.c-addr code { font: 16px var(--body); padding: 10px 14px; border-radius: 12px; background: var(--night); border: 1.5px solid var(--edge); user-select: all; }
.c-status .p, .c-status p { margin: 0; font-size: 17px; line-height: 1.5; }


/* Lock Screen + Home Screen, side by side */
.pairsec { grid-template-columns: minmax(0, 1fr) 420px; }
.pairsec figure.shot { width: 100%; }
.pair { display: flex; gap: 14px; justify-content: center; }
.pair .phone { width: calc((100% - 14px) / 2); margin: 0; }
.blurb.up::before { content: ""; position: absolute; top: -9px; left: 38px; border: 9px solid transparent; border-top: 0; border-bottom-color: var(--accent); }
.blurb.under { position: static; max-width: none; margin-top: 14px; display: block; left: auto; }
.hs { position: relative; height: 100%; border-radius: 26px; overflow: hidden; container-type: inline-size;
  background: radial-gradient(130% 70% at 50% 30%, var(--lk-1) 0%, var(--lk-2) 45%, #0a1424 85%), #0a1424; color: var(--ink);
  font-family: -apple-system, "SF Pro Display", "Segoe UI", system-ui, sans-serif; }
.hs-time { position: absolute; top: 3.2%; left: 8cqw; font-size: 4.6cqw; font-weight: 700; }
.hs-row { position: absolute; left: 7cqw; right: 7cqw; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4cqw; }
.hs-row i, .hs-dock i { display: block; aspect-ratio: 1; border-radius: 22%; background: rgba(255,255,255,.13); }
.hs-row i:nth-child(2) { background: rgba(var(--accent-rgb), .30); } .hs-row i:nth-child(3) { background: rgba(var(--warm-rgb), .26); }
.hs-row.r1 { top: 8.5%; } .hs-row.r2 { top: 47%; } .hs-row.r3 { top: 58.5%; }
.hs-widget { position: absolute; left: 7cqw; right: 7cqw; top: 25%; height: 18%; border-radius: 7cqw; padding: 5cqw; box-sizing: border-box;
  background: var(--panel); border: 1px solid var(--edge); box-shadow: 0 6px 18px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 2.4cqw; justify-content: center; }
.hs-widget b { font-family: var(--display); font-size: 5.8cqw; line-height: 1.15; font-weight: 650; }
.hs-widget span { font-size: 3.5cqw; line-height: 1.3; color: var(--muted); }
.hs-dock { position: absolute; left: 4cqw; right: 4cqw; bottom: 3.4%; padding: 3cqw; border-radius: 9cqw; background: rgba(255,255,255,.14); display: grid; grid-template-columns: repeat(4, 1fr); gap: 3cqw; }
.hs .lk-home { bottom: 1%; }
@media (max-width: 999px) { .pairsec { grid-template-columns: minmax(0, 1fr); } .pairsec figure.shot { width: min(100%, 420px); justify-self: start; } }
@media (max-width: 599px) { .pair { flex-direction: column; align-items: center; } .pair .phone { width: var(--phone); } }


/* ---- left-side design pass: the water continues onto the page ---- */
/* the page itself is the water: it deepens as the whale dives, and the light fades with it */
.tide { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: var(--night); }
.tide > i { position: absolute; inset: 0; background: var(--deep); opacity: var(--d, 0); will-change: opacity; }
.tide::before { content: ""; z-index: 1; will-change: transform, opacity; position: absolute; inset: -10% -10% 0 -10%; opacity: calc(1 - var(--d, 0) * .85);
  transform: translateX(calc(var(--d, 0) * -5%));
  background: linear-gradient(104deg, transparent 8%, rgba(var(--accent-rgb), .07) 11%, transparent 17%,
    transparent 31%, rgba(var(--accent-rgb), .05) 34%, transparent 41%, transparent 58%, rgba(var(--accent-rgb), .06) 61%, transparent 67%);
  -webkit-mask-image: linear-gradient(#000, transparent 70%); mask-image: linear-gradient(#000, transparent 70%); }
.tide::after { content: ""; z-index: 2; will-change: opacity; position: absolute; inset: 0; opacity: calc(1 - var(--d, 0));
  background: radial-gradient(90% 55% at 18% 0%, rgba(var(--accent-rgb), .16), transparent 70%),
    radial-gradient(70% 45% at 92% 4%, rgba(var(--warm-rgb), .07), transparent 70%); }
.top, .main, .privacy, footer { position: relative; z-index: 1; }

/* section breaks follow the ocean's own surface line */
.sec, .chapter { position: relative; border-top: 0; }
.sec:not(.hero)::before, .chapter::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 12px; background: var(--edge); opacity: .9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='12' viewBox='0 0 96 12'%3E%3Cpath d='M0 6Q24 0 48 6T96 6' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x 0 0 / 96px 12px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='12' viewBox='0 0 96 12'%3E%3Cpath d='M0 6Q24 0 48 6T96 6' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x 0 0 / 96px 12px; }
.hero + .sec::before { display: none; }

/* hero rests on a swell of its own */
.sec.hero { position: relative; padding-bottom: 150px; }
.swell { position: absolute; left: -24px; right: 0; bottom: 0; width: calc(100% + 24px); height: 112px; pointer-events: none; }
.swell { -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(#000 45%, transparent 98%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(#000 45%, transparent 98%); mask-composite: intersect; }
.swell path { stroke: none; }
.swell .s1 { fill: rgba(var(--accent-rgb), .13); } .swell .s2 { fill: rgba(var(--accent-rgb), .09); } .swell .s3 { fill: rgba(var(--accent-rgb), .06); }

/* type */
h1 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.04; }
.sec h2 { font-weight: 600; letter-spacing: -0.01em; }
.chapter h2 { font-weight: 600; letter-spacing: -0.01em; }
.eyebrow { font-family: var(--display); font-weight: 600; letter-spacing: .1em; display: inline-flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ""; flex: none; width: .78em; height: .78em; border-radius: 50%; border: 1.5px solid currentColor;
  background: radial-gradient(circle at 32% 30%, currentColor 0 13%, transparent 15%); opacity: .9; }

/* phones sit in the water, not on a card */
figure.shot { isolation: isolate; }
figure.shot::before { content: ""; position: absolute; z-index: -1; left: -22%; right: -22%; top: 14%; bottom: -10%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .17), transparent 74%); }
.phone { box-shadow: 0 34px 60px -26px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.05); }

/* callouts are bubbles: a short trail of them leads to the thing described */
.blurb.up::before { top: -15px; left: 32px; width: 9px; height: 9px; border: 1px solid var(--accent); border-radius: 50%; background: var(--panel); }
.blurb.up::after { content: ""; position: absolute; top: -25px; left: 24px; width: 5px; height: 5px; border: 1px solid var(--accent); border-radius: 50%; background: var(--panel); }

/* the engine: an open path of bubbles, not a stack of boxes */
.flow { background: none; border: 0; padding: 4px 0 0; gap: 0; }
.farrow { display: none; }
.fnode { position: relative; background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0 0 22px 46px; display: block; }
.fnode > .fk { position: absolute; left: 0; top: 1px; width: 30px; height: 30px; font-size: 14px; background: var(--night); z-index: 1; }
.fnode:not(.grow):not(.shrink)::before { content: ""; position: absolute; left: 14px; top: 36px; bottom: 4px; width: 3px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .75) 1.3px, transparent 1.9px) center top / 3px 11px repeat-y; }
.fnode.back > .fk { background: var(--accent); color: #07111a; }
.fnode.back { box-shadow: none; }
.fnode.back::before { bottom: -6px !important; }
.fsplit { gap: 18px; padding-left: 0; }
.fsplit .fnode { padding: 14px 0 0; border-top: 2px solid var(--accent); }
.fsplit .fnode.shrink { border-top-color: var(--warm); }
.floop { justify-content: flex-start; margin-top: 18px; padding-left: 0; }
.fcap { margin-top: 4px; }

.story-card { background: radial-gradient(120% 90% at 0% 0%, rgba(var(--accent-rgb), .12), transparent 70%), rgba(18, 26, 40, .6); }
.privacy { background: rgba(18, 26, 40, .6); }


/* ---- filling the open space: small scenes from the same world, drawn in the logo's flat style ---- */
.deco { display: block; width: 100%; max-width: 320px; height: auto; margin-top: 26px; overflow: visible; pointer-events: none; }
.deco .drift { translate: calc(var(--p, 0) * 12px) calc(var(--p, 0) * -9px); }
.deco .drift2 { translate: calc(var(--p, 0) * -9px) calc(var(--p, 0) * 7px); }
.sec.hero .sec-text { position: static; }
.hero-deco { position: absolute; right: -6px; bottom: 100px; width: min(42%, 360px); max-width: none; margin: 0; }
@media (prefers-reduced-motion: reduce) { .deco .drift, .deco .drift2 { translate: none; } }
@media (max-width: 599px) { .deco { display: none; } }


/* ---- the .pw wrapper keeps the Now-screen blurb tied to the phone ---- */
.pw { position: relative; }
/* ---- wide screens: the margins outside the page column are more sea ---- */
.side { display: none; position: fixed; top: 0; bottom: 0; z-index: 0; pointer-events: none; }
.side svg { width: 100%; height: 100%; display: block; overflow: visible; }
.side.l { left: 0; width: calc((100vw - 1240px) / 2 - 12px); }
.side.r { right: 0; width: calc((100vw - 1240px) / 2 - 12px); }
.side .par1 { translate: 0 calc(var(--d, 0) * -70px); }
.side .par2 { translate: 0 calc(var(--d, 0) * -130px); }
@media (min-width: 1500px) { .side { display: block; } }
@media (prefers-reduced-motion: reduce) { .side .par1, .side .par2 { translate: none; } }


/* zigzag: every second section puts its screen first, so the page steps down the column */
@media (min-width: 1000px) {
  .sec.flip { grid-template-columns: var(--phone) minmax(0, 1fr); gap: 48px; }
  .sec.flip .flowfig, .sec.flip figure { order: -1; justify-self: start; }
  .sec.flip .sec-text { padding-left: 4px; }
}
/* the end of the page sits closer to the last section */
.sec.story { padding-bottom: 24px; }
.privacy { margin-block: 24px 36px; }
footer { margin-top: 28px; padding-block: 28px 36px; }


/* big screens (1600px and up): everything scales together, so the page fills the width without opening gaps */
@media (min-width: 1600px) {
  :root { --phone: 320px; }
  .top, .main, .after { max-width: 1520px; }
  .main { grid-template-columns: minmax(0, 1fr) clamp(108px, 34%, 500px); }
  .sec { padding-block: 80px; }
  .pairsec { grid-template-columns: minmax(0, 1fr) 500px; }
  h1 { font-size: clamp(2.6rem, 5.4vw, 5.2rem); }
  .lede { font-size: 1.4rem; max-width: 34ch; }
  .sec h2 { font-size: clamp(1.8rem, 2.8vw, 2.7rem); }
  .sec p { font-size: 1.18rem; max-width: 44ch; }
}

/* touch screens (phones, iPads): the page's water stays still, because moving it was what made scrolling choppy there */
.touch .tide > i, .touch .tide::before { display: none; } .touch .tide::after { will-change: auto; }

/* #lite (end the address with #lite): for testing only. Turns off the page's water shading and the blur/brightness effects. */
.lite .tide { display: none; } .lite .whale, .lite .card { filter: none !important; }

/* the colour picker in the header */
.top { justify-content: space-between; }
.swatches { display: inline-flex; gap: 6px; align-items: center; }
.swatches button { width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 2px solid transparent; background: none; cursor: pointer; display: grid; place-items: center; }
.swatches button i { width: 20px; height: 20px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.swatches button[aria-pressed="true"] { border-color: var(--ink); }
.swatches button:hover i { transform: scale(1.1); }
.wave path:first-child { fill: var(--sea); }

/* the spam check (Cloudflare Turnstile) sits in the form; it takes no room unless it has to show something */
.c-ts:empty { display: none; }

/* the not-found page (404.html) */
.lost { max-width: 1240px; margin: 0 auto; padding: 72px 24px; }
.lost h1 { max-width: 16ch; font-size: clamp(1.9rem, 4vw, 3rem); }
@media (max-width: 599px) { .lost { padding: 40px 16px; } .top .brand[href="/"] { font-size: 22px; gap: 12px; } }

/* the waitlist tick box in the contact form */
.c-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: 15px; cursor: pointer; }
.c-check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--accent); cursor: pointer; }
