/* =========================================================================
   Google Docs Dark Mode — landing page styles
   Design concept: "Midnight Desk" — a warm, literary dark theme (deep ink
   background, paper-cream accents, a single amber "reading-lamp" accent
   colour) built around one centerpiece: a fake Google Docs window you can
   flip between light and dark. Display type is a soft variable serif
   (Fraunces) to evoke ink-on-paper; UI/body type is Work Sans; small
   labels use IBM Plex Mono for a "editor chrome" feel.
   ========================================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; 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; scroll-behavior: auto !important; }
}
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* ---------- Design tokens ---------- */
:root {
  /* ink / neutrals */
  --ink-950: #0f1116;
  --ink-900: #15171e;
  --ink-850: #1a1d25;
  --ink-800: #21242e;
  --ink-750: #282c37;
  --ink-700: #333744;
  --line: rgba(238, 233, 219, 0.09);
  --line-strong: rgba(238, 233, 219, 0.16);

  /* text on ink */
  --text-hi: #f2ede1;
  --text-mid: #b7b2a4;
  --text-dim: #817d72;

  /* paper (for the "light mode" mock + warm accents) */
  --paper: #f7f2e7;
  --paper-dim: #e7e0cd;
  --paper-ink: #262319;
  --paper-ink-dim: #6b6555;

  /* accent — amber reading-lamp glow */
  --amber-100: #ffe3ad;
  --amber-300: #f6c667;
  --amber-500: #eda63a;
  --amber-700: #b9791f;
  --amber-glow: rgba(237, 166, 58, 0.35);

  /* secondary accent — quiet moss, used sparingly */
  --moss-400: #9db98a;
  --moss-600: #6f8f5c;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-soft: 0 1px 1px rgba(0,0,0,0.2), 0 12px 32px -12px rgba(0,0,0,0.55);
  --shadow-lift: 0 2px 2px rgba(0,0,0,0.25), 0 30px 60px -20px rgba(0,0,0,0.65);

  --font-display: "Fraunces", "Iowan Old Style", ui-serif, Georgia, serif;
  --font-body: "Work Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1180px;
}

/* ---------- Base ---------- */
body {
  background: var(--ink-950);
  color: var(--text-hi);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle grain + vignette atmosphere across the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

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

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; color: var(--text-hi); }
p { margin: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-300);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 0 4px var(--amber-glow);
}

em {
  font-style: italic;
  color: var(--amber-300);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn svg { flex: none; }
.btn-primary {
  background: linear-gradient(180deg, var(--amber-300), var(--amber-500));
  color: #241a06;
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 10px 30px -8px var(--amber-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 16px 36px -8px var(--amber-glow); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--text-hi);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--amber-500); color: var(--amber-100); background: rgba(237,166,58,0.06); }
.btn-block { width: 100%; }
.btn:focus-visible { outline: 2px solid var(--amber-300); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 17, 22, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(155deg, var(--ink-750), var(--ink-900));
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  flex: none;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17.5px;
  letter-spacing: 0.01em;
}
.brand-name span { color: var(--amber-300); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}
.main-nav a:hover { color: var(--text-hi); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-cta .btn { padding: 11px 20px; font-size: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 70px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  z-index: 0;
  top: -260px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 620px;
  background: radial-gradient(closest-side, var(--amber-glow), transparent 72%);
  opacity: 0.55;
  filter: blur(10px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  letter-spacing: -0.01em;
}
.hero .lede {
  margin: 24px auto 0;
  max-width: 560px;
  color: var(--text-mid);
  font-size: 18px;
  line-height: 1.65;
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}
.hero-trust .dot { margin: 0 10px; opacity: 0.5; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: 0.05s; }
.reveal-2 { transition-delay: 0.14s; }
.reveal-3 { transition-delay: 0.23s; }
.reveal-4 { transition-delay: 0.32s; }
.reveal-5 { transition-delay: 0.41s; }
.reveal-6 { transition-delay: 0.5s; }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.section-head {
  max-width: 620px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-top: 14px;
}
.section-head p {
  margin-top: 16px;
  color: var(--text-mid);
  font-size: 16.5px;
  line-height: 1.65;
}

/* =========================================================================
   DEMO — the interactive Google-Docs-like mockup, the centerpiece.
   ========================================================================= */
.demo {
  padding: 30px 0 130px;
}
.demo-frame {
  max-width: 940px;
  margin: 0 auto;
}
.demo-toggle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.mode-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}
.mode-label svg { width: 16px; height: 16px; }
.mode-label.is-active { color: var(--amber-300); }

.theme-switch {
  position: relative;
  width: 66px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--ink-800);
  cursor: pointer;
  padding: 0;
  flex: none;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.theme-switch:focus-visible { outline: 2px solid var(--amber-300); outline-offset: 3px; }
.theme-switch .thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--amber-100), var(--amber-300));
  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
  display: grid;
  place-items: center;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), background 0.4s ease;
}
.theme-switch .thumb svg { width: 15px; height: 15px; color: #241a06; }
.theme-switch[aria-pressed="true"] { background: var(--ink-900); border-color: var(--amber-700); }
.theme-switch[aria-pressed="true"] .thumb {
  transform: translateX(30px);
  background: linear-gradient(180deg, var(--ink-700), var(--ink-800));
}
.theme-switch[aria-pressed="true"] .thumb svg { color: var(--amber-300); }

/* the fake app window */
.doc-window {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  transition: background 0.5s ease, border-color 0.5s ease;
}
.doc-titlebar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--paper-dim);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.5s ease, border-color 0.5s ease;
}
.doc-dots { display: flex; gap: 7px; }
.doc-dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(0,0,0,0.15); transition: background 0.5s ease; }
.doc-titlebar-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--paper-ink-dim);
  transition: color 0.5s ease;
}
.doc-titlebar-spacer { width: 44px; }

