/* ============================================================
   Topple Giants — landing page styles
   Plain CSS, no build step. Burnt-orange dark theme.
   ============================================================ */

:root {
  --bg: #15100d;
  --bg-alt: #1a120e;
  --card: #1f1611;
  --ink: #fbf4ee;        /* headings */
  --text: #d8ccc0;       /* body */
  --muted: #b6a99c;
  --faint: #8c8074;
  --accent: #db5e2e;
  --accent-hi: #ef6f3c;
  --accent-soft: #f0a073;
  --on-accent: #1a0f09;
  --line: rgba(255,255,255,.07);
  --line-2: rgba(255,255,255,.14);
  --maxw: 1140px;
  --pad: clamp(20px, 5vw, 56px);
  --section-y: clamp(56px, 9vw, 88px);
  --radius: 14px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { color: var(--ink); margin: 0; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.accent { color: var(--accent); }

::placeholder { color: #9a8d80; opacity: 1; }

:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Skip link */
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--accent);
  color: var(--on-accent);
  padding: 13px 20px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  z-index: 200;
  transition: top .15s;
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 15px 30px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hi); }
.btn-block { width: 100%; min-height: 58px; margin-top: 24px; font-size: 18px; }
.btn-speak {
  width: 100%;
  background: rgba(219,94,46,.07);
  border: 1.5px solid var(--accent);
  color: var(--accent-soft);
  font-size: 17px;
}
.btn-speak:hover { background: rgba(219,94,46,.14); }
.btn-speak svg { width: 24px; height: 24px; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 4px; text-decoration: none; }
.brand-mark { width: 26px; height: 26px; margin-right: -5px; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -.4px; color: #f5ece5; }
.pill {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 8px 14px;
  background: rgba(219,94,46,.12);
  border-radius: 7px;
}

/* ---------- Shared layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: var(--section-y) var(--pad); }
.measure { max-width: 46ch; }
.lead { font-size: clamp(18px, 2.4vw, 21px); line-height: 1.7; color: #cdbfb3; }
.eyebrow {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.fine { font-size: 15px; line-height: 1.5; color: var(--faint); }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 90px) var(--pad) clamp(48px, 7vw, 72px);
}
.hero-h {
  max-width: 15ch;
  font-weight: 800;
  font-size: clamp(40px, 7vw, 74px);
  line-height: 1;
  letter-spacing: -2px;
}
.hero-sub {
  max-width: 38ch;
  margin-top: 28px;
  font-size: clamp(18px, 2.4vw, 21px);
  line-height: 1.6;
  color: #cdbfb3;
}

/* Inline signup (hero) */
.signup-inline { margin-top: 38px; max-width: 520px; }
.signup-inline label,
.signup label { display: block; font-weight: 600; font-size: 16px; color: #e8ddd3; margin-bottom: 9px; }
.field-row { display: flex; gap: 10px; flex-wrap: wrap; }
.field-row input { flex: 1 1 240px; }

input[type="email"], textarea {
  width: 100%;
  min-height: 54px;
  padding: 15px 18px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: var(--card);
  color: #f5ece5;
  font-family: inherit;
  font-size: 17px;
}
textarea { line-height: 1.55; resize: vertical; min-height: auto; }
.field-row input { background: var(--card); }

.form-status { margin-top: 14px; font-weight: 600; font-size: 16px; color: var(--accent-soft); }
.form-status.center { text-align: center; }
.fine + .form-status, .signup-inline .fine { margin-top: 14px; }

/* ---------- Brand band ---------- */
.band { background: var(--accent); }
.band p {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 56px) var(--pad);
  text-align: center;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
  letter-spacing: -.6px;
  color: var(--on-accent);
}

/* ---------- Problem + callout ---------- */
.problem { max-width: var(--maxw); margin: 0 auto; padding: var(--section-y) var(--pad); }
.problem h2 { font-weight: 800; font-size: clamp(30px, 4.5vw, 42px); line-height: 1.1; letter-spacing: -1px; margin-bottom: 22px; }
.problem .measure { max-width: 42ch; }
.callout {
  margin-top: clamp(36px, 5vw, 52px);
  padding: clamp(28px, 4vw, 44px);
  background: var(--bg-alt);
  border-radius: 18px;
  border-left: 4px solid var(--accent);
}
.callout p {
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.35;
  letter-spacing: -.4px;
  color: #f5ece5;
}

/* ---------- How it works ---------- */
.how { background: var(--bg-alt); border-top: 1px solid var(--line); }
.how h2 { font-weight: 800; font-size: clamp(30px, 4.5vw, 42px); line-height: 1.1; letter-spacing: -1px; margin-bottom: clamp(32px, 5vw, 52px); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.step { padding: clamp(24px, 3vw, 30px); background: var(--bg); border-radius: var(--radius); border-top: 3px solid var(--accent); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.step-ic { width: 24px; height: 24px; }
.step-num { display: block; font-weight: 800; font-size: 16px; color: var(--accent); margin-bottom: 14px; }
.step-top .step-num { margin-bottom: 0; }
.step h3 { font-weight: 700; font-size: clamp(19px, 2.4vw, 21px); margin-bottom: 9px; }
.step p { font-size: clamp(16px, 2vw, 17px); line-height: 1.65; color: var(--muted); }

/* ---------- Connect the dots ---------- */
.dots { max-width: var(--maxw); margin: 0 auto; padding: var(--section-y) var(--pad); }
.dots h2 { font-weight: 800; font-size: clamp(30px, 4.5vw, 42px); line-height: 1.1; letter-spacing: -1px; margin-bottom: 22px; }
.dots .measure { margin-bottom: clamp(32px, 4vw, 44px); }
.dot-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.dot-list li {
  display: flex; gap: 14px;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 13px;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.55;
  color: #cdbfb3;
}
.dot-list .arrow { color: var(--accent); font-weight: 800; font-size: 18px; flex: none; }

/* ---------- Made for everyone ---------- */
.everyone { background: var(--bg-alt); border-top: 1px solid var(--line); }
.everyone h2 { font-weight: 800; font-size: clamp(30px, 4.5vw, 42px); line-height: 1.1; letter-spacing: -1px; margin-bottom: 22px; }
.everyone .measure { margin-bottom: clamp(32px, 4vw, 44px); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.feature-grid li { padding: 24px; background: var(--bg); border-radius: 13px; }
.feat-ic { width: 26px; height: 26px; margin-bottom: 14px; }
.feat-glyph { display: inline-block; margin-bottom: 14px; font-weight: 800; font-size: 22px; color: var(--accent); }
.feature-grid h3 { font-weight: 700; font-size: clamp(18px, 2.2vw, 20px); margin-bottom: 7px; }
.feature-grid p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- What we're not ---------- */
.not { max-width: var(--maxw); margin: 0 auto; padding: var(--section-y) var(--pad); }
.not h2 { font-weight: 800; font-size: clamp(28px, 4vw, 38px); line-height: 1.1; letter-spacing: -.8px; margin-bottom: clamp(24px, 3vw, 32px); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips li {
  padding: 14px 22px;
  border-radius: 100px;
  border: 1px solid var(--line-2);
  font-weight: 600;
  font-size: clamp(15px, 1.9vw, 17px);
  color: #cdbfb3;
}
.chips .chip-accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 700; }

/* ---------- Signup ---------- */
.signup { background: var(--bg-alt); border-top: 1px solid var(--line); }
.signup-inner { max-width: 680px; margin: 0 auto; padding: clamp(56px, 9vw, 90px) var(--pad); }
.signup h2 { font-weight: 800; font-size: clamp(32px, 5vw, 46px); line-height: 1.05; letter-spacing: -1.2px; margin-bottom: 12px; }
.signup .lead { margin-bottom: clamp(28px, 4vw, 36px); }
.signup input[type="email"], .signup textarea { background: var(--bg); border-radius: 12px; }
.signup label.mt { margin-top: 24px; }
.signup .opt { font-weight: 400; color: var(--faint); }
.or { display: flex; align-items: center; gap: 14px; margin: 14px 0 4px; font-weight: 500; font-size: 14px; color: var(--faint); }
.or span { flex: 1; height: 1px; background: rgba(255,255,255,.1); }
#speak-note { margin-top: 10px; }
.speak-status { margin-top: 8px; font-weight: 600; font-size: 15px; line-height: 1.5; color: var(--accent-soft); }

/* ---------- Founding ---------- */
.founding { max-width: var(--maxw); margin: 0 auto; padding: var(--section-y) var(--pad); }
.founding-card {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(219,94,46,.32);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(219,94,46,.09), rgba(219,94,46,.02));
}
.founding-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 26px; }
.kicker { font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.founding-head h2 { font-weight: 800; font-size: clamp(28px, 4vw, 40px); line-height: 1; letter-spacing: -1px; }
.price { font-weight: 600; font-size: 15px; color: var(--muted); }
.price span { font-weight: 800; font-size: clamp(40px, 6vw, 54px); letter-spacing: -2px; color: var(--ink); }
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 28px; margin-bottom: 30px; }
.perks li { position: relative; padding-left: 24px; font-size: clamp(16px, 2vw, 18px); color: var(--text); }
.perks li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.fine.inline { display: inline; margin-left: 16px; }

/* ---------- About ---------- */
.about { background: var(--bg-alt); border-top: 1px solid var(--line); }
.about .measure { max-width: 65ch; margin: 0 auto; padding: var(--section-y) var(--pad); }
.about h2 { font-weight: 800; font-size: clamp(28px, 4vw, 38px); line-height: 1.1; letter-spacing: -.8px; margin-bottom: 24px; }
.about p { font-size: clamp(18px, 2.4vw, 20px); line-height: 1.8; color: #cdbfb3; }
.about p + p { margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 48px) var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.foot-note { display: flex; align-items: center; gap: 11px; font-size: 15px; line-height: 1.5; color: #9a8d80; }
.foot-mark { width: 22px; height: 22px; flex: none; }
.foot-meta { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; font-size: 15px; color: var(--faint); }
.foot-meta a { color: #cdbfb3; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Mobile refinements ---------- */
@media (max-width: 640px) {
  .hero-h { letter-spacing: -1px; }
  .field-row { flex-direction: column; }
  .field-row input, .field-row .btn { width: 100%; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
