/* ============================================================
   filedge.io — Marketing Site Styles
   Design: claude.ai/design · April 2026
   ============================================================ */

:root {
  --teal: #006d77;
  --teal-ink: #00444b;
  --sage: #83c5be;
  --cream: #edf6f9;
  --blush: #ffddd2;
  --coral: #e29578;
  --ink: #0e1b1d;
  --ink-2: #3b4b4d;
  --ink-3: #6a7779;
  --line: rgba(0, 109, 119, .14);
  --line-soft: rgba(0, 109, 119, .08);
  --paper: #fbfcfc;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --shadow-sm: 0 1px 0 rgba(0, 68, 75, .04), 0 1px 2px rgba(0, 68, 75, .04);
  --shadow-md: 0 1px 0 rgba(0, 68, 75, .04), 0 8px 24px -10px rgba(0, 68, 75, .14);
  --shadow-lg: 0 30px 60px -30px rgba(0, 68, 75, .28), 0 12px 24px -18px rgba(0, 68, 75, .18);
  --ease-spring: cubic-bezier(.2, .9, .2, 1.1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
}

/* ------------ reset ------------ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Prevent any element from blowing out horizontal layout.
   overflow-x: clip (not hidden) — doesn't create a scroll container,
   so position: sticky on the nav keeps working. */
body { overflow-x: clip; }
/* Fallback for iOS Safari < 16 which doesn't support overflow-x: clip */
html { overflow-x: hidden; }

body {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-feature-settings: "ss01", "cv11", "cv02";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.01em;
}

code, pre, .mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-feature-settings: "ss02", "cv11";
}

.serif {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ------------ layout ------------ */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
section { padding: 120px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--teal);
}

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
h1 { font-size: 96px; letter-spacing: -0.045em; line-height: 0.92; }
h2 { font-size: 64px; letter-spacing: -0.04em; line-height: 1; }
h3 { font-size: 28px; letter-spacing: -0.025em; line-height: 1.15; }
p { margin: 0; line-height: 1.5; color: var(--ink-2); }
.lede { font-size: 22px; line-height: 1.4; color: var(--ink-2); max-width: 640px; letter-spacing: -0.015em; }

/* ------------ nav ------------ */
.nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  margin: 16px auto 0;
  max-width: 1120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 12px 24px;
  background: rgba(251, 252, 252, .72);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border: 1px solid var(--line);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: conic-gradient(from 210deg, var(--teal), var(--coral), var(--sage), var(--teal));
  position: relative;
  flex-shrink: 0;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--paper);
  border-radius: 3px;
}

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 100px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s var(--ease-soft);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); background: var(--cream); }

/* ------------ buttons ------------ */
.btn {
  --bg: var(--teal);
  --fg: #fff;
  --border: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: -0.005em;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: transform .35s var(--ease-spring), box-shadow .3s var(--ease-soft), background .2s;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 1px 2px rgba(0, 68, 75, .18);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), transparent 50%);
  pointer-events: none;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(0, 68, 75, .35), 0 1px 0 rgba(255, 255, 255, .2) inset;
}
.btn:active { transform: translateY(0) scale(.98); transition: transform .08s ease-out; }
.btn.secondary { --bg: transparent; --fg: var(--ink); --border: var(--line); box-shadow: none; }
.btn.secondary:hover { --bg: var(--cream); box-shadow: 0 4px 12px -6px rgba(0, 68, 75, .18); }
.btn.ghost { --bg: transparent; --fg: var(--ink); --border: transparent; box-shadow: none; }
.btn.ghost:hover { --bg: var(--cream); }
.btn .arrow { transition: transform .35s var(--ease-spring); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-lg { padding: 16px 26px; font-size: 15px; }

/* ------------ hero ------------ */
.hero {
  padding: 80px 0 140px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .95fr;
  gap: 80px;
  align-items: end;
}
.hero h1 .serif { color: var(--teal); font-style: italic; }
.hero-cta { display: flex; gap: 10px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 580px;
  font-size: 13px;
  color: var(--ink-3);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 100px; background: var(--coral); }
.dot.live {
  background: #2bb673;
  box-shadow: 0 0 0 0 rgba(43, 182, 115, .5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(43, 182, 115, .5); }
  70%  { box-shadow: 0 0 0 8px rgba(43, 182, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 182, 115, 0); }
}

/* code card */
.code-card {
  background: var(--ink);
  color: #d7e4e6;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  position: relative;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform .6s var(--ease-soft);
}
.code-card:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-size: 12px;
  color: #7c8e91;
}
.code-head .dots { display: flex; gap: 6px; }
.code-head .dots i { width: 10px; height: 10px; border-radius: 100px; background: #2a3638; }
.code-body { padding: 22px 24px; font-size: 13px; line-height: 1.75; }
.c-k { color: var(--sage); }
.c-s { color: var(--blush); }
.c-n { color: var(--coral); }
.c-c { color: #5a6a6c; }
.c-arrow { color: var(--sage); display: block; margin-top: 14px; }
.response-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(131, 197, 190, .08);
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 12px;
  color: var(--sage);
}
.latency { color: var(--coral); font-weight: 500; }

/* ------------ ticker strip ------------ */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  max-width: 100%;
  background: var(--paper);
}
.ticker-inner {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: -0.005em;
}
.ticker-inner span b { color: var(--ink); font-weight: 500; margin-right: 8px; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ------------ how it works ------------ */
.how-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; margin-bottom: 72px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 360px;
  transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft), border-color .2s;
  position: relative;
  overflow: hidden;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0, 109, 119, .22); }
