/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
input, textarea, button { font: inherit; color: inherit; }
button { cursor: pointer; }

/* ---------- tokens ---------- */
:root {
  --bg: #0E1116;
  --bg-panel: #151B22;
  --bg-panel-2: #1B222B;
  --border: rgba(230, 232, 235, 0.10);
  --border-strong: rgba(230, 232, 235, 0.18);
  --text: #E7E9EC;
  --text-muted: #8B93A1;
  --accent: #FFB454;
  --accent-ink: #201404;
  --accent-dim: rgba(255, 180, 84, 0.12);

  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', 'SFMono-Regular', monospace;

  --wrap: 1180px;
}

/* ---------- base ---------- */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ffc370; }
.btn-ghost { border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-small { padding: 9px 16px; font-size: 0.85rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 17, 22, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand-mark { flex-shrink: 0; width: 32px; height: 32px; object-fit: contain; }
.site-footer .brand-mark { width: 28px; height: 28px; }
.brand-word { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; }
.brand-word strong { font-weight: 700; }

.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a { font-size: 0.92rem; color: var(--text-muted); transition: color 0.15s ease; }
.site-nav a:hover { color: var(--text); }

.header-cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  margin-left: auto;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--text); margin: 0 auto; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 96px;
}
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.08; }
.hero-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 46ch; margin-top: 20px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.6);
}
.panel-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-panel-2);
  border-bottom: 1px solid var(--border);
}
.panel-titlebar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.panel-title { margin-left: 8px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }
.panel-body { padding: 22px 20px; font-family: var(--font-mono); font-size: 0.86rem; }
.panel-body p { margin-bottom: 12px; }
.prompt { color: var(--accent); margin-right: 6px; }
.cursor { display: inline-block; margin-left: 4px; color: var(--accent); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.stat-line { display: flex; justify-content: space-between; color: var(--text-muted); }
.stat-line span:last-child { color: var(--text); }

/* ---------- proof band ---------- */
.proof-band {
  position: relative;
  height: 360px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-photo { position: absolute; inset: 0; }
.proof-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.75) brightness(0.6); }
.proof-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(14,17,22,0.92) 0%, rgba(14,17,22,0.55) 55%, rgba(14,17,22,0.35) 100%);
}
.proof-caption {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 2;
  max-width: var(--wrap);
}
.proof-caption p:last-child { font-family: var(--font-display); font-size: clamp(1.15rem, 2.4vw, 1.55rem); max-width: 32ch; color: var(--text); }

/* ---------- sections ---------- */
.section { padding: 88px 0; border-top: 1px solid var(--border); }
.section-alt { background: var(--bg-panel); }
.section h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 40px; max-width: 20ch; }

.grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.card { background: var(--bg); padding: 28px 24px; }
.card-icon { color: var(--accent); margin-bottom: 18px; }
.card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.92rem; }

.why-textured { position: relative; overflow: hidden; }
.why-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: saturate(1.1);
}
.why-textured .wrap { position: relative; z-index: 1; }

.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 700; color: var(--accent); }
.stat-label { color: var(--text-muted); font-size: 0.88rem; max-width: 22ch; }

.approach-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 56px; align-items: start; }
.approach-photo {
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 8px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.6);
}
.approach-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }

.process { display: flex; flex-direction: column; gap: 0; max-width: 640px; }
.process li { display: flex; gap: 24px; padding: 26px 0; border-top: 1px solid var(--border); }
.process li:last-child { border-bottom: 1px solid var(--border); }
.process-num { font-family: var(--font-mono); color: var(--accent); font-size: 0.9rem; padding-top: 3px; }
.process h3 { font-size: 1.1rem; margin-bottom: 6px; }
.process p { color: var(--text-muted); font-size: 0.94rem; }

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.contact-info { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-info dt { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.contact-info dd a:hover { color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 6px; background: var(--bg-panel); border: 1px solid var(--border-strong); border-radius: 8px; padding: 28px; }
.contact-form label { font-size: 0.82rem; color: var(--text-muted); margin-top: 14px; }
.contact-form input, .contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 11px 12px;
  color: var(--text);
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); outline: none; }
.contact-form button { margin-top: 20px; align-self: flex-start; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- confirmation page ---------- */
.confirm { padding-top: 120px; padding-bottom: 160px; }
.confirm h1 { font-size: clamp(2rem, 4vw, 2.8rem); max-width: 20ch; }
.confirm .hero-sub { margin-top: 20px; }
.confirm .hero-actions { margin-top: 32px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.footer-tag { color: var(--text-muted); font-size: 0.88rem; }
.footer-copy { margin-left: auto; color: var(--text-muted); font-size: 0.82rem; font-family: var(--font-mono); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-photo { order: -1; }
  .approach-photo img { aspect-ratio: 16 / 9; }
  .proof-band { height: 280px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-copy { margin-left: 0; }
}

@media (max-width: 720px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 18px 28px;
    gap: 16px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
}

@media (max-width: 560px) {
  .grid-cards { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; }
}
