/* Self-hosted fonts. Place WOFF2 files in /fonts/. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/inter-var.woff2') format('woff2-variations'),
       url('/fonts/inter-var.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-var.woff2') format('woff2-variations'),
       url('/fonts/jetbrains-mono-var.woff2') format('woff2');
}
:root {
  --bg: oklch(0.14 0.012 240);
  --bg-1: oklch(0.17 0.013 240);
  --bg-2: oklch(0.20 0.014 240);
  --bg-3: oklch(0.24 0.014 240);
  --line: oklch(0.27 0.014 240);
  --line-2: oklch(0.32 0.014 240);
  --fg: oklch(0.97 0.005 240);
  --fg-2: oklch(0.78 0.008 240);
  --fg-3: oklch(0.58 0.010 240);
  --fg-4: oklch(0.45 0.012 240);
  --accent: oklch(0.82 0.16 145);
  --accent-soft: color-mix(in oklab, var(--accent) 18%, transparent);
  --warn: oklch(0.78 0.16 60);
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px){ .wrap{ padding: 0 20px; } }

/* Subtle grid backdrop */
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--line) 50%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--line) 50%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  opacity: 0.45;
}

/* ===== Nav ===== */
nav.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(12px) saturate(140%);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
nav.top.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: -0.01em; }
.brand .dot { width: 9px; height: 9px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.nav-links { display: flex; gap: 28px; font-family: var(--mono); font-size: 12px; color: var(--fg-3); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  font-family: var(--mono); font-size: 12px; padding: 9px 16px;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: color-mix(in oklab, var(--bg-2) 70%, transparent);
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s ease;
}
.nav-cta::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.nav-cta:hover { border-color: var(--accent); color: var(--fg); }
@media (max-width: 820px){ .nav-links { display:none; } }

/* Language switcher + location pill */
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  position: relative;
  font-family: var(--mono); font-size: 12px;
}
.lang-trigger {
  padding: 9px 12px; border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg-2) 70%, transparent);
  color: var(--fg-2); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .2s ease; min-width: 56px; justify-content: center;
}
.lang-trigger:hover { color: var(--fg); border-color: var(--line-2); }
.lang-trigger .caret { font-size: 9px; color: var(--fg-3); transition: transform .2s; }
.lang-switch.open .lang-trigger { border-color: var(--accent); color: var(--fg); }
.lang-switch.open .lang-trigger .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--bg-1); border: 1px solid var(--line-2);
  border-radius: var(--r-sm); padding: 4px;
  display: none; flex-direction: column; gap: 1px;
  min-width: 140px; box-shadow: 0 12px 32px -8px rgba(0,0,0,0.5);
  z-index: 10;
}
.lang-switch.open .lang-menu { display: flex; }
.lang-opt {
  padding: 9px 12px; border-radius: 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  color: var(--fg-2); cursor: pointer; transition: all .15s;
  font-size: 12px;
}
.lang-opt:hover { background: var(--bg-2); color: var(--fg); }
.lang-opt.active { color: var(--accent); }
.lang-opt .code { font-size: 10px; color: var(--fg-4); letter-spacing: 0.1em; }
.lang-opt.active .code { color: var(--accent); }

.lux-pill {
  font-family: var(--mono); font-size: 11px;
  padding: 6px 10px; border-radius: 999px;
  background: color-mix(in oklab, var(--bg-2) 60%, transparent);
  border: 1px solid var(--line);
  color: var(--fg-3);
  display: inline-flex; align-items: center; gap: 6px;
  letter-spacing: 0.04em;
}
.lux-pill::before { content: "\25C9"; color: var(--accent); font-size: 10px; }
@media (max-width: 720px){ .lux-pill { display: none; } }

/* ===== Hero ===== */
header.hero {
  position: relative; z-index: 1;
  padding: 140px 0 80px;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
}
.hero-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3); display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in oklab, var(--bg-1) 60%, transparent);
  margin-bottom: 32px;
}
.hero-eyebrow .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.5;transform:scale(0.8);} }

.hero h1 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin: 0 auto 24px;
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .muted { color: var(--fg-3); }
.hero-sub {
  font-size: 18px; color: var(--fg-2);
  max-width: 56ch; line-height: 1.5;
  margin: 0 auto 48px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 64px; justify-content: center; }
.btn {
  font-family: var(--mono); font-size: 13px; padding: 12px 18px;
  border-radius: var(--r-sm); display: inline-flex; align-items: center; gap: 10px;
  transition: all .2s ease; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--fg-2); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--fg); border-color: var(--fg-3); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ===== Wispr-style two-pane animation ===== */
