/* ============================================================
   Azimuth — marketing site
   Design tokens (dark-committed, awwwards style)
   ============================================================ */

:root {
  /* surfaces & ink */
  --page: #0d0d0d;
  --surface: #1a1a19;
  --surface-2: #232322;
  --ink: #ffffff;
  --ink-2: #c3c2b7;
  --ink-muted: #898781;
  --hairline: rgba(255, 255, 255, 0.10);
  --grid: #2c2c2a;

  /* categorical (dark-surface steps, validated) */
  --accent: #f5821f;
  --aqua: #199e70;
  --yellow: #c98500;
  --violet: #9085e9;
  --red: #e66767;
  --orange: #d95926;

  /* status */
  --good: #0ca30c;
  --critical: #d03b3b;

  /* sequential blue ramp (heatmap) */
  --seq-0: #232322;
  --seq-1: #5c2e05;
  --seq-2: #8a4708;
  --seq-3: #c4650f;
  --seq-4: #f5821f;
  --seq-5: #ffb066;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-ui: system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

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

::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

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

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

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(13, 13, 13, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--accent), #9a4c0a);
  display: grid;
  place-items: center;
  flex: none;
}
.logo-mark svg { width: 16px; height: 16px; }
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--hairline);
  background: var(--ink);
  color: #0b0b0b;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245, 130, 31, 0.25); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
}
.btn.ghost:hover { border-color: rgba(255,255,255,0.3); box-shadow: none; }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 140px 0 80px;
}
.hero .wrap { width: 100%; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 28px;
}
.hero-kicker .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--good);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(12, 163, 12, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(12, 163, 12, 0); }
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 118px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 700;
  max-width: 12ch;
}
h1 .accent {
  background: linear-gradient(100deg, var(--accent) 0%, #fca55c 60%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h1 .line { display: block; overflow: hidden; }
h1 .line span {
  display: block;
  transform: translateY(110%);
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
h1 .line:nth-child(2) span { animation-delay: 0.1s; }
h1 .line:nth-child(3) span { animation-delay: 0.2s; }
@keyframes rise { to { transform: translateY(0); } }

.hero-sub {
  margin-top: 32px;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--ink-2);
  max-width: 52ch;
}
.hero-cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-funnel {
  position: absolute;
  right: -6vw;
  top: 50%;
  transform: translateY(-50%);
  width: min(48vw, 640px);
  opacity: 0.9;
  pointer-events: none;
}
@media (max-width: 960px) {
  .hero-funnel { display: none; }
}
.stream { fill: none; stroke-linecap: round; }
.stream-flow {
  stroke-dasharray: 6 14;
  animation: flow 1.4s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -20; } }

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink-muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 36px;
  background: linear-gradient(var(--ink-muted), transparent);
  animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  padding: 18px 0;
  background: var(--surface);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 48px;
}
.marquee-track span::after { content: "✦"; color: var(--accent); font-size: 11px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- dictionary definition ---------- */
.definition { padding: 100px 0 40px; }
.dict-card {
  max-width: 760px;
  margin: 0 auto;
  border-left: 2px solid var(--accent);
  padding: 8px 0 8px 36px;
}
.dict-word {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
.dict-phonetic {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.42em;
  color: var(--ink-muted);
}
.dict-pos {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.36em;
  color: var(--accent);
  border: 1px solid var(--hairline);
  border-radius: 100px;
  padding: 2px 14px;
}
.dict-defs {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 18px;
}
.dict-defs li {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.7;
  padding-left: 34px;
  position: relative;
  max-width: 62ch;
}
.dict-num {
  position: absolute;
  left: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-muted);
}
.dict-defs em { color: var(--ink); font-family: Georgia, serif; }
.dict-ours {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-right: 6px;
}

/* ---------- sections ---------- */
section { padding: 120px 0; }
.section-head { margin-bottom: 64px; max-width: 720px; }
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.section-head p {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 18px;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- interactive funnel ---------- */
.funnel-stage-list { display: grid; gap: 10px; }
.funnel-stage {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 16px;
  overflow: hidden;
  cursor: default;
  transition: border-color 0.25s, transform 0.25s;
}
.funnel-stage:hover { border-color: rgba(245, 130, 31, 0.5); transform: translateX(6px); }
.funnel-stage .bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  /* fades to transparent so the bar has no hard right edge */
  background: linear-gradient(90deg, rgba(245,130,31,0.20), rgba(245,130,31,0.08) 65%, rgba(245,130,31,0) 100%);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}
.funnel-stage.in .bar { width: var(--w); }
.funnel-stage > *:not(.bar) { position: relative; z-index: 1; }
.funnel-stage .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.funnel-stage .value {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  font-weight: 700;
  text-align: right;
}
.funnel-stage .hint {
  grid-column: 1 / -1;
  color: var(--ink-muted);
  font-size: 14px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin 0.35s ease;
}
.funnel-stage:hover .hint,
.funnel-stage:focus-within .hint {
  max-height: 60px;
  opacity: 1;
  margin-top: 6px;
}
.funnel-stage .hint strong { color: var(--ink-2); font-weight: 600; }
.conv-arrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 26px;
  color: var(--ink-muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.conv-arrow::before { content: "↓"; color: var(--accent); }

.funnel-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) {
  .funnel-grid { grid-template-columns: 1fr; }
}
.funnel-copy h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.funnel-copy p { color: var(--ink-2); margin-bottom: 16px; }
.funnel-copy .note {
  font-size: 14px;
  color: var(--ink-muted);
  border-left: 2px solid var(--accent);
  padding-left: 14px;
}

/* ---------- features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 960px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }
.card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.22); }
.card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  font-size: 20px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.card p { color: var(--ink-2); font-size: 15px; }
.card .glow {
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  top: -80px; right: -80px;
}
.card:hover .glow { opacity: 0.22; }

/* ---------- viz showcase ---------- */
.viz-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
@media (max-width: 960px) { .viz-grid { grid-template-columns: 1fr; } }
.viz-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px;
}
.viz-card .viz-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 4px;
}
.viz-card .viz-sub {
  color: var(--ink-muted);
  font-size: 13px;
  margin-bottom: 22px;
}

