@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@500;600;700;800&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --ink: #14171f;
  --paper: #f5f4f0;
  --gold: #f7c600;
  --gold-dark: #d9ac00;
  --forest: #2f5d46;
  --card: #ffffff;
  --muted: #6b6f7a;
  --line: #e2e0d8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2 { font-family: 'Unbounded', 'Manrope', sans-serif; letter-spacing: -0.01em; }

a { color: inherit; }

.figure { font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; }

:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ---------- Hero ---------- */
.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 20px 40px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 16px;
}
.hero p.lead {
  max-width: 520px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 17px;
}
.hero-bullets {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: 0 0 32px;
  padding: 0;
  font-size: 14px;
}
.hero-bullets li { display: flex; align-items: center; gap: 6px; }
.hero-bullets .check { color: var(--forest); }
.hero-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 999px;
  box-shadow: 0 2px 0 rgba(20,23,31,0.15);
  transition: background-color .15s ease;
}
.hero-cta:hover { background: var(--gold-dark); }

@media (min-width: 640px) {
  .hero h1 { font-size: 56px; }
}

/* ---------- Offers ---------- */
.offers-section { padding: 12px 20px 48px; }
.offers-head {
  max-width: 1100px;
  margin: 0 auto 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.offers-head h2 { font-size: 26px; font-weight: 800; margin: 0; }
.offers-count { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--muted); white-space: nowrap; }

.offers-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) { .offers-grid { gap: 16px; } }
@media (min-width: 768px) { .offers-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .offers-grid { grid-template-columns: repeat(4, 1fr); } }

.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(20,23,31,0.04), 0 8px 24px -12px rgba(20,23,31,0.18);
}
.offer-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.offer-logo-wrap {
  width: 64px; height: 64px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px;
}
.offer-logo { width: 100%; height: 100%; object-fit: contain; }
.offer-logo-fallback { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 16px; color: var(--ink); }
.offer-name { font-weight: 700; font-size: 15px; line-height: 1.25; color: var(--ink); }
.offer-usp {
  display: flex; align-items: center; gap: 8px;
  background: rgba(47,93,70,0.1); border-radius: 12px; padding: 10px 12px; margin-bottom: 14px;
}
.offer-usp svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--forest); }
.offer-usp span { font-size: 12px; font-weight: 500; color: var(--forest); }
.offer-metrics {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-bottom: 16px;
}
.offer-metric {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
  padding: 10px 4px; text-align: center;
}
.offer-metric b { font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.offer-metric span { font-size: 11px; color: var(--muted); }
.offer-spacer { flex: 1; }
.offer-cta {
  min-height: 46px; display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--ink); font-weight: 700; font-size: 14px;
  text-decoration: none; border-radius: 999px; padding: 0 12px; transition: background-color .15s ease;
  text-align: center;
}
.offer-cta:hover { background: var(--gold-dark); }
.offer-redirect-note { margin: 8px 0 0; font-size: 11px; color: var(--muted); text-align: center; }

.tip-box-desktop { display: none; justify-content: center; margin-bottom: 24px; }
.tip-box-mobile { grid-column: 1 / -1; }
.tip-box { display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--line); background: rgba(47,93,70,0.05); border-radius: 16px; padding: 16px; width: 100%; }
.tip-box svg { flex-shrink: 0; margin-top: 2px; color: var(--forest); width: 20px; height: 20px; }
.tip-box p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--ink); }
.tip-box b { font-weight: 600; }
@media (min-width: 768px) {
  .tip-box-desktop { display: flex; }
  .tip-box-mobile { display: none; }
  .tip-box-desktop .tip-box { max-width: 560px; }
  .offer-logo-wrap { width: 88px; height: 88px; padding: 10px; }
}

.offers-disclaimer { max-width: 700px; margin: 24px auto 0; font-size: 18px; line-height: 1.6; color: var(--muted); }

@media (max-width: 400px) {
  .offer-card { padding: 12px; }
  .offer-name { font-size: 14px; }
}

/* ---------- How it works ---------- */
.how-section { padding: 12px 20px 48px; }
.how-section h2 { max-width: 1100px; margin: 0 auto 32px; font-size: 26px; font-weight: 800; }
.how-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 640px) { .how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .how-grid { grid-template-columns: repeat(4, 1fr); } }
.how-step .num { font-family: 'JetBrains Mono', monospace; font-size: 30px; font-weight: 700; color: var(--gold-dark); display: block; }
.how-step h3 { font-family: 'Unbounded', sans-serif; font-size: 16px; font-weight: 600; margin: 8px 0 6px; }
.how-step p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0; }

/* ---------- Trust ---------- */
.trust-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.trust-grid {
  max-width: 1100px; margin: 0 auto; padding: 48px 20px;
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-item { display: flex; align-items: flex-start; gap: 14px; }
.trust-icon {
  flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px;
  color: var(--forest);
}
.trust-item h3 { font-family: 'Unbounded', sans-serif; font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.trust-item p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0; }

/* ---------- FAQ / License accordions ---------- */
.faq-section, .lic-section { max-width: 700px; margin: 0 auto; padding: 48px 20px; }
.lic-section { max-width: 800px; }
.faq-section h2, .lic-section h2 { font-size: 26px; font-weight: 800; margin: 0 0 8px; }
.lic-section .lic-intro { font-size: 14px; color: var(--muted); margin: 0 0 24px; max-width: 640px; }

.faq-item, .lic-item {
  border-top: 1px solid var(--line);
  padding: 14px 4px;
}
.faq-section, .lic-section { }
.faq-item:first-of-type, .lic-item:first-of-type { border-top: none; }
.faq-item summary, .lic-item summary {
  cursor: pointer; list-style: none; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker, .lic-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.faq-item .plus { color: var(--muted); transition: transform .15s ease; flex-shrink: 0; }
.faq-item[open] .plus { transform: rotate(45deg); }
.lic-item .chev { color: var(--muted); transition: transform .15s ease; flex-shrink: 0; }
.lic-item[open] .chev { transform: rotate(180deg); }

.lic-body {
  margin: 12px 0 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 24px;
}
.lic-row { display: flex; justify-content: space-between; gap: 8px; }
.lic-row--wide { grid-column: 1 / -1; }
.lic-row dt { flex-shrink: 0; }
.lic-row dd { margin: 0; text-align: right; color: var(--ink); }

.faq-section, .lic-section, .faq-item, .lic-item { }
.faq-section .faq-item, .lic-section .lic-item {
  background: var(--card);
}
.faq-section, .lic-section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 20px 20px;
}
.faq-section h2, .lic-section h2 { padding-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(245,244,240,0.8); border-top: 1px solid var(--line); }
.site-footer .wrap { padding: 40px 20px; max-width: 800px; font-size: 12px; line-height: 1.6; }
.site-footer p { margin: 0 0 12px; }
.site-footer .legal-name { color: var(--paper); }
.site-footer .bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid rgba(245,244,240,0.15); padding-top: 20px; margin-top: 24px;
  color: rgba(245,244,240,0.6);
}
.site-footer .bottom a { text-decoration: underline; text-underline-offset: 2px; }