.transform-stage {
  position: relative; z-index: 2;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--bg-1) 90%, transparent);
  overflow: hidden;
  box-shadow: 0 30px 80px -40px color-mix(in oklab, var(--accent) 20%, transparent), 0 0 0 1px color-mix(in oklab, var(--accent) 5%, transparent);
}
.ts-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg-2) 60%, transparent);
}
.ts-tabs { display: flex; gap: 4px; }
.ts-tab {
  font-family: var(--mono); font-size: 11px; padding: 6px 12px;
  border-radius: var(--r-sm); color: var(--fg-3); cursor: pointer;
  transition: all .2s; border: 1px solid transparent;
}
.ts-tab.active { background: var(--bg-3); color: var(--fg); border-color: var(--line-2); }
.ts-tab:not(.active):hover { color: var(--fg-2); }
.ts-meta { font-family: var(--mono); font-size: 11px; color: var(--fg-3); display: flex; align-items: center; gap: 10px; }
.ts-meta .live { color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.ts-meta .live::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--accent); box-shadow: 0 0 6px var(--accent); animation: pulse 2s infinite; }

.ts-body {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  min-height: 380px;
}
@media (max-width: 820px){ .ts-body { grid-template-columns: 1fr; min-height: auto; } .ts-divider { display:none; } }

.ts-pane { padding: 28px 28px; position: relative; overflow: hidden; }
.ts-pane.input { background: color-mix(in oklab, var(--bg) 50%, transparent); }
.ts-pane.output { background: color-mix(in oklab, var(--bg-1) 70%, transparent); }
.ts-divider { background: var(--line); position: relative; }
.ts-divider::after {
  content: ""; position: absolute; left: -8px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg-1); border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
}
.ts-pane-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.ts-pane-label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-3); }
.ts-pane.output .ts-pane-label .dot { background: var(--accent); box-shadow: 0 0 6px var(--accent); }

/* Brief→Build animation */
.brief-text {
  font-family: var(--mono); font-size: 14px; line-height: 1.7;
  color: var(--fg-2);
}
.brief-text .typed { color: var(--fg); }
.brief-text .caret {
  display: inline-block; width: 8px; height: 16px;
  background: var(--accent); vertical-align: middle;
  animation: blink 1s steps(2) infinite;
  margin-left: 2px; transform: translateY(-1px);
}
@keyframes blink { 50% { opacity: 0; } }

