/* ==========================================================
   FINALLY AUTOMATED / immersive one-page site
   Dark / ember accent / oversized type / grain
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #0b0a08;
  --bg-2: #12100c;
  --bg-3: #181510;
  --line: rgba(244, 241, 234, 0.10);
  --line-strong: rgba(244, 241, 234, 0.22);
  --ink: #f4f1ea;
  --ink-2: #a8a294;
  --ink-3: #6e695e;
  --ember: #ff6b2c;
  --ember-soft: rgba(255, 107, 44, 0.15);
  --ember-deep: #c84a12;
  --moss: #58c99a;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--ember); color: #140800; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 72px); }

/* ---------- custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 200;
  border-radius: 50%; pointer-events: none;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 6px; height: 6px; background: var(--ember); }
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 107, 44, 0.5);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s;
}
.cursor-ring.is-hover { width: 64px; height: 64px; border-color: rgba(255, 107, 44, 0.9); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- entrance curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 150;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
}
.curtain-logo {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  overflow: hidden;
}
.curtain-logo span { display: inline-block; }

/* automation intro */
.intro { display: flex; flex-direction: column; align-items: center; gap: 28px; width: min(640px, 88vw); }
.intro-flow { width: 100%; height: auto; overflow: visible; }
.intro-in rect { fill: var(--bg-2); stroke: var(--line-strong); stroke-width: 1.5; }
.intro-in text {
  fill: var(--ink-2); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em;
  text-anchor: middle;
}
.intro-path { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.intro-ring { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.intro-core { fill: var(--ember); transform-box: fill-box; transform-origin: center; }
.intro-check { fill: none; stroke: #1c0c02; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.intro-out { fill: none; stroke: var(--ember); stroke-width: 2; }
.intro-pulse { fill: var(--ember); filter: drop-shadow(0 0 6px rgba(255, 107, 44, 0.9)); }
.intro-word {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(26px, 4vw, 44px); letter-spacing: -0.02em;
  overflow: hidden; line-height: 1.1;
}
.intro-word span { display: inline-block; }
.intro-sub {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ember); margin-top: -14px;
}

/* hero automation log */
.hero-log {
  width: min(420px, 100%); flex-shrink: 0;
  border: 1px solid var(--line-strong);
  background: rgba(18, 16, 12, 0.82);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family: var(--font-mono); font-size: 12.5px;
}
.hero-log-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  color: var(--ink-3); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.hero-log-head .live { color: var(--moss); display: inline-flex; align-items: center; gap: 8px; }
.hero-log-head .live i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--moss);
  box-shadow: 0 0 0 0 rgba(88, 201, 154, 0.6); animation: livepulse 1.6s infinite;
}
@keyframes livepulse { 70% { box-shadow: 0 0 0 8px rgba(88, 201, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(88, 201, 154, 0); } }
.hero-log-body {
  padding: 12px 14px; height: 196px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 7px;
}
.log-line { display: grid; grid-template-columns: 64px 1fr 16px; gap: 10px; color: var(--ink-2); line-height: 1.45; }
.log-line .t { color: var(--ink-3); }
.log-line .s { color: var(--ink-3); text-align: right; }
.log-line.done .m { color: var(--ink); }
.log-line.done .s { color: var(--moss); }
.log-line.start .m { color: var(--ember); }
@media (max-width: 760px) { .hero-log-body { height: 150px; } }

/* request queue board */
.queue {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.q-col { padding: 20px; border-right: 1px solid var(--line); min-height: 320px; }
.q-col[data-col="live"] { border-right: 0; }
.q-col h5 {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-weight: 400; font-size: 12.5px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.q-col h5 b { font-weight: 400; color: var(--ink-2); }
.q-col.building h5 { color: var(--ember); }
.q-card {
  display: block; position: relative;
  border: 1px solid var(--line-strong); background: var(--bg);
  padding: 14px 16px; margin-bottom: 10px;
  will-change: transform;
}
.q-title { display: block; font-size: 15px; color: var(--ink); line-height: 1.4; }
.q-meta { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-3); }
.q-bar { display: none; height: 2px; margin-top: 12px; background: var(--line); overflow: hidden; }
.q-bar i { display: block; height: 100%; width: 0; background: var(--ember); }
.q-card.is-building { border-color: var(--ember-deep); background: linear-gradient(120deg, #1c1008, var(--bg) 70%); }
.q-card.is-building .q-meta { color: var(--ember); }
.q-card.is-building .q-bar { display: block; }
.q-card.is-live .q-meta { color: var(--moss); }
@media (max-width: 760px) {
  .queue { grid-template-columns: 1fr; }
  .q-col { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .q-col[data-col="live"] { border-bottom: 0; }
  .q-col[data-col="queue"], .q-col[data-col="live"] { min-height: 400px; }
  .q-col[data-col="building"] { min-height: 150px; }
}

/* ---------- progress bar ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
  background: transparent;
}
.progress-fill {
  height: 100%; width: 100%;
  background: var(--ember);
  transform-origin: left;
  transform: scaleX(0);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  mix-blend-mode: difference;
  padding: 26px clamp(20px, 4vw, 72px);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 600; font-size: 18px; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo svg { width: 24px; height: 24px; }
.nav-menu { display: flex; gap: 32px; }
.nav-menu a {
  font-family: var(--font-mono);
  font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em;
  opacity: 0.8; transition: opacity 0.25s;
}
.nav-menu a:hover { opacity: 1; }
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; row-gap: 10px; }
  .nav-menu { gap: 18px; }
  .nav-menu a { font-size: 12.5px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 0;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .beam {
  position: absolute;
  width: 130vmax; height: 130vmax;
  left: 50%; top: -40vmax;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 107, 44, 0.16), transparent 70%);
}
.hero-bg .gridlines {
  position: absolute; inset: 0;
  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(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
  opacity: 0.5;
}
.hero-inner { position: relative; z-index: 2; }

.hero-tag {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ember);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 3vh;
}
.hero-tag::before { content: ''; width: 40px; height: 1px; background: var(--ember); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(52px, 9.2vw, 152px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.hero-title .row { display: block; overflow: hidden; }
.hero-title .row > span { display: inline-block; }
.hero-title .ghost {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 241, 234, 0.55);
}
.hero-title .ember { color: var(--ember); }

.hero-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px;
  margin-top: 5vh; padding: 4vh 0;
  border-top: 1px solid var(--line);
}
.hero-foot p {
  max-width: 460px;
  color: var(--ink-2); font-size: clamp(15px, 1.3vw, 18px);
}
.hero-scroll {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.hero-scroll i {
  display: block; width: 1px; height: 44px; background: var(--line-strong);
  position: relative; overflow: hidden;
}
.hero-scroll i::after {
  content: ''; position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%; background: var(--ember);
  animation: scrolldrip 1.8s var(--ease) infinite;
}
@keyframes scrolldrip { to { top: 110%; } }
@media (max-width: 760px) { .hero-foot { flex-direction: column; align-items: flex-start; } }
@media (max-width: 760px) {
  .hero { padding-top: 130px; }
  .hero-title { font-size: clamp(36px, 11vw, 80px); }
}

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg-2);
}
.marquee-track { display: inline-flex; animation: marquee 26s linear infinite; }
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 0 28px;
  display: inline-flex; align-items: center; gap: 28px;
}
.marquee b { color: var(--ember); font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section scaffolding ---------- */
section { position: relative; }
.sec { padding: clamp(90px, 12vh, 160px) 0; }
.sec-label {
  font-family: var(--font-mono);
  font-size: 13.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ember);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.sec-label::after { content: ''; height: 1px; flex: 0 0 48px; background: var(--ember); }
.sec-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 1.02; letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 900px;
}
.sec-title .dim { color: var(--ink-3); }
.sec-sub { color: var(--ink-2); font-size: clamp(16px, 1.35vw, 19px); max-width: 580px; margin-top: 24px; }

.reveal { opacity: 0; transform: translateY(40px); }

/* ---------- the race ---------- */
.race { margin-top: 64px; display: grid; gap: 36px; }
.race-row { }
.race-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: 13.5px; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 12px;
}
.race-head .who { color: var(--ink); }
.race-head .time { color: var(--ink-3); }
.race-track { height: 52px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.race-fill {
  position: absolute; inset: 0; width: 0%;
  display: flex; align-items: center; padding-left: 16px;
  font-family: var(--font-mono); font-size: 12px; white-space: nowrap;
}
.race-fill.you { background: var(--ember); color: #1c0c02; }
.race-fill.them { background: var(--bg-3); color: var(--ink-3); border-right: 1px solid var(--line-strong); }
.race-note { color: var(--ink-2); font-size: 16px; max-width: 540px; }
.race-note b { color: var(--ink); font-weight: 500; }

/* ---------- chat demo ---------- */
.demo-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px); align-items: center;
}
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }

.phone {
  width: min(360px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 36px;
  background: var(--bg-2);
  padding: 18px;
  position: relative;
}
.phone::before {
  content: ''; position: absolute; top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px; border-radius: 12px;
  background: var(--bg);
}
.phone-screen {
  border-radius: 22px; background: var(--bg);
  padding: 48px 14px 16px;
  min-height: 480px;
  display: flex; flex-direction: column;
}
.phone-head {
  text-align: center; padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.phone-head .num { font-family: var(--font-mono); font-size: 14px; }
.phone-head .st { font-size: 12px; color: var(--moss); }
.chat { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.msg {
  max-width: 82%;
  padding: 10px 14px;
  font-size: 14px; line-height: 1.45;
  border-radius: 16px;
  opacity: 0; transform: translateY(14px) scale(0.96);
}
.msg.lead { align-self: flex-start; background: var(--bg-3); color: var(--ink); border-bottom-left-radius: 4px; }
.msg.agent { align-self: flex-end; background: var(--ember); color: #1c0c02; border-bottom-right-radius: 4px; }
.msg.sys {
  align-self: center; background: transparent; color: var(--ink-3);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
}
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: #1c0c02; opacity: 0.5; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 50% { opacity: 1; } }

.demo-copy .points { margin-top: 40px; display: grid; gap: 0; }
.point {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.point:last-child { border-bottom: 1px solid var(--line); }
.point .n { font-family: var(--font-mono); font-size: 13px; color: var(--ember); padding-top: 4px; }
.point h4 { font-family: var(--font-display); font-size: 19px; font-weight: 500; margin-bottom: 6px; }
.point p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- services stack ---------- */
.stack { display: flex; flex-direction: column; gap: 0; }
.panel {
  position: sticky;
  top: 90px;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  min-height: 460px;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  margin-bottom: 28px;
  will-change: transform;
}
.panel:nth-child(2) { top: 110px; }
.panel:nth-child(3) { top: 130px; }
.panel:nth-child(4) { top: 150px; }
@media (max-width: 900px) { .panel { grid-template-columns: 1fr; min-height: 0; } }

.panel-main { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; }
.panel-tag {
  font-family: var(--font-mono); font-size: 13.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px;
  display: flex; justify-content: space-between; width: 100%;
}
.panel-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(38px, 5vw, 74px);
  line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase;
}
.panel-name em { font-style: normal; color: var(--ember); }
.panel-desc { color: var(--ink-2); font-size: 16.5px; max-width: 470px; margin-top: 20px; flex: 1; }
.panel-list { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.panel-list span {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.05em;
  border: 1px solid var(--line-strong); padding: 7px 14px; border-radius: 100px;
  color: var(--ink-2);
}
.panel-visual {
  position: relative; border-left: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 40px; overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, var(--ember-soft), transparent 60%),
    var(--bg-2);
}
@media (max-width: 900px) { .panel-visual { border-left: 0; border-top: 1px solid var(--line); min-height: 220px; } }
.panel-visual svg { width: 100%; max-width: 300px; height: auto; }
.panel-visual .stroke { stroke: var(--ink-2); stroke-width: 1.5; fill: none; }
.panel-visual .stroke-ember { stroke: var(--ember); stroke-width: 1.5; fill: none; }
.panel-visual .fill-ember { fill: var(--ember); }
.panel.featured { background: linear-gradient(120deg, #1c1008, var(--bg-2) 55%); border-color: var(--ember-deep); }

/* ---------- process ---------- */
.proc { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .proc { grid-template-columns: 1fr; } }
.proc-step {
  padding: 40px 28px 48px 0;
  border-right: 1px solid var(--line);
  padding-left: 28px;
}
.proc-step:first-child { padding-left: 0; }
.proc-step:last-child { border-right: 0; }
@media (max-width: 900px) {
  .proc-step { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
}
.proc-num {
  font-family: var(--font-mono); font-size: 13px; color: var(--ember);
  margin-bottom: 18px; display: block;
}
.proc-step h4 { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.proc-step p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- stats band ---------- */
.stats-band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-cell {
  padding: clamp(44px, 5vw, 72px) clamp(24px, 3vw, 56px);
  border-right: 1px solid var(--line);
}
.stat-cell:last-child { border-right: 0; }
@media (max-width: 760px) { .stat-cell { border-right: 0; border-bottom: 1px solid var(--line); } .stat-cell:last-child { border-bottom: 0; } }
.stat-big {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(56px, 6.5vw, 104px);
  line-height: 1; letter-spacing: -0.03em;
}
.stat-big small { font-size: 0.42em; color: var(--ember); font-weight: 500; }
.stat-cell p { font-family: var(--font-mono); font-size: 13.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin-top: 16px; }

/* ---------- founder ---------- */
.founder-grid {
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 90px); align-items: start;
  margin-top: 48px;
}
@media (max-width: 900px) { .founder-grid { grid-template-columns: 1fr; } }

.founder-photo-wrap { max-width: 320px; }

.founder-photo {
  position: relative;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  aspect-ratio: 1536 / 2752;
  perspective: 600px;
}
.founder-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  filter: grayscale(85%) contrast(1.05) brightness(0.9);
  transition: filter 0.6s var(--ease);
  will-change: transform, filter;
}
.founder-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255, 107, 44, 0.24), transparent 60%);
  mix-blend-mode: multiply;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.founder-linkedin {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.25s;
}
.founder-linkedin:hover { color: var(--ember); }
.founder-linkedin svg { width: 20px; height: 20px; }
.founder-photo:hover img { filter: grayscale(0%) contrast(1) brightness(1); }
.founder-photo:hover::after { opacity: 0; }

.founder-stats {
  display: flex; flex-wrap: wrap; gap: 40px;
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--line);
}
.founder-stats b {
  display: block;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 3vw, 44px);
  color: var(--ink); letter-spacing: -0.02em;
}
.founder-stats p {
  font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); margin-top: 8px; max-width: 170px;
}

/* ---------- manifesto ---------- */
.manifesto .line {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 4.4vw, 68px);
  line-height: 1.08; letter-spacing: -0.02em; text-transform: uppercase;
  color: var(--ink-3);
  display: block;
}
.manifesto .line b { color: var(--ink); font-weight: 600; }
.manifesto .line i { font-style: normal; color: var(--ember); }
.manifesto-after { margin-top: 48px; max-width: 560px; color: var(--ink-2); font-size: 16px; }

/* ---------- contact ---------- */
.contact-band { border-top: 1px solid var(--line); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(44px, 6vw, 96px);
  line-height: 0.98; letter-spacing: -0.03em; text-transform: uppercase;
}
.contact-title .ghost { color: transparent; -webkit-text-stroke: 1.5px rgba(244, 241, 234, 0.5); }
.contact-meta { margin-top: 36px; display: grid; gap: 14px; }
.contact-meta a, .contact-meta span {
  font-family: var(--font-mono); font-size: 14.5px; color: var(--ink-2);
  display: flex; gap: 14px; align-items: baseline;
}
.contact-meta b { color: var(--ember); font-weight: 400; min-width: 72px; display: inline-block; }
.contact-meta a:hover { color: var(--ink); }

.form label {
  display: block;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 8px;
}
.form input, .form textarea {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--font-body); font-size: 16px;
  padding: 6px 0 14px;
  margin-bottom: 32px;
  transition: border-color 0.3s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ember); }
