/* ============================================================
   WellBuilt — styles
   Concept: a polished dark surface with a *blueprint* layer underneath,
   revealed in a lens around the cursor (or by a toggle on touch).
   Motion is transform/opacity only. Everything respects reduced-motion.
   ============================================================ */

:root {
  --bg: #0b0b0d;
  --bg-2: #121215;
  --bg-3: #19191d;
  --ink: #f4f1ea;
  --ink-2: #c9c5bc;
  --muted: #8d897f;
  --line: rgba(244, 241, 234, .10);
  --line-2: rgba(244, 241, 234, .18);
  --accent: #ff6a2b;
  --accent-2: #ffa073;
  --accent-ink: #0b0b0d;

  /* blueprint layer */
  --bp-bg: #0c2f7c;
  --bp-bg-2: #0a2765;
  --bp-line: rgba(212, 230, 255, .28);
  --bp-ink: #dbe9ff;
  --bp-accent: #8fd3ff;

  --font-display: "Unbounded", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --r: 0px;          /* lens radius (set by JS) */
  --mx: 50%;         /* lens x */
  --my: 50%;         /* lens y */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-drop: cubic-bezier(.34, 1.56, .64, 1);
  --nav-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
::selection { background: var(--accent); color: var(--accent-ink); }

.eyebrow {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: "// "; opacity: .6; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--ink-2); max-width: 62ch; }
.lede-sm { font-size: 1.05rem; color: var(--ink-2); max-width: 56ch; }
.section-head { margin-bottom: clamp(36px, 6vw, 64px); }
section { position: relative; }