/* Output preview area */
.output-preview { display: flex; flex-direction: column; gap: 10px; opacity: 0; transition: opacity .4s ease; }
.output-preview.show { opacity: 1; }
.op-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  transform: translateY(8px); opacity: 0;
  animation: opIn .5s ease forwards;
}
@keyframes opIn { to { transform: translateY(0); opacity: 1; } }
.op-card:nth-child(1) { animation-delay: .1s; }
.op-card:nth-child(2) { animation-delay: .25s; }
.op-card:nth-child(3) { animation-delay: .4s; }
.op-card:nth-child(4) { animation-delay: .55s; }
.op-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: color-mix(in oklab, var(--accent) 15%, var(--bg-3));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; color: var(--accent);
  flex-shrink: 0;
}
.op-text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.op-title { font-size: 13px; color: var(--fg); font-weight: 500; }
.op-meta { font-family: var(--mono); font-size: 11px; color: var(--fg-3); }
.op-bar { width: 60%; height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.op-bar::after { content:""; display:block; height:100%; background: var(--accent); width: 0%; animation: fill 1.2s ease forwards; animation-delay: .5s; }
@keyframes fill { to { width: 100%; } }

/* ===== Custom output artifacts (brief→build pane) ===== */
.out-stage {
  position: relative; min-height: 280px;
  display: flex; flex-direction: column; gap: 14px;
}
.out-stage > * {
  opacity: 0; transform: translateY(10px);
  animation: opIn .55s cubic-bezier(.2,.7,.2,1) forwards;
}
.out-stage > *:nth-child(1) { animation-delay: .08s; }
.out-stage > *:nth-child(2) { animation-delay: .2s; }
.out-stage > *:nth-child(3) { animation-delay: .32s; }
.out-stage > *:nth-child(4) { animation-delay: .44s; }
.out-stage > *:nth-child(5) { animation-delay: .56s; }

/* --- Checkout artifact --- */
.out-checkout {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 16px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 12px 32px -16px rgba(0,0,0,.5);
}
.out-checkout .oc-head { display: flex; justify-content: space-between; align-items: baseline; }
.out-checkout .oc-merch { font-size: 12px; color: var(--fg-3); font-family: var(--mono); letter-spacing: .04em; }
.out-checkout .oc-total { font-family: var(--mono); font-weight: 600; font-size: 22px; color: var(--fg); letter-spacing: -.01em; }
.out-checkout .oc-line { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--fg-2); padding: 6px 0; border-top: 1px dashed var(--line); font-family: var(--mono); }
.out-checkout .oc-line:first-of-type { border-top: 0; }
.out-checkout .oc-line span:last-child { color: var(--fg); }
.out-checkout .oc-pay {
  margin-top: 4px; padding: 13px 16px; border-radius: 10px;
  background: var(--fg); color: var(--bg);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14px; letter-spacing: -.01em;
  position: relative; overflow: hidden;
}
.out-checkout .oc-pay::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transform: translateX(-100%);
  animation: payShine 2.4s ease-in-out infinite;
}
@keyframes payShine { 50%, 100% { transform: translateX(100%); } }
.out-checkout .oc-pay .ap-logo { font-family: var(--mono); font-weight: 700; }
.out-checkout .oc-success {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-sm);
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
}
.out-checkout .oc-success .tick {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px;
}
.out-checkout .oc-success .ot { color: var(--fg); font-size: 13px; flex: 1; }
.out-checkout .oc-success .om { font-family: var(--mono); font-size: 11px; color: var(--fg-3); }
.out-checkout .oc-stat {
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px 12px; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-sm); font-family: var(--mono);
}
.out-checkout .oc-stat .big { font-size: 20px; font-weight: 600; color: var(--accent); letter-spacing: -.02em; }
.out-checkout .oc-stat .lbl { font-size: 11px; color: var(--fg-3); letter-spacing: .04em; text-transform: uppercase; }

