/* Design tokens. Colors and fonts come from site.config.json at build time.
   Look: "Ice & Silver" space. Deep navy sky, silver-white type, one glacier-cyan accent.
   Unbounded (wide display), Geist (body), Geist Mono (labels and buttons). */
:root {
  /* Colors */
  --bg: #070B1A;
  --surface: #0D1430;
  --surface-strong: #141D45;
  --line: rgb(232 237 245 / 0.14);
  --ink: #E8EDF5;
  --ink-soft: #9BA7C2;
  --accent: #8BDFFF;
  --accent-hover: #C6F1FF;
  --on-accent: #06101F;
  --mark: #8BDFFF;
  --line-strong: rgb(232 237 245 / 0.34);
  --glow: rgb(139 223 255 / 0.45);
  --bg-rgb: 7 11 26;

  /* Fonts */
  --font-display: 'Unbounded', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  /* Type sizes (fluid) */
  --text-xs: 0.875rem;
  --text-s: clamp(0.9375rem, 0.92rem + 0.1vw, 1rem);
  --text-m: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
  --text-l: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --text-xl: clamp(1.75rem, 1.1rem + 2.6vw, 3.6rem);
  --text-hero: clamp(2.05rem, 1rem + 4.1vw, 5.1rem);
  --text-mono: 0.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-section: clamp(5rem, 3rem + 8vw, 10rem);
  --gutter: clamp(1.25rem, 0.8rem + 2.5vw, 2.5rem);
  --wrap: 82rem;

  /* Radii */
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@font-face{font-family:'Unbounded';src:url(assets/fonts/unbounded-latin-wght-normal.woff2) format('woff2');font-weight:200 900;font-style:normal;font-display:swap}
@font-face{font-family:'Geist';src:url(assets/fonts/geist-latin-wght-normal.woff2) format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'Geist Mono';src:url(assets/fonts/geist-mono-latin-wght-normal.woff2) format('woff2');font-weight:100 900;font-style:normal;font-display:swap}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html { background: var(--bg); color-scheme: dark; }
body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-m);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
::selection { background: var(--accent); color: var(--on-accent); }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: var(--space-3) var(--space-4); border-radius: var(--radius-s);
  font: 500 var(--text-mono) var(--font-mono); text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }

.icon { width: 1.2em; height: 1.2em; flex: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ===== Stillpage landing page: "Ice & Silver" space ===== */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font: 500 var(--text-mono)/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--glow); }
.h2 { font: 700 var(--text-xl)/1.04 var(--font-display); letter-spacing: -0.03em; text-wrap: balance; }
.lede { font-size: var(--text-m); color: var(--ink-soft); text-wrap: pretty; }
.section-head { max-width: 48rem; }

