/* Qik WaterTech — shared styles. Mobile-first, matched to the 375px design. */
:root {
  --bg: #000;
  --panel: #111;
  --panel-2: #1a1a1a;
  --line: #2b2b2b;
  --text: #fff;
  --muted: #9a9a9a;
  --red: #d8262c;
  --radius: 8px;
  --pad: 32px;
  --maxw: 1160px;
  --header-h: 68px;
  --card-pad: 24px;          /* inner padding of the image cards (also used to centre the rainbow bar) */
  --h2-off: 5px;             /* gap between a heading's line box and its visible letter tops */
  --hb: calc(var(--hdr-m) + var(--header-h) + env(safe-area-inset-top, 0px));     /* bottom edge of the floating header box */
  --text-h: 261px;                                  /* height of the hero text block + its bottom gap (phones) */
  --hero-extra: calc(100svh * .05);   /* the hero is 5% taller than the screen */
  --hdr-m: 16px;   /* header margin from top + sides (reference: 16pt on a 393pt phone) */
  --gap: var(--pad);
  --card-r: 16px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; touch-action: pan-x pan-y; }
body, a, button, input, select, textarea, label, canvas, img { touch-action: pan-x pan-y; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 44px; padding: 0 20px;
  background: #fff; color: #000;
  border: 0; border-radius: var(--radius);
  font: 600 14px/1 var(--font);
  cursor: pointer;
  transition: background .15s ease, transform .1s ease;
}
.btn:hover { background: #e6e6e6; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--sm { width: auto; height: 34px; padding: 0 20px; font-size: 13px; border-radius: 6px; }
.link-btn { display: block; text-align: center; font-size: 14px; font-weight: 500; padding: 14px 0 8px; }

/* ---------- Header: floating pure-frost glass ----------
   No border, no inner highlight, no shadow: only blur + a flat translucent tint,
   so it reads as a thin sheet of frosted glass floating over the page. */
.site-header {
  position: fixed; z-index: 100;
  top: calc(var(--hdr-m) + env(safe-area-inset-top, 0px));
  left: 0; right: 0; margin: 0 auto;
  width: calc(100% - 2 * var(--hdr-m)); max-width: var(--maxw);
  height: var(--header-h);
  border-radius: 13px;
  background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
}
.site-header__inner { height: 100%; padding: 0 16px 0 19px; display: flex; align-items: center; justify-content: space-between; }
.header-left { display: flex; align-items: center; gap: 10px; }
.back { width: 36px; height: 36px; margin-left: -8px; display: grid; place-items: center; border-radius: 50%; color: #fff; transition: background .15s ease; }
.back:hover { background: rgba(255,255,255,.16); }
.back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: 32px; width: auto; }
.site-header .btn--sm { height: 36px; width: auto; min-width: 131px; padding: 0 22px; border-radius: 8px; background: #fafafa; font-size: 14px; }
.site-header .btn--sm:hover { background: #fff; }

/* ---------- Hero ---------- */
.hero { container-type: inline-size; position: relative; display: flex; align-items: flex-end; overflow: hidden;
  min-height: 105vh;                         /* fallback */
  min-height: calc(100svh + var(--hero-extra)); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  /* darkens only below the product zone (starts just above the headline) so the phone and box are never dimmed */
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 24%, rgba(0,0,0,0) calc(100svh - var(--text-h) - 24px), rgba(0,0,0,.78) calc(100svh - var(--text-h) + 48px), #000 100%);
}
.hero__img {
  /* Phones / tablets: the photo is sized so the phone AND the control box (68% of its width) fit the screen width, and
     placed so that zone is centred, with equal space above (header) and below (headline). */
  --band: calc(100svh - var(--text-h) - var(--hb));                                            /* free height between header box and headline */
  --img-w: max(200px, min(calc(100cqw * 1.47 - 47px), calc((var(--band) - 48px) / .6526)));    /* zone height = .6526 x photo width */
  position: absolute; left: calc(50% - var(--img-w) * .5175);
  top: calc(var(--hb) + (var(--band) - var(--img-w) * .6526) / 2 - var(--img-w) * .1592);
  width: var(--img-w); height: auto; max-width: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 86%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 86%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;                  /* soft edges all round, so it never looks like a boxed photo */
}
.hero__content { position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) calc(var(--hero-extra) + var(--gap) - 8px); }   /* text/CTA stay where they were; the extra 5% becomes breathing room below them */
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }
.hero h1 { text-box: trim-start cap alphabetic; font-size: 28px; line-height: 1.15; font-weight: 700; white-space: nowrap; }
.hero__sub { margin: 6px 0 14px; color: var(--muted); font-size: 14px; }
.hero__from { margin: 0; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.hero__price { margin: 2px 0 16px; font-size: 24px; font-weight: 700; white-space: nowrap; }
.hero__price small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 4px; }

/* ---------- Tabs ---------- */
.features { padding: 0 var(--pad); max-width: var(--maxw); margin: 0 auto; }
.tabs { display: flex; margin: 0; padding: 0; background: var(--panel-2); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.tab {
  flex: 1; height: 40px; border: 0; background: transparent; color: #fff;
  font: 600 13px/1 var(--font); cursor: pointer; transition: background .15s ease;
}
.tab[aria-selected="true"] { background: #3a3a3a; }
.tab:not([aria-selected="true"]):hover { background: #242424; }

.panel { margin-top: var(--gap); display: grid; grid-auto-rows: 1fr; gap: var(--gap); animation: fade .25s ease; }
.panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.feature {
  background: var(--panel); border: 1px solid #1e1e1e; border-radius: var(--card-r);
  padding: 32px 24px 36px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.feature__icon {
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 20px;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, #2a2a2a, #161616);
  border: 1px solid #333;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.feature__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.feature p { margin: 0 auto; max-width: 34ch; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---------- Image cards: same side margin, gap and rhythm as the feature boxes ---------- */
.cards {
  max-width: var(--maxw); margin: var(--gap) auto 0; padding: 0 var(--pad);
  display: grid; gap: var(--gap);
}
.image-card { position: relative; min-height: 520px; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--card-r); background: #0b0b0b; }
.image-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.image-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.72) 68%, rgba(0,0,0,.92) 100%);
}
.image-card__content { position: relative; z-index: 1; width: 100%; padding: var(--card-pad); }
.image-card h2 { font-size: 28px; line-height: 1.15; font-weight: 700; margin-bottom: 16px; }
.image-card p { margin: 0 0 16px; color: #b5b5b5; font-size: 14px; line-height: 1.5; }   /* heading > 16px > text > 16px > button */

/* ---------- Newsletter ---------- */
.rainbow { width: 128px; height: 4px;
  margin: calc(var(--gap) + (var(--h2-off) - var(--card-pad)) / 2) auto calc(var(--gap) - (var(--h2-off) - var(--card-pad)) / 2);   /* equal visible space above (button edge) and below (heading letters) */ border-radius: 4px;
  background: linear-gradient(90deg, #ff3b30, #ff9500, #ffcc00, #34c759, #00c7be, #007aff, #af52de, #ff2d55); }
.newsletter { max-width: 420px; margin: 0 auto; padding: 0 var(--pad); text-align: center; }
.newsletter h2 { font-size: 20px; font-weight: 700; margin-bottom: var(--gap); }
.newsletter .field { margin-bottom: 10px; text-align: left; }
.fineprint { margin: 14px 0 0; font-size: 11px; line-height: 1.5; color: var(--muted); }
.fineprint a { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--gap); padding: 0 var(--pad) var(--gap); text-align: center; color: var(--muted); font-size: 11px; line-height: 1.6; }
.site-footer p { margin: 0 0 2px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: var(--gap) auto 0; max-width: 420px; }
.footer-links a { color: #fff; font-size: 13px; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }

/* ---------- Forms ---------- */
input, select, textarea {
  width: 100%; background: #000; color: #fff;
  border: 1px solid #3a3a3a; border-radius: 6px;
  padding: 0 14px; height: 44px;
  font: 400 16px/1.2 var(--font);   /* 16px stops iOS zooming into focused fields */
  transition: border-color .15s ease;
  appearance: none; -webkit-appearance: none;
}
textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%23999' stroke-width='1.6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
select:invalid { color: #7c7c7c; }
select option { color: #fff; background: #111; }
input::placeholder, textarea::placeholder { color: #7c7c7c; }
input:hover, select:hover, textarea:hover { border-color: #555; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #fff; }

.page { padding-top: calc(var(--hdr-m) + var(--header-h)); }
.form-page { max-width: 640px; margin: 0 auto; padding: var(--gap) var(--pad) 0; }
.form-page h1 { font-size: 28px; line-height: 1.15; font-weight: 700; }
.form-page .lead { margin: 8px 0 28px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.form-grid { display: grid; gap: 18px; }
.row-2 { display: grid; gap: 18px; }
.field label, .field legend { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; padding: 0; }
.field .opt { color: var(--muted); font-weight: 400; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }

.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.chip span {
  display: flex; align-items: center; justify-content: center; height: 44px;
  border: 1px solid #3a3a3a; border-radius: 6px; font-size: 14px; background: #000;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chip input:hover + span { border-color: #555; }
.chip input:checked + span { background: #fff; color: #000; border-color: #fff; font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { margin: 14px 0 0; font-size: 14px; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.ok { color: #4cd964; }
.form-status.err { color: #ff6b6b; }
.form-submit { margin-top: 8px; }
[hidden] { display: none !important; }

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  :root { --pad: 48px; --hdr-m: 24px; }
  :root { --text-h: 317px; }   /* taller text block on tablets */
  .hero h1 { font-size: 48px; }
  .hero__sub { font-size: 18px; }
  .hero__price { font-size: 32px; }
  .hero .btn, .image-card .btn { width: 240px; }
  .hero .link-btn { text-align: left; padding-left: 0; width: 240px; }
  .features { margin-top: var(--gap); }
  .tabs { max-width: 420px; margin-left: auto; margin-right: auto; }
  .panel { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .image-card { min-height: 600px; }
  :root { --card-pad: 32px; }
  .image-card h2 { font-size: 40px; }
  .image-card p { font-size: 16px; max-width: 460px; }
  .row-2 { grid-template-columns: 1fr 1fr; }
  .chips { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1200px), (orientation: landscape) and (max-height: 520px) {
  /* Desktop (and sideways phones) hero: text column on the left; the phone + control box zone is centred in the free area to its right
     (same space left and right) and centred top-to-bottom between the header box and the bottom of the screen. */
  .hero {
    --h1: clamp(40px, 3.1vw, 48px);
    --xt: calc(max(0px, (100cqw - 1160px) / 2) + var(--pad) + 10.125 * var(--h1));                                   /* right edge of the headline */
    --H: min(105svh, calc((100svh - var(--hb) - 48px) / .6742), calc((100cqw - var(--xt) - 80px) / .6932));          /* photo height: zone always fits, never meets the text */
    align-items: flex-start; padding-top: 0;
  }
  .hero__img {
    top: calc((var(--hb) + 100svh) / 2 - var(--H) * .5016);
    left: calc((var(--xt) + 100cqw) / 2 - var(--H) * 1.0331 * .5175);
    width: auto; height: var(--H); max-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%), linear-gradient(180deg, transparent 0%, #000 8%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 16%), linear-gradient(180deg, transparent 0%, #000 8%); mask-composite: intersect;
  }
  .hero::after { background:
    linear-gradient(90deg, #000 0%, #000 calc(var(--xt) - 40px), rgba(0,0,0,0) calc(var(--xt) + 40px)),
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) calc((var(--hb) + 100svh) / 2 + var(--H) * .3371 + 8px), #000 100%); }   /* fades to black only below the zone */
  .hero__content { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
    padding-top: var(--hb); padding-bottom: 0; }   /* text centred between the header box's bottom edge and the bottom of the screen */
  .hero__content > * { max-width: 420px; }
  .hero__content > h1 { max-width: none; white-space: nowrap; }
  .hero h1 { font-size: var(--h1); }
}
/* ---------- Eyebrow / reveal ---------- */
.live .eyebrow { padding-left: .18em; }
.eyebrow { margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .08s; } .js .reveal[data-d="2"] { transition-delay: .16s; }

/* ---------- Live (generative flow field) ---------- */
.live-wrap { max-width: var(--maxw); margin: var(--gap) auto 0; padding: 0 var(--pad); }
.live { position: relative; overflow: hidden; border-radius: var(--card-r); background: #02070d; min-height: 560px; display: grid; place-items: center; text-align: center; }
.live canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.live::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(2,7,13,.55) 0%, rgba(2,7,13,0) 70%), linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,.45)); }
.live__inner { position: relative; z-index: 1; padding: 56px 24px; width: 100%; }
.live h2 { font-size: 32px; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; }
.live__sub { margin: 10px 0 36px; color: #8fa6ba; font-size: 13px; }
.readouts { margin: 0 auto; max-width: 1000px; display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 16px; }
.readouts > div { flex: 0 0 calc(50% - 8px); }
.readouts > div { min-width: 0; text-align: center; }
.readouts dt { display: flex; align-items: flex-end; justify-content: center; min-height: 2.7em; line-height: 1.35; padding-left: .16em; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8fa6ba; }
.readouts dd { margin: 8px 0 0; height: 44px; line-height: 44px; font-size: calc(36px * var(--ro-scale, 1)); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.readouts small { margin-left: 5px; font-size: calc(13px * var(--ro-scale, 1)); font-weight: 500; color: #8fa6ba; letter-spacing: 0; }
.readouts .out dd { color: #7be3a6; } .readouts .in dd { color: #7cc4ff; }
.readouts .status dd { height: 44px; line-height: 1; display: flex; align-items: center; justify-content: center; gap: 8px; color: #7be3a6; font-size: calc(22px * var(--ro-scale, 1)); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.readouts .status i { width: 10px; height: 10px; border-radius: 50%; background: #7be3a6; box-shadow: 0 0 0 0 rgba(123,227,166,.6); animation: beat 2.2s ease-out infinite; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(123,227,166,.55); } 70%,100% { box-shadow: 0 0 0 12px rgba(123,227,166,0); } }

/* ---------- Steps ---------- */
.steps { max-width: var(--maxw); margin: var(--gap) auto 0; padding: 0 var(--pad); }
.steps h2 { font-size: 28px; line-height: 1.12; font-weight: 700; letter-spacing: -.02em; max-width: 16ch; }
.steps ol { list-style: none; margin: var(--gap) 0 0; padding: 0; display: grid; gap: 0; }
.steps li { border-top: 1px solid #262626; padding: var(--gap) 0; }
.steps li:last-child { padding-bottom: 0; }
.steps .n { display: block; font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--red); margin-bottom: 14px; }
.steps h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.steps li p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 38ch; }

/* ---------- Generative image card (ripples) ---------- */
.gen-art { position: absolute; inset: 0; overflow: hidden;
  background: radial-gradient(circle at 50% 36%, #0d4a80 0%, #06203b 38%, #020a14 72%, #000 100%); }
.gen-art .ring { position: absolute; left: 50%; top: 36%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%;
  border: 1px solid rgba(140, 210, 255, .45); opacity: 0; animation: ripple 7s cubic-bezier(.2,.6,.3,1) infinite; }
.gen-art .ring:nth-child(2) { animation-delay: 1.75s; } .gen-art .ring:nth-child(3) { animation-delay: 3.5s; } .gen-art .ring:nth-child(4) { animation-delay: 5.25s; }
@keyframes ripple { 0% { transform: scale(.12); opacity: .0; } 12% { opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.gen-art .drop { position: absolute; left: 50%; top: 36%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #5cc0ff, #1b6fb8); box-shadow: 0 0 60px 12px rgba(60, 160, 255, .45); }
.gen-art .drop svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gen-art .note { position: absolute; left: 50%; top: 14%; transform: translateX(-50%); white-space: nowrap; padding: 10px 16px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); animation: bob 5s ease-in-out infinite; }
.gen-art .note i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #7be3a6; box-shadow: 0 0 8px #7be3a6; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }

/* ---------- Support card (same ripple family as the alerts card, teal tint) ---------- */
.gen-art--support { background: radial-gradient(circle at 50% 36%, #0b5a78 0%, #063044 38%, #020d14 72%, #000 100%); }
.gen-art--support .drop { background: radial-gradient(circle at 35% 30%, #5fe0c0, #1a8f86); box-shadow: 0 0 60px 12px rgba(60, 200, 180, .40); }

@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards .image-card:nth-child(1) { order: 2; }   /* desktop: Support, Continued back on the left (it is last in the HTML / on phones) */
  .image-card { min-height: 640px; }
  :root { --card-pad: 36px; }
  .image-card h2 { font-size: 40px; }
  .image-card p { font-size: 16px; min-height: 3em; }
  .live { min-height: 640px; }
  .live h2 { font-size: 52px; }
  .live__sub { font-size: 14px; }
  .readouts { gap: 44px 20px; }
  .readouts > div { flex: 0 0 calc(33.333% - 14px); }    /* 3 columns on desktop */
  .readouts > div:nth-child(1) { order: 1; } .readouts > div:nth-child(2) { order: 2; } .readouts > div:nth-child(5) { order: 3; }
  .readouts > div:nth-child(3) { order: 4; } .readouts > div:nth-child(4) { order: 5; } .readouts > div:nth-child(6) { order: 6; }
  .readouts > div:nth-child(7) { order: 7; }   /* rows: flow + recovery / TDS + rejection / membrane health (centred) */
  .readouts dd { font-size: calc(46px * var(--ro-scale, 1)); height: 56px; line-height: 56px; }
  .readouts .status dd { font-size: calc(28px * var(--ro-scale, 1)); gap: 10px; height: 56px; }
  .steps h2 { font-size: 44px; max-width: 18ch; }
  .steps ol { grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
  .steps li { padding-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Legal pages ---------- */
.legal h1 { font-size: 28px; line-height: 1.15; font-weight: 700; }
.legal .updated { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.legal h2 { margin: var(--gap) 0 8px; font-size: 18px; font-weight: 700; }
.legal p, .legal li { color: #c4c4c4; font-size: 15px; line-height: 1.65; }
.legal p { margin: 0 0 var(--gap); }
.legal ul { margin: 0 0 var(--gap); padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal h2:first-of-type { margin-top: var(--gap); }
@media (min-width: 720px) { .legal h1 { font-size: 40px; } .legal { max-width: 720px; } }

/* ---------- hCaptcha ---------- */
.captcha { margin: 0 0 var(--gap); min-height: 78px; }
.captcha__inner { width: 303px; height: 78px; transform-origin: 0 0; }   /* scaled by script.js to the exact width of the fields above (phones) */
.captcha .h-captcha { width: 303px; height: 78px; }

@media (min-width: 720px) {
  .footer-links { flex-wrap: nowrap; max-width: none; gap: 8px 24px; }
  .footer-links a { white-space: nowrap; }
}


/* ---------- Hero parallax: scroll-driven by the browser itself (smooth in in-app browsers; no JS, no scale) ---------- */
@keyframes heroDrift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, 35svh, 0); } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .hero__img { animation: heroDrift linear both; animation-timeline: scroll(root block); animation-range: 0px 100svh; }
  }
}

/* ---------- Desktop: sign-up fields span the full content width (same edges as the cards above) ---------- */
@media (min-width: 900px) {
  .newsletter { max-width: var(--maxw); }
  .newsletter form { width: 80%; margin-left: auto; margin-right: auto; }   /* 20% narrower than the cards, still centred */
}


/* ---------- Desktop only: image-card heading, text and button centred ---------- */
@media (min-width: 900px) {
  .image-card__content { text-align: center; }
  .image-card p { margin-left: auto; margin-right: auto; }
  .image-card .btn { margin-left: auto; margin-right: auto; }
}

/* ---------- Sideways phones (short landscape screens): same two-column hero ---------- */
@media (orientation: landscape) and (max-height: 520px) {
  .hero .btn { width: 240px; }
  .hero .link-btn { width: 240px; text-align: left; padding-left: 0; }
}
@media (max-width: 719px) and (orientation: landscape) and (max-height: 520px) { .hero { --h1: 28px; } }

@media (max-width: 340px) { :root { --text-h: 293px; } }

/* ---------- About page ---------- */
.about { max-width: var(--maxw); margin: 0 auto; padding: var(--gap) var(--pad) 0; }
.about-hero { max-width: 860px; }
.about-hero h1 { font-size: clamp(34px, 9.5vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -.025em; }
.about-hero .lead { margin: var(--gap) 0 0; color: #c4c4c4; font-size: 17px; line-height: 1.6; max-width: 62ch; }

.timeline { margin-top: var(--gap); }
.timeline ol { list-style: none; margin: 0; padding: 0; }
.timeline li { border-top: 1px solid #262626; padding: var(--gap) 0; display: grid; gap: 10px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .n { font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--red); }
.timeline h2 { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.timeline p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 62ch; }

.founder { margin-top: var(--gap); background: var(--panel); border: 1px solid #1e1e1e; border-radius: var(--card-r); padding: var(--card-pad); display: grid; gap: var(--gap); }
.founder__id { display: grid; gap: 18px; justify-items: start; }
.founder__photo { margin: 0; width: 112px; height: 112px; border-radius: 50%; overflow: hidden; background: #222; flex: none; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder__id h2 { font-size: 24px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
.founder__role { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.facts { margin: 0; display: grid; gap: 20px; }
.facts dt { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; color: #d8d8d8; font-size: 15px; line-height: 1.6; }
.ventures { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ventures strong { font-weight: 600; color: #fff; }
.ventures span { color: var(--muted); margin-left: 6px; }
.founder__link { margin-top: var(--gap); }

.about-cta { margin-top: var(--gap); text-align: center; padding: var(--gap) 0 0; }
.about-cta h2 { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.about-cta p { margin: 10px 0 var(--gap); color: var(--muted); font-size: 14px; line-height: 1.5; }

@media (min-width: 900px) {
  .about-hero .lead { font-size: 20px; }
  .timeline li { grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px; align-items: start; }
  .timeline h2 { font-size: 26px; }
  .timeline p { font-size: 16px; }
  .founder { grid-template-columns: minmax(240px, 300px) 1fr; gap: 48px; align-items: start; }
  .founder__photo { width: 168px; height: 168px; }
  .founder__id h2 { font-size: 28px; }
  .founder__link { width: 240px; }
  .about-cta .btn { width: 240px; margin-left: auto; margin-right: auto; }
}