/* --- Dashboard artifact --- */
.out-dash {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px;
}
.out-dash .od-kpi {
  grid-column: 1 / -1;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 14px 16px;
  display: flex; flex-direction: column; gap: 8px;
  position: relative; overflow: hidden;
}
.out-dash .od-kpi .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); display: flex; align-items: center; gap: 8px; }
.out-dash .od-kpi .lbl .live-pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent); animation: pulse 1.4s ease-in-out infinite; }
.out-dash .od-kpi .num { font-family: var(--mono); font-weight: 600; font-size: 30px; color: var(--fg); letter-spacing: -.02em; }
.out-dash .od-kpi .delta { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.out-dash .od-kpi .spark { position: absolute; right: 14px; bottom: 12px; width: 130px; height: 44px; opacity: .9; }
.out-dash .od-kpi .spark path { stroke: var(--accent); stroke-width: 1.5; fill: none; }
.out-dash .od-kpi .spark .area { fill: color-mix(in oklab, var(--accent) 18%, transparent); stroke: none; }
.out-dash .od-tile {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 12px 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.out-dash .od-tile .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.out-dash .od-tile .num { font-family: var(--mono); font-weight: 600; font-size: 18px; color: var(--fg); letter-spacing: -.01em; }
.out-dash .od-tile .delta { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.out-dash .od-tile.warn .delta { color: oklch(0.78 0.14 60); }

/* --- Brand artifact --- */
.out-brand {
  display: flex; flex-direction: column; gap: 14px;
}
.out-brand .ob-mark {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 28px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  position: relative;
}
.out-brand .ob-mark .word {
  font-family: var(--sans); font-weight: 500; font-size: 38px;
  letter-spacing: -.04em; color: var(--fg);
}
.out-brand .ob-mark .word .accent-dot { display: inline-block; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; vertical-align: 0.18em; margin-left: 4px; box-shadow: 0 0 8px var(--accent); }
.out-brand .ob-mark .crop { font-family: var(--mono); font-size: 9px; letter-spacing: .2em; color: var(--fg-4); text-transform: uppercase; }
.out-brand .ob-mark::before, .out-brand .ob-mark::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border: 1px solid var(--line-2);
}
.out-brand .ob-mark::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.out-brand .ob-mark::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.out-brand .ob-swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.out-brand .ob-sw {
  aspect-ratio: 1; border-radius: 6px;
  border: 1px solid var(--line); position: relative;
}
.out-brand .ob-sw::after {
  content: attr(data-tok); position: absolute; bottom: -16px; left: 0;
  font-family: var(--mono); font-size: 8px; color: var(--fg-4); letter-spacing: .04em;
}
.out-brand .ob-type {
  display: flex; gap: 12px; padding: 10px 12px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-sm); align-items: baseline;
  margin-top: 12px;
}
.out-brand .ob-type .Aa { font-family: var(--sans); font-weight: 500; font-size: 22px; color: var(--fg); letter-spacing: -.02em; }
.out-brand .ob-type .spec { font-family: var(--mono); font-size: 11px; color: var(--fg-3); flex: 1; }

/* --- Mobile app artifact --- */
.out-mobile {
  display: flex; gap: 14px; align-items: stretch;
}
.out-mobile .om-phone {
  width: 138px; flex-shrink: 0;
  background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: 18px; padding: 6px;
  position: relative;
}
.out-mobile .om-phone::before {
  content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 38px; height: 4px; border-radius: 2px; background: var(--bg-3);
}
.out-mobile .om-screen {
  background: var(--bg); border-radius: 12px;
  padding: 18px 10px 10px;
  display: flex; flex-direction: column; gap: 8px;
  height: 100%; min-height: 220px;
  position: relative; overflow: hidden;
}
.out-mobile .om-map {
  flex: 1; border-radius: 8px; position: relative;
  background:
    linear-gradient(0deg, color-mix(in oklab, var(--accent) 8%, var(--bg-1)), color-mix(in oklab, var(--accent) 14%, var(--bg-1))),
    repeating-linear-gradient(45deg, transparent 0 8px, color-mix(in oklab, var(--fg) 4%, transparent) 8px 9px),
    repeating-linear-gradient(-45deg, transparent 0 8px, color-mix(in oklab, var(--fg) 4%, transparent) 8px 9px);
  background-blend-mode: overlay;
  border: 1px solid var(--line);
  overflow: hidden;
}
.out-mobile .om-map .route {
  position: absolute; left: 12px; top: 14px; right: 16px; bottom: 30px;
  border-left: 1.5px dashed var(--accent); border-bottom: 1.5px dashed var(--accent);
  border-radius: 0 0 0 12px;
}
.out-mobile .om-pin {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 25%, transparent);
}
.out-mobile .om-pin.start { left: 9px; top: 9px; background: var(--fg-3); box-shadow: 0 0 0 3px color-mix(in oklab, var(--fg-3) 25%, transparent); }
.out-mobile .om-pin.end { right: 9px; bottom: 24px; animation: pulse 1.6s ease-in-out infinite; }
.out-mobile .om-eta {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 6px; padding: 6px 8px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10px;
}
.out-mobile .om-eta .num { color: var(--accent); font-weight: 600; }
.out-mobile .om-eta .lbl { color: var(--fg-3); }
.out-mobile .om-side {
  flex: 1; display: flex; flex-direction: column; gap: 8px;
}
.out-mobile .om-row {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
}
.out-mobile .om-row .ico {
  width: 28px; height: 28px; border-radius: 6px;
  background: color-mix(in oklab, var(--accent) 15%, var(--bg-3));
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; flex-shrink: 0;
}
.out-mobile .om-row .col { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.out-mobile .om-row .t { font-size: 12px; color: var(--fg); }
.out-mobile .om-row .m { font-family: var(--mono); font-size: 10px; color: var(--fg-3); }
.out-mobile .om-row .badge { font-family: var(--mono); font-size: 9px; padding: 3px 6px; border-radius: 3px; background: color-mix(in oklab, var(--accent) 15%, transparent); color: var(--accent); letter-spacing: .04em; text-transform: uppercase; }

/* Code→Interface animation */
.code-stream {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.7;
  color: var(--fg-2);
}
.code-line { display: block; opacity: 0; transform: translateX(-6px); animation: codeIn .35s ease forwards; }
@keyframes codeIn { to { opacity: 1; transform: translateX(0); } }
.code-line .kw { color: oklch(0.78 0.14 305); }
.code-line .str { color: oklch(0.82 0.13 145); }
.code-line .fn { color: oklch(0.82 0.13 220); }
.code-line .punc { color: var(--fg-4); }
.code-line .com { color: var(--fg-4); font-style: italic; }
.code-line .num { color: oklch(0.82 0.13 60); }
.code-line .indent { display: inline-block; width: 1.2em; }

/* UI render in right pane */
.ui-render {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg-2); padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; animation: opIn .6s ease .2s forwards;
}
.ui-render .uir-title { font-size: 14px; font-weight: 600; color: var(--fg); }
.ui-render .uir-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--bg-1); border-radius: var(--r-sm); border: 1px solid var(--line); }
.ui-render .uir-row .uir-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.ui-render .uir-row .uir-text { font-size: 12.5px; color: var(--fg-2); flex: 1; }
.ui-render .uir-row .uir-mono { font-family: var(--mono); font-size: 11px; color: var(--fg-3); }
.ui-render .uir-btn { background: var(--fg); color: var(--bg); padding: 9px 14px; font-family: var(--mono); font-size: 12px; border-radius: var(--r-sm); align-self: flex-start; margin-top: 6px; }

