/* Emphoton landing page. Dark ink world, glass surfaces, light in three colours. No build step. */

:root {
  --bg: #06080B;
  --ink: #0E1116;
  --paper: #F4F1EA;
  --text: #F4F1EA;
  --muted: #A9AEB9;
  --soft: #C6CAD3;
  --line: rgba(244, 241, 234, 0.12);
  --line-strong: #5E6573;
  --amber: #FFB02E;
  --rose: #FF5C8A;
  --violet: #7C5CFF;
  --violet-soft: #A996FF;
  --c-amber: 255, 176, 46;
  --c-rose: 255, 92, 138;
  --c-violet: 124, 92, 255;
  --error: #FF9DB3;
  --font: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --radius: 22px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
legend { padding: 0; }
img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

a { color: inherit; text-decoration-color: rgba(244, 241, 234, 0.45); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.paper :focus-visible { outline-color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- the light field: colour that follows the reader down the page ---------- */

.lightfield { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.lf { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.lf-amber {
  background:
    radial-gradient(55% 50% at 88% 8%, rgba(var(--c-amber), .06), transparent 70%),
    radial-gradient(40% 45% at 0% 95%, rgba(var(--c-amber), .025), transparent 70%);
}
.lf-rose {
  background:
    radial-gradient(55% 50% at 6% 22%, rgba(var(--c-rose), .055), transparent 70%),
    radial-gradient(40% 45% at 100% 90%, rgba(var(--c-rose), .025), transparent 70%);
}
.lf-violet {
  background:
    radial-gradient(55% 55% at 92% 62%, rgba(var(--c-violet), .075), transparent 70%),
    radial-gradient(40% 45% at 0% 10%, rgba(var(--c-violet), .03), transparent 70%);
}
body[data-light="amber"] .lf-amber,
body[data-light="rose"] .lf-rose,
body[data-light="violet"] .lf-violet { opacity: 1; }
body[data-light="all"] .lf { opacity: .7; }

/* ---------- type ---------- */

h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
}
.h1-glass { color: #FFE2B0; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .h1-glass {
    background: linear-gradient(100deg, #FFFFFF 0%, #FFDFA6 28%, #FFB3C8 62%, #C3B4FF 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
}
h2 {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 600;
  max-width: 18ch;
  text-wrap: balance;
}
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; }

.eyebrow {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--violet-soft); margin-bottom: 20px;
}
.paper .eyebrow { color: #4B33C4; }

.lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.5; color: var(--soft); max-width: 34em; }
.section-lede { font-size: 1.15rem; color: var(--soft); max-width: 36em; margin-top: 18px; }
.muted { color: var(--muted); }
.fineprint { font-size: 0.9rem; color: var(--muted); }

.tag {
  display: inline-block; align-self: flex-start;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; line-height: 1.3;
  color: var(--text); border: 1px solid rgba(244, 241, 234, 0.38); border-radius: 999px; padding: 3px 10px;
  background: rgba(6, 8, 11, 0.35);
}

/* ---------- glass ---------- */

.glass {
  position: relative; isolation: isolate; --r: var(--radius);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(244, 241, 234, .06) 0%, rgba(244, 241, 234, .015) 36%, rgba(244, 241, 234, .01) 64%, rgba(244, 241, 234, .035) 100%),
    rgba(7, 9, 13, .8);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .2),           /* top bevel catches the light */
    inset 1px 0 0 rgba(255, 255, 255, .07),
    inset 0 -1px 0 rgba(0, 0, 0, .55),               /* bottom bevel in shade */
    inset 0 14px 24px -24px rgba(255, 255, 255, .07),
    inset 0 -14px 24px -24px rgba(255, 255, 255, .04),
    0 1px 2px rgba(0, 0, 0, .5),
    0 34px 70px -34px rgba(0, 0, 0, .95);            /* contact shadow */
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass { background: linear-gradient(135deg, #1B2029, #10141B 40%, #0F1319 64%, #181C25); }
  .glass-light { background: #FBFAF6 !important; }
  .site-header { background: #080A0E !important; }
}
/* the rim: a hairline of white light. On the straight runs it stays white; round two of the
   corners, where the edge curves, it disperses into the spectrum in wavelength order. */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: -1;
  background:
    conic-gradient(from 270deg at var(--r) var(--r),
      rgba(255, 30, 30, 0) 6deg, rgba(255, 30, 30, .75) 20deg, rgba(255, 130, 0, .75) 31deg, rgba(255, 225, 0, .75) 41deg,
      rgba(0, 225, 80, .75) 51deg, rgba(0, 200, 255, .75) 61deg, rgba(50, 80, 255, .75) 71deg, rgba(150, 30, 255, .65) 79deg,
      rgba(150, 30, 255, 0) 88deg, rgba(0, 0, 0, 0) 90deg) top left / var(--r) var(--r) no-repeat,
    conic-gradient(from 90deg at 0 0,
      rgba(150, 30, 255, 0) 6deg, rgba(150, 30, 255, .5) 16deg, rgba(50, 80, 255, .55) 25deg, rgba(0, 200, 255, .55) 35deg,
      rgba(0, 225, 80, .55) 45deg, rgba(255, 225, 0, .55) 55deg, rgba(255, 130, 0, .55) 65deg, rgba(255, 30, 30, .55) 75deg,
      rgba(255, 30, 30, 0) 86deg, rgba(0, 0, 0, 0) 90deg) bottom right / var(--r) var(--r) no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .2) 28%, rgba(244, 241, 234, .06) 58%, rgba(255, 255, 255, .26) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}/* a slow sweep of light across the pane on hover or focus */
.sweep { overflow: hidden; }
.sweep::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .11) 45%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .11) 55%, transparent);
  transform: translateX(-130%) skewX(-12deg);
  transition: transform 1.1s var(--ease);
}
.sweep:hover::after, .sweep:focus-within::after { transform: translateX(330%) skewX(-12deg); }

