/* =========================================================
   Webway — three colours, nothing by accident.
   paper #fbfbfd · ink #0a0a0c · cobalt #1f4fff
   ========================================================= */

@property --bg { syntax: "<color>"; inherits: true; initial-value: #fbfbfd; }
@property --fg { syntax: "<color>"; inherits: true; initial-value: #0a0a0c; }
@property --muted { syntax: "<color>"; inherits: true; initial-value: #6e6e73; }

:root {
  --paper: #fbfbfd;
  --ink: #0a0a0c;
  --cobalt: #1f4fff;
  --cobalt-deep: #1238d6;
  --grey: #6e6e73;

  --bg: var(--paper);
  --fg: var(--ink);
  --muted: var(--grey);
  --line: color-mix(in srgb, var(--fg) 11%, transparent);
  --btn-bg: var(--cobalt);
  --btn-fg: #fff;
  --dot: var(--cobalt);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --display: "Inter Tight", "SF Pro Display", system-ui, sans-serif;
  --body: "Inter", "SF Pro Text", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: light;
}

body[data-theme="cobalt"] {
  --bg: var(--cobalt);
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, .74);
  --btn-bg: #ffffff;
  --btn-fg: var(--cobalt);
  --dot: #ffffff;
}
body[data-theme="dark"] {
  --bg: #000000;
  --fg: #f5f5f7;
  --muted: #86868b;
  --dot: var(--cobalt);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: --bg 1.1s var(--ease-io), --fg 1.1s var(--ease-io), --muted 1.1s var(--ease-io);
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--cobalt); color: #fff; }
/* Feels like an app, not a document: no stray text highlighting or image dragging.
   Kept selectable only where copying is useful. */
body { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
img, svg, canvas { -webkit-user-drag: none; }
.sticker, .ticket { -webkit-touch-callout: none; }
input, textarea, .contact-phone, .faq-a, .lb-info p { -webkit-user-select: text; user-select: text; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
body[data-theme="cobalt"] :focus-visible { outline-color: #fff; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; font-weight: 400; }
.kicker { color: var(--muted); margin-bottom: 22px; }

h1, h2 {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: .98;
}
h2 { font-size: clamp(38px, 6.4vw, 92px); }

/* ---------- split text: words rise out of a mask ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin: 0 -.02em -.1em; }
.split .w > span {
  display: inline-block;
  transform: translate3d(0, 108%, 0) rotate(3deg);
  transform-origin: 0 100%;
  transition: transform 1.25s var(--ease);
  transition-delay: calc(var(--i) * 55ms);
}
.split.in .w > span { transform: none; }

.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  filter: blur(8px);
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease), filter 1.1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform .6s var(--ease), background-color .4s, color .4s, box-shadow .4s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-accent { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--cobalt) 70%, transparent); }
.btn-accent:hover { box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--cobalt) 90%, transparent); }
.btn-ink { background: var(--fg); color: var(--bg); }
.btn-quiet { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.btn-quiet:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- HUD ---------- */
.hud {
  position: fixed; inset: auto 0 16px 0; z-index: 40;
  display: flex; justify-content: flex-end;
  padding: 0 22px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.hud-l { transition: opacity .4s; }
.hud-l.swap { opacity: 0; }

/* ---------- nav: floating liquid-glass pill, baby-blue tint ---------- */
@property --tint { syntax: "<color>"; inherits: true; initial-value: rgba(214, 231, 255, .52); }
body { --tint: rgba(214, 231, 255, .52); }
body[data-theme="cobalt"] { --tint: rgba(190, 215, 255, .2); }
body[data-theme="dark"] { --tint: rgba(150, 190, 255, .12); }

.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center;
  padding: 0 12px;
  pointer-events: none;
  transition: transform .8s var(--ease), opacity .5s;
}
.nav.hide { transform: translateY(-140%); opacity: 0; }
.nav-glass {
  --lx: 50%; --ly: 0%;
  position: relative;
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: min(900px, 100%); height: 58px;
  padding: 0 8px 0 24px;
  border-radius: 999px;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,0) 60%),
    var(--tint);
  -webkit-backdrop-filter: blur(16px) saturate(190%) brightness(1.04);
  backdrop-filter: blur(16px) saturate(190%) brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),         /* top specular */
    inset 0 -1px 0 rgba(255,255,255,.28),        /* bottom rim */
    inset 0 0 0 1px rgba(255,255,255,.3),        /* edge */
    inset 0 -10px 22px -14px rgba(120,160,255,.45), /* blue caustic along the base */
    0 1px 1px rgba(10, 20, 60, .06),
    0 16px 40px -18px rgba(20, 50, 140, .35);
  transition: --tint 1.1s var(--ease-io), box-shadow .6s;
}
/* Chromium: real refraction of what's behind the glass */
.liquid .nav-glass {
  -webkit-backdrop-filter: url(#liquid) blur(10px) saturate(190%) brightness(1.04);
  backdrop-filter: url(#liquid) blur(10px) saturate(190%) brightness(1.04);
}
body[data-theme="dark"] .nav-glass,
body[data-theme="cobalt"] .nav-glass {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -1px 0 rgba(255,255,255,.12),
    inset 0 0 0 1px rgba(255,255,255,.14),
    inset 0 -10px 22px -14px rgba(140,180,255,.35),
    0 16px 40px -18px rgba(0,0,0,.5);
}
/* light that follows the cursor across the glass */
.glass-light {
  position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(160px 80px at var(--lx) var(--ly), rgba(255,255,255,.55), transparent 70%);
  mix-blend-mode: soft-light; opacity: 0; transition: opacity .5s;
}
.nav-glass:hover .glass-light { opacity: 1; }

.brand { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.04em; }
.nav-links { position: relative; display: flex; gap: 4px; font-size: 14px; }
.nav-links a { position: relative; z-index: 1; padding: 8px 16px; border-radius: 999px; color: var(--muted); transition: color .35s; }
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-blob {
  position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px;
  background: rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(255,255,255,.4), 0 4px 14px -6px rgba(20,50,140,.3);
  opacity: 0;
  transition: transform .7s var(--ease), width .7s var(--ease), opacity .4s;
}
body[data-theme="dark"] .nav-blob, body[data-theme="cobalt"] .nav-blob { background: rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.12); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-right .btn-sm { height: 42px; padding: 0 20px; }
.lang { position: relative; display: flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 11px; }
.lang button { position: relative; z-index: 1; width: 34px; height: 26px; border-radius: 999px; color: var(--muted); transition: color .4s; }
.lang button[aria-pressed="true"] { color: var(--bg); }
.lang::before {
  content: ""; position: absolute; top: 3px; left: 3px; width: 34px; height: 26px; border-radius: 999px;
  background: var(--fg); transition: transform .55s var(--ease);
}
.lang.fr::before { transform: translateX(34px); }

/* =========================================================
   01 HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(112px, 17vh, 170px) var(--gutter) 0;
  text-align: center;
  overflow: hidden;
}
.halftone { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.knot-space { width: 100%; height: clamp(340px, 60vh, 660px); flex: none; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.eyebrow { color: var(--muted); margin-bottom: 26px; }
.hero h1 { font-size: clamp(44px, 8.2vw, 128px); text-wrap: balance; }
.hero-sub { max-width: 34em; margin-top: 28px; font-size: clamp(17px, 1.45vw, 21px); color: var(--muted); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.hero .reveal:nth-of-type(2) { --d: 380ms; }
.hero-actions.reveal { --d: 520ms; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: 11px;
}
.scroll-cue i { width: 1px; height: 36px; background: linear-gradient(var(--fg), transparent); transform-origin: top; animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- holographic sticker ---------- */
.sticker-slot {
  position: absolute; z-index: 3;
  left: 100%; top: 27%;
  width: 380px; height: 170px;
  margin-left: calc(-380px * var(--s, .62) * .42);
  transform: scale(var(--s, .62)) rotate(-9deg);
  transform-origin: 0 50%;
  perspective: 900px;
  touch-action: none;
}
.sticker {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 30%; --px: 50%; --py: 50%; --glit: .55;
  --tx: 0px; --ty: 0px; --lift: 0;
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: translate3d(var(--tx), var(--ty), 0) rotateX(var(--rx)) rotateY(var(--ry)) scale(calc(1 + var(--lift) * .06));
  cursor: grab;
  filter: drop-shadow(0 calc(10px + var(--lift) * 26px) calc(16px + var(--lift) * 22px) rgba(10, 12, 30, calc(.16 + var(--lift) * .12)));
  will-change: transform;
}
.sticker.dragging { cursor: grabbing; }
.st-body, .st-backing, .st-flap-shadow, .st-flap { position: absolute; inset: 0; }
.st-body { overflow: hidden; }
.st-white { position: absolute; inset: 0; background: #fff; }
.st-foil {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, #cfd4de 0%, #f6f7fa 28%, #b9bfcc 52%, #eceef3 76%, #c8cdd8 100%);
}
.st-rainbow {
  position: absolute; inset: -40%;
  /* icy blue + silver foil (no rainbow) */
  background: repeating-linear-gradient(115deg,
    #b9ccff 0%, #f4f7ff 6%, #6f93ff 13%, #d7e0ec 20%, #8fd3ff 27%, #ffffff 33%, #4f78ff 39%, #b9ccff 45%);
  background-size: 180% 180%;
  background-position: var(--px) var(--py);
  mix-blend-mode: soft-light;
  opacity: 1;
}
.st-rainbow::after {
  content: ""; position: absolute; inset: 0;
  background: inherit; background-size: 120% 120%;
  mix-blend-mode: color; opacity: .55;
}
.st-glitter {
  position: absolute; inset: -20px;
  background-image: var(--glitter);
  background-size: 140px 140px;
  background-position: calc(var(--px) * 0.4) calc(var(--py) * 0.4);
  mix-blend-mode: color-dodge;
  opacity: var(--glit);
}
.st-glitter-2 {
  background-size: 96px 96px;
  background-position: calc(100% - var(--px) * .6) calc(100% - var(--py) * .6);
  filter: saturate(.6) brightness(1.1);
  opacity: calc(1.05 - var(--glit));
}
.st-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.st-word { font-family: var(--display); font-weight: 800; font-size: 70px; letter-spacing: -3.5px; fill: var(--ink); font-style: italic; }
.st-sub { font-family: var(--mono); font-size: 11.5px; letter-spacing: 3px; fill: var(--ink); opacity: .8; }
.st-swoosh { fill: none; stroke: var(--cobalt); stroke-width: 5; stroke-linecap: round; }
.st-glare {
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255,255,255,.85) 0%, rgba(255,255,255,.25) 22%, transparent 52%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.st-backing { background-color: #dadde3; pointer-events: none; }
.st-flap-shadow { filter: drop-shadow(-8px 10px 12px rgba(10, 12, 30, .28)); pointer-events: none; }
.st-flap { transform-origin: 0 0; background: #f6f7f9; }
.sticker.peeled .st-backing, .sticker.peeled .st-flap-shadow { display: none; }

/* =========================================================
   02 BUILD — real 3D laptop (js/laptop.js); features live on its screen
   ========================================================= */
.build { position: relative; }
.build-pin { height: 100svh; display: flex; flex-direction: column; align-items: center; padding: 92px var(--gutter) 0; overflow: hidden; }
.build-head { text-align: center; position: relative; z-index: 3; }
.build-head h2 { font-size: clamp(34px, 5.2vw, 76px); }
.build-stage { position: relative; flex: 1; width: 100%; max-width: 1500px; min-height: 0; }
.laptop-gl, .laptop-css { position: absolute; inset: 0; width: 100%; height: 100%; }
.laptop-css { pointer-events: none; overflow: hidden; }

/* The laptop screen: sizes scale with --k (1 on desktop, bigger on phones) */
.screen-ui {
  --k: 1;
  --wake: 1;
  position: absolute; left: 0; top: 0;
  transform-origin: 0 0;
  will-change: transform;
  display: flex; flex-direction: column;
  padding: 0 calc(34px * var(--k)) calc(34px * var(--k));
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(31,79,255,.14), transparent 55%),
    radial-gradient(90% 70% at 0% 110%, rgba(120,170,255,.16), transparent 60%),
    #f3f5fa;
  color: var(--ink);
  font-family: var(--body);
  overflow: hidden;
  opacity: 0;
  filter: brightness(calc(1 + var(--wake) * .6));
}
.screen-ui.compact { --k: 1.4; }
.screen-ui .fc { min-height: 0; overflow: hidden; }
.sui-bar {
  display: flex; align-items: center; gap: 16px;
  height: calc(54px * var(--k)); flex: none;
  margin: 0 calc(-34px * var(--k)) calc(22px * var(--k)); padding: 0 calc(22px * var(--k));
  background: rgba(255,255,255,.7); border-bottom: 1px solid rgba(10,20,60,.06);
}
.sui-dots { display: flex; gap: calc(8px * var(--k)); }
.sui-dots i { width: calc(12px * var(--k)); height: calc(12px * var(--k)); border-radius: 50%; background: #d7dbe3; }
.sui-url { margin: 0 auto; padding: calc(7px * var(--k)) calc(22px * var(--k)); border-radius: 999px; background: #e8ebf2; color: #5a5f6b; font-size: calc(14px * var(--k)); text-transform: none; letter-spacing: 0; }
.sui-live { display: flex; align-items: center; gap: 8px; color: #0c8a57; font-size: calc(13px * var(--k)); }
.sui-live b { width: calc(9px * var(--k)); height: calc(9px * var(--k)); border-radius: 50%; background: #16c47f; box-shadow: 0 0 0 0 rgba(22,196,127,.5); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 calc(10px * var(--k)) rgba(22,196,127,0); } 100% { box-shadow: 0 0 0 0 rgba(22,196,127,0); } }
.sui-head p { color: #6e6e73; font-size: calc(14px * var(--k)); margin-bottom: calc(18px * var(--k)); }
.sui-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: calc(20px * var(--k)); }
.screen-ui.compact .sui-grid { grid-template-columns: repeat(2, 1fr); }
.screen-ui.compact .fc-lang, .screen-ui.compact .fc-speed { display: none; }
.sui-glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.35), transparent 32%, transparent 70%, rgba(255,255,255,.12)); }

/* feature cards (inside the screen) */
.card { background: #fff; color: var(--ink); border-radius: calc(22px * var(--k)); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px rgba(10,20,60,.05), 0 24px 50px -30px rgba(10, 30, 110, .45); }
.fc {
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(24px * var(--k)) calc(28px * var(--k));
  opacity: 0; transform: translateY(calc(40px * var(--k))) scale(.92);
  transition: opacity .7s var(--ease), transform 1s var(--ease);
}
.fc.on { opacity: 1; transform: none; }
.fc-label { color: #86868b; font-size: calc(13px * var(--k)); margin-bottom: calc(12px * var(--k)); }
.fc-title { font-family: var(--display); font-weight: 650; font-size: calc(26px * var(--k)); letter-spacing: -0.025em; line-height: 1.15; }
.fc-muted { color: #6e6e73; font-size: calc(17px * var(--k)); line-height: 1.35; margin-top: calc(6px * var(--k)); }
.fc-muted.small { font-size: calc(14px * var(--k)); text-align: center; margin-top: calc(10px * var(--k)); }
.fc-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: calc(16px * var(--k)); padding: calc(8px * var(--k)) calc(16px * var(--k)) calc(8px * var(--k)) calc(12px * var(--k)); border-radius: 999px; background: #e9efff; color: var(--cobalt); font-size: calc(16px * var(--k)); font-weight: 600; }
.fc-pill svg { width: calc(18px * var(--k)); height: calc(18px * var(--k)); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.stars { color: #ffb400; letter-spacing: 3px; font-size: calc(22px * var(--k)); margin-bottom: calc(10px * var(--k)); }
.fc-row { display: flex; justify-content: space-between; gap: 12px; font-size: calc(18px * var(--k)); margin-bottom: calc(14px * var(--k)); }
.apple-pay { display: flex; align-items: center; justify-content: center; gap: 6px; height: calc(54px * var(--k)); border-radius: calc(12px * var(--k)); background: #000; color: #fff; font-weight: 600; font-size: calc(22px * var(--k)); }
.apple-pay svg { width: calc(18px * var(--k)); height: calc(22px * var(--k)); fill: #fff; margin-top: -3px; }
.fc-speed { flex-direction: row; align-items: center; justify-content: flex-start; gap: calc(22px * var(--k)); }
.ring { width: calc(92px * var(--k)); height: calc(92px * var(--k)); flex: none; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: #e8ecf5; stroke-width: 6; }
.ring .ring-val { stroke: #16c47f; stroke-linecap: round; stroke-dasharray: 170; stroke-dashoffset: var(--ring, 170); }
.fc-big { font-family: var(--display); font-weight: 700; font-size: calc(58px * var(--k)); letter-spacing: -0.05em; line-height: 1; color: #0c8a57; font-variant-numeric: tabular-nums; }
.fc-lang { gap: calc(18px * var(--k)); }
.mini-toggle { position: relative; align-self: flex-start; display: flex; padding: 4px; border-radius: 999px; background: #f0f1f4; font-family: var(--mono); font-size: calc(14px * var(--k)); }
.mini-toggle span { position: relative; z-index: 1; width: calc(44px * var(--k)); text-align: center; line-height: calc(32px * var(--k)); }
.mini-toggle i { position: absolute; top: 4px; left: 4px; width: calc(44px * var(--k)); height: calc(32px * var(--k)); border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.15); animation: tog 4s var(--ease) infinite; }
.fc-flip { position: relative; height: calc(40px * var(--k)); overflow: hidden; font-family: var(--display); font-weight: 650; font-size: calc(32px * var(--k)); letter-spacing: -0.03em; }
.fc-flip span { position: absolute; inset: 0; animation: flipA 4s var(--ease) infinite; }
.fc-flip span + span { animation-name: flipB; color: var(--cobalt); }
@keyframes tog { 0%, 40% { transform: none; } 50%, 90% { transform: translateX(calc(44px * var(--k))); } 100% { transform: none; } }
@keyframes flipA { 0%, 40% { transform: none; opacity: 1; } 50%, 90% { transform: translateY(-100%); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes flipB { 0%, 40% { transform: translateY(100%); opacity: 0; } 50%, 90% { transform: none; opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }
.gsearch { display: flex; align-items: center; gap: 10px; height: calc(52px * var(--k)); padding: 0 calc(18px * var(--k)); border-radius: 999px; background: #f2f3f6; font-size: calc(17px * var(--k)); color: #3a3a3e; }
.gsearch svg { width: calc(18px * var(--k)); height: calc(18px * var(--k)); fill: none; stroke: #86868b; stroke-width: 1.8; stroke-linecap: round; flex: none; }
.typed { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fc-result { display: flex; flex-direction: column; margin-top: calc(14px * var(--k)); padding: calc(14px * var(--k)) calc(16px * var(--k)); border-radius: calc(14px * var(--k)); background: #eef3ff; box-shadow: inset 0 0 0 1px #d6e1ff; }
.fc-result b { font-family: var(--display); color: var(--cobalt); font-size: calc(22px * var(--k)); }
.fc-result span { font-size: calc(15px * var(--k)); color: #6e6e73; }

/* WebGL unavailable: show the screen as a flat panel */
.build.no3d .laptop-gl, .build.no3d .laptop-css { display: none; }
.build.no3d .screen-ui { position: relative; opacity: 1; filter: none; width: min(1152px, 100%) !important; height: auto !important; margin: 30px auto; border-radius: 22px; }
.build.no3d .sui-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); grid-template-rows: none; }

/* =========================================================
   03 WORK — 3D ring
   ========================================================= */
.work-pin { height: 100svh; display: flex; flex-direction: column; align-items: center; padding: 96px 0 34px; overflow: hidden; }
.work-head { text-align: center; padding: 0 var(--gutter); position: relative; z-index: 2; }
.work-head h2 { font-size: clamp(34px, 5.2vw, 76px); }
.work-sub { color: var(--muted); margin-top: 16px; }
.ring-stage { position: relative; flex: 1; width: 100%; perspective: 1700px; perspective-origin: 50% 40%; cursor: grab; touch-action: pan-y; }
.ring-stage.dragging { cursor: grabbing; }
.ring3d { --cw: clamp(220px, min(30vw, 48svh), 440px); --r: 600px; position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; transform: translateZ(calc(var(--r) * -1)) rotateX(-4deg) rotateY(var(--rot, 0deg)); }
.rcard {
  position: absolute; left: calc(var(--cw) / -2); top: calc(var(--cw) * -.34);
  width: var(--cw); aspect-ratio: 16 / 10.8;
  transform: rotateY(var(--a)) translateZ(var(--r));
  border-radius: 14px; overflow: hidden;
  background: #1c1c1e;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 90px -30px rgba(31, 79, 255, .35);
  filter: brightness(var(--lit, 1));
  transition: filter .3s;
  display: flex; flex-direction: column;
}
.rcard:focus-visible { outline-offset: 6px; }
.rbar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; flex: none; background: #232326; }
.rbar i, .lb-bar i { width: 8px; height: 8px; border-radius: 50%; background: #48484c; }
.rbar span { margin-left: 8px; font-family: var(--mono); font-size: 10px; color: #8e8e93; text-transform: none; letter-spacing: 0; }
.rcard img { width: 100%; flex: 1; object-fit: cover; object-position: top; min-height: 0; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.ring-ui { display: flex; align-items: center; gap: 22px; position: relative; z-index: 2; margin-top: 12px; }
.ring-meta { display: flex; flex-direction: column; align-items: center; min-width: 220px; text-align: center; }
.ring-meta b { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; font-weight: 650; margin-top: 4px; }
.ring-meta span:last-child { color: var(--muted); font-size: 14px; }
.ring-meta .mono { color: var(--muted); }
.ring-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, background .3s; }
.ring-btn:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.ring-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   Generic sections
   ========================================================= */
.section { padding: clamp(110px, 16vh, 180px) var(--gutter); }
.section > h2, .section > .kicker { text-align: center; }

/* 04 people */
.people { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* Founders' business cards: brushed black titanium, engraved type, live halftone orb */
.bcards {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  gap: clamp(20px, 3vw, 44px);
  margin-top: 70px;
  perspective: 1400px;
}
.bcard {
  --r: 0deg; --fy: 0px;
  position: relative;
  width: min(420px, 40vw); aspect-ratio: 1.75;
  transform: rotate(var(--r)) translateY(var(--fy));
  animation: bcfloat 7s ease-in-out infinite;
}
.bc-left { --r: -5deg; }
.bc-right { --r: 4deg; animation-delay: -3.5s; margin-top: 60px; }
@keyframes bcfloat { 50% { --fy: -8px; } }
@property --fy { syntax: "<length>"; inherits: false; initial-value: 0px; }
.bcards.reveal { filter: none; }
.bc-inner {
  --tx: 0deg; --ty: 0deg; --sx: 30%; --lift: 0;
  position: absolute; inset: 0;
  border-radius: 16px;
  overflow: hidden;
  transform: rotateX(var(--tx)) rotateY(var(--ty)) translateZ(calc(var(--lift) * 30px));
  transition: transform .9s var(--ease), box-shadow .9s var(--ease);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),          /* top chamfer */
    inset 0 -1px 0 rgba(0,0,0,.6),
    inset 0 0 0 1px rgba(255,255,255,.06),
    0 2px 3px rgba(10,12,20,.25),
    0 calc(24px + var(--lift) * 30px) calc(50px + var(--lift) * 30px) calc(-18px - var(--lift) * 6px) rgba(10, 16, 40, calc(.45 + var(--lift) * .1));
  text-align: left;
}
.bcard.tilting .bc-inner { transition: transform .15s linear, box-shadow .6s var(--ease); animation: none; }
/* when nobody's hovering (or on phones) the light drifts across the metal by itself */
@property --sx { syntax: "<percentage>"; inherits: true; initial-value: 30%; }
.bc-inner { animation: sheen 7s ease-in-out infinite alternate; }
.bc-right .bc-inner { animation-delay: -3.5s; }
@keyframes sheen { from { --sx: 5%; } to { --sx: 95%; } }
/* brushed metal: base tone + fine horizontal grain + slow tonal variation */
.bc-metal {
  position: absolute; inset: 0;
  background:
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='240'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.003 0.95' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23b)'/%3E%3C/svg%3E") 0 0 / 100% 100%,
    linear-gradient(100deg, #2b2c30 0%, #1c1d21 34%, #26272c 58%, #17181b 100%);
  background-blend-mode: overlay, normal;
}
.bc-metal::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 40%, rgba(0,0,0,.25));
}
/* moving anisotropic highlight, like light across brushed titanium */
.bc-sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent calc(var(--sx) - 26%), rgba(255,255,255,.07) calc(var(--sx) - 10%), rgba(210,225,255,.2) var(--sx), rgba(255,255,255,.06) calc(var(--sx) + 10%), transparent calc(var(--sx) + 26%));
  mix-blend-mode: screen;
}
.bc-orb { position: absolute; width: 58%; height: auto; aspect-ratio: 1; right: -9%; top: 50%; transform: translateY(-50%); }
.bc-text { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 22px 24px; }
/* engraved type: lit lower edge, shadowed upper edge */
.bc-brand, .bc-name, .bc-role, .bc-contact a {
  color: #8d9099;
  text-shadow: 0 1px 0 rgba(255,255,255,.14), 0 -1px 0 rgba(0,0,0,.7);
}
.bc-brand { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -0.03em; color: #b9bcc4; }
.bc-name { margin-top: auto; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.045em; line-height: 1; color: #c9ccd3; }
.bc-role { font-size: 13px; margin-top: 6px; }
.bc-contact { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .01em; }
.bc-contact a { width: fit-content; transition: color .3s; -webkit-user-select: text; user-select: text; }
.bc-contact a:hover { color: #9fb8ff; }


/* "Just got a call from us?" — an incoming-call banner, like a phone's */
.call-banner {
  display: flex; align-items: center; gap: 14px;
  width: min(460px, 100%);
  margin-bottom: 44px;
  padding: 10px 10px 10px 12px;
  border-radius: 999px;
  background: #0a0a0c; color: #fff;
  text-align: left;
  box-shadow: 0 24px 50px -24px rgba(10, 20, 60, .55), 0 0 0 1px rgba(255,255,255,.06) inset;
  transform-origin: 50% 0;
}
.call-banner.reveal { transform: scale(.55, .7); filter: none; transition: opacity .6s var(--ease), transform 1.1s cubic-bezier(.2, 1.4, .3, 1); }
.call-banner.reveal.in { transform: none; }
.cb-avatar {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 20px;
  background: linear-gradient(145deg, #5b82ff, var(--cobalt));
}
.cb-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.cb-text b { font-family: var(--display); font-weight: 650; font-size: 17px; letter-spacing: -0.01em; }
.cb-text span { font-size: 13.5px; color: #98989f; }
.cb-actions { display: flex; gap: 8px; flex: none; }
.cb-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.cb-btn svg { width: 20px; height: 20px; fill: #fff; }
.cb-decline { background: #ff3b30; }
.cb-btn.cb-decline svg { width: 28px; height: 28px; transform: translateY(-2px); }
.cb-accept { background: #30d158; animation: ring 1.6s ease-in-out infinite; }
.cb-accept svg { animation: wiggle 1.6s ease-in-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(48,209,88,.55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(48,209,88,0); } }
@keyframes wiggle { 0%, 40%, 100% { transform: none; } 5%, 15%, 25% { transform: rotate(-14deg); } 10%, 20%, 30% { transform: rotate(14deg); } }
.people-lede { max-width: 36em; margin-top: 30px; font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); }
.founders { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 6vw, 90px); margin-top: 64px; }
.founder { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.founder:nth-child(2) { --d: 140ms; }
.avatar { width: 168px; height: 168px; }
.founder h3 { font-family: var(--display); font-size: 26px; font-weight: 650; letter-spacing: -0.03em; }
.founder p { color: var(--muted); font-size: 15px; }
.promise { margin-top: 64px; color: var(--muted); }

/* 05 bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1180px; margin: 70px auto 0; }
.tile {
  --tx: 0deg; --ty: 0deg; --sx: 50%; --sy: 50%;
  position: relative;
  padding: 26px 26px 30px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 30px 60px -40px rgba(10, 20, 60, .25);
  transform: perspective(900px) rotateX(var(--tx)) rotateY(var(--ty));
  transition: transform .8s var(--ease), box-shadow .6s;
  overflow: hidden;
}
.tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--sx) var(--sy), rgba(31,79,255,.07), transparent 40%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.tile:hover::after { opacity: 1; }
.tile.reveal.in { transition: transform .8s var(--ease), box-shadow .6s, opacity 1.1s var(--ease), filter 1.1s var(--ease); }
.tile:nth-child(3n+2) { --d: 90ms; }
.tile:nth-child(3n+3) { --d: 180ms; }
.tile h3 { font-family: var(--display); font-size: 21px; font-weight: 650; letter-spacing: -0.025em; margin-top: 22px; }
.tile p { color: var(--grey); font-size: 15px; margin-top: 8px; line-height: 1.45; }
.t-visual { height: 150px; border-radius: 18px; background: #f5f6f8; display: grid; place-items: center; overflow: hidden; }

.mini-phone { position: relative; width: 64px; height: 118px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 2px var(--ink), 0 18px 30px -12px rgba(0,0,0,.3); padding: 18px 8px; display: flex; flex-direction: column; gap: 6px; }
.mini-phone i { position: absolute; top: 5px; left: 50%; width: 20px; height: 5px; margin-left: -10px; border-radius: 4px; background: var(--ink); }
.mini-phone b { height: 8px; border-radius: 3px; background: linear-gradient(90deg, #e7e9ee 30%, #f6f7f9 50%, #e7e9ee 70%); background-size: 200% 100%; animation: shimmer 1.8s linear infinite; }
.mini-phone b.short { width: 60%; }
.mini-phone span { margin-top: auto; height: 16px; border-radius: 6px; background: var(--cobalt); animation: pulse 1.8s var(--ease-io) infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pulse { 50% { transform: scale(.94); opacity: .8; } }

.rank { display: flex; flex-direction: column; gap: 7px; width: 72%; }
.rank .r { height: 22px; border-radius: 7px; background: #e6e8ed; }
.rank .you { order: 1; background: var(--cobalt); color: #fff; font: 600 11px/22px var(--display); padding-left: 10px; animation: climb 3.6s var(--ease) infinite; }
.rank .r1 { order: 0; } .rank .r3 { order: 2; }
@keyframes climb { 0%, 25% { transform: translateY(0); } 45%, 85% { transform: translateY(-29px); } 100% { transform: translateY(0); } }
.rank .r1 { animation: sink 3.6s var(--ease) infinite; }
@keyframes sink { 0%, 25% { transform: translateY(0); } 45%, 85% { transform: translateY(29px); } 100% { transform: translateY(0); } }

.flipword { position: relative; width: 100%; height: 44px; perspective: 400px; font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -0.04em; text-align: center; }
.flipword span { position: absolute; inset: 0; backface-visibility: hidden; animation: fw 4s var(--ease) infinite; }
.flipword span + span { animation-name: fw2; color: var(--cobalt); }
@keyframes fw { 0%, 40% { transform: rotateX(0); } 50%, 90% { transform: rotateX(180deg); } 100% { transform: rotateX(360deg); } }
@keyframes fw2 { 0%, 40% { transform: rotateX(-180deg); } 50%, 90% { transform: rotateX(0); } 100% { transform: rotateX(180deg); } }

.cal { display: grid; grid-template-columns: repeat(7, 16px); gap: 8px; }
.cal i { width: 16px; height: 16px; border-radius: 5px; background: #e3e6ec; }
.cal .on { background: var(--cobalt); animation: pulse 1.8s var(--ease-io) infinite; }
.cal .on2 { background: var(--ink); }

.shield { width: 60px; height: 70px; }
.shield path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.shield .tick { stroke: var(--cobalt); stroke-width: 3.4; stroke-dasharray: 32; stroke-dashoffset: 32; animation: draw 3s var(--ease) infinite; }
@keyframes draw { 30%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -32; } }

.key { width: 110px; height: 56px; animation: keyturn 3.2s var(--ease) infinite; }
.key circle, .key path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.key circle { stroke: var(--cobalt); }
@keyframes keyturn { 0%, 30% { transform: translateX(-8px); } 50%, 80% { transform: translateX(6px) rotateX(70deg); } 100% { transform: translateX(-8px); } }

/* 06 process */
.process-pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 90px 0 60px; overflow: hidden; }
.process-head { padding: 0 var(--gutter); max-width: 1400px; width: 100%; margin: 0 auto 50px; }
.process-head h2 { font-size: clamp(34px, 5.2vw, 76px); }
.process-track { display: flex; gap: 20px; padding: 0 var(--gutter); will-change: transform; }
.step {
  flex: none; width: min(460px, 82vw); min-height: min(46svh, 400px);
  display: flex; flex-direction: column;
  padding: 34px; border-radius: 30px;
  background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 40px 70px -50px rgba(10, 20, 60, .3);
}
.step-n { font-family: var(--display); font-weight: 700; font-size: clamp(64px, 8vw, 110px); letter-spacing: -0.06em; line-height: .9; color: var(--cobalt); }
.step h3 { font-family: var(--display); font-weight: 650; font-size: 26px; letter-spacing: -0.03em; margin-top: auto; padding-top: 36px; }
.step p { color: var(--grey); margin-top: 10px; font-size: 16px; }
.step-t { color: var(--grey); margin-top: 22px; }
.step-hi { background: var(--cobalt); color: #fff; }
.step-hi .step-n { color: #fff; }
.step-hi p, .step-hi .step-t { color: rgba(255,255,255,.78); }
.process-bar { margin: 42px var(--gutter) 0; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; max-width: 1400px; }
.process-bar i { display: block; height: 100%; width: 100%; background: var(--fg); transform-origin: left; transform: scaleX(0); }

/* 07 statement */
.statement { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120px var(--gutter); text-align: center; }
.lit { font-family: var(--display); font-weight: 650; font-size: clamp(36px, 5.8vw, 86px); letter-spacing: -0.045em; line-height: 1.02; max-width: 15ch; }
.lit .lw { opacity: .16; transition: opacity .25s linear; }
.statement-sub { margin-top: 40px; color: var(--muted); }

/* 08 faq */
.faq { max-width: 860px; margin: 64px auto 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; cursor: pointer; font-family: var(--display); font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 16px; height: 16px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq-a { overflow: hidden; }
.faq-a p { color: var(--muted); padding: 0 40px 28px 0; max-width: 42em; }

/* 09 contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 110px); max-width: 1240px; margin: 0 auto; align-items: start; }
.contact-copy .kicker { text-align: left; }
.contact h2 { font-size: clamp(38px, 5.4vw, 80px); }
.contact-lede { color: var(--muted); margin-top: 24px; max-width: 28em; font-size: 18px; }
.contact-phone { display: inline-flex; flex-direction: column; margin-top: 34px; font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 650; letter-spacing: -0.035em; }
.contact-phone .mono { color: var(--muted); margin-bottom: 6px; }
.contact-phone:hover { color: #7d9bff; }

.ticket {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 30%; --px: 50%; --py: 50%; --glit: .6;
  position: relative; margin-top: 48px;
  width: min(420px, 100%); height: 150px;
  border-radius: 18px; overflow: hidden;
  transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .9s var(--ease);
  -webkit-mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.ticket-foil { position: absolute; inset: 0; background: linear-gradient(120deg, #cfd4de 0%, #f6f7fa 28%, #b9bfcc 52%, #eceef3 76%, #c8cdd8 100%); }
.ticket-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 38px; color: var(--ink); }
.ticket-body b { font-family: var(--display); font-size: 27px; font-weight: 750; letter-spacing: -0.035em; line-height: 1.05; }
.ticket-body .mono { font-size: 10.5px; opacity: .75; }
.ticket::after { content: ""; position: absolute; top: 18px; bottom: 18px; right: 96px; border-right: 2px dashed rgba(10,10,12,.25); }

.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; padding: clamp(22px, 3vw, 36px); border-radius: 30px; background: #111113; box-shadow: 0 0 0 1px rgba(255,255,255,.07); }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea {
  font: inherit; font-size: 16px; color: var(--fg);
  width: 100%; min-width: 0;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 13px 15px;
  transition: border-color .3s, background .3s, box-shadow .3s;
  resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--cobalt); background: rgba(31,79,255,.08); box-shadow: 0 0 0 4px rgba(31,79,255,.18); }
.form .invalid { border-color: #ff453a; }
.form button { margin-top: 8px; }
.form-note { text-align: center; color: var(--muted); font-size: 13px; }
.form-note.ok { color: #7d9bff; }

/* footer */
.footer { padding: 40px var(--gutter) 0; overflow: hidden; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.footer-row .mono { font-size: 11px; }
.wordmark { display: flex; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 23.5vw; letter-spacing: -0.07em; line-height: 1.02; padding: 1vw 0 1.5vw; }
.wordmark span { display: inline-block; background: linear-gradient(180deg, #f5f5f7 20%, #3a3a3e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(var(--y, 60%)); opacity: var(--o, 0); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.62); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); opacity: 0; transition: opacity .6s var(--ease); }
.lb-panel { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; gap: 0; width: min(1180px, 100%); max-height: calc(100svh - 48px); border-radius: 26px; overflow: hidden; background: #fbfbfd; color: var(--ink); box-shadow: 0 60px 120px -30px rgba(0,0,0,.6); opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.lightbox.open .lb-backdrop { opacity: 1; }
.lightbox.open .lb-panel { opacity: 1; transform: none; }
.lb-browser { display: flex; flex-direction: column; background: #1c1c1e; min-height: 0; }
.lb-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: #232326; flex: none; }
.lb-bar span { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: #8e8e93; }
.lb-view { overflow-y: auto; height: min(74svh, 720px); overscroll-behavior: contain; }
.lb-view img { width: 100%; height: auto; }
.lb-info { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 40px; }
.lb-info .mono { color: var(--grey); }
.lb-info h3 { font-family: var(--display); font-size: clamp(30px, 3.4vw, 46px); font-weight: 650; letter-spacing: -0.04em; line-height: 1; }
.lb-info p:not(.mono) { color: var(--grey); }
.lb-info .btn { align-self: flex-start; margin-top: 10px; --btn-bg: var(--cobalt); --btn-fg: #fff; }
.lb-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #ececef; transition: background .3s; }
.lb-close:hover { background: #dfdfe3; }
.lb-close svg { width: 14px; height: 14px; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hud { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .lb-panel { grid-template-columns: 1fr; overflow-y: auto; }
  .lb-view { height: 52svh; }
  .lb-info { padding: 26px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { top: 10px; padding: 0 10px; }
  .nav-glass { height: 52px; padding: 0 7px 0 18px; }
  .nav-right .btn-sm { height: 38px; padding: 0 14px; font-size: 13px; }
  .brand { font-size: 19px; }
  .hero { padding-top: 110px; }
  .hero-sub { font-size: 16.5px; }
  .sticker-slot { --s: .5; left: auto; right: -4px; top: auto; bottom: -150px; margin-left: 0; transform-origin: 100% 50%; }
  .scroll-cue { display: none; }

  /* tighter rhythm on phones: no dead space between sections */
  .section { padding: 72px 16px; }
  .knot-space { height: clamp(240px, 40svh, 340px); }
  .hero { min-height: 0; }
  .build-pin { justify-content: center; padding: 64px 16px 0; }
  .build-head h2 { font-size: 34px; }
  .build-stage { flex: none; height: min(62svh, 100vw); }
  .work-pin { height: auto; padding: 72px 0 48px; }
  .ring-stage { flex: none; height: 300px; }
  .ring3d { --cw: 250px; }
  .bcards { flex-direction: column; gap: 56px; margin-top: 64px; }
  .bcard { width: min(360px, 88vw); }
  .bc-left { --r: -3deg; }
  .bc-right { --r: 2.5deg; margin-top: 0; }
  .bc-text { padding: 18px 20px; }
  .bc-name { font-size: 30px; }
  .promise { margin-top: 36px; }
  .call-banner { margin-bottom: 32px; gap: 10px; padding: 8px 8px 8px 10px; }
  .cb-avatar { width: 40px; height: 40px; font-size: 18px; }
  .cb-text b { font-size: 15px; white-space: nowrap; }
  .cb-text span { font-size: 12.5px; }
  .cb-btn { width: 38px; height: 38px; }
  .cb-btn svg { width: 18px; height: 18px; }
  .cb-btn.cb-decline svg { width: 25px; height: 25px; }
  .bento { grid-template-columns: 1fr; margin-top: 40px; }
  .faq { margin-top: 36px; }
  .statement { min-height: 0; padding: 96px 16px; }
  .statement-sub { margin-top: 24px; }
  .process-pin { height: auto; padding: 72px 0 40px; }
  .process-head { margin-bottom: 32px; }
  .footer .wordmark { padding-bottom: 8vw; }
  .process-track { flex-direction: column; }
  .step { width: auto; min-height: 0; }
  .process-bar { display: none; }

  .form { grid-template-columns: 1fr; }
  .ticket-body { padding: 0 26px; }
  .ticket-body b { font-size: 22px; }
  .ticket::after { right: 70px; }
}

/* Touch devices: skip costly blur-in and hover-only effects so scrolling stays at 60fps */
@media (hover: none), (pointer: coarse) {
  .reveal { filter: none; transform: translate3d(0, 18px, 0); }
  .nav-glass { -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%); }
  .glass-light, .tile::after { display: none; }
}

@media (max-width: 400px) {
  .nav-right .btn-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { filter: none; }
}