/* ---------- Sky: three star layers, drawn by script; plain gradient without it ---------- */
.sky {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(70% 50% at 82% -10%, rgb(139 223 255 / 0.10), transparent 70%),
    radial-gradient(60% 50% at 0% 110%, rgb(120 140 255 / 0.08), transparent 70%),
    var(--bg);
}
.sky__layer { position: absolute; left: -40px; right: -40px; top: 0; height: calc(100% + 400px); background-repeat: repeat; background-size: 400px 400px; will-change: transform; }
/* Stars: three small SVG tiles, rasterised once by the browser and repeated. No script, no repaint cost. */
.sky__layer--1 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><circle cx='178.8' cy='124.7' r='0.46' fill='%23BFEFFF' fill-opacity='0.55'/><circle cx='207.0' cy='187.0' r='0.59' fill='%23E8EDF5' fill-opacity='0.35'/><circle cx='285.4' cy='56.2' r='0.56' fill='%23E8EDF5' fill-opacity='0.46'/><circle cx='153.1' cy='33.9' r='0.52' fill='%23E8EDF5' fill-opacity='0.51'/><circle cx='221.8' cy='191.5' r='0.52' fill='%23E8EDF5' fill-opacity='0.36'/><circle cx='4.6' cy='77.2' r='0.62' fill='%23E8EDF5' fill-opacity='0.50'/><circle cx='153.7' cy='354.8' r='0.61' fill='%23BFEFFF' fill-opacity='0.28'/><circle cx='383.6' cy='128.2' r='0.72' fill='%23E8EDF5' fill-opacity='0.26'/><circle cx='323.2' cy='379.7' r='0.54' fill='%23E8EDF5' fill-opacity='0.31'/><circle cx='379.2' cy='292.7' r='0.75' fill='%23E8EDF5' fill-opacity='0.53'/><circle cx='102.0' cy='246.2' r='0.46' fill='%23E8EDF5' fill-opacity='0.58'/><circle cx='140.7' cy='349.7' r='0.45' fill='%23E8EDF5' fill-opacity='0.48'/><circle cx='219.9' cy='271.7' r='0.60' fill='%23E8EDF5' fill-opacity='0.55'/><circle cx='371.0' cy='399.2' r='0.58' fill='%23E8EDF5' fill-opacity='0.53'/><circle cx='90.2' cy='19.2' r='0.47' fill='%23E8EDF5' fill-opacity='0.54'/><circle cx='140.3' cy='220.4' r='0.56' fill='%23BFEFFF' fill-opacity='0.42'/><circle cx='151.6' cy='69.8' r='0.62' fill='%23BFEFFF' fill-opacity='0.44'/><circle cx='39.4' cy='391.8' r='0.75' fill='%23E8EDF5' fill-opacity='0.52'/><circle cx='147.8' cy='344.5' r='0.64' fill='%23E8EDF5' fill-opacity='0.43'/><circle cx='213.2' cy='102.6' r='0.74' fill='%23E8EDF5' fill-opacity='0.45'/><circle cx='58.8' cy='63.7' r='0.74' fill='%23E8EDF5' fill-opacity='0.49'/><circle cx='330.6' cy='145.4' r='0.71' fill='%23E8EDF5' fill-opacity='0.42'/><circle cx='92.5' cy='40.2' r='0.69' fill='%23E8EDF5' fill-opacity='0.56'/><circle cx='303.0' cy='136.1' r='0.71' fill='%23E8EDF5' fill-opacity='0.40'/><circle cx='8.2' cy='13.2' r='0.62' fill='%23BFEFFF' fill-opacity='0.35'/><circle cx='126.7' cy='255.6' r='0.75' fill='%23E8EDF5' fill-opacity='0.42'/><circle cx='69.1' cy='261.5' r='0.60' fill='%23E8EDF5' fill-opacity='0.34'/><circle cx='198.9' cy='249.1' r='0.59' fill='%23E8EDF5' fill-opacity='0.36'/><circle cx='203.8' cy='47.0' r='0.64' fill='%23E8EDF5' fill-opacity='0.54'/><circle cx='224.0' cy='85.6' r='0.68' fill='%23E8EDF5' fill-opacity='0.38'/></svg>"); }
.sky__layer--2 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><circle cx='228.8' cy='154.5' r='0.72' fill='%23BFEFFF' fill-opacity='0.55'/><circle cx='157.5' cy='65.5' r='0.94' fill='%23E8EDF5' fill-opacity='0.68'/><circle cx='96.3' cy='113.0' r='0.73' fill='%23E8EDF5' fill-opacity='0.47'/><circle cx='276.6' cy='224.9' r='0.80' fill='%23E8EDF5' fill-opacity='0.56'/><circle cx='296.9' cy='5.6' r='0.92' fill='%23E8EDF5' fill-opacity='0.66'/><circle cx='313.5' cy='194.5' r='0.87' fill='%23BFEFFF' fill-opacity='0.35'/><circle cx='390.1' cy='359.4' r='0.74' fill='%23E8EDF5' fill-opacity='0.42'/><circle cx='190.2' cy='399.3' r='0.91' fill='%23E8EDF5' fill-opacity='0.54'/><circle cx='226.2' cy='241.7' r='1.00' fill='%23E8EDF5' fill-opacity='0.48'/><circle cx='186.0' cy='384.1' r='0.94' fill='%23BFEFFF' fill-opacity='0.38'/><circle cx='289.7' cy='343.4' r='0.82' fill='%23E8EDF5' fill-opacity='0.50'/><circle cx='364.7' cy='263.5' r='0.70' fill='%23E8EDF5' fill-opacity='0.57'/><circle cx='256.9' cy='336.2' r='0.66' fill='%23E8EDF5' fill-opacity='0.57'/><circle cx='323.2' cy='308.8' r='0.71' fill='%23E8EDF5' fill-opacity='0.43'/><circle cx='309.9' cy='38.6' r='0.90' fill='%23E8EDF5' fill-opacity='0.69'/><circle cx='137.8' cy='201.0' r='0.72' fill='%23E8EDF5' fill-opacity='0.38'/></svg>"); }
.sky__layer--3 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><circle cx='316.1' cy='393.4' r='1.21' fill='%23E8EDF5' fill-opacity='0.93'/><circle cx='148.3' cy='362.5' r='1.19' fill='%23E8EDF5' fill-opacity='0.81'/><circle cx='334.8' cy='57.1' r='1.35' fill='%23E8EDF5' fill-opacity='0.56'/><circle cx='396.1' cy='275.9' r='1.37' fill='%23E8EDF5' fill-opacity='0.86'/><circle cx='3.9' cy='202.7' r='1.00' fill='%23BFEFFF' fill-opacity='0.75'/><circle cx='203.0' cy='194.5' r='1.10' fill='%23E8EDF5' fill-opacity='0.63'/><circle cx='46.3' cy='16.0' r='1.36' fill='%23E8EDF5' fill-opacity='0.71'/></svg>"); }
.sky__shoot {
  position: absolute; width: 140px; height: 1px; opacity: 0; transform-origin: 0 50%;
  background: linear-gradient(90deg, rgb(232 237 245 / 0), rgb(232 237 245 / 0.9));
}
.sky__shoot.is-on { animation: shoot 1.1s var(--ease-out) forwards; }
@keyframes shoot {
  0% { opacity: 0; transform: translate(0, 0) rotate(var(--a, 20deg)) scaleX(0.2); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx, 420px), var(--dy, 160px)) rotate(var(--a, 20deg)) scaleX(1); }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.75em;
  min-height: 3.25rem; padding: 0 1.5rem; border-radius: var(--radius-pill); border: 1px solid var(--line-strong);
  font: 600 0.8rem/1.1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease-out);
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.3s var(--ease-out); }
.btn--primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--small { min-height: 2.75rem; padding: 0 1.1rem; }
.btn--wide { width: min(100%, 30rem); }
.btn--line { background: transparent; color: var(--ink); }
.btn:active { transform: translate(var(--mx, 0px), var(--my, 0px)) scale(0.97); }
@media (hover: hover) {
  .btn:hover .icon { transform: translateX(4px); }
  .btn--primary:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 6px rgb(139 223 255 / 0.12), 0 0 34px var(--glow); }
  .btn--line:hover { border-color: var(--accent); color: var(--accent); }
}
/* A ring that pulses out once, like a launch signal */
.btn--launch::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--accent); opacity: 0; pointer-events: none; }
.btn--launch:hover::after, .btn--launch:focus-visible::after { animation: signal 1.2s var(--ease-out) infinite; }
@keyframes signal { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25, 1.6); } }
.icon--sm { width: 1em; height: 1em; }

