/* palette: bg=#EBEBEB fg=#0E0E10 accent=#1A6FE0 */
/* fonts: display="Geist" body="Geist" mono="Geist Mono" */

:root {
  --bg: #EBEBEB;
  --bg-alt: #F4F4F4;
  --bg-deep: #0E0E10;
  --fg: #0E0E10;
  --fg-soft: #2B2B2E;
  --muted: #7A7A7E;
  --line: #D5D5D5;
  --line-soft: #DFDFDF;
  --accent: #1A6FE0;
  --accent-deep: #0F4FA8;
  --border: rgba(14, 14, 16, 0.10);
  --display: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-card: 18px;
  --radius-pill: 9999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "ss01" on, "cv11" on;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin: 0;
  color: var(--fg);
}

p { margin: 0 0 1em; }
strong { font-weight: 600; }
em { font-style: normal; }

/* ============ LAYOUT ============ */
.shell {
  padding: 12px;
  min-height: 100vh;
}

.frame {
  background: var(--bg);
  border-radius: 24px;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  display: inline-block;
  margin: 0 0 14px;
}

/* ============ HEADER (pill) ============ */
.header-outer {
  padding: 12px 12px 0;
  position: sticky;
  top: 12px;
  z-index: 100;
}

.header {
  background: rgba(235, 235, 235, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-radius: 999px;
  padding: 10px 14px 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  border: 1px solid transparent;
}
.header[data-scrolled="true"] {
  background: rgba(235, 235, 235, 0.94);
  box-shadow: 0 8px 32px -10px rgba(14, 14, 16, 0.12);
  border-color: var(--line);
}

.brand {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-mark {
  width: 22px;
  height: 22px;
  display: inline-block;
}

.nav {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  color: var(--fg-soft);
}
.nav a {
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a.is-active { color: var(--fg); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn--ghost {
  color: var(--fg);
  padding: 10px 8px;
}
.btn--ghost:hover { color: var(--accent); }
.btn--dark {
  background: var(--bg-deep);
  color: #fff;
}
.btn--dark:hover { background: #232328; transform: translateY(-1px); }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border-radius: 999px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 80px;
  left: 12px;
  right: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: translateY(0); }
.mobile-menu a {
  display: block;
  padding: 14px 8px;
  font-size: 20px;
  font-family: var(--display);
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a:last-child { border-bottom: 0; }

/* ============ HERO ============ */
.hero {
  padding: clamp(64px, 12vw, 130px) 0 clamp(48px, 8vw, 96px);
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 6.6vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.06;
  max-width: 18ch;
  margin: 0 auto 24px;
}
.hero h1 em {
  position: relative;
  display: inline-block;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.06em;
  height: 2px;
  background: var(--accent);
}
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--muted);
  max-width: 36ch;
  margin: 0 auto 32px;
}
.hero-cta {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.hero-cta .btn { padding: 12px 26px; font-size: 15px; }

.hero-visual {
  margin: 0 auto;
  max-width: 380px;
  position: relative;
  aspect-ratio: 380 / 560;
  perspective: 1200px;
}
.hero-phone {
  position: absolute;
  inset: 0;
  border-radius: 36px;
  overflow: hidden;
  background: #1a1a1c;
  border: 8px solid #1a1a1c;
  box-shadow: 0 60px 80px -30px rgba(14, 14, 16, 0.4),
              0 30px 40px -10px rgba(14, 14, 16, 0.25);
  transform: rotate(-2deg);
  animation: heroDrift 12s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0%   { transform: rotate(-2deg) translateY(0); }
  100% { transform: rotate(1deg) translateY(-8px); }
}
.hero-phone-screen {
  width: 100%;
  height: 100%;
  background: #fafafa;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--sans);
}
.phone-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 9px;
  color: #555;
  margin-bottom: 4px;
}
.phone-app-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e5e5;
}
.phone-app-head .brand { font-size: 12px; }
.phone-section-title { font-size: 11px; font-weight: 600; }
.phone-section-sub { font-size: 8px; color: #888; line-height: 1.4; }
.phone-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 4px;
}
.phone-stat {
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 6px;
}
.phone-stat-label { font-family: var(--mono); font-size: 7px; color: #888; }
.phone-stat-val { font-size: 11px; font-weight: 600; margin-top: 2px; }
.phone-stat-val.pos { color: #128a3a; }
.phone-stat-val.neg { color: #c0392b; }
.phone-gauge {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border: 1px solid #eee;
  border-radius: 6px;
}
.phone-ring {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 3px solid #1a6fe0;
  border-right-color: #e5e5e5;
  transform: rotate(45deg);
}
.phone-ring.alt {
  border-color: #128a3a;
  border-right-color: #e5e5e5;
  border-bottom-color: #e5e5e5;
}

/* Floating side ribbon */
.side-ribbon {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-deep);
  color: #fff;
  padding: 18px 6px;
  border-radius: 6px 0 0 6px;
  z-index: 50;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-transform: lowercase;
}
.side-ribbon strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  text-transform: none;
}
.side-ribbon span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.14em;
}

/* ============ SECTION GENERIC ============ */
.section {
  padding: clamp(64px, 9vw, 120px) 0;
}
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--bg-deep);
  color: #d4d4d6;
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .eyebrow { color: #6f6f73; }

.section-head {
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 720px;
}
.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.section-head .lede {
  margin-top: 18px;
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.6;
}

/* ============ MANIFESTO / ESSAY ============ */
.manifesto {
  padding: clamp(80px, 11vw, 140px) 0;
}
.manifesto-statement {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.22;
  max-width: 900px;
  color: var(--fg);
  margin: 0 0 28px;
}
.manifesto-statement em {
  color: var(--accent);
}
.manifesto-essay {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 900px;
}
.manifesto-essay p {
  font-size: 17px;
  line-height: 1.72;
  color: var(--fg-soft);
}
.manifesto-essay p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 3.6em;
  float: left;
  line-height: 0.86;
  margin: 0.08em 0.12em 0 0;
  font-weight: 500;
  color: var(--fg);
}

.pull-quote {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 6vw, 72px) 0;
  margin: clamp(40px, 6vw, 72px) 0;
}
.pull-quote q {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.22;
  display: block;
  color: var(--fg);
  quotes: "“" "”" "‘" "’";
  max-width: 28ch;
}
.pull-quote q::before { content: open-quote; color: var(--accent); }
.pull-quote q::after  { content: close-quote; }
.pull-quote cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