.form textarea { min-height: 96px; resize: vertical; }

.btn-big {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%;
  background: var(--ember); color: #1c0c02;
  border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(17px, 1.6vw, 22px); text-transform: uppercase; letter-spacing: 0.01em;
  padding: 22px 28px;
  transition: background 0.3s;
}
.btn-big:hover { background: #ff7f47; }
.btn-big .arr { font-family: var(--font-body); }
.form-note { font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); margin-top: 16px; letter-spacing: 0.04em; }

/* ---------- pricing ---------- */
.price-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  margin-top: 64px;
}
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  padding: clamp(28px, 4vw, 52px);
  display: flex; flex-direction: column;
}
.price-card.featured { background: linear-gradient(120deg, #1c1008, var(--bg-2) 55%); border-color: var(--ember-deep); }
.price-tag {
  font-family: var(--font-mono); font-size: 13.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3);
  display: flex; justify-content: space-between; gap: 16px; margin-bottom: 20px;
}
.price-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1; letter-spacing: -0.02em; text-transform: uppercase;
}
.price {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 1; letter-spacing: -0.03em;
  margin-top: 28px;
}
.price small { font-size: 0.3em; color: var(--ink-2); font-weight: 500; letter-spacing: 0; margin-left: 6px; }
.price-founding {
  margin-top: 16px; padding: 12px 16px;
  border: 1px solid var(--ember-deep); background: var(--ember-soft);
  font-family: var(--font-mono); font-size: 13.5px; color: var(--ink); letter-spacing: 0.02em;
}
.price-founding b { color: var(--ember); font-weight: 500; }
.price-list { list-style: none; margin-top: 28px; flex: 1; }
.price-list li {
  padding: 12px 0 12px 28px; border-top: 1px solid var(--line);
  color: var(--ink-2); font-size: 15.5px; position: relative;
}
.price-list li::before {
  content: ''; position: absolute; left: 2px; top: 19px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--ember); border-bottom: 2px solid var(--ember);
  transform: rotate(-45deg);
}
.price-card .btn-big { margin-top: 32px; text-decoration: none; }
.price-note { margin-top: 28px; color: var(--ink-3); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; max-width: 760px; }

@media (max-width: 600px) {
  .panel-tag, .price-tag { flex-direction: column; gap: 6px; }
}
@media (max-width: 760px) { .nav-menu .hide-sm { display: none; } }

/* ---------- contact form ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-status { font-family: var(--font-mono); font-size: 13.5px; margin-top: 16px; color: var(--moss); min-height: 1em; }
.form-status.err { color: var(--ember); }
.contact-meta a b, .contact-meta span b { flex-shrink: 0; }

/* ---------- prose (privacy page) ---------- */
.prose { max-width: 760px; margin-top: 48px; }
.prose h3 {
  font-family: var(--font-display); font-weight: 500; font-size: 22px;
  margin: 44px 0 12px; color: var(--ink);
}
.prose p, .prose li { color: var(--ink-2); font-size: 16.5px; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0 0 20px; }
.prose li { margin-top: 8px; }
.prose a { color: var(--ember); text-decoration: underline; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; }
.foot-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-2);
}
.foot-row .mark { color: var(--ink); }
.foot-row a:hover { color: var(--ink); }

/* ---------- magnetic ---------- */
.magnetic { display: inline-block; will-change: transform; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .msg { opacity: 1; transform: none; }
}