.glass-bright {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .11) 0%, rgba(244, 241, 234, .035) 42%, rgba(244, 241, 234, .055) 100%),
    rgba(9, 12, 17, .76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .5),
    inset 1px 0 0 rgba(255, 255, 255, .12),
    inset 0 -1px 0 rgba(0, 0, 0, .5),
    0 0 80px -34px rgba(var(--c-amber), .2),
    -40px 36px 100px -56px rgba(var(--c-rose), .22),
    40px 36px 100px -56px rgba(var(--c-violet), .3),
    0 34px 70px -34px rgba(0, 0, 0, .95);
}

.glass-light {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .42));
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 30px 60px -34px rgba(14, 17, 22, .5), 0 2px 6px rgba(14, 17, 22, .07);
}

/* ---------- beta bar + header ---------- */

.betabar {
  background: #0B0D12; color: var(--soft);
  text-align: center; font-size: 0.9rem; line-height: 1.4; padding: 9px 16px;
  box-shadow: inset 0 -1px 0 rgba(var(--c-amber), .55);
}
.betabar strong { font-weight: 700; color: var(--amber); }
.betabar a { color: var(--text); font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 8, 11, 0.66);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 -1px 0 rgba(244, 241, 234, .1), 0 12px 30px -20px rgba(0, 0, 0, .9);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 66px; }

.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1.5rem; font-weight: 600; letter-spacing: -0.045em; text-decoration: none; color: var(--text);
}
.brand img { width: 42px; height: 36px; }

.nav { display: none; gap: 4px; margin-left: auto; font-size: 0.97rem; }
.nav a { color: var(--soft); text-decoration: none; padding: 7px 13px; border-radius: 999px; transition: color .2s, background-color .2s, box-shadow .2s; }
.nav a:hover { color: var(--text); background: rgba(244, 241, 234, .05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(244, 241, 234, .12); }
.header-row .btn { margin-left: auto; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .header-row .btn { margin-left: 8px; }
}

/* ---------- liquid glass controls ----------
   Clear dark glass with a bright rim. glass.js adds the class "lq" and drives the custom
   properties below: a hotspot on the rim nearest the cursor, a pull toward it, a squash on press. */

.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em;
  color: var(--text);
  padding: 15px 26px; border-radius: 999px; border: 0;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  background: linear-gradient(160deg, rgba(244, 241, 234, .09), rgba(244, 241, 234, .02) 55%, rgba(244, 241, 234, .05)), rgba(8, 10, 14, .5);
  -webkit-backdrop-filter: blur(9px) saturate(160%);
  backdrop-filter: var(--lq-refract,) blur(9px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), inset 0 0 0 1px rgba(244, 241, 234, .2), inset 0 -1px 0 rgba(0, 0, 0, .5), 0 14px 30px -18px rgba(0, 0, 0, .9);
  transition: box-shadow .25s;
}
/* the primary action: heavier, with a stronger rim that carries a little amber */
.btn-primary {
  font-weight: 700;
  background: linear-gradient(160deg, rgba(255, 244, 222, .15), rgba(244, 241, 234, .03) 52%, rgba(var(--c-amber), .1)), rgba(8, 10, 14, .5);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, .7), inset 0 0 0 1.5px rgba(255, 222, 170, .62), inset 0 -1.5px 0 rgba(var(--c-amber), .4),
    inset 0 -10px 18px -12px rgba(var(--c-amber), .3), 0 16px 34px -16px rgba(0, 0, 0, .95), 0 0 30px -12px rgba(var(--c-amber), .5);
}
.btn-primary:hover { box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, .85), inset 0 0 0 1.5px rgba(255, 228, 185, .8), inset 0 -1.5px 0 rgba(var(--c-amber), .5),
    inset 0 -10px 18px -12px rgba(var(--c-amber), .36), 0 16px 34px -16px rgba(0, 0, 0, .95), 0 0 34px -10px rgba(var(--c-amber), .6); }
