:root {
  --bg: #121413;
  --surface: #1a1d1b;
  --toggle: #1f2321;
  --border: #2a2e2b;
  --border-ctl: #333834;
  --text: #ecefe9;
  --muted: #a9aea6;
  --subtle: #7d837b;
  --accent: #5fdc7e;
  --pad: clamp(20px, 5vw, 56px);
}
@supports (color: oklch(0.82 0.17 145)) {
  :root { --accent: oklch(0.82 0.17 145); }
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: .7; }
input, textarea, button { font: inherit; }
[hidden] { display: none !important; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.accent { color: var(--accent); }

.nav {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; padding: 28px var(--pad);
}
.wordmark { font-size: 15px; }
.nav-links {
  display: flex; align-items: center; white-space: nowrap;
  gap: clamp(16px, 3vw, 32px); font-size: 15px; color: var(--muted);
}
.toggle {
  background: var(--toggle); border: 1px solid var(--border-ctl); border-radius: 6px;
  padding: 6px 12px; cursor: pointer; font-size: 13px; color: var(--text);
}
.toggle:hover { opacity: .7; }

.hero {
  display: flex; flex-direction: column; gap: 32px; max-width: 920px;
  padding: clamp(64px, 10vw, 112px) var(--pad) clamp(64px, 9vw, 104px);
}
.eyebrow { font-size: 14px; }
h1 {
  margin: 0; font-size: clamp(40px, 6vw, 68px); line-height: 1.04;
  font-weight: 600; letter-spacing: -0.03em; text-wrap: balance;
}
.lead { margin: 0; font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 640px; text-wrap: pretty; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn { padding: 14px 22px; border-radius: 8px; font-size: 16px; }
.btn-primary { background: var(--accent); color: var(--bg); font-weight: 600; }
.btn-secondary { border: 1px solid var(--border-ctl); }

.section {
  display: flex; flex-direction: column; gap: 32px;
  padding: 0 var(--pad) clamp(64px, 9vw, 104px);
}
h2 { margin: 0; font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.tag { font-size: 13px; }
.card-name { font-size: 24px; font-weight: 600; }
.card-desc { font-size: 16px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }

.statement {
  margin: 0; max-width: 960px; display: flex; flex-direction: column; gap: 28px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: clamp(40px, 6vw, 72px) 0;
}
.statement blockquote {
  margin: 0; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25;
  font-weight: 500; letter-spacing: -0.02em; text-wrap: pretty;
}

.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.step { padding: 28px; display: flex; flex-direction: column; gap: 10px; box-shadow: 1px 0 0 var(--border), 0 1px 0 var(--border); }
.num { font-size: 13px; color: var(--subtle); }
.step-title { font-size: 19px; font-weight: 600; }
.step-desc { font-size: 15px; line-height: 1.5; color: var(--muted); }

.contact {
  margin: 0 var(--pad) 80px; padding: clamp(28px, 5vw, 56px);
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(32px, 5vw, 56px);
}
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info h2 { font-size: 40px; letter-spacing: -0.025em; line-height: 1.08; }
.contact-info p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--muted); }
.contact-links { font-size: 14px; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }

#contact-form { display: flex; flex-direction: column; gap: 12px; }
#contact-form input, #contact-form textarea {
  background: var(--bg); border: 1px solid var(--border-ctl); border-radius: 8px;
  padding: 14px; font-size: 16px; color: var(--text); outline: none;
}
#contact-form input:focus-visible, #contact-form textarea:focus-visible { border-color: var(--accent); }
#contact-form textarea { resize: vertical; }
.submit {
  background: var(--accent); color: var(--bg); border: none; border-radius: 8px;
  padding: 14px; font-weight: 600; font-size: 16px; cursor: pointer;
}
.submit:disabled { opacity: .6; cursor: default; }
.form-error { font-size: 15px; color: #e88; }
.thanks { font-size: 22px; font-weight: 600; align-self: center; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; margin: 0; }

.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 24px var(--pad); border-top: 1px solid var(--border);
  font-size: 13px; color: var(--subtle);
}

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