/* progress dots under stage */
.ts-dots { display: flex; gap: 6px; padding: 12px 18px; border-top: 1px solid var(--line); background: color-mix(in oklab, var(--bg-2) 40%, transparent); }
.ts-dot { width: 24px; height: 3px; border-radius: 2px; background: var(--line-2); cursor: pointer; transition: background .2s; }
.ts-dot.active { background: var(--accent); }

/* Trust strip */
.trust-strip {
  margin-top: 60px; padding-top: 40px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 48px; flex-wrap: wrap;
}
.trust-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); }
.trust-logos { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.trust-logo { font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--fg-3); letter-spacing: -0.01em; transition: color .2s; }
.trust-logo:hover { color: var(--fg); }

/* ===== Section primitives ===== */
section { position: relative; z-index: 1; padding: 120px 0; border-top: 1px solid var(--line); }
.sec-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
}
.sec-eyebrow::before { content: none; }
.sec-title {
  font-family: var(--sans); font-weight: 500; font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.05; letter-spacing: -0.025em; max-width: 22ch; margin-bottom: 64px;
}
.sec-title em { font-style: normal; color: var(--fg-3); }

/* ===== Disciplines ===== */
.disc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
@media (max-width: 1000px){ .disc-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .disc-grid { grid-template-columns: 1fr; } }
.disc {
  background: var(--bg-1); padding: 28px 26px 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background .3s ease;
  min-height: 280px; cursor: default;
}
.disc:hover { background: var(--bg-2); }
.disc-num { font-family: var(--mono); font-size: 11px; color: var(--fg-3); letter-spacing: 0.1em; }
.disc-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg-3); border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 4px;
}
.disc-name { font-family: var(--sans); font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.disc-body { font-size: 13.5px; color: var(--fg-2); line-height: 1.55; flex: 1; }
.disc-meta { font-family: var(--mono); font-size: 11px; color: var(--fg-4); padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px; }
.disc-meta span { padding: 3px 8px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; }

/* ===== Discipline artifacts (tiny live specimens) ===== */
.disc-art {
  position: relative; height: 92px; margin-top: 4px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.disc-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.18));
}

/* Brand: wordmark specimen */
.art-brand { padding: 0 18px; }
.art-brand-mark {
  font-family: var(--serif); font-size: 38px; font-weight: 400;
  letter-spacing: -0.03em; color: var(--fg);
  display: flex; align-items: baseline; gap: 2px;
}
.art-brand-mark .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-left: 4px; transform: translateY(-2px); }
.art-brand-mark em { font-style: italic; color: var(--accent); font-weight: 400; }
.art-brand-swatches {
  position: absolute; right: 14px; top: 14px; display: flex; gap: 4px;
}
.art-brand-swatches span { width: 10px; height: 10px; border-radius: 2px; border: 1px solid rgba(255,255,255,0.08); }
.art-brand-meta {
  position: absolute; left: 14px; bottom: 10px;
  font-family: var(--mono); font-size: 9px; color: var(--fg-4); letter-spacing: 0.08em; text-transform: uppercase;
}

/* Web: Lighthouse-style score gauge */
.art-web { gap: 14px; padding: 0 18px; }
.art-gauge { position: relative; width: 64px; height: 64px; flex-shrink: 0; }
.art-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.art-gauge .ring-bg { stroke: var(--line); }
.art-gauge .ring-fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 1.6s cubic-bezier(.4,0,.2,1); }
.art-gauge-num {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 18px; font-weight: 500; color: var(--accent); letter-spacing: -0.02em;
}
.art-web-bars { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.art-web-bar { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 9px; color: var(--fg-3); letter-spacing: 0.06em; text-transform: uppercase; }
.art-web-bar .label { width: 36px; }
.art-web-bar .track { flex: 1; height: 3px; background: var(--bg-3); border-radius: 2px; overflow: hidden; position: relative; }
.art-web-bar .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: 2px; transform-origin: left; transform: scaleX(0); transition: transform 1.4s cubic-bezier(.4,0,.2,1); }
.art-web-bar .num { width: 22px; text-align: right; color: var(--fg-2); }