.btn-ghost:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(244, 241, 234, .4), inset 0 -1px 0 rgba(0, 0, 0, .5), 0 14px 30px -18px rgba(0, 0, 0, .9); }
.btn-small { padding: 9px 16px; font-size: 0.93rem; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.lq-label { display: inline-block; pointer-events: none; }

.lq { position: relative; isolation: isolate; --lq-x: 50%; --lq-y: 50%; --lq-r: 30px; --lq-dx: 0px; --lq-dy: 0px; --lq-o: 0; --lq-f: 0; }
/* The rim highlight: white light on the edge nearest the cursor. Seven copies of it, one per band
   of the spectrum in wavelength order, are laid a little further along the edge each time
   (--lq-dx/--lq-dy, set by glass.js from the edge's direction and curvature) and added together.
   Where they all overlap the light is white; where they part, at the two ends of the highlight,
   it separates into red, orange, yellow on one side and green, cyan, blue, violet on the other.
   On a straight run the offset is almost nothing, so the highlight stays white. */
.lq::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none; z-index: 2;
  --a: calc(var(--lq-o) * .62);
  background:
    radial-gradient(circle calc(var(--lq-r) * .38) at var(--lq-x) var(--lq-y), rgba(255, 255, 255, calc(var(--lq-o) * .8)) 0%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(circle calc(var(--lq-r) * .72) at calc(var(--lq-x) + var(--lq-dx) * -3) calc(var(--lq-y) + var(--lq-dy) * -3), rgba(255, 0, 0, var(--a)) 0%, rgba(255, 0, 0, calc(var(--a) * .55)) 50%, rgba(255, 0, 0, 0) 100%),
    radial-gradient(circle calc(var(--lq-r) * .72) at calc(var(--lq-x) + var(--lq-dx) * -2) calc(var(--lq-y) + var(--lq-dy) * -2), rgba(255, 120, 0, var(--a)) 0%, rgba(255, 120, 0, calc(var(--a) * .55)) 50%, rgba(255, 120, 0, 0) 100%),
    radial-gradient(circle calc(var(--lq-r) * .72) at calc(var(--lq-x) + var(--lq-dx) * -1) calc(var(--lq-y) + var(--lq-dy) * -1), rgba(255, 225, 0, var(--a)) 0%, rgba(255, 225, 0, calc(var(--a) * .55)) 50%, rgba(255, 225, 0, 0) 100%),
    radial-gradient(circle calc(var(--lq-r) * .72) at var(--lq-x) var(--lq-y), rgba(0, 225, 70, var(--a)) 0%, rgba(0, 225, 70, calc(var(--a) * .55)) 50%, rgba(0, 225, 70, 0) 100%),
    radial-gradient(circle calc(var(--lq-r) * .72) at calc(var(--lq-x) + var(--lq-dx)) calc(var(--lq-y) + var(--lq-dy)), rgba(0, 200, 255, var(--a)) 0%, rgba(0, 200, 255, calc(var(--a) * .55)) 50%, rgba(0, 200, 255, 0) 100%),
    radial-gradient(circle calc(var(--lq-r) * .72) at calc(var(--lq-x) + var(--lq-dx) * 2) calc(var(--lq-y) + var(--lq-dy) * 2), rgba(40, 70, 255, var(--a)) 0%, rgba(40, 70, 255, calc(var(--a) * .55)) 50%, rgba(40, 70, 255, 0) 100%),
    radial-gradient(circle calc(var(--lq-r) * .72) at calc(var(--lq-x) + var(--lq-dx) * 3) calc(var(--lq-y) + var(--lq-dy) * 3), rgba(140, 0, 255, var(--a)) 0%, rgba(140, 0, 255, calc(var(--a) * .55)) 50%, rgba(140, 0, 255, 0) 100%),
    linear-gradient(rgba(255, 255, 255, calc(var(--lq-f) * .55)), rgba(255, 255, 255, calc(var(--lq-f) * .55)));
  background-blend-mode: normal, screen, screen, screen, screen, screen, screen, screen, normal;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* a faint glow inside the glass, under the cursor */
.lq::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(circle calc(var(--lq-r) * 1.4) at var(--lq-x) var(--lq-y),
    rgba(255, 255, 255, calc(var(--lq-o) * .09 + var(--lq-f) * .05)), rgba(255, 255, 255, 0) 100%);
}/* keyboard focus: a still, bright rim (no movement) */
.btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .95), 0 0 26px -6px rgba(255, 255, 255, .5); }
.nav a:focus-visible { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .9); border-radius: 999px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--amber);
  background: rgba(var(--c-amber), 0.09);
  box-shadow: inset 0 0 0 1px rgba(var(--c-amber), 0.55), inset 0 1px 0 rgba(255, 255, 255, .18);
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 6px 14px 6px 12px; border-radius: 999px; margin-bottom: 28px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }

.chip {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid rgba(var(--c-amber), 0.6); color: var(--amber); padding: 2px 9px; border-radius: 999px;
}

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; overflow: clip; padding: clamp(40px, 4.4vw, 64px) 0 clamp(36px, 5vw, 72px); }
.hero-grid { display: grid; gap: 8px; align-items: center; }
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.hero-copy .lede { margin-top: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 22px; font-size: 0.97rem; color: var(--muted); }

.hero-est { display: grid; gap: 12px; margin-top: 34px; max-width: 560px; }
@media (min-width: 520px) { .hero-est { grid-template-columns: 1fr 1fr; } }
.hero-est li {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 16px;
  background: linear-gradient(150deg, rgba(244, 241, 234, .055), rgba(244, 241, 234, .012)), rgba(7, 9, 13, .72);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 0 0 1px rgba(244, 241, 234, .08), 0 20px 40px -26px rgba(0, 0, 0, .9);
  font-size: 0.9rem; line-height: 1.4; color: var(--soft);
}
.hero-est strong { font-size: 1.9rem; line-height: 1.05; letter-spacing: -0.04em; font-weight: 600; color: var(--text); margin-top: 4px; }

.hero-art {
  position: relative; height: 340px; margin: 12px -20px 0; min-width: 0;
  -webkit-mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 74%, transparent 100%);
  mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 74%, transparent 100%);
}
.hero-still, .hero-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-still { transition: opacity 1.2s ease; }
.hero-art canvas { opacity: 0; transition: opacity 1.2s ease; }
.hero-art.is-live canvas { opacity: 1; }
.hero-art.is-live .hero-still { opacity: 0; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .hero-art { height: 660px; margin: -70px -9vw -70px -70px; }
}
@media (max-width: 420px) {
  .actions .btn { width: 100%; }
}

/* ---------- sections and the ray that runs through them ---------- */

