/* GearPost website — brand palette + shared styles. */
:root {
  --orange: #f2a02a;
  --orange-dark: #d98818;
  --ink: #242b33;
  --ink-soft: #3a444f;
  --cream: #f4ecd8;
  --paper: #faf8f1;
  --green: #1b5e20;
  --green-dark: #134618;
  --muted: #6b7280;
  --line: #e6e1d4;
  --radius: 14px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 248, 241, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand svg { width: 32px; height: 32px; display: block; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--ink-soft); font-weight: 500; }
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--green-dark); text-decoration: none; color: #fff; }
.btn-lg { padding: 15px 30px; font-size: 18px; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: #fff; color: var(--ink); }

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

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(242, 160, 42, 0.18), transparent 60%),
    var(--paper);
  padding: 80px 0 64px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  color: var(--ink-soft);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 16ch;
}
.hero p.lead {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 0 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-title {
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 48px;
  font-size: 18px;
}
.alt { background: #fff; border-block: 1px solid var(--line); }

/* ---------- Feature grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.alt .card { background: var(--paper); }
.card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--cream);
  display: grid; place-items: center;
  margin-bottom: 16px;
  font-size: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--ink-soft); }

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: var(--orange);
  box-shadow: 0 12px 32px rgba(242, 160, 42, 0.18);
}
.plan .tag {
  align-self: flex-start;
  background: var(--orange);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.plan h3 { margin: 0 0 6px; font-size: 20px; }
.plan .price { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.plan .price span { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; }
.plan li {
  padding: 7px 0 7px 26px;
  position: relative;
  color: var(--ink-soft);
}
.plan li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--green);
  font-weight: 800;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 36px); margin: 0 0 12px; }
.cta-band p { color: #c9d1d9; max-width: 50ch; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #aeb6bf;
  padding: 48px 0 32px;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.site-footer .brand { color: #fff; }
.site-footer a { color: #aeb6bf; }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-bottom {
  border-top: 1px solid #36404a;
  margin-top: 32px;
  padding-top: 20px;
  font-size: 14px;
  color: #7c858f;
}

/* ---------- Legal / long-form pages ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.legal h1 { font-size: 36px; letter-spacing: -0.02em; margin: 0 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 32px; }
.legal h2 {
  font-size: 22px;
  margin: 36px 0 12px;
  padding-top: 8px;
}
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .toc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0 8px;
}
.legal .toc ul { margin: 8px 0 0; }
.legal .callout {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 15px;
}
.back-link { display: inline-block; margin-bottom: 24px; font-weight: 600; }