/* Mobile: phone silhouette with gesture trail */
.art-mobile { gap: 16px; }
.art-phone {
  width: 44px; height: 76px; border: 1.5px solid var(--fg-3);
  border-radius: 8px; position: relative;
  background: var(--bg-3);
}
.art-phone::before {
  content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 3px; background: var(--fg-4); border-radius: 2px;
}
.art-phone .screen {
  position: absolute; inset: 12px 4px 8px 4px; border-radius: 4px;
  background: linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 100%);
  overflow: hidden;
}
.art-phone .screen::before {
  content: ""; position: absolute; left: 6px; right: 6px; top: 8px; height: 2px;
  background: var(--accent); border-radius: 1px;
}
.art-phone .screen::after {
  content: ""; position: absolute; left: 6px; right: 18px; top: 14px; height: 1.5px;
  background: var(--fg-4); border-radius: 1px;
}
.art-phone .ripple {
  position: absolute; left: 50%; top: 70%; width: 8px; height: 8px;
  border-radius: 50%; border: 1.5px solid var(--accent);
  transform: translate(-50%,-50%) scale(0); opacity: 0;
  animation: ripple 2.4s ease-out infinite;
}
.art-phone .ripple:nth-child(2) { animation-delay: 0.8s; }
@keyframes ripple {
  0% { transform: translate(-50%,-50%) scale(0); opacity: 1; }
  70% { opacity: 0.4; }
  100% { transform: translate(-50%,-50%) scale(3); opacity: 0; }
}
.art-mobile-stats {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3);
}
.art-mobile-stats div { display: flex; align-items: center; gap: 6px; }
.art-mobile-stats .pulse { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulseDot 1.6s ease-out infinite; }
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,255,140,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(0,255,140,0); }
}

