/* Bressly — design tokens and styles */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #07070a;
  --bg-2: #0d0d12;
  --bg-3: #14141b;
  --ink: #f4f2ea;
  --ink-2: #c9c7bd;
  --muted: #9b998f;
  --line: rgba(244, 242, 234, 0.1);
  --line-2: rgba(244, 242, 234, 0.18);
  --acid: #c8ff2e;
  --acid-ink: #0b0f00;
  --violet: #8466ff;
  --ember: #ff6a3d;
  --cyan: #4fe3ff;

  --f-display: "Bricolage", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --r-s: 12px;
  --r-m: 20px;
  --r-l: 32px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
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; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--acid); color: var(--acid-ink); }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--acid); color: var(--acid-ink); padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* Grain + ambient */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor {
  position: fixed; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%;
  background: radial-gradient(circle, rgba(132, 102, 255, 0.13), transparent 62%);
  pointer-events: none; z-index: 1; opacity: 0; transition: opacity 0.6s;
}
.has-pointer .cursor { opacity: 1; }

/* Type */
.eyebrow {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 14px var(--acid); }
.display {
  font-family: var(--f-display); font-weight: 600; letter-spacing: -0.035em; line-height: 0.94;
  font-size: clamp(44px, 9.2vw, 148px); text-wrap: balance;
}
.h2 {
  font-family: var(--f-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1;
  font-size: clamp(36px, 5.6vw, 84px); text-wrap: balance;
}
.h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; font-size: clamp(26px, 2.6vw, 38px); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.acid { color: var(--acid); }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-2); max-width: 56ch; line-height: 1.55; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

/* split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.w > span { display: inline-block; will-change: transform; }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn--primary { background: var(--acid); color: var(--acid-ink); box-shadow: 0 0 0 0 rgba(200, 255, 46, 0.4); }
.btn--primary:hover { box-shadow: 0 0 44px -6px rgba(200, 255, 46, 0.55); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.07); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* Nav */
.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 100; pointer-events: none; }
.nav__bar {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1080px; margin: 0 auto; padding: 8px 8px 8px 22px; border-radius: 999px;
  background: rgba(13, 13, 18, 0.62); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: transform 0.5s var(--ease), background 0.3s;
}
.nav-wrap { padding: 0 var(--gutter); }
.nav.is-hidden .nav__bar { transform: translateY(-140%); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -0.04em; min-height: 44px; }
.logo__mark { width: 26px; height: 26px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 10px 14px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2); transition: color 0.2s, background 0.2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); box-shadow: 0 5px 0 var(--ink); transform: translateY(-2.5px); }
.nav__cta { display: flex; gap: 8px; align-items: center; }
@media (max-width: 860px) {
  .nav__links {
    position: absolute; top: calc(100% + 10px); left: var(--gutter); right: var(--gutter); flex-direction: column; padding: 12px;
    background: rgba(13, 13, 18, 0.96); border: 1px solid var(--line); border-radius: var(--r-m); backdrop-filter: blur(18px);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .nav__links a { padding: 14px 16px; font-size: 17px; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__toggle { display: inline-flex; }
  .nav__bar { position: relative; }
}
@media (max-width: 480px) { .nav__cta .btn { display: none; } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px 0 40px; overflow: hidden; isolation: isolate; }
.hero__canvas, .hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__fallback {
  background:
    radial-gradient(60% 60% at 78% 22%, rgba(132, 102, 255, 0.5), transparent 70%),
    radial-gradient(45% 50% at 18% 70%, rgba(255, 106, 61, 0.28), transparent 70%),
    radial-gradient(40% 40% at 60% 80%, rgba(200, 255, 46, 0.14), transparent 70%),
    var(--bg);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(transparent, var(--bg)); z-index: -1; }
.hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.hero__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 36px); }
.hero h1 { margin-bottom: clamp(24px, 3.4vw, 44px); }
.hero__row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 900px) { .hero__row { grid-template-columns: 1fr; } }