.doc-menubar {
  display: flex;
  gap: 18px;
  padding: 9px 22px;
  font-size: 12.5px;
  color: var(--paper-ink-dim);
  background: var(--paper);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  overflow-x: auto;
  transition: background 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}
.doc-menubar span { white-space: nowrap; }

.doc-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--paper);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 0.5s ease, border-color 0.5s ease;
  overflow-x: auto;
}
.tb-btn {
  width: 30px; height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--paper-ink-dim);
  flex: none;
  transition: background 0.5s ease, color 0.5s ease;
}
.tb-btn svg { width: 16px; height: 16px; }
.tb-sep { width: 1px; height: 22px; background: rgba(0,0,0,0.08); margin: 0 6px; flex: none; transition: background 0.5s ease; }
.tb-select {
  height: 28px;
  border-radius: 6px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  font-size: 12px;
  color: var(--paper-ink-dim);
  background: rgba(0,0,0,0.04);
  flex: none;
  white-space: nowrap;
  transition: background 0.5s ease, color 0.5s ease;
}

.doc-ruler {
  height: 22px;
  background: var(--paper-dim);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: relative;
  transition: background 0.5s ease, border-color 0.5s ease;
}
.doc-ruler::before {
  content: "";
  position: absolute;
  inset: 0 12% ;
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.16) 0 1px, transparent 1px 8.6%);
  opacity: 0.6;
}

.doc-page-wrap {
  padding: 40px 8% 56px;
  background: var(--paper-dim);
  transition: background 0.5s ease;
}
.doc-page {
  background: var(--paper);
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 20px 40px -18px rgba(0,0,0,0.35);
  padding: 46px 8%;
  transition: background 0.5s ease, box-shadow 0.5s ease;
}
.doc-page-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-700);
  margin-bottom: 10px;
  transition: color 0.5s ease;
}
.doc-page h3 {
  font-size: 26px;
  color: var(--paper-ink);
  margin-bottom: 16px;
  transition: color 0.5s ease;
}
.doc-page p {
  color: var(--paper-ink-dim);
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 14px;
  transition: color 0.5s ease;
}
.doc-page p strong { color: var(--paper-ink); font-weight: 600; transition: color 0.5s ease; }
.doc-page ul { margin: 16px 0; padding-left: 22px; }
.doc-page li { color: var(--paper-ink-dim); font-size: 14.5px; line-height: 1.7; margin-bottom: 8px; transition: color 0.5s ease; }
.doc-caret {
  display: inline-block;
  width: 2px; height: 15px;
  background: var(--amber-500);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* --- DARK state of the mockup: a genuine dark theme, not an invert() --- */
.doc-window[data-theme="dark"] { background: var(--ink-900); border-color: var(--line-strong); }
.doc-window[data-theme="dark"] .doc-titlebar { background: var(--ink-850); border-color: var(--line); }
.doc-window[data-theme="dark"] .doc-dots span { background: rgba(238,233,219,0.18); }
.doc-window[data-theme="dark"] .doc-titlebar-title { color: var(--text-dim); }
.doc-window[data-theme="dark"] .doc-menubar { background: var(--ink-900); color: var(--text-dim); border-color: var(--line); }
.doc-window[data-theme="dark"] .doc-toolbar { background: var(--ink-900); border-color: var(--line); }
.doc-window[data-theme="dark"] .tb-btn { color: var(--text-mid); }
.doc-window[data-theme="dark"] .tb-sep { background: var(--line-strong); }
.doc-window[data-theme="dark"] .tb-select { background: rgba(238,233,219,0.06); color: var(--text-mid); }
.doc-window[data-theme="dark"] .doc-ruler { background: var(--ink-850); border-color: var(--line); }
.doc-window[data-theme="dark"] .doc-ruler::before { opacity: 0.35; }
.doc-window[data-theme="dark"] .doc-page-wrap { background: var(--ink-850); }
.doc-window[data-theme="dark"] .doc-page {
  background: var(--ink-800);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 20px 40px -16px rgba(0,0,0,0.6);
}
.doc-window[data-theme="dark"] .doc-page-eyebrow { color: var(--amber-300); }
.doc-window[data-theme="dark"] .doc-page h3 { color: var(--text-hi); }
.doc-window[data-theme="dark"] .doc-page p,
.doc-window[data-theme="dark"] .doc-page li { color: var(--text-mid); }
.doc-window[data-theme="dark"] .doc-page p strong { color: var(--text-hi); }

.demo-caption {
  text-align: center;
  margin-top: 28px;
  color: var(--text-dim);
  font-size: 14px;
}
.demo-caption button {
  background: none; border: none; padding: 0;
  color: var(--amber-300);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* =========================================================================
   FEATURES
   ========================================================================= */
.features { padding: 40px 0 120px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--ink-850);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), border-color 0.35s ease, background 0.35s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--ink-800);
}
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 120% at 30% 20%, rgba(237,166,58,0.18), rgba(237,166,58,0.04));
  border: 1px solid rgba(237,166,58,0.22);
  color: var(--amber-300);
  margin-bottom: 20px;
}
.feature-icon svg { width: 23px; height: 23px; }
.feature-card h3 { font-size: 18.5px; margin-bottom: 10px; font-weight: 600; font-family: var(--font-body); }
.feature-card p { color: var(--text-mid); font-size: 14.5px; line-height: 1.65; }