/* ---------- Custom cursor (desktop with fine pointer only) ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 1000; display: none; }
.has-cursor .cursor { display: block; }
.cursor-dot, .cursor-ring {
  position: absolute; top: 0; left: 0; border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot { width: 6px; height: 6px; background: var(--ink); mix-blend-mode: difference; }
.cursor-ring {
  width: 36px; height: 36px; border: 1px solid rgba(244,241,234,.55);
  transition: width .25s var(--ease-out), height .25s var(--ease-out), border-color .25s, background .25s;
  display: grid; place-items: center;
}
.cursor-ring .cursor-label {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-ink); opacity: 0; transition: opacity .2s; white-space: nowrap;
}
.cursor.is-link .cursor-ring { width: 56px; height: 56px; border-color: var(--accent); background: rgba(255,106,43,.12); }
.cursor.is-label .cursor-ring { width: 84px; height: 84px; background: var(--accent); border-color: var(--accent); }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-label .cursor-dot { opacity: 0; }
.cursor.is-hidden { opacity: 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter);
  transition: transform .5s var(--ease-out), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11,11,13,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.logo b { color: var(--accent); font-weight: 900; }
.mark { width: 26px; height: 26px; fill: var(--accent); }
.nav-links { display: flex; gap: 28px; font-size: .92rem; color: var(--ink-2); }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--bg-3); --btn-ink: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem; line-height: 1;
  background: var(--btn-bg); color: var(--btn-ink); border: 1px solid transparent;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .4s var(--ease-out), color .3s, border-color .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--accent-2);
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn-primary { --btn-bg: var(--accent); --btn-ink: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); }
.btn-ghost { --btn-bg: transparent; border-color: var(--line-2); }
.btn-ghost:hover { color: var(--accent-ink); border-color: var(--accent-2); }
.btn-sm { padding: 11px 18px; font-size: .88rem; }
.btn-lg { padding: 20px 34px; font-size: 1.08rem; }
.btn-lg svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; align-items: center;
  padding-top: var(--nav-h);
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(255,106,43,.16), transparent 60%),
    radial-gradient(40% 40% at 10% 90%, rgba(255,106,43,.08), transparent 60%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px; opacity: .35;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
}
.hero-layer { position: relative; grid-area: 1 / 1; min-height: calc(100svh - var(--nav-h)); display: grid; align-items: center; }
.hero-inner { position: relative; z-index: 1; padding-block: 8vh 12vh; max-width: 820px; }
.kicker {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 26px; display: inline-flex; align-items: center; gap: 12px;
  opacity: 0; animation: fadeUp .8s var(--ease-out) .2s forwards;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.hero-title {
  font-size: clamp(2.7rem, 7.4vw, 6.4rem); font-weight: 900; letter-spacing: -.035em; line-height: .98;
  margin-bottom: 30px; overflow: visible;
}
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.32rem); color: var(--ink-2); max-width: 58ch; margin-bottom: 38px; opacity: 0; animation: fadeUp .9s var(--ease-out) .95s forwards; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: fadeUp .9s var(--ease-out) 1.1s forwards; }
.hero-offer {
  margin-top: 34px; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .8rem; color: var(--muted); letter-spacing: .02em;
  opacity: 0; animation: fadeUp .9s var(--ease-out) 1.3s forwards;
}
.hero-offer b { color: var(--ink); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,106,43,.6); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,106,43,.55); } 70% { box-shadow: 0 0 0 10px rgba(255,106,43,0); } 100% { box-shadow: 0 0 0 0 rgba(255,106,43,0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Words that drop in like blocks */
[data-drop] .w { display: inline-block; white-space: nowrap; }
[data-drop] .w > span {
  display: inline-block;
  transform: translateY(-1.3em) rotate(-6deg); opacity: 0;
  animation: drop .9s var(--ease-drop) forwards;
  animation-delay: calc(.25s + var(--i) * .06s);
  will-change: transform;
}
@keyframes drop { 0% { transform: translateY(-1.3em) rotate(-6deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
[data-drop].is-idle .w > span { animation: none; transform: none; opacity: 1; transition: transform .3s var(--ease-out); }

/* The stack of blocks (hero visual) */
.stack {
  position: absolute; right: clamp(-40px, 4vw, 80px); top: 50%; z-index: 0;
  width: clamp(220px, 28vw, 380px); aspect-ratio: 1 / 1.1;
  transform: translateY(-50%) translate(var(--px, 0), var(--py, 0));
  pointer-events: none; transition: transform .6s var(--ease-out);
}
.stack .block {
  position: absolute; left: 50%; border-radius: 6px;
  background: linear-gradient(135deg, #2a2a30, #151518);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06);
  transform: translateX(-50%) translateY(-140vh) rotate(var(--rot, 0deg));
  animation: land 1.1s var(--ease-drop) forwards;
  animation-delay: var(--d);
}
.stack .b1 { width: 100%; height: 17%; bottom: 0; --d: .35s; --rot: -2deg; }
.stack .b2 { width: 78%; height: 17%; bottom: 20%; --d: .55s; --rot: 3deg; }
.stack .b3 { width: 58%; height: 17%; bottom: 40%; --d: .75s; --rot: -4deg; }
.stack .b4 { width: 40%; height: 17%; bottom: 60%; --d: .95s; --rot: 5deg; }
.stack .b5 { width: 22%; height: 17%; bottom: 80%; --d: 1.15s; --rot: -8deg; background: linear-gradient(135deg, var(--accent-2), var(--accent)); border-color: transparent; }
@keyframes land { to { transform: translateX(-50%) translateY(0) rotate(0deg); } }
@media (max-width: 900px) {
  .stack { right: -16vw; top: 9vh; bottom: auto; width: 52vw; opacity: .32; transform: none; }
  .stack .block { box-shadow: none; }
}

/* Blueprint layer: identical content, drafted look, masked to the lens */
.hero-blueprint {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(80% 80% at 50% 50%, var(--bp-bg), var(--bp-bg-2));
  color: var(--bp-ink);
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0, #000 calc(100% - 26px), transparent 100%);
          mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0, #000 calc(100% - 26px), transparent 100%);
  transition: --r .4s;
}
.bp-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--bp-line) 1px, transparent 1px), linear-gradient(90deg, var(--bp-line) 1px, transparent 1px),
    linear-gradient(rgba(212,230,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(212,230,255,.08) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
}
.hero-blueprint .kicker, .hero-blueprint .hero-sub, .hero-blueprint .hero-ctas, .hero-blueprint .hero-offer { animation: none; opacity: 1; }
.hero-blueprint .kicker { color: var(--bp-accent); }
.hero-blueprint .kicker::before { background: var(--bp-accent); }
.hero-blueprint .hero-title { color: transparent; -webkit-text-stroke: 1px var(--bp-ink); font-weight: 700; }
.hero-blueprint [data-drop] .w > span { animation: none; transform: none; opacity: 1; }
.hero-blueprint .hero-sub { color: rgba(219,233,255,.75); }
.hero-blueprint .btn { background: transparent; color: var(--bp-ink); border: 1px dashed var(--bp-accent); }
.hero-blueprint .btn::before { display: none; }
.hero-blueprint .hero-offer { color: rgba(219,233,255,.7); }
.hero-blueprint .hero-offer b { color: var(--bp-ink); }
.hero-blueprint .dot { background: var(--bp-accent); animation: none; box-shadow: none; }
.hero-blueprint .hero-inner > * { position: relative; }
.hero-blueprint .bp-box { position: relative; outline: 1px dashed var(--bp-accent); outline-offset: 10px; }
.bp-tag {
  position: absolute; left: -10px; top: -30px;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--bp-bg); background: var(--bp-accent); padding: 3px 7px; border-radius: 3px; white-space: nowrap;
}
.bp-dim {
  position: absolute; left: -10px; right: -10px; bottom: -28px; height: 12px;
  border-left: 1px solid var(--bp-accent); border-right: 1px solid var(--bp-accent);
}
.bp-dim::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--bp-accent); }
.bp-dim::after {
  content: attr(data-label); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .08em; color: var(--bp-accent);
  background: var(--bp-bg); padding: 0 8px;
}
.stack-bp .block {
  animation: none; transform: translateX(-50%); background: transparent;
  border: 1px dashed var(--bp-accent); box-shadow: none;
}
.stack-bp .block::after {
  content: attr(data-label); position: absolute; right: -8px; top: 50%; transform: translate(100%, -50%);
  font-family: var(--font-mono); font-size: .6rem; color: var(--bp-accent); white-space: nowrap; letter-spacing: .06em;
}
.bp-note {
  position: absolute; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(219,233,255,.65);
}
.bp-note-1 { left: var(--gutter); bottom: 28px; }
.bp-note-2 { right: var(--gutter); bottom: 28px; }