/* live pipeline */
.pipe {
  border: 1px solid var(--line); border-radius: var(--r-m); background: rgba(10, 10, 14, 0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 16px; font-family: var(--f-mono); font-size: 12.5px;
}
.pipe__head { display: flex; justify-content: space-between; align-items: center; color: var(--muted); padding: 2px 4px 14px; letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; }
.pipe__live { display: inline-flex; align-items: center; gap: 8px; color: var(--acid); }
.pipe__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--acid); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.pipe__steps { display: grid; gap: 6px; }
.pipe__step {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 10px;
  border: 1px solid transparent; color: var(--muted); transition: background 0.4s, border-color 0.4s, color 0.4s;
}
.pipe__step .ix { color: var(--muted); opacity: 0.6; }
.pipe__step .st { font-size: 11px; opacity: 0; transition: opacity 0.3s; }
.pipe__step.is-on { background: rgba(200, 255, 46, 0.07); border-color: rgba(200, 255, 46, 0.25); color: var(--ink); }
.pipe__step.is-on .st { opacity: 1; color: var(--acid); }
.pipe__step.is-done { color: var(--ink-2); }
.pipe__step.is-done .st { opacity: 1; color: var(--muted); }
.pipe__bar { height: 2px; background: var(--line); border-radius: 2px; margin: 14px 4px 4px; overflow: hidden; }
.pipe__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--violet), var(--acid)); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease); }

/* Marquee */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; display: flex; user-select: none; }
.marquee__track { display: flex; flex-shrink: 0; gap: 48px; padding-right: 48px; align-items: center; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 36px); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; color: var(--ink-2); }
.marquee span.serif { font-family: var(--f-serif); color: var(--ink); }
.marquee svg { width: 22px; height: 22px; color: var(--acid); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Sections */
.section { padding: clamp(88px, 12vw, 180px) 0; position: relative; }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(40px, 6vw, 88px); }
.section__head .eyebrow { margin-bottom: 22px; }
@media (max-width: 900px) { .section__head { grid-template-columns: 1fr; } }

/* Statement */
.statement { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; font-size: clamp(30px, 4.6vw, 68px); max-width: 20ch; max-width: 1100px; }
.statement .word { opacity: 0.16; transition: opacity 0.2s linear; }
.statement .word.is-lit { opacity: 1; }

/* Service cards */
.services { display: grid; gap: 20px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--r-l); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(132, 102, 255, 0.2), transparent 60%);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(200, 255, 46, 0.9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover::before, .card:hover::after { opacity: 1; }
.service { display: grid; grid-template-columns: 1fr 1.05fr; min-height: 460px; }
.service:nth-child(even) .service__body { order: 2; }
.service__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.service__num { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; display: flex; justify-content: space-between; }
.service__body p { color: var(--ink-2); margin-top: 16px; max-width: 44ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.04em; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); }
.service__art { position: relative; background: var(--bg-3); border-left: 1px solid var(--line); min-height: 320px; overflow: hidden; display: grid; place-items: center; }
.service:nth-child(even) .service__art { border-left: 0; border-right: 1px solid var(--line); }
.service__art::before {
  content: ""; position: absolute; inset: 0; opacity: 0.6;
  background-image: radial-gradient(rgba(244, 242, 234, 0.13) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: radial-gradient(75% 75% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000, transparent);
}
.service__art svg { position: relative; width: 100%; height: 100%; max-height: 420px; }
@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; }
  .service:nth-child(even) .service__body { order: 0; }
  .service__art, .service:nth-child(even) .service__art { border: 0; border-top: 1px solid var(--line); }
}