/* =========================================================================
   HOW IT WORKS
   ========================================================================= */
.how { padding: 20px 0 120px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 30px; left: 12%; right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 10px, transparent 10px 20px);
}
.step {
  position: relative;
  text-align: left;
}
.step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--amber-300);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.step h3 { font-size: 18px; margin-bottom: 10px; font-family: var(--font-body); font-weight: 600; }
.step p { color: var(--text-mid); font-size: 14.5px; line-height: 1.65; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { padding: 20px 0 130px; }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--ink-850);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 4px 24px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.faq-item[open] { border-color: var(--line-strong); background: var(--ink-800); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text-hi);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--amber-300);
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-body {
  padding: 0 0 22px;
  color: var(--text-mid);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 62ch;
}

/* =========================================================================
   FINAL CTA
   ========================================================================= */
.final-cta {
  padding: 30px 0 110px;
}
.final-cta-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, var(--ink-850), var(--ink-950));
  padding: 70px 40px;
  text-align: center;
}
.final-cta-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: -220px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(closest-side, var(--amber-glow), transparent 72%);
  opacity: 0.5;
}
.final-cta-card > * { position: relative; z-index: 1; }
.final-cta-card h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  max-width: 560px;
  margin: 0 auto 18px;
}
.final-cta-card p {
  color: var(--text-mid);
  max-width: 460px;
  margin: 0 auto 32px;
  font-size: 16px;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 50px 0 40px;
}
.footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--text-dim); font-size: 13.5px; line-height: 1.6; }
.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.footer-col a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--amber-300); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-dim);
  font-size: 12.5px;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 920px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { display: none; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn-ghost { display: none; }
}

@media (max-width: 560px) {
  .header-cta { display: none; }
  .header-row { justify-content: space-between; }
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--ink-900);
  padding: 20px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  text-decoration: none;
  color: var(--text-hi);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu nav a:last-child { border-bottom: none; }

@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 44px; }
  .demo { padding: 10px 0 90px; }
  .doc-menubar, .doc-toolbar { padding-left: 14px; padding-right: 14px; }
  .doc-page-wrap { padding: 26px 5% 40px; }
  .doc-page { padding: 30px 7%; }
  .doc-page h3 { font-size: 21px; }
  .final-cta-card { padding: 50px 22px; }
  .footer-row { flex-direction: column; }
  .footer-links { gap: 36px; }
}

@media (max-width: 400px) {
  .container { padding: 0 18px; }
  .hero .lede { font-size: 16.5px; }
  .doc-titlebar-title { display: none; }
  .doc-titlebar-spacer { display: none; }
}

@media (max-width: 640px) {
  .hide-sm { display: none; }
}
