/* TradeStamp marketing site — Steel & Gold theme (Phase 39C).
   Navy #0F2040, gold #F5A623. Plain CSS, no build step. */

:root {
  --navy: #0f2040;
  --navy-800: #16294d;
  --gold: #f5a623;
  --gold-dark: #d98e15;
  --ink: #1a2233;
  --muted: #5b6478;
  --line: #e5e8ef;
  --bg: #f7f8fb;
  --white: #ffffff;
  --radius: 16px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

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

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 13px 22px; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-800); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ── Header ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--navy); }
.brand .bolt {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; background: var(--navy);
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a.link { font-weight: 500; color: var(--muted); }
.nav-links a.link:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; }

/* ── Hero ────────────────────────────────────────────── */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-800) 100%); color: var(--white); padding: 88px 0 96px; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.hero h1 .gold { color: var(--gold); }
.hero p.lead { margin-top: 20px; font-size: clamp(17px, 2vw, 20px); color: #c7cfe0; max-width: 620px; }
.hero .cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .trust { margin-top: 22px; font-size: 14px; color: #9aa6c2; }

/* ── Sections ────────────────────────────────────────── */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .eyebrow { color: var(--gold-dark); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; letter-spacing: -.01em; margin-top: 8px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 17px; }
.alt { background: var(--bg); }

/* ── Cards / grids ───────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; background: #fdf1dc;
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px;
}
.card h3 { font-size: 18px; font-weight: 700; }
.card p { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* steps */
.step .num {
  width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px;
}

/* ── Pricing ─────────────────────────────────────────── */
.toggle-wrap { display: flex; justify-content: center; margin-bottom: 36px; }
.toggle { display: inline-flex; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 5px; }
.toggle button { border: 0; background: transparent; padding: 9px 18px; border-radius: 8px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--muted); }
.toggle button.active { background: var(--navy); color: var(--white); }
.toggle .save { font-size: 12px; opacity: .85; margin-left: 6px; }

.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--gold); box-shadow: 0 12px 32px rgba(15, 32, 64, .1); }
.price-card .tag { align-self: flex-start; background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.price-card .plan { font-weight: 700; font-size: 17px; }
.price-card .amount { font-size: 36px; font-weight: 800; margin-top: 10px; }
.price-card .amount small { font-size: 15px; font-weight: 500; color: var(--muted); }
.price-card ul { list-style: none; margin: 18px 0 24px; display: grid; gap: 10px; }
.price-card li { font-size: 14px; color: var(--ink); padding-left: 24px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 700; }
.price-card .btn { margin-top: auto; justify-content: center; }

/* ── Who it's for ────────────────────────────────────── */
.audience { text-align: center; }
.audience .ic { margin: 0 auto 14px; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-dark); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin-top: 12px; }

/* ── CTA band ────────────────────────────────────────── */
.cta-band { background: var(--navy); color: var(--white); border-radius: 24px; padding: 56px 32px; text-align: center; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta-band p { color: #c7cfe0; margin-top: 10px; }
.cta-band .btn { margin-top: 24px; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: var(--navy); color: #aab4cd; padding: 56px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: var(--white); }
.site-footer h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.site-footer a { display: block; padding: 5px 0; color: #aab4cd; }
.site-footer a:hover { color: var(--white); }
.foot-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }

/* ── Legal pages ─────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 0; }
.legal h1 { font-size: 34px; font-weight: 800; }
.legal h2 { font-size: 20px; font-weight: 700; margin-top: 32px; }
.legal p, .legal li { color: var(--muted); margin-top: 12px; }
.legal ul { padding-left: 22px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
    position: absolute; top: 68px; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--line); padding: 18px 20px;
  }
  .nav-toggle { display: block; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 64px 0 72px; }
}