/* heatmap */
.heatmap {
  display: grid;
  grid-template-rows: repeat(7, 1fr);
  grid-auto-flow: column;
  gap: 3px;
  width: 100%;
}
.heatmap .cell {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--seq-0);
  transition: transform 0.15s, outline 0.15s;
  outline: 2px solid transparent;
}
.heatmap .cell:hover {
  transform: scale(1.35);
  outline: 2px solid rgba(255,255,255,0.55);
}
.heatmap-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-muted);
}
.heatmap-legend .swatch {
  width: 12px; height: 12px;
  border-radius: 3px;
}

/* rings */
.rings-wrap { display: flex; justify-content: center; padding: 8px 0 4px; }
.ring-labels {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  font-size: 14px;
}
.ring-labels .row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
}
.ring-labels .swatch { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.ring-labels .val {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink);
}
.ring-track { stroke: var(--surface-2); }
.ring-arc {
  transition: stroke-dashoffset 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  stroke-linecap: round;
}

/* ecg */
.ecg-svg { width: 100%; height: auto; display: block; }
.ecg-path {
  fill: none;
  stroke: var(--aqua);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.ecg-svg.in .ecg-path {
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
  animation: draw 2.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.ecg-grid line { stroke: var(--grid); stroke-width: 1; }

/* stat tiles */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr; } }
.stat-tile {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 26px 28px;
}
.stat-tile .label { font-size: 13px; color: var(--ink-muted); margin-bottom: 8px; }
.stat-tile .num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat-tile .delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
}
.delta.up { color: var(--good); }
.delta.down { color: var(--critical); }

/* tooltip (shared) */
.tooltip {
  position: fixed;
  z-index: 200;
  pointer-events: none;
  background: #0b0b0b;
  border: 1px solid var(--hairline);
  color: var(--ink);
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 12px)) scale(0.96);
  transition: opacity 0.12s, transform 0.12s;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}
.tooltip.show { opacity: 1; transform: translate(-50%, calc(-100% - 12px)) scale(1); }
.tooltip .t-val { font-weight: 700; font-variant-numeric: tabular-nums; }
.tooltip .t-date { color: var(--ink-muted); }