/* lens ring that follows the cursor inside the hero */
.lens {
  position: absolute; z-index: 3; pointer-events: none;
  left: var(--mx); top: var(--my); width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  transform: translate(-50%, -50%); border-radius: 50%;
  border: 1px solid rgba(143,211,255,.55);
  box-shadow: 0 0 0 1px rgba(11,11,13,.5), 0 0 60px rgba(143,211,255,.15) inset;
  transition: width .5s var(--ease-out), height .5s var(--ease-out), opacity .3s;
  opacity: 0;
}
.hero.lens-on .lens { opacity: 1; }
.lens span { position: absolute; right: 8%; bottom: 8%; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em; color: var(--bp-accent); text-transform: uppercase; }
.lens span::before { content: "blueprint"; }

.bp-toggle {
  position: absolute; z-index: 5; right: var(--gutter); bottom: 28px;
  display: none; align-items: center; gap: 10px;
  font: 600 .82rem/1 var(--font-body); color: var(--ink); background: rgba(25,25,29,.85); backdrop-filter: blur(8px);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 12px 16px;
  opacity: 0; animation: fadeUp .8s var(--ease-out) 1.6s forwards;
}
.bp-toggle svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 1.6; }
.bp-toggle[aria-pressed="true"] { background: var(--bp-accent); color: var(--bp-bg); border-color: transparent; }
.bp-toggle[aria-pressed="true"] svg { stroke: var(--bp-bg); }
.hero-hint {
  position: absolute; z-index: 5; right: var(--gutter); bottom: 32px;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  opacity: 0; animation: fadeUp .8s var(--ease-out) 2s forwards;
  transition: opacity .4s;
}
.hero.lens-on .hero-hint { opacity: 0; }
.hero-hint span::before { content: ""; display: inline-block; width: 7px; height: 7px; border: 1px solid var(--accent); border-radius: 50%; margin-right: 10px; vertical-align: 1px; }
@media (hover: none), (pointer: coarse) {
  .bp-toggle { display: inline-flex; }
  .hero-hint, .lens { display: none; }
}
@media (max-width: 900px) {
  .bp-dim, .bp-note-2 { display: none; }
  .bp-tag { font-size: .56rem; top: -22px; padding: 2px 6px; }
  .hero-blueprint .bp-box { outline-offset: 7px; }
  .bp-note-1 { bottom: 40px; }
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 5;
  width: 22px; height: 36px; border: 1px solid var(--line-2); border-radius: 12px;
  opacity: 0; animation: fadeUp .8s var(--ease-out) 1.8s forwards;
}
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* ---------- Pitch (statement) ---------- */
.pitch { padding-block: clamp(90px, 14vw, 180px); border-top: 1px solid var(--line); }
.statement { font-size: clamp(1.9rem, 5.2vw, 4.4rem); font-weight: 700; letter-spacing: -.03em; max-width: 20ch; margin-bottom: 34px; }

/* word-by-word reveal */
[data-words] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
[data-words] .w > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease-out); transition-delay: calc(var(--i) * .035s); will-change: transform; }
[data-words].in .w > span { transform: none; }