/* HUD corner brackets */
.bracket { position: absolute; width: 14px; height: 14px; color: var(--line-strong); pointer-events: none; }
.bracket--tl { left: 0; top: 0; border-left: 1px solid; border-top: 1px solid; }
.bracket--tr { right: 0; top: 0; border-right: 1px solid; border-top: 1px solid; }
.bracket--bl { left: 0; bottom: 0; border-left: 1px solid; border-bottom: 1px solid; }
.bracket--br { right: 0; bottom: 0; border-right: 1px solid; border-bottom: 1px solid; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.45s var(--ease-out); }
.site-header.is-scrolled { background: rgb(var(--bg-rgb) / 0.72); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.is-immersed .site-header { transform: translateY(-110%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.wordmark { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; font: 800 1.05rem/1 var(--font-display); letter-spacing: -0.02em; text-decoration: none; }
.wordmark__studio { padding: 0.25rem 0.45rem; border: 1px solid var(--line-strong); border-radius: 999px; font: 500 0.58rem/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.site-nav { display: none; }
.site-header__end { display: flex; align-items: center; gap: 0.5rem; }
.site-header__cta { display: none; }
.header-dm { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.header-dm:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Beat 1: Hero ---------- */
.hero { position: relative; padding-top: clamp(1.5rem, 0.6rem + 3vw, 3.5rem); isolation: isolate; overflow-x: hidden; }
@supports (overflow: clip) { .hero { overflow-x: clip; } }
.hero__leads { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__grid { display: grid; gap: 3rem; }
.hero__title { font: 800 var(--text-hero)/1.02 var(--font-display); letter-spacing: -0.035em; text-wrap: balance; }
.orbitmark { position: relative; display: inline-block; white-space: nowrap; color: var(--accent-hover); }
.orbitmark svg { position: absolute; left: -7%; top: -16%; width: 114%; height: 132%; overflow: visible; pointer-events: none; }
.orbitmark path { fill: none; stroke: rgb(232 237 245 / 0.55); stroke-width: 1.25; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s 0.4s var(--ease-out) forwards; }
.orbitmark__sat { fill: var(--accent); filter: drop-shadow(0 0 6px rgb(139 223 255 / 0.9)); }
.hero__sub { margin-top: var(--space-6); display: grid; gap: var(--space-5); }
.hero__lede { max-width: 34rem; }
.hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.cta-note { font: 400 0.72rem/1.4 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }

/* The phone is the planet the leads orbit. Cropped at the bottom, it rises out of the dark. */
.hero__plate { --pw: min(68vw, 17rem); position: relative; margin: 0; height: calc(var(--pw) * 19.5 / 9 * 0.8 + 2.5rem); }
.hero__plate::before {
  content: ""; position: absolute; left: 50%; top: 58%; width: calc(var(--pw) * 1.9); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgb(139 223 255 / 0.16), rgb(139 223 255 / 0.04) 60%, transparent);
  pointer-events: none;
}
.hero__stage { position: absolute; inset: 0; display: flex; justify-content: center; padding-top: 2.5rem; overflow: hidden; -webkit-mask: linear-gradient(#000 82%, transparent); mask: linear-gradient(#000 82%, transparent); }
.hero__controls { display: flex; justify-content: flex-end; margin-top: 1rem; }

/* Phone */
.phone {
  position: relative; flex: none; width: var(--pw); aspect-ratio: 9 / 19.5; align-self: flex-start;
  padding: 0.55rem; border-radius: 2.7rem; background: #04060E;
  box-shadow: 0 0 0 1px rgb(232 237 245 / 0.22), 0 40px 90px -30px rgb(0 0 0 / 0.9), 0 0 60px -10px rgb(139 223 255 / 0.25);
}
.phone::before { content: ""; position: absolute; z-index: 5; top: 1.1rem; left: 50%; transform: translateX(-50%); width: 28%; height: 1.3rem; border-radius: 999px; background: #04060E; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 2.15rem; overflow: hidden; background: #fff; }
.fit { width: 390px; transform-origin: 0 0; transform: scale(var(--s, 0.72)); }
.phone .fit { height: calc(100% / var(--s, 0.72)); position: relative; }

.scr { position: absolute; inset: 0; background: #fff; color: #1d1d1b; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 14px; line-height: 1.4; overflow: hidden; }
.scr p { margin: 0; }
.ui-status { height: 50px; display: flex; justify-content: space-between; align-items: center; padding: 8px 30px 0; font-size: 15px; font-weight: 600; }
.ui-status__icons { display: flex; gap: 5px; align-items: center; }
.ui-status__icons i { display: block; width: 17px; height: 11px; border-radius: 3px; background: #1d1d1b; }
.ui-status__icons i:first-child { width: 15px; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 1px; }
.ui-status__icons i:nth-child(2) { width: 14px; border-radius: 50% 50% 2px 2px; clip-path: polygon(50% 100%, 0 20%, 100% 20%); }
.ui-status__icons i:last-child { width: 24px; }

/* Instagram-style profile (generic layout, no logos) */
.ig-top { display: flex; justify-content: space-between; align-items: center; padding: 6px 18px 4px; }
.ig-top__handle { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.ig-top__more { font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.ig-head { display: flex; gap: 18px; align-items: flex-start; padding: 14px 18px 12px; }
.ig-avatar { flex: none; width: 86px; height: 86px; border-radius: 50%; padding: 3px; border: 2px solid #d8cfc0; }
.ig-avatar span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #EFE6D6; color: #2236A6; font: 400 38px Georgia, serif; }
.ig-who { padding-top: 6px; min-width: 0; }
.ig-name { font-size: 15px; font-weight: 700; margin-bottom: 2px !important; }
.ig-bio { font-size: 14px; color: #2c2c2a; }
.ig-link { position: relative; display: inline-flex; align-items: center; gap: 5px; margin-top: 4px !important; font-size: 14px; font-weight: 600; color: #234a74; border-radius: 6px; }
.ig-link svg { width: 15px; height: 15px; }
.ig-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px 18px 14px; }
.ig-actions span { display: grid; place-items: center; height: 34px; border-radius: 9px; background: #efefed; font-size: 14px; font-weight: 600; }
.ig-actions span:first-child { background: #1d1d1b; color: #fff; }
.ig-tabs { display: grid; grid-template-columns: 1fr 1fr; height: 44px; border-top: 1px solid #ececea; }
.ig-tabs span { display: grid; place-items: center; color: #8e8e8c; }
.ig-tabs svg { width: 22px; height: 22px; }
.ig-tabs .is-active { color: #1d1d1b; box-shadow: inset 0 -1.5px 0 #1d1d1b; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.ig-grid__tile { aspect-ratio: 3 / 4; overflow: hidden; background: #eee6da; }
.ig-grid__tile img { width: 100%; height: 100%; object-fit: cover; }
.tap { position: absolute; z-index: 3; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgb(80 170 255 / 0.4); opacity: 0; transform: scale(0.4); pointer-events: none; }

/* In-app browser bar */
.ui-browser { background: #fff; border-bottom: 1px solid #ececea; position: relative; z-index: 2; }
.ui-browser__bar { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 16px; }
.ui-browser__close { font-size: 26px; line-height: 1; width: 20px; }
.ui-browser__url { flex: 1; text-align: center; font-size: 14px; color: #444; background: #f1f0ec; border-radius: 10px; padding: 7px 10px; }
.ui-browser__dots { font-weight: 700; width: 20px; }

/* The plain "before" link page */
.scr--links { background: #f2f2f0; }
.links { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 46px 30px; }
.links__avatar { width: 76px; height: 76px; border-radius: 50%; background: #d5d5d1; }
.links__handle { font-size: 15px; font-weight: 600; color: #555; margin: 4px 0 14px !important; }
.links__btn { display: grid; place-items: center; width: 100%; height: 54px; border-radius: 12px; background: #fff; border: 1px solid #dcdcd8; color: #666; font-size: 15px; }

/* The studio site screen (a live, non-interactive copy of /studio/) */
.scr--site { background: #EFE6D6; }
.scr__view { position: absolute; inset: 101px 0 0; overflow: hidden; }
.scr__frame { display: block; width: 100%; height: 100%; border: 0; background: #EFE6D6; }

/* Phone states: profile -> tap -> links -> site -> out */
.scr--links { transform: translateY(100%); transition: transform 0.55s var(--ease), opacity 0.6s var(--ease); }
.scr--site { opacity: 0; transition: opacity 0.7s var(--ease); }
[data-state="links"] .scr--links, [data-state="site"] .scr--links, [data-state="out"] .scr--links { transform: none; }
[data-state="out"] .scr--links, [data-state="out"] .scr--site { opacity: 0; }
[data-state="site"] .scr--site { opacity: 1; }
[data-state="tap"] .tap { animation: tap 0.7s var(--ease) forwards; }
[data-state="tap"] .ig-link { background: rgb(35 74 116 / 0.1); }
[data-state="profile"] .scr--links { transition: none; }
@keyframes tap { 0% { opacity: 0; transform: scale(0.4); } 35% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.is-static .ig-link { background: rgb(35 74 116 / 0.1); box-shadow: 0 0 0 4px rgb(35 74 116 / 0.1); }

.motion-toggle {
  position: relative; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border-radius: 50%; border: 1px solid var(--line-strong); background: rgb(var(--bg-rgb) / 0.6); color: var(--ink); cursor: pointer;
}
.motion-toggle:hover { border-color: var(--accent); color: var(--accent); }
.motion-toggle .icon { width: 18px; height: 18px; }
.motion-toggle .icon--play, .motion-toggle[aria-pressed="true"] .icon--pause { display: none; }
.motion-toggle[aria-pressed="true"] .icon--play { display: block; }
.motion-toggle[hidden] { display: none; }
.is-paused, .is-paused * { animation-play-state: paused !important; }


/* ---------- Beat 2: Showcase and the fullscreen takeover ---------- */
.showcase { padding-top: var(--space-section); }
.showcase__head { position: relative; z-index: 1; }
.showcase__head .h2 { max-width: 18ch; }
.skip-preview {
  position: absolute; left: var(--gutter); z-index: 40;
  padding: 0.75rem 1rem; border-radius: var(--radius-s); background: var(--accent); color: var(--on-accent);
  font: 600 0.75rem var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
}
.skip-preview:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-preview:focus { margin-top: 0.75rem; }

/* Static (no script) and "framed" (reduced motion, short screens) layouts: a framed window you can scroll inside. */
.takeover { --bar: 52px; position: relative; margin-top: 2.5rem; }
.takeover__viewport { position: relative; width: min(100% - 2 * var(--gutter), 74rem); height: min(78svh, 720px); margin-inline: auto; }
.takeover__screen {
  position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius-l);
  background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.4), 0 50px 120px -40px rgb(0 0 0 / 0.9), 0 0 80px -30px rgb(139 223 255 / 0.25);
}
.takeover__bar { position: absolute; inset: 0 0 auto; z-index: 2; height: var(--bar); background: #0B1126; border-bottom: 1px solid var(--line); }
.takeover__chrome, .takeover__hud { position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; padding: 0 14px; }
.takeover__dots { display: flex; gap: 6px; }
.takeover__dots i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--line-strong); }
.takeover__url { margin-inline: auto; transform: translateX(-24px); padding: 4px 14px; border-radius: 999px; background: rgb(232 237 245 / 0.06); font: 400 0.75rem var(--font-mono); color: var(--ink-soft); }
.takeover__hud { opacity: 0; visibility: hidden; justify-content: space-between; gap: 1rem; }
.takeover__label { display: flex; align-items: center; gap: 0.6rem; min-width: 0; font: 500 0.72rem/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.takeover__live { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--accent); box-shadow: 0 0 0 4px rgb(139 223 255 / 0.15); }
.takeover.is-full .takeover__live { animation: blink 2s var(--ease) infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.takeover__short { display: none; }
@media (max-width: 520px) { .takeover__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .takeover__short { display: inline; } }
.takeover__hint { display: none; font: 400 0.7rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.takeover__skip {
  flex: none; min-height: 44px; min-width: 44px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer;
  font: 600 0.7rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; transition: border-color 0.2s, color 0.2s;
}
.takeover__skip { position: relative; }
.takeover__skip:hover, .takeover__skip:focus-visible { border-color: var(--accent); color: var(--accent); }
.takeover__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.takeover__progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, rgb(139 223 255 / 0.4), var(--accent)); box-shadow: 0 0 10px var(--glow); }
.takeover__view { position: absolute; inset: var(--bar) 0 0; background: #EFE6D6; }
.takeover__view iframe { display: block; width: 100%; height: 100%; border: 0; background: #EFE6D6; }
.takeover__loading {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.9rem; background: var(--surface);
  font: 500 0.72rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); transition: opacity 0.4s var(--ease);
}
.takeover__loading span { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); border-top-color: var(--accent); animation: spin 0.9s linear infinite; }
.takeover__noscript { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: var(--surface); color: var(--ink); font: 600 0.85rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.takeover.is-loaded .takeover__loading { opacity: 0; pointer-events: none; }
.takeover.is-loaded .takeover__loading span { animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
/* In framed mode the preview only takes scroll/taps once it's almost fully on screen. */
.js .takeover[data-mode="framed"] iframe { pointer-events: none; }
.js .takeover[data-mode="framed"] .takeover__view.is-live iframe { pointer-events: auto; }

/* Takeover mode: a tall track; the screen pins to the viewport and grows to fill it. */
.takeover[data-mode="takeover"] { margin-top: 2rem; }
.takeover[data-mode="takeover"] .takeover__viewport { position: sticky; top: 0; width: 100%; height: 100vh; height: 100svh; margin: 0; pointer-events: none; }
.takeover[data-mode="takeover"] .takeover__screen { pointer-events: auto; }
.takeover[data-mode="takeover"] .takeover__screen {
  transform-origin: 50% 0; will-change: transform, border-radius;
  transform: translate3d(0, var(--ty, 0px), 0) scale(var(--s, 0.82));
  border-radius: var(--r, 24px);
}
.takeover[data-mode="takeover"] .takeover__chrome { opacity: calc(1 - var(--m, 0) * 2); }
.takeover[data-mode="takeover"] .takeover__hud { opacity: calc(var(--m, 0) * 2 - 1); visibility: visible; }
.takeover.is-full .takeover__skip { pointer-events: auto; }
.takeover:not(.is-full) .takeover__skip { pointer-events: none; }

.stage__below { display: flex; justify-content: center; margin-top: 2.25rem; }

/* ---------- Beat 3: How it works, with the lead's trajectory ---------- */
.steps { padding-block: var(--space-section); }
.steps__body { position: relative; margin-top: clamp(3rem, 2rem + 4vw, 5.5rem); }
.trajectory { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.trajectory__ghost { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 7; }
.trajectory__line { fill: none; stroke: var(--accent); stroke-width: 1.5; filter: drop-shadow(0 0 4px rgb(139 223 255 / 0.7)); }
.trajectory__lead { fill: var(--ink); transition: fill 0.4s var(--ease), r 0.4s var(--ease); }
.steps.is-client .trajectory__lead { fill: var(--accent); filter: drop-shadow(0 0 10px rgb(139 223 255 / 0.95)); }
.steps__list { position: relative; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-7); }
.step { position: relative; padding-left: 4.5rem; }
.step__num {
  position: absolute; left: 0; top: -0.2rem; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--bg);
  font: 600 0.8rem var(--font-mono); letter-spacing: 0.04em; color: var(--ink-soft); transition: border-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.step.is-reached .step__num { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 6px rgb(139 223 255 / 0.08), 0 0 24px rgb(139 223 255 / 0.35); }
.step__title { font: 700 clamp(1.15rem, 0.95rem + 0.8vw, 1.55rem)/1.15 var(--font-display); letter-spacing: -0.02em; }
.step__text { color: var(--ink-soft); margin-top: var(--space-3); max-width: 30ch; }

/* ---------- Beat 4: Offer ---------- */
.offer { padding-bottom: var(--space-section); }
.offer__grid { display: grid; gap: var(--space-8); align-items: start; }
.offer__card {
  position: relative; padding: clamp(1.75rem, 1rem + 3.5vw, 3.5rem); border-radius: var(--radius-l); overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, transparent 0 18%, rgb(232 237 245 / 0.08) 18% calc(18% + 1px), transparent calc(18% + 1px) 34%,
      rgb(232 237 245 / 0.07) 34% calc(34% + 1px), transparent calc(34% + 1px) 50%, rgb(232 237 245 / 0.05) 50% calc(50% + 1px), transparent calc(50% + 1px)),
    radial-gradient(80% 60% at 100% 0%, rgb(139 223 255 / 0.10), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
}
.offer__card .bracket { margin: 12px; }
.offer__title { margin-top: var(--space-5); font: 700 clamp(1.4rem, 1rem + 1.6vw, 2.2rem)/1.1 var(--font-display); letter-spacing: -0.025em; }
.price {
  display: block; margin-top: 0.2em; font-size: 2.6em; font-weight: 800; line-height: 0.95; letter-spacing: -0.05em;
  background: linear-gradient(180deg, #FFFFFF 10%, var(--accent) 140%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.offer__line { font-size: var(--text-l); line-height: 1.4; margin-top: var(--space-6); text-wrap: pretty; }
.offer__cta { margin-top: var(--space-6); }
.small-print { font: 400 0.78rem/1.6 var(--font-mono); color: var(--ink-soft); margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--line); }

.faq { margin: 0; }
.faq__item { padding: var(--space-5) 0; border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item dt { display: flex; align-items: baseline; gap: 0.9rem; font: 600 1.15rem/1.3 var(--font-body); letter-spacing: -0.01em; }
.faq__no { flex: none; width: 1.6rem; font: 500 0.72rem var(--font-mono); letter-spacing: 0.06em; color: var(--accent); }
.faq__item dd { margin: var(--space-2) 0 0 2.5rem; color: var(--ink-soft); }

/* ---------- Beat 5: Close, over a rising planet horizon ---------- */
.close { position: relative; padding-bottom: var(--space-section); overflow: hidden; isolation: isolate; }
.close__planet {
  position: absolute; z-index: -1; left: 50%; bottom: 0; width: 180vw; height: 120vw; border-radius: 50%;
  transform: translate(-50%, calc(90% - var(--rise, 0) * 6%));
  background: radial-gradient(closest-side, #121A40 70%, #0B1230);
  box-shadow: inset 0 1px 0 rgb(198 241 255 / 0.55), 0 -30px 120px -30px rgb(139 223 255 / 0.45);
}
.close__inner { display: grid; gap: var(--space-6); border-top: 1px solid var(--line); padding-top: var(--space-section); }
.close__title { font: 800 clamp(2.3rem, 1.2rem + 5vw, 6.2rem)/0.98 var(--font-display); letter-spacing: -0.04em; text-wrap: balance; }
.close__side { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.close__line { max-width: 28rem; }
.call-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 500 0.78rem var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.call-link:hover { color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--space-6) var(--space-7); font: 400 0.8rem/1.5 var(--font-mono); color: var(--ink-soft); background: #0B1230; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-6); }
.site-footer a { color: var(--ink); text-underline-offset: 3px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
.site-footer__nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; }
.site-footer__nav a:hover { color: var(--accent); }

/* Scroll reveal (only when JS runs) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .hero__plate { --pw: 18rem; }
  .takeover__hint { display: block; }
}
@media (min-width: 760px) {
  .steps__list { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
  .step { padding-left: 0; padding-top: 5rem; }
  .step__num { top: 0; }
}
@media (min-width: 900px) {
  .site-header__inner { min-height: 5rem; position: relative; }
  .site-nav { display: flex; gap: var(--space-6); position: absolute; left: 50%; transform: translateX(-50%); }
  .site-nav a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; font: 500 0.75rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--ink-soft); transition: color 0.2s; }
  .site-nav a:hover { color: var(--ink); }
  .site-nav a::after { content: ""; position: absolute; left: 50%; bottom: 0.55rem; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.3s var(--ease-out); }
  .site-nav a:hover::after { opacity: 1; transform: none; }
  .site-header__cta { display: inline-flex; }
  .header-dm { display: none; }

  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4.8fr); gap: clamp(3rem, 5vw, 6rem); align-items: center; }
  .hero__lede { font-size: var(--text-l); line-height: 1.45; }
  .hero__plate { --pw: min(19rem, 32vh); }

  .offer__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(3rem, 6vw, 6rem); }
  .close__inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; }
  .close__planet { width: 130vw; height: 70vw; transform: translate(-50%, calc(84% - var(--rise, 0) * 8%)); }
  .stage__below { margin-top: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .orbitmark path { animation: none; stroke-dashoffset: 0; }
  .btn { transform: none !important; }
}
@media (forced-colors: active) {
  .takeover__screen, .offer__card { border: 1px solid CanvasText; }
  .price { color: CanvasText; background: none; }
}