/* ---------- screenshots ---------- */
.phones {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
}
.phone {
  width: 270px;
  aspect-ratio: 1290 / 2796;
  border-radius: 44px;
  border: 1px solid rgba(255,255,255,0.18);
  background: var(--surface);
  padding: 10px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.phone:nth-child(2) { width: 300px; z-index: 1; }
.phone:hover { transform: translateY(-14px) rotate(0.5deg); }
.phone .screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  border: 2px dashed rgba(255,255,255,0.16);
  background:
    radial-gradient(circle at 30% 20%, rgba(245,130,31,0.10), transparent 60%),
    var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink-muted);
  text-align: center;
  padding: 24px;
  overflow: hidden;
}
.phone .screen .ph-icon { font-size: 30px; opacity: 0.7; }
.phone .screen .ph-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.phone .screen .ph-dims { font-size: 11px; letter-spacing: 0.06em; }
.phone .notch {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 22px;
  border-radius: 100px;
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,0.1);
}
.phone-caption {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ---------- setup steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px 24px;
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--accent), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-family: var(--font-display); font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 14px; }
.setup-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink-muted);
  text-align: center;
}

/* ---------- final cta ---------- */
.cta {
  text-align: center;
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}
.cta h2 { max-width: 20ch; margin: 0 auto 20px; }
.cta p { color: var(--ink-2); max-width: 46ch; margin: 0 auto 40px; }
.cta .orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,130,31,0.16), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 12px 24px;
  background: #0b0b0b;
  transition: transform 0.2s, border-color 0.2s;
}
.store-badge:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.5); }
.store-badge .apple { font-size: 26px; }
.store-badge .txt { text-align: left; line-height: 1.2; }
.store-badge .txt small { font-size: 11px; color: var(--ink-muted); display: block; }
.store-badge .txt strong { font-family: var(--font-display); font-size: 17px; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--hairline);
  padding: 48px 0;
  color: var(--ink-muted);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
footer .foot-links { display: flex; gap: 24px; }
footer a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ======================= WAITING LIST ======================= */
.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.waitlist-form input[type="email"] {
  flex: 1 1 260px;
  padding: 14px 18px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.waitlist-form input[type="email"]::placeholder { color: var(--ink-muted); }
.waitlist-form input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 130, 31, 0.25);
}
.waitlist-note {
  text-align: center;
  color: var(--ink-muted);
  font-size: 13px;
  margin-top: 14px;
}
.waitlist-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
  padding: 16px 20px;
  border: 1px solid rgba(12, 163, 12, 0.4);
  border-radius: 12px;
  background: rgba(12, 163, 12, 0.12);
  color: var(--ink);
  font-weight: 500;
}
.waitlist-success .check { color: var(--good); font-size: 20px; }

/* ============ GUIDES SECTION (homepage) ============ */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.guide-card {
  display: block;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, transform 0.2s;
}
.guide-card:hover { border-color: rgba(245, 130, 31, 0.5); transform: translateY(-3px); }
.guide-card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.guide-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--ink);
}
.guide-card p { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.guide-card .more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--accent); }

/* ============ FAQ ============ */
.faq-list { max-width: 760px; }
.faq-item {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 20px; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.faq-item .faq-a a { color: var(--accent); font-weight: 600; }

/* ============ GUIDE ARTICLE PAGES ============ */
.nav.solid { background: rgba(13, 13, 13, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline); }
.guide-page { padding: 140px 0 80px; }
.guide-page .wrap { max-width: 780px; }
.crumbs { font-size: 13px; color: var(--ink-muted); margin-bottom: 24px; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); }
.guide-page h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.guide-answer {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  padding: 22px 26px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 40px;
}
.guide-page h2 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.3;
  margin: 44px 0 14px;
}
.guide-page h3 { font-family: var(--font-display); font-size: 18px; margin: 28px 0 10px; }
.guide-page p, .guide-page li { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-bottom: 14px; }
.guide-page ul, .guide-page ol { padding-left: 22px; margin-bottom: 16px; }
.guide-page strong { color: var(--ink); }
.guide-page a { color: var(--accent); }
.guide-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 15px;
}
.guide-page th, .guide-page td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-2);
}
.guide-page th { color: var(--ink); font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.guide-cta {
  margin: 48px 0 8px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid rgba(245, 130, 31, 0.35);
  border-radius: var(--radius);
}
.guide-cta h2 { margin: 0 0 10px; font-size: 21px; }
.guide-cta p { margin-bottom: 18px; }
.guide-note { font-size: 13px; color: var(--ink-muted); margin-top: 40px; }