/* generic reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--delay, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Demo (scroll-scrubbed) ---------- */
.demo { height: 380vh; background: var(--bg-2); border-top: 1px solid var(--line); }
.demo-sticky { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.demo-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.demo-copy h2 { margin-bottom: 30px; max-width: 16ch; }
.demo-captions { position: relative; min-height: 3.2em; }
.demo-captions p {
  position: absolute; left: 0; top: 0; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--ink-2); max-width: 30ch;
  opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.demo-captions p.on { opacity: 1; transform: none; }
.demo-captions p::before { content: "0" counter(cap) " "; counter-increment: cap; font-family: var(--font-mono); font-size: .72rem; color: var(--accent); margin-right: 10px; vertical-align: middle; }
.demo-captions { counter-reset: cap; }
.demo-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.demo-progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }

.demo-stage { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(16px, 3vw, 40px); }
.phone {
  position: relative; width: clamp(200px, 22vw, 260px); aspect-ratio: 9 / 18.5;
  border-radius: 38px; background: #1a1a1f; border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 0 0 6px #0b0b0d;
  padding: 10px; transform: rotate(-3deg); transition: transform .8s var(--ease-out);
}
.demo.is-active .phone { transform: rotate(0deg); }
.phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 34%; height: 18px; background: #0b0b0d; border-radius: 999px; z-index: 2; }
.phone-screen { position: absolute; inset: 10px; border-radius: 30px; background: #f6f4ef; color: #17171a; overflow: hidden; padding: 44px 14px 14px; font-size: .78rem; }
.ed-top { font-family: var(--font-mono); font-size: .6rem; color: #7a766f; display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.ed-lock { width: 8px; height: 8px; border: 1.5px solid #7a766f; border-radius: 2px; }
.ed-card { background: #fff; border: 1px solid #e6e2da; border-radius: 12px; padding: 12px; box-shadow: 0 6px 14px -8px rgba(0,0,0,.15); }
.ed-card label { display: block; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: #8d897f; margin: 8px 0 4px; }
.ed-card label:first-child { margin-top: 0; }
.ed-field { border: 1.5px solid #e6e2da; border-radius: 8px; padding: 8px 10px; font-weight: 600; font-size: .86rem; background: #fbfaf7; transition: border-color .3s, box-shadow .3s; display: flex; align-items: center; }
.ed-price.focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,106,43,.18); }
.ed-caret { width: 1.5px; height: 1em; background: var(--accent); margin-left: 2px; opacity: 0; }
.ed-price.focus .ed-caret { opacity: 1; animation: blink 1s steps(2) infinite; }
@keyframes blink { to { opacity: 0; } }
.ed-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-weight: 600; font-size: .8rem; }
.sw { width: 36px; height: 21px; border-radius: 999px; background: #2ecc71; position: relative; transition: background .35s; }
.sw i { position: absolute; top: 2px; left: 17px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .35s var(--ease-out); }
.sw.off { background: #cfcac0; }
.sw.off i { left: 2px; }
.ed-ghost { margin-top: 10px; border: 1px dashed #d9d4ca; border-radius: 12px; padding: 12px; opacity: .55; }
.ed-ghost i { display: block; height: 8px; border-radius: 4px; background: #e6e2da; margin-bottom: 7px; }
.ed-ghost i:last-child { width: 55%; margin-bottom: 0; }
.ed-save { display: block; width: 100%; margin-top: 12px; border: 0; border-radius: 10px; padding: 11px; background: #17171a; color: #fff; font: 600 .82rem var(--font-body); transition: transform .15s, background .2s; }
.ed-save.pressed { transform: scale(.96); background: var(--accent); }
.ed-toast {
  position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 10px 12px; border-radius: 10px;
  background: #17171a; color: #fff; font-size: .74rem; font-weight: 600; text-align: center;
  transform: translateY(140%); opacity: 0; transition: transform .45s var(--ease-out), opacity .3s;
}
.ed-toast::before { content: "●"; color: #2ecc71; margin-right: 6px; }
.ed-toast.on { transform: none; opacity: 1; }
.finger {
  position: absolute; z-index: 4; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,106,43,.35); border: 1.5px solid var(--accent);
  left: var(--fx, 50%); top: var(--fy, 50%); transform: translate(-50%, -50%) scale(var(--fs, 1));
  opacity: var(--fo, 0); transition: left .6s var(--ease-out), top .6s var(--ease-out), transform .2s, opacity .3s;
  pointer-events: none;
}
.wire { position: absolute; left: clamp(200px, 22vw, 260px); right: 40%; top: 50%; height: 60px; transform: translateY(-50%); z-index: 0; opacity: .0; transition: opacity .4s; }
.demo.is-active .wire { opacity: 1; }
.wire svg { width: 100%; height: 100%; overflow: visible; }
.wire path { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 6 8; stroke-dashoffset: var(--dash, 0); opacity: .5; }
@media (max-width: 900px) { .wire { display: none; } }

.mini-site {
  position: relative; z-index: 1; border-radius: 16px; background: #fbfaf7; color: #17171a; overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
  font-size: .8rem; transform: translateY(20px); opacity: .6; transition: transform .8s var(--ease-out), opacity .8s;
}
.demo.is-active .mini-site { transform: none; opacity: 1; }
.ms-bar { display: flex; align-items: center; gap: 5px; padding: 10px 12px; background: #ecE9e2; font-family: var(--font-mono); font-size: .62rem; color: #7a766f; }
.ms-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d3cec4; }
.ms-bar span { margin-left: 8px; background: #fff; border-radius: 6px; padding: 3px 10px; flex: 1; }
.ms-hero { padding: 22px 18px 14px; background: linear-gradient(160deg, #fff5ee, #fbfaf7); border-bottom: 1px solid #ece8e0; }
.ms-hero b { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.ms-hero small { color: #8d897f; }
.ms-list { padding: 8px 18px; }
.ms-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #ece8e0; position: relative; transition: opacity .4s; }
.ms-item:last-child { border-bottom: 0; }
.ms-item b { display: block; font-weight: 600; font-size: .86rem; }
.ms-item small { color: #8d897f; }
.ms-price { font-weight: 700; font-family: var(--font-mono); font-size: .9rem; }
.ms-item.is-target .ms-price { color: var(--accent); }
.ms-sold { position: absolute; right: 0; top: 50%; transform: translateY(-50%) scale(.6); opacity: 0; background: #17171a; color: #fff; font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; transition: transform .4s var(--ease-drop), opacity .3s; }
.ms-item.sold { opacity: .55; }
.ms-item.sold .ms-price { visibility: hidden; }
.ms-item.sold .ms-sold { transform: translateY(-50%) scale(1); opacity: 1; }
.ms-item.flash::after { content: ""; position: absolute; inset: -4px -8px; border-radius: 8px; background: rgba(255,106,43,.14); animation: flash 1.2s var(--ease-out) forwards; }
@keyframes flash { from { opacity: 1; } to { opacity: 0; } }
.odo { display: inline-grid; overflow: hidden; height: 1.2em; line-height: 1.2em; }
.odo > span { grid-area: 1 / 1; transition: transform .55s var(--ease-out), opacity .4s; }
.odo-new { transform: translateY(110%); opacity: 0; }
.odo.flip .odo-old { transform: translateY(-110%); opacity: 0; }
.odo.flip .odo-new { transform: none; opacity: 1; }
.ms-wa { margin: 6px 18px 18px; background: #25d366; color: #fff; text-align: center; padding: 10px; border-radius: 10px; font-weight: 700; font-size: .78rem; }

@media (max-width: 900px) {
  .demo { height: 320vh; }
  .try { margin-top: 10px; padding: 10px 12px; gap: 2px; } .try b { font-size: .86rem; } .try-login { font-size: .74rem; }
  .demo-grid { grid-template-columns: 1fr; gap: 26px; align-content: center; }
  .demo-copy h2 { font-size: clamp(1.4rem, 5.5vw, 2rem); margin-bottom: 14px; }
  .demo-captions { min-height: 2.6em; }
  .demo-captions p { font-size: .98rem; }
  .demo-stage { grid-template-columns: 1fr 1fr; gap: 14px; }
  .phone { width: 100%; max-width: 190px; }
  .mini-site { font-size: .68rem; }
  .ms-hero { padding: 14px 12px 10px; }
  .ms-list { padding: 4px 12px; }
  .ms-item { padding: 9px 0; }
  .ms-wa { margin: 6px 12px 12px; }
}
@media (max-width: 480px) {
  .phone { max-width: 150px; }
  .phone-screen { padding: 34px 9px 9px; font-size: .64rem; }
  .ed-top { font-size: .5rem; margin-bottom: 8px; }
  .ed-field { font-size: .72rem; padding: 6px 8px; }
  .ed-row { font-size: .66rem; margin-top: 8px; }
  .sw { width: 30px; height: 18px; } .sw i { width: 14px; height: 14px; left: 14px; }
  .ed-ghost { display: none; }
  .ms-item b { font-size: .72rem; } .ms-item small { font-size: .6rem; } .ms-price { font-size: .78rem; }
  .ed-card { padding: 9px; }
  .ed-save { padding: 8px; font-size: .7rem; }
  .ed-toast { font-size: .62rem; padding: 8px; left: 9px; right: 9px; bottom: 9px; }
}

/* ---------- Work ---------- */
.work { padding-block: clamp(90px, 12vw, 160px); border-top: 1px solid var(--line); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 800px) { .work-grid { grid-template-columns: 1fr; } }
.work-card {
  position: relative; display: block; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line);
  overflow: hidden; transform-style: preserve-3d; perspective: 1200px;
  opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), border-color .3s;
}
.work-card.in { opacity: 1; transform: none; }
.work-card:hover { border-color: var(--line-2); }
.frame-wrap { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-3); perspective: 1200px; }
.tilt { position: absolute; inset: 0; transform-style: preserve-3d; }
.frame-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, var(--bg-2)); pointer-events: none; }
.laptop {
  position: absolute; left: 8%; right: 8%; top: 12%; border-radius: 10px 10px 0 0; overflow: hidden;
  border: 1px solid var(--line-2); background: #000; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
  transform: translateY(var(--ly, 0)); transition: transform .8s var(--ease-out);
}
.laptop img { width: 100%; height: auto; }
.laptop::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: #1c1c21; border-bottom: 1px solid var(--line); z-index: 1; }
.laptop::after { content: ""; position: absolute; left: 10px; top: 5px; width: 5px; height: 5px; border-radius: 50%; background: #ff5f57; box-shadow: 9px 0 0 #febc2e, 18px 0 0 #28c840; z-index: 2; }
.phone-sm {
  position: absolute; right: 6%; bottom: -6%; width: 22%; aspect-ratio: 9 / 19; border-radius: 16px; overflow: hidden;
  border: 3px solid #1c1c21; background: #000; box-shadow: 0 30px 50px -20px rgba(0,0,0,.9);
  transform: translateY(var(--py, 30px)); transition: transform .9s var(--ease-out) .15s;
}
.phone-sm img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-card.in .laptop { --ly: 0; }
.work-card.in .phone-sm { --py: 0; }
.work-card:hover .laptop { transform: translateY(-6px); }
.work-card:hover .phone-sm { transform: translateY(-14px); }
.work-card .tilt { transition: transform .6s var(--ease-out); will-change: transform; }
.work-meta { padding: 22px 24px 26px; display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: start; }
.work-meta h3 { font-size: 1.2rem; }
.work-meta .kind { grid-column: 1; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.work-meta .blurb { grid-column: 1; color: var(--ink-2); font-size: .95rem; margin-top: 6px; }
.work-meta .open { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .5s var(--ease-out); }
.work-meta .open svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.work-card:hover .open { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: rotate(45deg); }
/* featured (first live) card: full width, three screens fanned */
.work-card.is-featured { grid-column: 1 / -1; }
.work-card.is-featured .frame-wrap { aspect-ratio: 16 / 7.5; }
.work-card.is-featured .laptop { left: 6%; right: 34%; top: 10%; }
.work-card.is-featured .laptop-back { left: 40%; right: 4%; top: 22%; opacity: .9; filter: brightness(.85); }
.work-card.is-featured .phone-sm { right: 22%; bottom: -8%; width: 15%; }
.work-card.is-featured:hover .laptop-back { transform: translateY(-3px); }
.work-card.is-featured .work-meta { grid-template-columns: 1.1fr 1fr auto; gap: 8px 40px; }
.work-card.is-featured .work-meta h3 { font-size: 1.5rem; }
.work-card.is-featured .hl { grid-column: 2; grid-row: 1 / span 3; align-self: start; }
.work-card.is-featured .open { grid-column: 3; }
.hl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; color: var(--ink-2); }
.hl li { padding-left: 20px; position: relative; }
.hl li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.work-card:not(.is-featured) .hl { display: none; }
@media (max-width: 800px) {
  .work-card.is-featured .frame-wrap { aspect-ratio: 16 / 11; }
  .work-card.is-featured .laptop { left: 4%; right: 30%; }
  .work-card.is-featured .laptop-back { left: 36%; right: 2%; }
  .work-card.is-featured .phone-sm { right: 12%; width: 20%; }
  .work-card.is-featured .work-meta { grid-template-columns: 1fr auto; }
  .work-card.is-featured .hl { grid-column: 1; grid-row: auto; margin-top: 12px; }
  .work-card.is-featured .open { grid-column: 2; }
}

/* gated (not-yet-live) card: a wireframe drawing instead of screenshots */
.wire-preview { position: absolute; inset: 12% 8% 0; border-radius: 10px 10px 0 0; border: 1px dashed var(--bp-accent); background: linear-gradient(180deg, rgba(12,47,124,.5), rgba(12,47,124,.15)); overflow: hidden; }
.wire-preview i { position: absolute; display: block; border: 1px dashed rgba(143,211,255,.7); border-radius: 4px; background: rgba(143,211,255,.06); animation: wireIn .8s var(--ease-out) both; animation-delay: calc(var(--i) * .1s + .2s); animation-play-state: paused; }
.work-card.in .wire-preview i { animation-play-state: running; }
@keyframes wireIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wire-preview .badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bp-ink); background: rgba(12,47,124,.9); border: 1px solid var(--bp-accent); padding: 8px 12px; border-radius: 6px; white-space: nowrap; }
.work-card.is-gated .open { opacity: .35; }
.work-card.is-gated:hover .open { background: transparent; border-color: var(--line-2); color: inherit; transform: none; }

/* ---------- Steps ---------- */
.steps { padding-block: clamp(90px, 12vw, 160px); background: var(--bg-2); border-top: 1px solid var(--line); }
.steps-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(36px, 6vw, 100px); }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } }
.steps-head h2 { margin-bottom: 18px; }
.steps-head { position: sticky; top: 120px; align-self: start; }
.steps-list { list-style: none; margin: 0; padding: 0 0 0 44px; position: relative; }
.steps-line { position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; height: calc(100% - 16px); }
.steps-line path { stroke: var(--accent); stroke-width: 2; fill: none; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--sp, 0) * 100); vector-effect: non-scaling-stroke; }
.steps-list::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.step { position: relative; padding: 0 0 clamp(36px, 5vw, 64px); }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: attr(data-n); position: absolute; left: -44px; top: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--line-2); display: grid; place-items: center;
  font-family: var(--font-mono); font-size: .68rem; color: var(--muted);
  transition: background .4s, border-color .4s, color .4s, transform .5s var(--ease-drop);
}
.step.lit::before { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: scale(1.15); }
.step h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 10px; }
.step p { color: var(--ink-2); max-width: 48ch; }

/* ---------- Pricing ---------- */
.pricing { padding-block: clamp(90px, 12vw, 160px); border-top: 1px solid var(--line); }
.price-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(18px, 3vw, 32px); align-items: stretch; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }
.plan { position: relative; border-radius: 24px; padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.plan-founding { border-color: rgba(255,106,43,.45); background: linear-gradient(160deg, rgba(255,106,43,.10), var(--bg-2) 45%); }
.plan-founding::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--accent), transparent 50%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan-regular { --delay: .15s; }
.plan-tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 22px; }
.plan-tag b { color: var(--ink); }
.spots { display: grid; grid-template-columns: repeat(15, 1fr); gap: 5px; margin-bottom: 30px; max-width: 420px; }
.spots i { display: block; aspect-ratio: 1; border-radius: 3px; background: var(--bg-3); border: 1px solid var(--line-2); transform: scale(.6); opacity: 0; transition: transform .5s var(--ease-drop), opacity .4s, background .4s; transition-delay: calc(var(--i) * .04s); }
.plan.in .spots i { transform: none; opacity: 1; }
.spots i.taken { background: var(--accent); border-color: var(--accent); }
.spots i.taken::after { content: ""; display: block; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(255,255,255,.25), transparent); }
.price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price s { color: var(--muted); font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.6rem); text-decoration-color: var(--accent); }
.price-big { font-family: var(--font-display); font-weight: 900; font-size: clamp(3.2rem, 7vw, 5.2rem); letter-spacing: -.04em; line-height: 1; color: var(--ink); display: inline-flex; align-items: baseline; }
.price-big .cur { font-size: .5em; margin-right: .06em; color: var(--accent); }
.price-note { color: var(--muted); font-size: .95rem; }
.price-mo { margin: 14px 0 22px; font-size: 1.15rem; color: var(--ink-2); }
.price-mo b { color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.price-mo span { color: var(--muted); }
.plan-includes { color: var(--ink-2); margin-bottom: 26px; max-width: 46ch; }
.plan-note { margin-top: 22px; font-size: .9rem; color: var(--muted); max-width: 48ch; }
.plan-list { margin: 0 0 28px; padding: 0; list-style: none; color: var(--ink-2); display: grid; gap: 10px; }
.plan-list li { padding-left: 24px; position: relative; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(90px, 12vw, 160px); background: var(--bg-2); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(36px, 6vw, 100px); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i) * .07s); }
.faq-item.in { opacity: 1; transform: none; }
.faq-q { width: 100%; background: none; border: 0; color: inherit; font: 600 clamp(1.05rem, 1.6vw, 1.3rem)/1.3 var(--font-body); text-align: left; padding: 24px 56px 24px 0; position: relative; }
.faq-q::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .45s var(--ease-out); }
.faq-item.open .faq-q::after { transform: translateY(-30%) rotate(225deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--ink-2); padding-bottom: 26px; max-width: 60ch; }

