/* ── FONTS ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://cdn.jsdelivr.net/npm/geist@1.3.0/dist/fonts/geist-sans/style.css');

/* ── TOKENS ────────────────────────────────────────────────── */
:root {
  --bg:       #080808;
  --bg-1:     #0d0d0d;
  --bg-2:     #111111;
  --surface:  rgba(255,255,255,0.04);
  --surface-2:rgba(255,255,255,0.07);
  --border:   rgba(255,255,255,0.1);
  --border-b: rgba(255,255,255,0.16);
  --text:     #ffffff;
  --text-2:   #888888;
  --text-3:   #555555;
  --text-4:   #333333;
  --amber:    #f59e0b;
  --orange:   #ea580c;
  --green:    #10b981;
  --red:      #ef4444;
  --blue:     #3b82f6;

  --grad:         linear-gradient(135deg, #f59e0b, #ea580c);
  --grad-text:    linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ea580c 100%);
  --grad-subtle:  linear-gradient(135deg, rgba(245,158,11,0.1), rgba(234,88,12,0.05));
  --grad-border:  linear-gradient(135deg, rgba(245,158,11,0.4), rgba(234,88,12,0.2));

  --sans: 'Geist', 'Inter', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  --r:   100px;   /* pill radius — Cypher exact */
  --rm:  16px;    /* card radius */
  --rs:  10px;    /* small radius */
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: rgba(245,158,11,0.2); color: #fff; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }

/* ── TYPOGRAPHY ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--text);
}
h1 { font-size: clamp(2.8rem, 6.5vw, 5.6rem); letter-spacing: -0.055em; font-weight: 800; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); letter-spacing: -0.05em; font-weight: 800; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem);   letter-spacing: -0.04em; font-weight: 700; }
h4 { font-size: 1.05rem; letter-spacing: -0.02em; font-weight: 600; }

p { color: var(--text-2); font-family: var(--body); font-size: 1rem; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono) !important; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Cypher label style */
.label {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ── LAYOUT ────────────────────────────────────────────────── */
.container      { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container--wide{ max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section        { padding: 120px 0; }
.section--sm    { padding: 72px 0; }

.flex           { display: flex; }
.flex-center    { display: flex; align-items: center; justify-content: center; }
.flex-between   { display: flex; align-items: center; justify-content: space-between; }
.grid-2         { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3         { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

/* ── BUTTONS — Cypher pill style ───────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r);
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all .22s ease;
  white-space: nowrap;
  border: none;
  padding: 11px 22px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.btn--primary {
  background: var(--text);
  color: var(--bg);
}
.btn--primary:hover {
  background: rgba(255,255,255,0.88);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.08);
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  background: var(--surface);
  border-color: var(--border-b);
  transform: translateY(-1px);
}
.btn--amber {
  background: var(--grad);
  color: #0a0a0a;
  font-weight: 600;
}
.btn--amber:hover {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(245,158,11,0.22);
}
.btn--lg { padding: 14px 28px; font-size: 15px; }
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--xs { padding: 6px 13px; font-size: 12px; }

/* ── BADGE — Cypher pill announcement ──────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 6px 14px 6px 8px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-2);
  background: var(--surface);
  cursor: default;
  transition: border-color .2s;
}
.badge:hover { border-color: var(--border-b); }
.badge__label {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.badge__arrow { color: var(--text-3); font-size: 13px; }

/* ── CARD — Cypher sharp style ─────────────────────────────── */
.card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--rm);
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover {
  border-color: var(--border-b);
}

.card--hover:hover {
  transform: translateY(-3px);
  border-color: rgba(245,158,11,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ── DIVIDERS & LINES ──────────────────────────────────────── */
.hline {
  width: 100%;
  height: 1px;
  background: var(--border);
}
.vdot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease infinite;
}

/* ── SECTION HEADER ────────────────────────────────────────── */
.section-header         { text-align: center; margin-bottom: 72px; }
.section-header .label  { margin-bottom: 18px; justify-content: center; }
.section-header h2      { margin-bottom: 18px; }
.section-header p       { max-width: 480px; margin: 0 auto; font-size: 1rem; }

/* ── INPUTS ────────────────────────────────────────────────── */
input, select, textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rs);
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
  padding: 9px 13px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(245,158,11,0.45);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.06);
}
select option { background: var(--bg-1); }
input[type=radio], input[type=checkbox] {
  width: 14px; height: 14px; accent-color: var(--amber); cursor: pointer;
}

/* ── TABLES ────────────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; }
th {
  background: rgba(255,255,255,0.03);
  color: var(--text-2);
  padding: 10px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--border);
  font-family: var(--body);
}
td {
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-2);
  font-size: 13px;
  vertical-align: middle;
}
tr:hover td { background: rgba(255,255,255,0.02); }

/* ── UTILITIES ─────────────────────────────────────────────── */
.text-center  { text-align: center; }
.text-amber   { color: var(--amber) !important; }
.text-green   { color: var(--green) !important; }
.text-red     { color: var(--red) !important; }
.text-muted   { color: var(--text-2); }
.text-sm      { font-size: 13px; }
.mt-2  { margin-top: 8px; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4  { margin-bottom: 16px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .container { padding: 0 20px; }
  h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  h2 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
}