.section { --pad: clamp(76px, 10vw, 140px); position: relative; overflow: hidden; overflow: clip; padding: var(--pad) 0; }
.section > .wrap { position: relative; z-index: 1; }
.tint-amber { --beam: var(--c-amber); }
.tint-rose { --beam: var(--c-rose); }
.tint-violet { --beam: var(--c-violet); }
/* The crisp ray crosses the open space above each section's content, never behind running text. */
.section[class*="tint-"]::before {
  content: ""; position: absolute; left: -20%; width: 140%; top: calc(var(--pad) * 0.5 - 110px); height: 220px; pointer-events: none;
  transform: rotate(var(--beam-rot, -3.6deg));
  background: linear-gradient(to bottom,
    transparent 0%, rgba(var(--beam), .02) 34%, rgba(var(--beam), .14) 48.4%,
    rgba(255, 255, 255, .6) 49.7%, rgba(255, 255, 255, .6) 50.3%,
    rgba(var(--beam), .14) 51.6%, rgba(var(--beam), .02) 66%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 2%, #000 24%, #000 76%, transparent 98%);
  mask-image: linear-gradient(90deg, transparent 2%, #000 24%, #000 76%, transparent 98%);
}
/* Its scattered light: a broad, coreless wash of the same colour for the glass below to frost. */
.section[class*="tint-"]::after {
  content: ""; position: absolute; left: -20%; width: 140%; top: var(--wash-y, 38%); height: 46%; min-height: 320px; pointer-events: none;
  transform: rotate(var(--wash-rot, -8deg));
  background: linear-gradient(to bottom, transparent, rgba(var(--beam), .03) 30%, rgba(var(--beam), .07) 50%, rgba(var(--beam), .03) 70%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 30%, #000 70%, transparent 96%);
  mask-image: linear-gradient(90deg, transparent 4%, #000 30%, #000 70%, transparent 96%);
}
#context, #workspace, #faq { --beam-rot: 3.6deg; --wash-rot: 8deg; }
#estimates { --wash-y: 30%; }

/* services */
.services { display: grid; gap: 22px; margin-top: 56px; }
@media (min-width: 820px) { .services { grid-template-columns: 1fr 1fr; } }
.service { display: flex; flex-direction: column; padding: clamp(26px, 3.6vw, 44px); }
.tagline {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft);
}
.service h3 { font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -0.05em; margin: 16px 0 18px; }
.service > p { color: var(--soft); }
.est {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 18px;
  margin-top: 26px; padding: 18px 20px; border-radius: 16px;
  background: linear-gradient(150deg, rgba(var(--c-amber), .06), rgba(244, 241, 234, .015) 60%), rgba(4, 6, 9, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(244, 241, 234, .1);
  font-size: 0.95rem; line-height: 1.4;
}
.service-inference .est { background: linear-gradient(150deg, rgba(var(--c-violet), .09), rgba(244, 241, 234, .015) 60%), rgba(4, 6, 9, .55); }
.est .tag { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 520px) { .est { grid-template-columns: 1fr; } }
.est strong { font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1; letter-spacing: -0.045em; font-weight: 600; color: var(--text); white-space: nowrap; }
.service > .est { color: var(--text); }
.ticks { margin-top: 26px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.72em; width: 14px; height: 2px; border-radius: 2px; background: var(--amber);
  box-shadow: 0 0 8px currentColor;
}
.service-teams .ticks li:nth-child(2)::before { background: var(--rose); }
.service-teams .ticks li:nth-child(3)::before { background: var(--violet-soft); }
.service-inference .ticks li::before { background: var(--paper); }
.for { margin-top: auto; padding-top: 28px; font-size: 0.95rem; color: var(--muted); }
.est-note { margin-top: 26px; }

/* pilot: the one bright room, frosted glass over light */
.paper {
  color: var(--ink);
  background:
    radial-gradient(46% 62% at 10% 18%, rgba(var(--c-amber), .42), transparent 72%),
    radial-gradient(44% 60% at 56% 92%, rgba(var(--c-rose), .32), transparent 72%),
    radial-gradient(46% 62% at 96% 22%, rgba(var(--c-violet), .36), transparent 72%),
    var(--paper);
  box-shadow: inset 0 1px 0 #FFFFFF, inset 0 -1px 0 rgba(14, 17, 22, .2);
}
.paper::before {
  content: ""; position: absolute; left: -20%; width: 140%; top: 58%; height: 200px; pointer-events: none;
  transform: rotate(6deg);
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .55) 44%, #FFFFFF 50%, rgba(255, 255, 255, .55) 56%, transparent);
}
.paper a { text-decoration-color: rgba(14, 17, 22, 0.5); }
.steps { display: grid; gap: 22px; margin-top: 56px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 28px 26px 30px; overflow: hidden; }
.step::after { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 2px; border-radius: 0 0 3px 3px; background: var(--amber); box-shadow: 0 0 14px var(--amber); }
.step-2::after { background: var(--rose); box-shadow: 0 0 14px var(--rose); }
.step-3::after { background: var(--violet-soft); box-shadow: 0 0 14px var(--violet); }
.step-n { display: block; font-size: 4.6rem; line-height: 1; font-weight: 600; letter-spacing: -0.06em; margin: 10px 0 20px; }
.step h3 { font-size: 1.4rem; margin-bottom: 10px; }
.step p { color: var(--soft); }
.pilot-foot { margin-top: 44px; font-size: 1.05rem; color: var(--soft); }
.pilot-foot a { color: var(--text); font-weight: 600; }

/* context: the interview before a job, as a glass chat fragment */
.brief { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .brief { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 64px; } }
.brief-list { margin-top: 36px; display: grid; gap: 24px; counter-reset: brief; }
.brief-list li { position: relative; padding-left: 52px; counter-increment: brief; }
.brief-list li::before {
  content: counter(brief); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.9rem; font-weight: 600; color: var(--text);
  background: linear-gradient(150deg, rgba(var(--c-rose), .16), rgba(244, 241, 234, .03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(var(--c-rose), .55);
}
.brief-list h3 { margin-bottom: 6px; }
.brief-list p { color: var(--soft); }
.chat-figure { min-width: 0; }
.chat-figure figcaption { margin-top: 18px; font-size: 0.875rem; color: var(--muted); }
.chat { box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .34), inset 0 -1px 0 rgba(0, 0, 0, .55),
    0 50px 100px -50px rgba(var(--c-rose), .22), 0 34px 70px -34px rgba(0, 0, 0, .95); }
.chat-inner { padding: clamp(18px, 2.6vw, 28px); display: grid; gap: 12px; font-size: 0.95rem; line-height: 1.45; }
.chat-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-weight: 600; }
.chat-state { font-weight: 500; font-size: 0.85rem; color: var(--soft); }
.q {
  justify-self: start; max-width: 92%; padding: 11px 16px; border-radius: 6px 18px 18px 18px;
  background: linear-gradient(150deg, rgba(244, 241, 234, .13), rgba(244, 241, 234, .04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), inset 0 0 0 1px rgba(244, 241, 234, .09);
}
.q-tag { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: #FF9DB8; margin-bottom: 2px; }
.a {
  justify-self: end; max-width: 86%; padding: 11px 16px; border-radius: 18px 18px 6px 18px; color: var(--ink);
  background: linear-gradient(160deg, #FFFFFF, #E4DFD3);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 14px 26px -16px rgba(0, 0, 0, .9);
}
.brief-card { padding: 14px 16px; border-radius: 14px; background: rgba(4, 6, 9, .5); box-shadow: inset 0 0 0 1px rgba(244, 241, 234, .12), inset 0 2px 6px rgba(0, 0, 0, .5); display: grid; gap: 6px; }
.brief-card .mock-label { margin-bottom: 2px; }
.assumed { color: var(--soft); font-size: 0.88rem; }
.assumed span { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet-soft); margin-right: 8px; }
.confirmed {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; font-weight: 600;
  background: linear-gradient(150deg, rgba(var(--c-amber), .12), rgba(var(--c-amber), .03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 0 0 1px rgba(var(--c-amber), .55), 0 0 30px -14px rgba(var(--c-amber), .45);
}
.confirmed span { margin-left: auto; font-weight: 500; font-size: 0.88rem; color: var(--text); }

/* team picker: glass tiles, the chosen one catches the light */
.picker { display: grid; gap: 18px; margin-top: 52px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (min-width: 860px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tiles legend { float: left; grid-column: 1 / -1; width: 100%; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); }
.spectrum { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; font-size: 0.8rem; color: var(--muted); margin-bottom: 4px; }
.spectrum i { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--amber), var(--rose) 36%, var(--violet) 68%, rgba(244, 241, 234, .7)); box-shadow: 0 0 12px rgba(var(--c-rose), .5); }
.tier-why { color: var(--accent); font-weight: 500; }
.picker-text .tier-why { min-height: 0; margin-top: 10px; color: var(--accent); }
.name-why { font-size: 0.95rem; color: var(--text) !important; font-weight: 500; margin: -8px 0 14px; }
.tile { display: block; cursor: pointer; --a: 244, 241, 234; }
.tile-apex { --a: var(--c-amber); }
.tile-core { --a: var(--c-rose); }
.tile-swift { --a: 151, 126, 255; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile-body {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 4px; min-height: 124px; padding: 18px 18px 16px; border-radius: 18px;
  background: linear-gradient(150deg, rgba(244, 241, 234, .05), rgba(244, 241, 234, .01) 55%), rgba(7, 9, 13, .78);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(244, 241, 234, .1), 0 24px 44px -28px rgba(0, 0, 0, .95);
  transition: translate .45s var(--ease), box-shadow .45s var(--ease), background-color .45s;
}
.tile:hover .tile-body { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), inset 0 0 0 1px rgba(var(--a), .4), 0 24px 44px -28px rgba(0, 0, 0, .95); }
.tile input:checked + .tile-body {
  translate: 0 -4px;
  background: linear-gradient(155deg, rgba(var(--a), .15) 0%, rgba(var(--a), .03) 46%, rgba(244, 241, 234, .03) 100%), rgba(7, 9, 13, .78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 0 0 1px rgba(var(--a), .8),
    0 0 0 1px rgba(var(--a), .18), 0 26px 50px -26px rgba(var(--a), .45), 0 24px 44px -28px rgba(0, 0, 0, .95);
}
.tile input:focus-visible + .tile-body { outline: 2px solid var(--amber); outline-offset: 3px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .9), 0 24px 44px -28px rgba(0, 0, 0, .95); }
.tile-dot { width: 12px; height: 12px; border-radius: 50%; background: rgb(var(--a)); box-shadow: 0 0 14px rgba(var(--a), .9), inset 0 1px 1px rgba(255, 255, 255, .7); margin-bottom: auto; }
.tile-name { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 18px; }
.tile-hint { font-size: 0.9rem; color: var(--soft); }
.tile input:checked + .tile-body .tile-hint { color: var(--text); }

.picker-detail { padding: clamp(24px, 3.6vw, 44px); display: grid; gap: 28px; --accent: var(--amber); }
@media (min-width: 860px) { .picker-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; } }
.picker-detail[data-tier="core"] { --accent: var(--rose); }
.picker-detail[data-tier="swift"] { --accent: var(--violet-soft); }
.picker-detail[data-tier="solo"] { --accent: var(--paper); }
.picker-detail h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -0.04em; line-height: 1.05; }
.picker-text p { color: var(--soft); margin-top: 14px; max-width: 30em; min-height: 3.2em; }
.meters { margin: 0 0 22px; display: grid; gap: 18px; }
.meter-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 12px; }
.meter-row dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.meter-row dd { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.meter { display: inline-grid; grid-template-columns: repeat(5, 1fr); gap: 5px; width: min(240px, 100%); }
.meter i { height: 12px; border-radius: 4px; background: rgba(244, 241, 234, 0.12); box-shadow: inset 0 1px 1px rgba(0, 0, 0, .5); transition: background-color .3s, box-shadow .3s; }
.meter[data-level="1"] i:nth-child(-n+1),
.meter[data-level="2"] i:nth-child(-n+2),
.meter[data-level="3"] i:nth-child(-n+3),
.meter[data-level="4"] i:nth-child(-n+4),
.meter[data-level="5"] i:nth-child(-n+5) { background: var(--accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 12px -2px var(--accent); }
.meter[data-level="0"] i { background: transparent; box-shadow: none; border: 1px dashed var(--line-strong); }

/* workspace: a glass window standing in space */
.workspace { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .workspace { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 64px; } }
.plain { margin-top: 36px; display: grid; gap: 26px; }
.plain h3 { margin-bottom: 6px; }
.plain p { color: var(--soft); }

.mock-figure { min-width: 0; }
.mock-figure figcaption { margin-top: 22px; font-size: 0.875rem; color: var(--muted); }
.mock-stage { position: relative; }
.mock-stage::before {
  content: ""; position: absolute; inset: 0; border-radius: 20px; pointer-events: none;
  background: linear-gradient(150deg, rgba(244, 241, 234, .08), rgba(var(--c-violet), .1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(244, 241, 234, .08);
  transform: translate(14px, -14px);
}
.mock { border-radius: 20px; --r: 20px; font-size: 0.875rem; line-height: 1.4; box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .34), inset 0 -1px 0 rgba(0, 0, 0, .55),
    0 50px 100px -50px rgba(var(--c-violet), .28), 0 34px 70px -34px rgba(0, 0, 0, .95); }
@media (min-width: 960px) {
  .mock-stage { perspective: 1500px; }
  .mock-stage::before { transform: rotateY(-10deg) rotateX(3deg) translate3d(34px, -30px, -80px); transform-origin: 30% 50%; }
  .mock { transform: rotateY(-10deg) rotateX(3deg); transform-origin: 30% 50%; transition: transform .9s var(--ease); }
  .mock-figure:hover .mock { transform: rotateY(-5deg) rotateX(1.5deg); }
}
.mock-inner { border-radius: inherit; overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: rgba(244, 241, 234, .04); }
.mock-dots { display: inline-flex; gap: 6px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
.mock-dots i:nth-child(2) { background: var(--rose); }
.mock-dots i:nth-child(3) { background: var(--violet); }
.mock-path { color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-body { display: grid; }
.mock-side { padding: 16px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
@media (min-width: 560px) {
  .mock-body { grid-template-columns: 190px minmax(0, 1fr); }
  .mock-side { border-bottom: 0; border-right: 1px solid var(--line); align-content: start; }
}
.mock-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); margin-bottom: 8px; }
.mock-folder { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 8px; color: var(--soft); }
.mock-folder.is-active { background: rgba(244, 241, 234, .1); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.mock-folder.is-active svg { color: var(--amber); }
.mock-main { padding: 16px; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .mock-main { grid-template-columns: 1fr 1fr; } .mock-block-wide { grid-column: 1 / -1; } }
.mock-block {
  background: linear-gradient(150deg, rgba(244, 241, 234, .08), rgba(244, 241, 234, .025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(244, 241, 234, .07);
  border-radius: 12px; padding: 14px; min-width: 0;
}
.mock-row { display: flex; align-items: center; gap: 9px; padding: 4px 0; min-width: 0; }
.mock-sub { color: var(--soft); font-size: 0.8rem; padding-left: 21px; }
.mock-file { width: 12px; height: 15px; border-radius: 2px; border: 1.5px solid var(--soft); flex: none; }
.mock-file-amber { border-color: var(--amber); }
.mock-badge {
  margin-left: auto; font-size: 0.7rem; font-weight: 600; color: var(--ink); background: var(--amber);
  padding: 2px 8px; border-radius: 999px;
}
.mock-clock { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--violet-soft); flex: none; position: relative; }
.mock-clock::after { content: ""; position: absolute; left: 4.5px; top: 2px; width: 1.5px; height: 4.5px; background: var(--violet-soft); }
.mock-toggle { margin-left: auto; flex: none; width: 26px; height: 15px; border-radius: 999px; background: var(--violet); position: relative; }
.mock-toggle::after { content: ""; position: absolute; right: 2px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); }
.mock-usage { display: flex; align-items: flex-end; gap: 6px; height: 54px; }
.mock-usage i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #FF86A8, var(--rose)); opacity: 0.9; }

/* why */
.why { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .why { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
  .why > div { position: sticky; top: 110px; align-self: start; }
}
.why-list { padding: 6px clamp(22px, 3vw, 36px); }
.why-list li { padding: 26px 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.why-list li:first-child { border-top: 0; }
.why-list p { color: var(--soft); max-width: 40em; }
@media (min-width: 640px) {
  .why-list li { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px; }
}

/* estimates: engraved glass */
.engraved { display: grid; margin: 56px 0 0; grid-template-columns: 1fr; }
@media (min-width: 640px) { .engraved { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .engraved { grid-template-columns: 1.15fr 1.25fr 0.8fr 1fr; } }
.eng { --accent: var(--paper); position: relative; padding: clamp(26px, 3vw, 38px) clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.eng + .eng { border-top: 1px solid var(--line); }
@media (min-width: 640px) {
  .eng + .eng { border-top: 0; }
  .eng:nth-child(even) { border-left: 1px solid var(--line); }
  .eng:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (min-width: 1100px) {
  .eng:nth-child(n+3) { border-top: 0; }
  .eng + .eng { border-left: 1px solid var(--line); }
}
.eng-amber { --accent: var(--amber); }
.eng-rose { --accent: #FF86A8; }
.eng-violet { --accent: var(--violet-soft); }
.eng strong {
  font-size: clamp(2.9rem, 4.9vw, 4.1rem); line-height: 1; letter-spacing: -0.055em; font-weight: 700; white-space: nowrap;
  color: var(--text); margin-top: 10px;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .eng strong {
    background: linear-gradient(180deg, #FFFFFF 18%, var(--accent) 115%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    /* cut into the glass: shade on the upper edge, a line of light on the lower one */
    filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .85)) drop-shadow(0 1.5px 0 rgba(255, 255, 255, .28));
  }
}
.eng-text { color: var(--soft); max-width: 22em; }

/* join: the brightest, clearest pane on the page */
.join { display: grid; gap: 40px; }
@media (min-width: 960px) { .join { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; } }
.join-copy .muted { margin-top: 14px; }
.join-panel { padding: clamp(22px, 3.6vw, 44px); border-radius: 26px; --r: 26px; }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label, .choice > legend { font-weight: 600; font-size: 0.97rem; }
.optional { font-weight: 400; color: var(--soft); font-size: 0.875rem; margin-left: 6px; }
.field input[type="text"], .field input[type="email"] {
  width: 100%; font: inherit; color: var(--text); background: rgba(4, 6, 9, .72);
  border: 1.5px solid #6B7280; border-radius: 13px; padding: 14px 15px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .14);
  transition: border-color .2s, box-shadow .2s;
}
.field input[type="text"]:focus-visible, .field input[type="email"]:focus-visible {
  outline-offset: 1px; border-color: var(--amber); border-radius: 13px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .6), 0 0 0 5px rgba(var(--c-amber), .16);
}
.field input[aria-invalid="true"] { border-color: var(--error); }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice > legend { float: left; width: 100%; margin-bottom: 8px; }
.radio { position: relative; cursor: pointer; }
.radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio > span {
  display: inline-flex; align-items: baseline; gap: 7px; padding: 10px 16px; border-radius: 999px; font-weight: 600;
  background: rgba(4, 6, 9, .5);
  box-shadow: inset 0 0 0 1.5px #6B7280, inset 0 1px 0 rgba(255, 255, 255, .1);
  transition: box-shadow .2s, background-color .2s;
}
.radio small { font-weight: 400; font-size: 0.85rem; color: var(--soft); }
.radio:hover > span { box-shadow: inset 0 0 0 1.5px var(--soft); }
.radio input:checked + span { background: rgba(var(--c-amber), 0.16); box-shadow: inset 0 0 0 1.5px var(--amber), 0 0 22px -6px rgba(var(--c-amber), .8); }
.radio input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 3px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .9); }
.choice .error { flex-basis: 100%; }
.error { color: var(--error); font-size: 0.9rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 0.875rem; color: var(--soft); line-height: 1.55; }
.form-status:empty { display: none; }
.form-status {
  font-size: 0.95rem; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: rgba(4, 6, 9, .72);
}
.form-status.is-preview { border-color: var(--violet-soft); }
.form-status.is-error { border-color: var(--error); }
.success { display: grid; gap: 14px; justify-items: start; padding: 12px 0; }
.success h3 { font-size: 1.7rem; letter-spacing: -0.03em; }
.success p { color: var(--soft); overflow-wrap: anywhere; }
.success strong { color: var(--text); font-weight: 600; }

/* faq */
.faq { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; } }
.faq-list { padding: 4px clamp(22px, 3vw, 36px); }
.faq-list details + details { border-top: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 24px 44px 24px 0; position: relative;
  font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -9px;
  border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq-list details p { color: var(--soft); padding: 0 0 26px; max-width: 42em; }

/* footer */
.site-footer { position: relative; padding: 48px 0 56px; box-shadow: inset 0 1px 0 rgba(244, 241, 234, .1); background: rgba(6, 8, 11, .6); }
.footer-row { display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; align-items: flex-start; }
.site-footer .muted { margin-top: 10px; font-size: 0.9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 6px; }
.footer-links a { color: var(--text); }

/* placeholder legal pages */
.legal { padding: clamp(64px, 10vw, 120px) 0; min-height: 60vh; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal .draft {
  margin-top: 28px; display: inline-block; border: 1.5px dashed var(--amber); color: var(--amber);
  border-radius: 12px; padding: 14px 18px; font-weight: 600; font-size: 1.1rem;
}
.legal p { margin-top: 22px; color: var(--soft); max-width: 38em; }
.legal p a { color: var(--text); }

/* ---------- reveals: only once the script says so, never for reduced motion ---------- */

.reveal-on [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
.reveal-on .services [data-reveal]:nth-child(2), .reveal-on .steps [data-reveal]:nth-child(2) { transition-delay: .1s; }
.reveal-on .steps [data-reveal]:nth-child(3) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal-on [data-reveal] { opacity: 1; transform: none; }
  .sweep::after { display: none; }
}
html.reduced { scroll-behavior: auto; }
html.reduced *, html.reduced *::before, html.reduced *::after { transition: none !important; animation: none !important; }
html.reduced .sweep::after { display: none; }

/* ---------- the swarm build (swarm.js): the page is assembled on screen by four role cursors ----------
   Blocks wait invisible, are framed, typed in as a skeleton, then cleared to the finished block.
   Only when the script says so; never for reduced motion (the script does not start). */

.swarm-on [data-sw="wait"] { opacity: 0; }
.swarm-on [data-sw="in"] { transition: opacity .6s var(--ease); }

.sw-layer { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 55; pointer-events: none; }
.sw-ghost { position: absolute; left: 0; top: 0; --k: var(--c-amber); will-change: transform, opacity; }
.sw-ghost[data-stage="copy"] { --k: var(--c-rose); }
.sw-ghost[data-stage="style"] { --k: 169, 150, 255; }
.sw-frame {
  position: absolute; left: 0; top: 0; width: 10px; height: 10px; border-radius: inherit;
  border: 1px dashed rgba(var(--k), .85); background: rgba(var(--k), .04);
  box-shadow: 0 0 28px -10px rgba(var(--k), .5);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.sw-frame > b { position: absolute; width: 7px; height: 7px; border-radius: 2px; background: #0B0D12; border: 1px solid rgb(var(--k)); transition: border-color .3s; }
.sw-h-tl { left: -4px; top: -4px; } .sw-h-tr { right: -4px; top: -4px; }
.sw-h-bl { left: -4px; bottom: -4px; } .sw-h-br { right: -4px; bottom: -4px; }
.sw-clip { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.sw-bars { position: absolute; left: 0; top: 0; }
.sw-bars i { position: absolute; border-radius: 999px; background: rgba(244, 241, 234, .17); transform: scaleX(0); transform-origin: 0 50%; }
.sw-bars i.h { background: rgba(244, 241, 234, .34); }
.sw-bars i.box { background: rgba(244, 241, 234, .05); box-shadow: inset 0 0 0 1px rgba(244, 241, 234, .26); }
/* the pass of the Style cursor: a band of white light, dispersed at its two edges */
.sw-sheen {
  position: absolute; top: -10%; bottom: -10%; left: 0; width: 38%; opacity: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 40, 40, .12) 26%, rgba(255, 215, 0, .16) 40%, rgba(255, 255, 255, .38) 50%, rgba(0, 200, 255, .16) 60%, rgba(140, 50, 255, .14) 74%, transparent);
  transform: translateX(-120%) skewX(-12deg);
}
.sw-ghost[data-stage="style"] .sw-sheen { opacity: 1; }
.sw-tag {
  position: absolute; left: 1px; top: -21px; white-space: nowrap;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.4;
  color: rgb(var(--k)); transition: color .3s;
}
.sw-tick {
  position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%;
  display: grid; place-items: center; color: #FFFFFF;
  background: linear-gradient(160deg, rgba(255, 255, 255, .26), rgba(244, 241, 234, .05) 60%), rgba(8, 10, 14, .55);
  -webkit-backdrop-filter: blur(8px) saturate(170%); backdrop-filter: blur(8px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 0 0 1px rgba(255, 255, 255, .5), 0 8px 18px -8px rgba(0, 0, 0, .9), 0 0 22px -6px rgba(255, 255, 255, .55);
  animation: sw-pop .32s var(--ease) both;
  transition: opacity .4s, transform .4s var(--ease);
}
.sw-tick.is-out { opacity: 0; transform: scale(.7); }
@keyframes sw-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }

/* role cursors: a pointer and a small liquid-glass name tag, in spectrum order */
.sw-cursors { position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden; }
.sw-cur { position: absolute; left: 0; top: 0; opacity: 0; --k: var(--c-amber); will-change: transform, opacity; }
.sw-cur[data-role="copy"], .sw-feed [data-role="copy"] { --k: var(--c-rose); }
.sw-cur[data-role="style"], .sw-feed [data-role="style"] { --k: 169, 150, 255; }
.sw-cur[data-role="qa"], .sw-feed [data-role="qa"] { --k: 244, 241, 234; }
.sw-cur svg { overflow: visible; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .65)); transform-origin: 2px 2px; transition: transform .16s var(--ease); }
.sw-cur.is-down svg { transform: scale(.84); }
.sw-cur path { fill: rgb(var(--k)); stroke: #FFFFFF; stroke-width: 1.2; stroke-linejoin: round; }
.sw-cur-tag {
  position: absolute; left: 14px; top: 19px; display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px 3px 8px; border-radius: 999px; white-space: nowrap;
  font-size: 0.75rem; font-weight: 600; line-height: 1.4; color: var(--text);
  background: linear-gradient(160deg, rgba(var(--k), .24), rgba(244, 241, 234, .03) 60%, rgba(var(--k), .12)), rgba(8, 10, 14, .5);
  -webkit-backdrop-filter: blur(8px) saturate(170%); backdrop-filter: blur(8px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), inset 0 0 0 1px rgba(var(--k), .55), inset 0 -1px 0 rgba(0, 0, 0, .5), 0 8px 18px -8px rgba(0, 0, 0, .9), 0 0 18px -6px rgba(var(--k), .6);
}
.sw-cur-tag i, .sw-feed li > i { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--k)); box-shadow: 0 0 8px rgb(var(--k)); }

/* the dock: what each role is doing, how far the page is, and a way to skip or replay */
.sw-dock {
  position: fixed; left: 16px; bottom: 16px; z-index: 58; width: 272px;
  --r: 18px; border-radius: 18px; padding: 10px 10px 10px 14px;
  font-size: 0.8125rem; line-height: 1.35;
}
.sw-head { display: flex; align-items: center; gap: 9px; }
.sw-live { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); transition: background-color .3s, box-shadow .3s; }
.sw-dock[data-state="building"] .sw-live { background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: sw-pulse 1.1s ease-in-out infinite; }
.sw-dock[data-state="done"] .sw-live { background: var(--paper); box-shadow: 0 0 8px rgba(244, 241, 234, .7); }
@keyframes sw-pulse { 50% { opacity: .35; } }
.sw-count { flex: 1; min-width: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.sw-btn {
  flex: none; font: inherit; font-weight: 600; font-size: 0.78rem; color: var(--text); cursor: pointer;
  border: 0; border-radius: 999px; padding: 6px 13px; min-height: 30px;
  background: rgba(244, 241, 234, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(244, 241, 234, .2);
  transition: background-color .2s, box-shadow .2s;
}
.sw-btn:hover { background: rgba(244, 241, 234, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(244, 241, 234, .4); }
.sw-btn:focus-visible { border-radius: 999px; }
.sw-prog { height: 2px; margin: 9px 4px 0 0; border-radius: 2px; background: var(--line); overflow: hidden; }
.sw-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), var(--rose), var(--violet-soft), #FFFFFF); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.sw-dock[data-state="off"] .sw-prog { display: none; }
.sw-fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.sw-dock[data-state="building"] .sw-fold { grid-template-rows: 1fr; }
.sw-fold-in { overflow: hidden; min-height: 0; padding-right: 4px; }
.sw-feed { display: grid; gap: 5px; padding-top: 11px; }
.sw-feed li { --k: var(--c-amber); display: grid; grid-template-columns: 6px 46px minmax(0, 1fr); align-items: center; gap: 8px; }
.sw-feed b { font-weight: 600; }
.sw-feed span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-feed li.is-busy span { color: var(--text); }
.sw-feed li:not(.is-busy) > i { opacity: .35; box-shadow: none; }
.sw-note { margin-top: 9px; font-size: 0.72rem; color: var(--muted); }
@media (max-width: 640px) {
  .sw-dock { left: 10px; bottom: 10px; width: auto; max-width: calc(100vw - 20px); }
  .sw-fold, .sw-prog { display: none; }
  .sw-cur-tag { font-size: 0.6875rem; padding: 2px 8px 2px 7px; }
}
@media print {
  .sw-layer, .sw-cursors, .sw-dock { display: none; }
  .swarm-on [data-sw] { opacity: 1; }
}