/* ---------- About ---------- */
.about { padding-block: clamp(90px, 12vw, 160px); border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); max-width: 380px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.05); }
.about-photo-fallback { display: none; position: absolute; inset: 0; place-items: center; background: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px), linear-gradient(160deg, var(--bg-3), var(--bg-2)); background-size: 32px 32px, 32px 32px, auto; }
.about-photo-fallback .mark { width: 30%; height: auto; opacity: .35; }
.about-photo.no-photo { display: none; }
.about-grid.no-photo { grid-template-columns: 1fr; }
.about-sig:empty { display: none; }
.about-copy h2 { margin-bottom: 20px; }
.about-sig { margin-top: 26px; font-family: var(--font-mono); font-size: .8rem; color: var(--muted); letter-spacing: .04em; }

/* ---------- CTA ---------- */
.cta { padding-block: clamp(110px, 16vw, 200px); text-align: center; border-top: 1px solid var(--line); background: radial-gradient(60% 60% at 50% 100%, rgba(255,106,43,.16), transparent 70%); }
.cta-title { font-size: clamp(2.6rem, 8vw, 6.8rem); font-weight: 900; letter-spacing: -.04em; margin-bottom: 22px; }
.cta-sub { color: var(--ink-2); font-size: 1.1rem; max-width: 40ch; margin-inline: auto; margin-bottom: 36px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.cta [data-drop] .w > span { animation-play-state: paused; }
.cta.in [data-drop] .w > span { animation-play-state: running; }

.lead { max-width: 640px; margin: 40px auto 0; text-align: left; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead label { display: grid; gap: 6px; }
.lead label span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lead input, .lead textarea { width: 100%; font: 500 1rem var(--font-body); color: var(--ink); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; transition: border-color .3s, box-shadow .3s; }
.lead input:focus, .lead textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,106,43,.18); }
.lead input::placeholder { color: var(--muted); opacity: .7; }
.lead textarea { resize: vertical; }
.lead-wide { grid-column: 1 / -1; }
.lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 20px; }
.lead-status { color: var(--ink-2); font-size: .95rem; }
.lead-status.err { color: #ff8a8a; }
.lead.sent .lead-grid, .lead.sent .lead-foot .btn { display: none; }
.lead.sent .lead-status { font-size: 1.15rem; color: var(--ink); }
.lead.sent .lead-status::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-right: 10px; }
@media (max-width: 600px) { .lead-grid { grid-template-columns: 1fr; } }

/* try-the-editor card in the demo section */
.try { display: grid; gap: 4px; margin-top: 28px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-3); max-width: 380px; transition: border-color .3s, transform .4s var(--ease-out); }
.try:hover { border-color: var(--accent); transform: translateY(-2px); }
.try-k { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.try b { font-size: 1rem; }
.try-login { font-size: .84rem; color: var(--muted); }
.try code { font-family: var(--font-mono); color: var(--ink); background: var(--bg-2); padding: 1px 6px; border-radius: 4px; }
.work-badge { position: absolute; z-index: 2; left: 16px; top: 16px; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bg); background: var(--accent-2); padding: 6px 9px; border-radius: 6px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 40px; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; font-size: .88rem; color: var(--muted); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; text-align: center; } }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.footer-brand b { color: var(--accent); }
.footer-brand .mark { width: 20px; height: 20px; }
.footer-note { max-width: 46ch; text-align: center; margin-inline: auto; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; }
  [data-words] .w > span, [data-reveal], .work-card, .faq-item { transform: none !important; opacity: 1 !important; }
  .spots i { transform: none; opacity: 1; }
  .has-cursor .cursor { display: none; }
}