/* art: flow */
.flow-line { fill: none; stroke: rgba(244, 242, 234, 0.16); stroke-width: 1.5; }
.flow-pulse { fill: none; stroke: var(--acid); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 26 400; animation: pulse 3.2s linear infinite; filter: drop-shadow(0 0 6px var(--acid)); }
.flow-pulse.v { stroke: var(--violet); filter: drop-shadow(0 0 6px var(--violet)); animation-duration: 4.1s; }
.flow-pulse.d2 { animation-delay: -1.3s; } .flow-pulse.d3 { animation-delay: -2.2s; }
@keyframes pulse { from { stroke-dashoffset: 426; } to { stroke-dashoffset: 0; } }
.node rect { fill: #17171f; stroke: var(--line-2); }
.node text { fill: var(--ink); font-family: var(--f-mono); font-size: 11px; }
.node .sub { fill: var(--muted); font-size: 9px; }
.node--hot rect { stroke: var(--acid); fill: #151a08; }
.node--hot { animation: breathe 2.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes breathe { 50% { transform: scale(1.04); } }

/* art: site builder */
.browser { position: relative; width: min(82%, 440px); border-radius: 14px; border: 1px solid var(--line-2); background: #101016; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.browser__url { margin-left: 8px; flex: 1; height: 20px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); font-family: var(--f-mono); font-size: 10px; color: var(--muted); display: flex; align-items: center; padding: 0 8px; }
.browser__page { padding: 16px; display: grid; gap: 10px; min-height: 230px; }
.blk { border-radius: 8px; background: rgba(255, 255, 255, 0.07); transform-origin: left; animation: build 6s var(--ease) infinite both; }
.blk--h { height: 18px; width: 68%; background: var(--ink); animation-delay: 0.2s; }
.blk--p { height: 8px; width: 88%; animation-delay: 0.6s; }
.blk--p2 { height: 8px; width: 60%; animation-delay: 0.8s; }
.blk--b { height: 24px; width: 96px; border-radius: 999px; background: var(--acid); animation-delay: 1.2s; }
.blk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.blk--c { height: 68px; transform-origin: bottom; animation-name: buildUp; }
.blk--c:nth-child(1) { animation-delay: 1.6s; background: linear-gradient(160deg, rgba(132, 102, 255, 0.55), rgba(132, 102, 255, 0.1)); }
.blk--c:nth-child(2) { animation-delay: 1.8s; background: linear-gradient(160deg, rgba(255, 106, 61, 0.5), rgba(255, 106, 61, 0.1)); }
.blk--c:nth-child(3) { animation-delay: 2s; background: linear-gradient(160deg, rgba(79, 227, 255, 0.45), rgba(79, 227, 255, 0.08)); }
@keyframes build { 0% { transform: scaleX(0); opacity: 0; } 12%, 88% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes buildUp { 0% { transform: scaleY(0); opacity: 0; } 12%, 88% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.prompt {
  position: absolute; left: 6%; bottom: 9%; right: 6%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px;
  background: rgba(7, 7, 10, 0.85); border: 1px solid var(--line-2); backdrop-filter: blur(10px); font-family: var(--f-mono); font-size: 12px; color: var(--ink-2);
}
.prompt svg { width: 16px; height: 16px; color: var(--acid); flex-shrink: 0; position: static; }
.prompt__text { overflow: hidden; white-space: nowrap; border-right: 2px solid var(--acid); width: 0; animation: type 6s steps(34) infinite; }
@keyframes type { 0% { width: 0; } 30%, 92% { width: 34ch; } 100% { width: 34ch; opacity: 0; } }

/* art: case chart */
.bar { fill: rgba(244, 242, 234, 0.12); transform-origin: bottom; transform-box: fill-box; animation: grow 5s var(--ease) infinite both; }
.bar--hot { fill: var(--acid); }
@keyframes grow { 0% { transform: scaleY(0); } 20%, 90% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.trend { fill: none; stroke: var(--violet); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 600; animation: draw 5s var(--ease) infinite both; filter: drop-shadow(0 0 8px rgba(132, 102, 255, 0.8)); }
@keyframes draw { 0% { stroke-dashoffset: 600; } 35%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.chart-label { fill: var(--muted); font-family: var(--f-mono); font-size: 10px; }
.chart-axis { stroke: var(--line-2); stroke-width: 1; }

/* Process */
.process { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.process__sticky { position: sticky; top: 120px; align-self: start; }
.process__sticky .lead { margin-top: 24px; }
.steps { position: relative; padding-left: 44px; }
.steps__rail { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.steps__rail i { display: block; width: 100%; height: 100%; background: linear-gradient(var(--violet), var(--acid)); transform: scaleY(0); transform-origin: top; }
.step { position: relative; padding: 0 0 clamp(40px, 5vw, 72px); }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: -44px; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: border-color 0.4s, box-shadow 0.4s, background 0.4s; }
.step.is-active::before { border-color: var(--acid); background: var(--acid); box-shadow: 0 0 0 6px rgba(200, 255, 46, 0.12), 0 0 26px rgba(200, 255, 46, 0.5); }
.step .mono { color: var(--muted); }
.step h3 { margin: 10px 0 12px; }
.step p { color: var(--ink-2); max-width: 52ch; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } .process__sticky { position: static; } }

/* Product */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 560px; background: linear-gradient(135deg, #10101a, #0b0b10); }
.product__body { padding: clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.product__name { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.05em; font-size: clamp(56px, 8vw, 120px); line-height: 0.9; }
.product__art { position: relative; display: grid; place-items: center; padding: 40px 24px; overflow: hidden; perspective: 1200px; }
.product__art::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 255, 46, 0.2), transparent 62%); filter: blur(10px); }
.phone {
  position: relative; width: 264px; border-radius: 40px; padding: 12px; background: #1b1b24; border: 1px solid var(--line-2);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.04); transform-style: preserve-3d; will-change: transform;
}
.phone__screen { border-radius: 30px; background: #0a0a0e; padding: 22px 18px; min-height: 460px; display: flex; flex-direction: column; gap: 16px; }
.phone__title { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-display); font-weight: 600; font-size: 18px; }
.phone__title small { font-family: var(--f-mono); font-size: 10px; color: var(--muted); font-weight: 400; }
.goal { border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 10px; }
.goal__top { display: flex; justify-content: space-between; font-size: 13px; }
.goal__top b { font-weight: 600; }
.goal__top span { font-family: var(--f-mono); font-size: 11px; color: var(--acid); }
.goal__track { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.goal__track i { display: block; height: 100%; border-radius: 6px; background: var(--acid); width: var(--v, 50%); transform-origin: left; }
.goal:nth-child(3) .goal__track i { background: var(--violet); } .goal:nth-child(3) .goal__top span { color: var(--violet); }
.pvf { border: 1px solid var(--line); border-radius: 16px; padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.pvf__legend { display: flex; gap: 14px; font-family: var(--f-mono); font-size: 10px; color: var(--muted); }
.pvf__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; background: var(--line-2); }
.pvf__legend span:last-child i { background: var(--acid); }
.pvf svg { width: 100%; flex: 1; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } }

/* Academy teaser */
.academy-card {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: end; padding: clamp(28px, 5vw, 72px); min-height: 480px;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(132, 102, 255, 0.5), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(255, 106, 61, 0.22), transparent 60%),
    var(--bg-2);
}
.academy-card .h2 { margin: 22px 0; }
.academy-card__side { display: grid; gap: 10px; }
.chip-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(7, 7, 10, 0.45); backdrop-filter: blur(10px); font-weight: 500; }
.chip-row span:last-child { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
@media (max-width: 900px) { .academy-card { grid-template-columns: 1fr; } }

/* CTA */
.cta { text-align: center; padding: clamp(100px, 14vw, 220px) 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; bottom: -60%; width: 120vw; height: 120vw; max-width: 1600px; max-height: 1600px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(132, 102, 255, 0.32), rgba(255, 106, 61, 0.1) 40%, transparent 62%); z-index: -1; }
.cta .display { font-size: clamp(44px, 10vw, 168px); }
.cta .lead { margin: 28px auto 36px; }
.cta__mail { display: inline-block; margin-top: 22px; font-family: var(--f-mono); font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--line-2); padding: 12px 0 4px; }
.cta__mail:hover { color: var(--acid); border-color: var(--acid); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 28px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 400; }
.footer li a { display: inline-block; padding: 6px 0; color: var(--ink-2); transition: color 0.2s; }
.footer li a:hover { color: var(--acid); }
.footer__big { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.06em; line-height: 0.8; font-size: clamp(90px, 25vw, 400px); margin: 48px 0 0 -0.04em; background: linear-gradient(180deg, rgba(244, 242, 234, 0.22), rgba(244, 242, 234, 0.02)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* Academy page */
.page-hero { position: relative; padding: clamp(150px, 20vw, 240px) 0 clamp(60px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.page-hero__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 70% at 85% 10%, rgba(132, 102, 255, 0.5), transparent 65%), radial-gradient(40% 55% at 5% 90%, rgba(200, 255, 46, 0.14), transparent 65%); }
.page-hero .display { font-size: clamp(44px, 8.4vw, 132px); margin: 26px 0 30px; }
.orbit { position: absolute; right: -8%; top: 8%; width: min(56vw, 720px); aspect-ratio: 1; z-index: -1; opacity: 0.9; }
.orbit circle { fill: none; stroke: var(--line-2); }
.orbit .spin { transform-origin: 50% 50%; animation: spin 40s linear infinite; }
.orbit .spin.r { animation-direction: reverse; animation-duration: 60s; }
.orbit .dot { fill: var(--acid); stroke: none; filter: drop-shadow(0 0 8px var(--acid)); }
.orbit .dot.v { fill: var(--violet); filter: drop-shadow(0 0 8px var(--violet)); }
@keyframes spin { to { transform: rotate(360deg); } }
.tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.track { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; min-height: 420px; }
.track__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); color: var(--acid); }
.track__icon svg { width: 26px; height: 26px; }
.track p { color: var(--ink-2); }
.track ul { margin-top: auto; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.track li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.track li svg { width: 16px; height: 16px; color: var(--acid); flex-shrink: 0; margin-top: 4px; }
@media (max-width: 980px) { .tracks { grid-template-columns: 1fr; } .track { min-height: 0; } }
.how { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.how > div { padding: clamp(22px, 2.6vw, 36px); border-right: 1px solid var(--line); display: grid; gap: 12px; align-content: start; min-height: 240px; transition: background 0.4s; }
.how > div:last-child { border-right: 0; }
.how > div:hover { background: var(--bg-2); }
.how .mono { color: var(--acid); }
.how p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 980px) { .how { grid-template-columns: 1fr 1fr; } .how > div { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .how { grid-template-columns: 1fr; } .how > div { border-right: 0; min-height: 0; } }
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(19px, 2vw, 26px); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-size: 22px; color: var(--acid); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 0 26px; max-width: 64ch; }
.note { font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-top: 18px; }

/* Intro curtain */
.curtain { position: fixed; inset: 0; z-index: 300; background: var(--bg); display: grid; place-items: center; pointer-events: none; }
.curtain span { font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 8vw, 96px); letter-spacing: -0.05em; }
html:not(.js) .curtain { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .curtain, .cursor { display: none; }
  .marquee__track { animation: none; }
  .statement .word { opacity: 1; }
  .prompt__text { width: 34ch; }
}

.service__art:has(.browser) { padding: 36px 0 96px; }

/* ---- Home v2: ready jobs, examples, tools, forms ---- */
.hero--home { justify-content: flex-end; }
.hero--home .lead { margin-top: 20px; }
.hero__sub { font-size: clamp(24px, 3vw, 40px); margin-bottom: 4px; }
.hero__small { margin-top: 16px; font-size: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(28px, 4vw, 48px); }
.grid3 > li { padding: clamp(22px, 2.6vw, 36px); }
.grid3 .h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 10px; }
.pain > li { font-family: var(--f-display); font-size: clamp(19px, 1.8vw, 24px); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; }
.benefits p { color: var(--ink-2); }
.note-line { margin-top: 28px; font-size: 15px; max-width: 70ch; }
.jobs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.job { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.2vw, 30px); min-height: 320px; }
.job .h3 { font-size: clamp(22px, 1.9vw, 28px); }
.job p { color: var(--ink-2); }
.job__price { margin-top: auto; display: grid; gap: 4px; font-family: var(--f-body, inherit); font-size: 21px; line-height: 1.3; color: var(--ink); border-top: 1px solid var(--line); padding-top: 16px; }
.amt { color: var(--acid); font-weight: 700; }
.job__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; min-height: 44px; }
.job__link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.job:hover .job__link svg { transform: translate(3px, -3px); }
.example { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.2vw, 30px); }
.example__label { align-self: flex-start; padding: 5px 12px; border: 1px solid var(--acid); border-radius: 999px; color: var(--acid); font-size: 11.5px; }
.example__quote { font-family: var(--f-serif); font-style: italic; font-size: 19px; line-height: 1.4; color: var(--ink); }
.example__job { color: var(--ink); font-weight: 600; }
.example__job .mono, .example__change .mono { display: block; font-weight: 400; margin-bottom: 2px; }
.example__change { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.checks { display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 15.5px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--acid); }
.checks--lg li { font-size: 18px; }
.work { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.work__item { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-height: 280px; }
.work__item p { color: var(--ink-2); max-width: 44ch; }
.work__item .btn { margin-top: auto; }
.bigger { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: clamp(28px, 4vw, 56px); }
.bigger .h2 { font-size: clamp(30px, 4vw, 56px); margin-bottom: 16px; }
.how { list-style: none; }
.how > li { padding: clamp(22px, 2.6vw, 36px); border-right: 1px solid var(--line); display: grid; gap: 12px; align-content: start; min-height: 240px; }
.how > li:last-child { border-right: 0; }
.how .h3 { font-size: clamp(21px, 1.8vw, 26px); }
@media (max-width: 980px) { .how > li { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .how > li { border-right: 0; min-height: 0; } }
.textlink { color: var(--ink); border-bottom: 1px solid var(--line-2); padding: 12px 0 4px; display: inline-block; }
.textlink:hover { color: var(--acid); border-color: var(--acid); }
.tools { border-block: 1px solid var(--line); padding: 20px 0 18px; }
.tools__title { margin: 0 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; }
.tools__list { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 20px 0; font-family: var(--f-display); font-size: clamp(19px, 2vw, 26px); font-weight: 500; letter-spacing: -0.02em; color: var(--ink-2); }
.tools__end { font-size: 13px; margin: 0; text-align: center; }
.band { padding: clamp(72px, 10vw, 140px) 0; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 50% 100%, rgba(132, 102, 255, 0.35), transparent 70%); }
.band__text { max-width: 20ch; margin: 0 auto 36px; }
.audit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.form { padding: clamp(22px, 3vw, 40px); display: grid; gap: 18px; }
.form .h3 { font-size: clamp(22px, 2.2vw, 30px); }
.form__intro, .form__note { color: var(--ink-2); font-size: 15px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.field input:not([type="checkbox"]), .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg-3); border: 1px solid var(--line-2);
  border-radius: var(--r-s); padding: 12px 14px; min-height: 48px;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--acid); outline-offset: 2px; border-color: var(--acid); }
