:root {
  --navy: #0f1e3a;
  --navy-2: #1b356c;
  --accent: #e36a2c;
  --accent-2: #c9561e;
  --bg: #fafaf7;
  --bg-alt: #f5f1ea;
  --ink: #111827;
  --muted: #5b6477;
  --line: #e6e2d9;
  --ok: #16794b;
  --shadow: 0 10px 30px rgba(15, 30, 58, 0.08);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1180px;
  --max-narrow: 780px;
  --ff-display: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

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

/* ===== Typography ===== */
h1, h2, h3 {
  font-family: var(--ff-display);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 12px; }
.eyebrow {
  font-family: var(--ff-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0 0 10px;
}
.centered { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.accent { color: var(--accent); }
.section-title { margin-bottom: 10px; }
.section-sub {
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--ff-body);
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform .08s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; }
.site-nav { display: flex; align-items: center; }
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-list a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.96rem;
}
.nav-list a:hover { background: var(--bg-alt); color: var(--navy); }
.nav-cta { padding: 10px 18px !important; margin-left: 6px; }
.nav-cta:hover { background: var(--accent-2); color: #fff; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  border-radius: 8px;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
}
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

/* ===== Hero ===== */
.hero {
  padding: 64px 0 56px;
  background:
    radial-gradient(circle at 80% -10%, rgba(227,106,44,0.12), transparent 60%),
    radial-gradient(circle at -10% 110%, rgba(27,53,108,0.08), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-copy .lede {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 28px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-badges {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-badges li strong {
  color: var(--navy);
  font-family: var(--ff-display);
  display: block;
  font-size: 1.02rem;
}
.hero-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}
.section + .section { border-top: 1px solid var(--line); }
.problem { background: var(--bg-alt); border-top: 1px solid var(--line); }
.how     { background: var(--bg); }
.features{ background: var(--bg-alt); }
.gear    { background: var(--bg); }
.pricing { background: var(--bg-alt); }
.legal   { background: var(--bg); }
.audience{ background: var(--bg-alt); }
.faq     { background: var(--bg); }
.contact { background: var(--navy); color: #e7ecf4; }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* ===== Pain cards ===== */
.pain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: 22px 22px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
}
.step img { width: 100%; border-radius: var(--radius-sm); margin: 8px 0 14px; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--ff-display);
}

/* ===== Features grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(227,106,44,0.12);
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* ===== Gear cards ===== */
.gear-cards .gear-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}
.gear-card img {
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  margin-bottom: 16px;
}
.gear-card .price-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--navy);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 1.05rem;
}
.gear-card .price-tag.free {
  background: var(--ok);
  color: #fff;
}
.gear-card-highlight {
  border: 2px solid var(--accent);
  position: relative;
}
.gear-card-highlight::before {
  content: "Most teams use this";
  position: absolute;
  top: -11px;
  left: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.addon-note {
  margin: 28px auto 0;
  max-width: 62ch;
  padding: 14px 20px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.addon-note strong { color: var(--navy); }
.builder-optional {
  grid-column: 1 / -1;
}
.builder-optional span em {
  font-style: normal;
  color: var(--muted);
  font-weight: 400;
}
.bullets {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  color: var(--muted);
}
.bullets li {
  padding: 4px 0 4px 22px;
  position: relative;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 12px;
}
.pricing-example, .pricing-builder {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.pricing-line {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.pricing-line li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 1rem;
}
.pricing-line li strong { font-family: var(--ff-display); color: var(--navy); }
.pricing-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0 6px;
  font-family: var(--ff-display);
}
.pricing-total strong {
  font-size: 1.8rem;
  color: var(--accent);
}
.builder-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0 16px;
}
.builder-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
}
.builder-form label span { color: var(--muted); }
.builder-form input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  font: inherit;
}
.builder-form input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.builder-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0 16px;
  font-family: var(--ff-display);
  border-top: 1px solid var(--line);
}
.builder-total strong {
  font-size: 1.6rem;
  color: var(--accent);
}

/* ===== Legality table ===== */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.legal-table th, .legal-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.legal-table thead th {
  background: var(--bg-alt);
  font-family: var(--ff-display);
  color: var(--navy);
  font-weight: 600;
}
.legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-table .ok {
  color: var(--ok);
  font-weight: 600;
}
.legal-table .partial {
  color: #b45309;
  font-weight: 600;
}

/* ===== Audience ===== */
.audience-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.audience-primary {
  border: 2px solid var(--accent);
  position: relative;
}
.audience-primary::before {
  content: "Most popular";
  position: absolute;
  top: -11px;
  left: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 400;
  line-height: 1;
  transition: transform .15s ease;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

/* ===== Contact ===== */
.contact .section-title { color: #fff; }
.contact .eyebrow { color: var(--accent); }
.contact .section-sub { color: #c3cbdb; }
.contact-form {
  background: #142547;
  border: 1px solid #1e3160;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
  color: #c3cbdb;
  flex: 1;
}
.contact-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #24386a;
  background: #0f1e3a;
  color: #fff;
  font: inherit;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn-primary { align-self: flex-start; }
.contact-form .muted { color: #9aa6bf; }
.contact-form a { color: #fff; text-decoration: underline; }

/* ===== Footer ===== */
.site-footer {
  background: #0a1530;
  color: #c3cbdb;
  padding: 60px 0 24px;
  border-top: 1px solid #1e3160;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand img {
  margin-bottom: 12px;
}
.footer-brand p { max-width: 46ch; }
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
}
.footer-nav a {
  color: #c3cbdb;
  padding: 4px 0;
  display: inline-block;
  font-size: 0.95rem;
}
.footer-nav a:hover { color: var(--accent); }
.footer-contact a { color: #fff; text-decoration: underline; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #1e3160;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .hero { padding: 44px 0 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { order: -1; max-width: 520px; margin: 0 auto; }
  .section { padding: 56px 0; }
  .cards-3, .steps, .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-nav ul { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: inline-flex; }
  .nav-list {
    display: none;
    position: absolute;
    top: 64px;
    left: 12px;
    right: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    gap: 2px;
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 12px 14px; border-radius: 8px; }
  .nav-cta { text-align: center; margin: 6px 0 0; }
}

@media (max-width: 560px) {
  h1 { font-size: 2rem; }
  .hero-copy .lede { font-size: 1.05rem; }
  .contact-form .row-2 { grid-template-columns: 1fr; }
  .builder-form { grid-template-columns: 1fr; }
  .legal-table th, .legal-table td { padding: 12px 14px; font-size: 0.94rem; }
}

/* ===== Honeypot (spam trap — must stay invisible but submittable) ===== */
.contact-form .honeypot,
input.honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* ===== Contact success modal ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 58, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  animation: modal-fade-in 0.18s ease-out;
}
.modal-backdrop[hidden] { display: none; }
.modal-dialog {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
  text-align: center;
}
.modal-dialog h3 {
  font-size: 1.35rem;
  margin: 0 0 10px;
}
.modal-dialog p {
  color: var(--muted);
  margin: 0 0 22px;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq-item summary::after { transition: none; }
  .modal-backdrop { animation: none; }
}