/* Engineering: code with diff markers */
.art-eng {
  align-items: stretch; padding: 10px 14px;
  font-family: var(--mono); font-size: 10px; line-height: 1.6;
  flex-direction: column; justify-content: center;
}
.art-eng .row { display: flex; gap: 8px; align-items: baseline; }
.art-eng .gutter { width: 10px; flex-shrink: 0; color: var(--fg-4); font-weight: 500; text-align: center; }
.art-eng .gutter.add { color: var(--accent); }
.art-eng .gutter.del { color: #ff6a6a; }
.art-eng .code { color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art-eng .code .kw { color: var(--accent); }
.art-eng .code .str { color: #d8b46c; }
.art-eng .code .com { color: var(--fg-4); }
.art-eng .code .typ { color: #7aa9d6; }
.art-eng .row.del { background: rgba(255,106,106,0.06); margin: 0 -14px; padding: 0 14px; }
.art-eng .row.add { background: rgba(0,255,140,0.06); margin: 0 -14px; padding: 0 14px; }

/* ===== Code showcase ===== */
.code-showcase {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
@media (max-width: 900px){ .code-showcase { grid-template-columns: 1fr; } }
.cs-side { background: var(--bg-1); padding: 36px 32px; display: flex; flex-direction: column; gap: 16px; }
.cs-side h3 { font-family: var(--sans); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.cs-side p { color: var(--fg-2); font-size: 14px; line-height: 1.6; }
.cs-tabs { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.cs-tab {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--fg-3);
  cursor: pointer; transition: all .2s ease; background: var(--bg);
}
.cs-tab .num { color: var(--fg-4); width: 24px; }
.cs-tab .tit { flex: 1; color: var(--fg-2); }
.cs-tab .arrow { color: var(--fg-4); transition: transform .2s; }
.cs-tab:hover { border-color: var(--line-2); }
.cs-tab.active {
  background: color-mix(in oklab, var(--accent) 8%, var(--bg-2));
  border-color: var(--accent);
}
.cs-tab.active .num,
.cs-tab.active .tit,
.cs-tab.active .arrow { color: var(--accent); }
.cs-tab.active .arrow { transform: translateX(2px); }

.cs-code {
  background: var(--bg); padding: 0; position: relative;
  display: flex; flex-direction: column;
  font-family: var(--mono);
}
.cs-code-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg-2) 50%, transparent);
}
.cs-code-head .file { font-family: var(--mono); font-size: 12px; color: var(--fg-3); display: flex; align-items: center; gap: 8px; }
.cs-code-head .file::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cs-code-head .copy { font-family: var(--mono); font-size: 11px; color: var(--fg-3); cursor: pointer; padding: 4px 10px; border-radius: 4px; border: 1px solid var(--line); transition: all .2s; }
.cs-code-head .copy:hover { color: var(--fg); border-color: var(--line-2); }
.cs-code-head .copy.copied { color: var(--accent); border-color: var(--accent); }
.cs-code-body {
  padding: 22px 24px;
  font-size: 13px; line-height: 1.75;
  overflow: auto; flex: 1;
  display: grid; grid-template-columns: auto 1fr; gap: 0 18px;
}
.cs-line-num { color: var(--fg-4); font-size: 12px; user-select: none; text-align: right; }
.cs-line { color: var(--fg-2); white-space: pre; }
.cs-line .kw { color: oklch(0.78 0.14 305); }
.cs-line .str { color: oklch(0.82 0.13 145); }
.cs-line .fn { color: oklch(0.82 0.13 220); }
.cs-line .com { color: var(--fg-4); font-style: italic; }
.cs-line .num { color: oklch(0.82 0.13 60); }
.cs-line .punc { color: var(--fg-4); }
.cs-line.hl { background: color-mix(in oklab, var(--accent) 8%, transparent); border-radius: 3px; padding-left: 6px; margin-left: -6px; }

/* ===== Bento grid ===== */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
@media (max-width: 1000px){ .bento { grid-template-columns: repeat(2, 1fr); } }
.tile {
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .3s ease;
}
.tile:hover { border-color: var(--line-2); }
.tile.t-3x2 { grid-column: span 3; grid-row: span 2; }
.tile.t-3x1 { grid-column: span 3; grid-row: span 1; }
.tile.t-2x1 { grid-column: span 2; }
.tile.t-2x2 { grid-column: span 2; grid-row: span 2; }
.tile.t-4x1 { grid-column: span 4; }
@media (max-width: 1000px){
  .tile.t-3x2,.tile.t-3x1,.tile.t-2x1,.tile.t-2x2,.tile.t-4x1 { grid-column: span 2; grid-row: span 1; }
}
.tile-eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); display: flex; align-items: center; gap: 8px; }
.tile-eyebrow .ico { color: var(--accent); }
.tile-title { font-family: var(--sans); font-weight: 500; font-size: 20px; letter-spacing: -0.018em; line-height: 1.2; }
.tile-body { font-size: 13px; color: var(--fg-2); line-height: 1.55; max-width: 36ch; }
.tile-foot { margin-top: auto; font-family: var(--mono); font-size: 11px; color: var(--fg-3); display: flex; align-items: center; gap: 8px; }
.tile-foot .arrow { color: var(--accent); }

/* tile decorations */
.tile-art { position: absolute; bottom: 0; right: 0; opacity: 0.85; pointer-events: none; }
.tile-perf-bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; margin-top: 8px; }
.tile-perf-bars .b { flex: 1; background: linear-gradient(to top, color-mix(in oklab, var(--accent) 50%, transparent), color-mix(in oklab, var(--accent) 12%, transparent)); border-radius: 2px 2px 0 0; }
.tile-perf-num { font-family: var(--mono); font-size: 36px; font-weight: 500; letter-spacing: -0.02em; color: var(--accent); margin-top: 4px; }
.tile-perf-num small { font-size: 16px; color: var(--fg-3); margin-left: 4px; }

.tile-stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tile-stack span { font-family: var(--mono); font-size: 11px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--fg-2); background: var(--bg-2); }

.tile-terminal { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--fg-2); margin-top: 10px; line-height: 1.7; flex: 1; overflow: hidden; }
.tile-terminal .pr { color: var(--accent); }
.tile-terminal .ok { color: oklch(0.82 0.14 145); }
.tile-terminal .dim { color: var(--fg-4); }

.tile-ring { width: 90px; height: 90px; margin-top: 8px; position: relative; }
.tile-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.tile-ring circle { fill: none; stroke-width: 8; }
.tile-ring .bg { stroke: var(--line); }
.tile-ring .fg { stroke: var(--accent); stroke-linecap: round; }
.tile-ring-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 16px; font-weight: 500; color: var(--fg); }