.field--check { grid-template-columns: 24px 1fr; align-items: start; column-gap: 12px; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--acid); }
.field--check label { font-weight: 400; line-height: 1.5; }
.field--check label a { color: var(--ink); text-decoration: underline; }
.field--check .field__err { grid-column: 1 / -1; }
.field__err { color: #ff8f6b; font-size: 14px; }
.form .btn { justify-self: start; }
.form__status { padding: 14px 16px; border-radius: var(--r-s); border: 1px solid var(--line-2); font-size: 15px; }
.form__status.is-ok { border-color: var(--acid); color: var(--ink); }
.form__status.is-error { border-color: #ff8f6b; color: #ffb59c; }
.footer__grid--home { grid-template-columns: 1.4fr 1fr; align-items: start; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
@media (max-width: 1100px) { .jobs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } .work, .audit__grid, .footer__grid--home { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .jobs { grid-template-columns: 1fr; } .job { min-height: 0; } .btn { white-space: normal; } }

/* Sub pages: jobs, legal, 404 */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.job-h1 { font-size: clamp(40px, 7vw, 104px); margin: 22px 0 26px; overflow-wrap: anywhere; }
.page-hero .lead { margin-bottom: 8px; }
.page-hero .hero__actions { margin-top: 28px; }
.pricebox { display: inline-grid; gap: 2px; margin-top: 28px; padding: 18px 22px; border: 1px solid var(--line-2); border-radius: var(--r-m); background: rgba(255, 255, 255, 0.03); font-family: var(--f-mono); font-size: 20px; color: var(--ink); }
.pricebox__label { color: var(--muted); margin-bottom: 4px; }
.pricebox__main { color: var(--ink); font-size: 24px; }
.pricebox .pricebox__label { font-size: 12px; }
.jobgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 20px; }
.jobbox { padding: clamp(22px, 2.6vw, 36px); display: grid; gap: 14px; align-content: start; }
.jobbox .h3 { font-size: clamp(21px, 1.9vw, 26px); }
.jobbox p { color: var(--ink-2); }
.jobcta { margin-bottom: 8px; }
.jobcta .h2 { font-size: clamp(28px, 3.4vw, 48px); max-width: 18ch; }
@media (max-width: 900px) { .jobgrid { grid-template-columns: 1fr; } }
.page-hero--legal { padding-bottom: clamp(30px, 4vw, 56px); }
.prose { padding-top: 0; }
.wrap--narrow { max-width: 860px; }
.prose h2.h3 { font-size: clamp(22px, 2.2vw, 30px); margin: 44px 0 14px; }
.prose h3.h4 { font-family: var(--f-display); font-weight: 600; font-size: 18px; margin: 24px 0 10px; }
.prose p { color: var(--ink-2); margin: 0 0 14px; max-width: 70ch; }
.prose .checks { margin: 0 0 16px; }
.prose a:not(.textlink) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose a:not(.textlink):hover { color: var(--acid); }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0 20px; border: 1px solid var(--line); border-radius: var(--r-s); }
.tablewrap:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
.tablewrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.tablewrap th, .tablewrap td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.tablewrap th { color: var(--ink); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 400; background: rgba(255, 255, 255, 0.03); }
.tablewrap tr:last-child td { border-bottom: 0; }
.footer li button.linkbtn { display: inline-block; padding: 6px 0; color: var(--ink-2); background: none; border: 0; font: inherit; cursor: pointer; min-height: 32px; }
.footer li button.linkbtn:hover { color: var(--acid); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }

/* Cookie banner */
.cookie { position: fixed; left: var(--gutter); right: var(--gutter); bottom: 16px; z-index: 250; max-width: 760px; margin: 0 auto; padding: 20px 22px; background: #14141b; border: 1px solid var(--line-2); border-radius: var(--r-m); box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.7); display: grid; gap: 16px; }
.cookie[hidden] { display: none; }
.cookie p { color: var(--ink-2); font-size: 15px; margin: 0; }
.cookie p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; gap: 12px; }
.cookie__btn { flex: 1 1 0; justify-content: center; min-height: 48px; padding: 0 24px; font-size: 15px; }
@media (max-width: 960px) { html.cookie-open body .woot-widget-bubble { bottom: var(--cookie-lift, 200px); } }
.form__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Tools logo marquee ---- */
.logos { display: flex; overflow: hidden; margin: 10px 0; max-width: 100%; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__track { display: flex; flex-shrink: 0; align-items: center; gap: 56px; padding: 6px 28px; margin: 0; list-style: none; animation: logos-scroll 50s linear infinite; }
.logos:hover .logos__track, .logos:focus-within .logos__track { animation-play-state: paused; }
.logos__track li { flex-shrink: 0; display: flex; }
.tool-logo { display: block; height: 32px; width: 32px; color: var(--ink-2); transition: color 0.25s var(--ease); }
.logos__track li:hover .tool-logo, .tool-logo:focus-visible { color: #fff; }
.tool-logo:focus-visible { outline: 2px solid var(--acid); outline-offset: 6px; }
@keyframes logos-scroll { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .logos { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
  .logos__track { animation: none; flex-wrap: wrap; justify-content: center; gap: 28px 40px; padding: 6px 0; }
  .logos__track[aria-hidden="true"] { display: none; }
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form__status a { color: inherit; text-decoration: underline; }
.form__done { display: grid; gap: 14px; justify-items: start; padding: 8px 0; outline: none; }
.form__done p { font-size: 18px; color: var(--ink); }
.form__tick { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--acid); color: var(--acid-ink); font-weight: 700; font-size: 20px; }
/* Chat launcher: dark icon on the lime circle (closed chat icon and open-state x). */
.woot-widget-bubble #woot-widget-bubble-icon path { fill: var(--acid-ink) !important; }
.woot-widget-bubble.woot--close::before, .woot-widget-bubble.woot--close::after { background-color: var(--acid-ink) !important; }