/* ============ STACKED FEATURE CARDS ============ */
.stack {
  display: grid;
  gap: 20px;
}
.stack-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(28px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  min-height: 320px;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.stack-card:hover { border-color: var(--fg); }
.stack-card__head {
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.01em;
  align-self: start;
}
.stack-card__visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 180px;
}
.stack-card__visual svg {
  width: 100%;
  max-width: 220px;
  height: auto;
}
.stack-card__body {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 44ch;
}
.section--alt .stack-card { background: #fff; border-color: var(--line); }

/* ============ COMPARISON TABLE ============ */
.compare {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  overflow: hidden;
}
.compare-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
}
.compare-cell {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  font-size: 14.5px;
  color: var(--fg-soft);
  display: flex;
  align-items: center;
}
.compare-cell:nth-child(4n) { border-right: 0; }
.compare-cell--head {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  background: var(--bg-alt);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.compare-cell--brand { color: var(--fg); font-weight: 500; font-family: var(--display); font-size: 16px; }
.compare-disclaimer {
  padding: 20px;
  font-size: 12.5px;
  color: var(--muted);
  background: var(--bg-alt);
  line-height: 1.55;
}

/* ============ TICKER / STATS ============ */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-cell {
  padding: 36px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-cell:nth-child(2n) { border-right: 0; }
.stat-num {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-family: var(--mono);
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}
.stat-body {
  font-size: 14.5px;
  color: #bfbfc2;
  line-height: 1.55;
}

/* ============ PROCESS / STEP LIST ============ */
.process {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.process-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.process-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  padding-top: 4px;
}
.process-row h3 {
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.process-row p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 56ch;
  margin: 0;
}

/* ============ FAQ ============ */
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
}
.faq-num { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 4px; }
.faq-item h3 {
  font-family: var(--display);
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 10px;
}
.faq-item p { color: var(--muted); font-size: 15.5px; line-height: 1.65; max-width: 64ch; }

/* ============ TEAM (monogram) ============ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.member {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 240px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.member:hover { border-color: var(--fg); }
.avatar--mono {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
}
.member-name {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.member-role { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.member-bio { font-size: 14.5px; color: var(--fg-soft); line-height: 1.6; margin-top: 6px; }

/* ============ CONTACT FORM ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
.contact-meta dl { margin: 0; }
.contact-meta dt {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin: 28px 0 6px;
}
.contact-meta dt:first-child { margin-top: 0; }
.contact-meta dd {
  margin: 0;
  font-size: 16px;
  color: var(--fg);
  line-height: 1.5;
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(24px, 3vw, 40px);
}
.form .row { margin-bottom: 18px; }
.form label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.form input, .form select, .form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-alt);
  font: inherit;
  color: var(--fg);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 0;
  border-color: var(--accent);
  background: #fff;
}
.form textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; padding: 14px 24px; font-size: 15px; margin-top: 8px; }
.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

/* ============ CTA BAND ============ */
.cta-band {
  background: var(--bg-deep);
  color: #fff;
  border-radius: var(--radius-card);
  padding: clamp(48px, 7vw, 90px) clamp(28px, 5vw, 64px);
  text-align: center;
  margin: 0 auto;
  max-width: 1080px;
}
.cta-band h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  color: #fff;
  margin-bottom: 18px;
}
.cta-band p {
  color: #b6b6b8;
  font-size: 16px;
  max-width: 52ch;
  margin: 0 auto 28px;
}
.cta-band .btn--primary { background: var(--accent); }
.cta-band .btn--primary:hover { background: #2f81f0; }

/* ============ FOOTER ============ */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand {
  max-width: 36ch;
}
.footer-brand p {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 14px;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 16px;
  letter-spacing: 0;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--fg-soft);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============ COOKIE POPUP ============ */
.cookie-popup {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 24px;
  background: rgba(14, 14, 16, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 28px 30px;
  max-width: 460px;
  border-radius: 18px;
  width: 100%;
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.cookie-popup__card h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.cookie-popup__card p { font-size: 14px; color: var(--fg-soft); line-height: 1.6; margin-bottom: 8px; }
.cookie-popup__actions { display: flex; gap: 10px; margin-top: 18px; }
.cookie-popup__actions button {
  flex: 1;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--sans);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.cookie-popup__actions button[data-cookie="decline"] {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
}
.cookie-popup__actions button[data-cookie="decline"]:hover { background: var(--bg-alt); }
.cookie-popup__actions button[data-cookie="accept"] {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.cookie-popup__actions button[data-cookie="accept"]:hover { background: var(--accent-deep); }

/* ============ LEGAL ============ */
.legal-page { padding: clamp(60px, 9vw, 110px) 0; }
.legal-page h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin-bottom: 28px;
}
.legal-page h2 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin: 40px 0 14px;
}
.legal-page p, .legal-page li { font-size: 16px; color: var(--fg-soft); line-height: 1.7; max-width: 72ch; }
.legal-page ul { padding-left: 22px; }

.thanks-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.thanks-page h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 18px; }
.thanks-page p { color: var(--muted); font-size: 17px; max-width: 46ch; margin: 0 auto 30px; }

/* ============ RESPONSIVE ============ */
@media (min-width: 700px) {
  .stack-card { grid-template-columns: 1.1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 64px; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none; }
  .team-grid { grid-template-columns: 1fr 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-cell:nth-child(2n) { border-right: 1px solid rgba(255,255,255,0.1); }
  .stat-cell:nth-child(4n) { border-right: 0; }
}
@media (min-width: 1100px) {
  .container { padding: 0 48px; }
}
@media (max-width: 580px) {
  .compare-grid { font-size: 12px; }
  .compare-cell { padding: 12px 10px; }
  .side-ribbon { display: none; }
}