/* ===== Contact form ===== */
.contact-section { padding: 140px 0 100px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
@media (max-width: 900px){ .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-lead h2 { font-family: var(--sans); font-weight: 500; font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05; letter-spacing: -0.025em; }
.contact-lead h2 em { font-style: normal; color: var(--accent); }
.contact-lead .cl-sub { color: var(--fg-2); margin-top: 24px; max-width: 38ch; line-height: 1.6; }
.contact-lead .cl-meta { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.contact-lead .cl-meta strong { color: var(--fg); font-weight: 500; }
.contact-lead .cl-meta .avail { color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.contact-lead .cl-meta .avail::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--accent); box-shadow: 0 0 6px var(--accent); animation: pulse 2s infinite; }

.contact-form {
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 20px;
  position: relative; overflow: hidden;
}
.contact-form .form-fields { display: flex; flex-direction: column; gap: 18px; }
.contact-form.is-sent .form-fields { display: none; }
.contact-form.is-sent .sent-state { display: flex; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px){ .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 14px; color: var(--fg);
  background: var(--bg); border: 1px solid var(--line);
  padding: 11px 14px; border-radius: var(--r-sm);
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
}
.field textarea { min-height: 90px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-4); }

.budget-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
@media (max-width: 600px){ .budget-row { grid-template-columns: repeat(2,1fr); } }
.budget-opt {
  font-family: var(--mono); font-size: 11px; padding: 9px 8px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-sm); color: var(--fg-2); cursor: pointer;
  transition: all .2s ease; text-align: center;
}
.budget-opt:hover { color: var(--fg); border-color: var(--line-2); }
.budget-opt.is-active { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.opt-tag { font-family: var(--mono); font-size: 10px; color: var(--fg-4); letter-spacing: 0.05em; text-transform: uppercase; margin-left: 6px; font-weight: 400; }
.budget-discuss {
  margin-top: 8px; align-self: flex-start;
  background: none; border: none; padding: 0;
  font-family: var(--mono); font-size: 11px; color: var(--fg-3);
  letter-spacing: 0.04em; cursor: pointer;
  transition: color .2s ease;
}
.budget-discuss:hover { color: var(--accent); }

.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 4px; }
.submit-note { font-family: var(--mono); font-size: 11px; color: var(--fg-3); max-width: 36ch; line-height: 1.5; }
.submit-note a { color: var(--fg-2); text-decoration: underline; text-underline-offset: 2px; }
.submit-note a:hover { color: var(--fg); }
.field-help { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--fg-4); margin-top: 4px; }
/* Honeypot — hidden from real users via positioning, visible to dumb bots that fill every field. */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }
.form-error {
  font-family: var(--mono); font-size: 12px; line-height: 1.5;
  color: oklch(0.78 0.16 25);
  background: color-mix(in oklab, oklch(0.78 0.16 25) 12%, transparent);
  border: 1px solid color-mix(in oklab, oklch(0.78 0.16 25) 30%, transparent);
  padding: 10px 14px; border-radius: var(--r-sm);
}
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.submit-btn {
  font-family: var(--mono); font-size: 13px; padding: 12px 20px;
  background: var(--accent); color: var(--bg); border: 0; cursor: pointer;
  border-radius: var(--r-sm); display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s ease;
}
.submit-btn:hover { background: var(--fg); }
.submit-btn .arrow { transition: transform .2s; }
.submit-btn:hover .arrow { transform: translateX(3px); }

.sent-state { display: none; flex-direction: column; gap: 16px; align-items: center; padding: 60px 20px; text-align: center; }
.sent-state .ico { width: 56px; height: 56px; border-radius: 50%; background: color-mix(in oklab, var(--accent) 18%, transparent); border: 1px solid var(--accent); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 24px; }
.sent-state h3 { font-family: var(--sans); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; }
.sent-state p { color: var(--fg-2); font-size: 14px; max-width: 36ch; line-height: 1.55; }

/* ===== Footer ===== */
footer { border-top: 1px solid var(--line); padding: 48px 0 40px; position: relative; z-index: 1; font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.foot-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: center; }
.foot-grid .clock { color: var(--fg-2); }
.foot-links { display: flex; gap: 18px; }
.foot-links a { color: var(--fg-3); transition: color .2s; }
.foot-links a:hover { color: var(--fg); }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.rv.in { opacity: 1; transform: translateY(0); }