.step-num {
  font-family: 'Instrument Serif', serif;
  font-size: 56px;
  line-height: 1;
  color: var(--teal);
  font-style: italic;
}
.step h3 { margin-top: auto; }
.step p { font-size: 15px; }
.step-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 100px;
  background: var(--cream);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--teal);
  width: fit-content;
}
.step.accent  { background: linear-gradient(180deg, var(--cream) 0%, #fff 70%); }
.step.accent2 { background: linear-gradient(180deg, var(--blush) 0%, #fff 70%); }
.step.accent3 { background: linear-gradient(180deg, rgba(131, 197, 190, .22) 0%, #fff 70%); }

.step-viz {
  height: 120px;
  border-radius: 12px;
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
  background: repeating-linear-gradient(45deg, rgba(0, 109, 119, .03) 0 6px, transparent 6px 12px);
}

.pay-viz {
  height: 120px;
  border-radius: 12px;
  background: var(--ink);
  color: #d7e4e6;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.pay-row { display: flex; justify-content: space-between; }
.pay-row b { color: var(--sage); font-weight: 500; }
.pay-row .v { color: var(--blush); }

.json-viz {
  height: 120px;
  border-radius: 12px;
  background: var(--cream);
  padding: 14px;
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  line-height: 1.7;
  color: var(--ink-2);
}
.json-viz .k { color: var(--teal); }
.json-viz .s { color: var(--coral); }
.json-viz .n { color: var(--ink); }

/* ------------ statement ------------ */
.statement {
  background: var(--teal);
  color: #fff;
  border-radius: 32px;
  padding: 120px 80px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}
.statement h2 { color: #fff; font-size: 88px; letter-spacing: -0.045em; }
.statement h2 .serif { color: var(--blush); font-style: italic; }
.statement .sub { color: rgba(255, 221, 210, .75); max-width: 540px; margin-top: 32px; font-size: 18px; }
.statement .ornament {
  position: absolute; right: -120px; top: -120px;
  width: 500px; height: 500px; border-radius: 100%;
  background: radial-gradient(closest-side, rgba(255, 221, 210, .18), transparent 70%);
  pointer-events: none;
}
.statement .ornament-2 {
  position: absolute; left: -80px; bottom: -80px;
  width: 280px; height: 280px; border-radius: 100%;
  background: radial-gradient(closest-side, rgba(131, 197, 190, .35), transparent 70%);
  pointer-events: none;
}

/* ------------ API reference ------------ */
.api-wrap {
  display: grid;
  grid-template-columns: .95fr 1.15fr;
  gap: 60px;
  align-items: flex-start;
}
.api-left h2 { margin-bottom: 24px; }
.param-table { margin-top: 40px; border-top: 1px solid var(--line); }
.param {
  display: grid;
  grid-template-columns: 120px 80px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.param .name { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--ink); font-weight: 500; }
.param .type { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--coral); }
.param .req  { color: var(--ink-3); font-size: 12px; margin-left: 6px; }
.param .desc { font-size: 14px; color: var(--ink-2); font-family: 'JetBrains Mono', monospace; }
.param .desc em { font-style: normal; color: var(--ink); background: var(--cream); padding: 1px 6px; border-radius: 4px; }

.endpoint-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: var(--cream);
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  overflow: hidden;
  word-break: break-all;
}
.method {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.code-panel {
  background: var(--ink);
  color: #d7e4e6;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.tabs {
  display: flex;
  gap: 2px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: #0a1517;
}
.tab {
  padding: 8px 14px;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #7c8e91;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: all .2s;
}
.tab.active { color: var(--sage); background: rgba(131, 197, 190, .1); }
.tab:hover:not(.active) { color: #d7e4e6; }
.tab-spacer { flex: 1; }
.copy-btn {
  padding: 6px 12px;
  font-size: 11px;
  color: #7c8e91;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  transition: all .2s;
}
.copy-btn:hover { color: #d7e4e6; border-color: rgba(255, 255, 255, .2); }
pre { margin: 0; padding: 22px 24px; font-size: 12px; line-height: 1.75; overflow-x: auto; max-height: 520px; max-width: 100%; }

.doctypes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 28px; }
.doctype {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: #fff;
  transition: all .25s var(--ease-soft);
  cursor: pointer;
}
.doctype:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.doctype.active { border-color: var(--teal); background: var(--cream); }
.doctype .tag  { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--teal); font-weight: 600; }
.doctype .name { font-size: 13px; color: var(--ink); margin-top: 4px; font-weight: 500; }
.doctype .desc { font-size: 11px; color: var(--ink-3); margin-top: 2px; }

/* ------------ pricing ------------ */
.pricing-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 48px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--sage), var(--blush), var(--coral));
}
.price-big {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--teal);
  letter-spacing: -0.04em;
  margin: 12px 0 20px;
}
.price-big .cur { font-size: 32px; margin-top: 14px; font-style: normal; font-family: 'Inter Tight'; }
.price-big .num { font-size: 128px; line-height: 1; }
.price-big .per { font-size: 18px; color: var(--ink-3); margin-top: 16px; font-style: normal; font-family: 'Inter Tight'; letter-spacing: -0.01em; }
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.price-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding-right: 24px;
}
.price-row:nth-child(even) { padding-right: 0; padding-left: 24px; border-left: 1px solid var(--line); margin-left: -1px; }
.price-row .l { color: var(--ink-3); }
.price-row .v { color: var(--ink); font-family: 'JetBrains Mono', monospace; font-size: 12px; }

/* ------------ foundations ------------ */
.found-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.found {
  background: #fff;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  transition: background .25s;
}
.found:hover { background: var(--cream); }
.found .glyph { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--teal); }
.found h4 { font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }
.found p { font-size: 14px; color: var(--ink-2); }

/* ------------ CTA band ------------ */
.cta-band {
  text-align: center;
  padding: 160px 40px;
  background: linear-gradient(180deg, var(--paper), var(--cream));
}
.cta-band h2 { font-size: 112px; letter-spacing: -0.05em; max-width: 900px; margin: 0 auto 32px; }
.cta-band h2 .serif { color: var(--coral); font-style: italic; }
.cta-band .buttons { display: flex; gap: 10px; justify-content: center; }

/* ------------ footer ------------ */
footer { background: var(--ink); color: #9fb0b2; padding: 80px 40px 40px; }
.foot-wrap {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
}
.foot-logo { color: #fff; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.foot-tagline { font-size: 13px; margin-top: 12px; max-width: 280px; color: #6d7f81; }
.foot-col h5 { color: #6d7f81; font-size: 11px; font-weight: 500; margin: 0 0 16px; letter-spacing: 0.08em; text-transform: uppercase; }
.foot-col a { display: block; color: #9fb0b2; text-decoration: none; font-size: 14px; padding: 6px 0; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-bot {
  max-width: 1120px;
  margin: 80px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6d7f81;
}

/* ------------ utility ------------ */
.kbd {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: #fff;
  color: var(--ink-2);
}
::selection { background: var(--blush); color: var(--teal-ink); }

/* ============================================================
   Responsive — tablet (≤ 1024px) then mobile (≤ 640px)
   ============================================================ */

/* ------------ nav responsive ------------ */
.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0 8px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .25s var(--ease-soft);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1024px) {
  /* nav */
  .nav { margin: 12px 16px 0; border-radius: 16px; }
  .nav-links { display: none; gap: 2px; }
  .nav-hamburger { display: flex; }
  .nav-cta .arrow { display: none; }

  /* nav open state — drop the nav below the pill */
  .nav.open { border-radius: 16px 16px 0 0; border-bottom-color: transparent; }
  .nav.open + .nav-drawer { display: flex; }

  /* hero */
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .code-card { transform: none !important; max-width: 100%; }
  .code-body { word-break: break-word; }
  h1 { font-size: 64px; }

  /* statement */
  .statement { padding: 72px 48px; }
  .statement h2 { font-size: 60px; }

  /* steps */
  .steps { grid-template-columns: 1fr 1fr; }

  /* api */
  .api-wrap { grid-template-columns: 1fr; gap: 48px; }

  /* pricing */
  .pricing-wrap { grid-template-columns: 1fr; gap: 48px; }
  .price-big .num { font-size: 96px; }

  /* foundations */
  .found-grid { grid-template-columns: repeat(2, 1fr); }

  /* cta */
  .cta-band h2 { font-size: 72px; }

  /* footer */
  .foot-wrap { grid-template-columns: 1fr 1fr; gap: 40px; }
  .foot-bot { flex-direction: column; gap: 8px; }

  /* doctypes */
  .doctypes { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  /* globals */
  .wrap { padding: 0 20px; }
  section { padding: 72px 0; }

  /* nav */
  .nav { margin: 10px 12px 0; padding: 10px 10px 10px 16px; }
  .nav-signin { display: none; }

  /* typography */
  h1 { font-size: 48px; letter-spacing: -0.04em; line-height: 1; }
  h2 { font-size: 40px; letter-spacing: -0.035em; }
  h3 { font-size: 22px; }
  .lede { font-size: 17px; }

  /* hero */
  .hero { padding: 48px 0 80px; }
  .hero-cta { flex-direction: column; }
  .hero-meta { flex-direction: column; gap: 12px; }

  /* ticker */
  .ticker { padding: 16px 0; }

  /* how it works */
  .how-head { flex-direction: column; gap: 24px; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: auto; }

  /* statement */
  .statement { padding: 48px 28px; border-radius: 20px; }
  .statement h2 { font-size: 40px; }
  .statement .sub { font-size: 15px; }

  /* api */
  .param { grid-template-columns: 1fr; gap: 4px; }
  .param .desc { padding-bottom: 8px; }
  .doctypes { grid-template-columns: repeat(2, 1fr); }

  /* pricing */
  .price-card { padding: 32px 24px; }
  .price-big .num { font-size: 80px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-row { padding-right: 0 !important; padding-left: 0 !important; border-left: none !important; margin-left: 0 !important; }

  /* foundations */
  .found-grid { grid-template-columns: 1fr; }

  /* cta */
  .cta-band { padding: 96px 20px; }
  .cta-band h2 { font-size: 48px; }
  .cta-band .buttons { flex-direction: column; align-items: center; }

  /* footer */
  .foot-wrap { grid-template-columns: 1fr; gap: 36px; }
  footer { padding: 56px 20px 32px; }
}

/* ------------ mobile nav drawer ------------ */
.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 2px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 16px 16px;
  background: rgba(251, 252, 252, .96);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 16px 16px;
  position: sticky;
  top: calc(16px + 56px); /* nav top offset + nav height */
  z-index: 49;
}
.nav-drawer a {
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all .15s;
}
.nav-drawer a:hover { background: var(--cream); color: var(--ink); }
.nav-drawer .drawer-cta {
  margin-top: 8px;
  text-align: center;
  background: var(--teal);
  color: #fff;
  border-radius: 10px;
}
.nav-drawer .drawer-cta:hover { background: var(--teal-ink); }

