/* Chargeback Packet - ChargebackKit-inspired navy + green system */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --navy: #16283F;
  --navy-deep: #0f1f33;
  --navy-mid: #1c3554;
  --green: #19D085;
  --green-hover: #15b874;
  --green-alt: #22c55e;
  --ink: #0f172a;
  --muted: #475569;
  --muted-light: #64748b;
  --rule: #e2e8f0;
  --rule-soft: #f1f5f9;
  --white: #ffffff;
  --bg: #ffffff;
  --card-shadow: 0 1px 3px rgba(15, 31, 51, 0.06), 0 1px 2px rgba(15, 31, 51, 0.04);
  --card-shadow-hover: 0 8px 24px rgba(15, 31, 51, 0.08);
  --radius: 999px;
  --radius-card: 12px;
  --wrap: 1080px;
  --nav-h: 64px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: var(--navy); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
h3 { font-size: 1.05rem; font-weight: 650; }

.muted { color: var(--muted); }

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}
.section.tight { padding: 64px 0; }
.section.light { background: var(--bg); }
.section.soft { background: var(--rule-soft); }

.section-label {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 12px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ========== NAV ========== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0 auto 0 28px;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  text-decoration: none;
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.nav-cta { flex-shrink: 0; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--green);
  color: var(--navy-deep);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
  color: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--rule);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--rule-soft);
  color: var(--navy);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: rgba(255,255,255,0.35);
}
.btn-secondary:hover {
  background: var(--rule-soft);
  color: var(--navy);
}

.btn-block { width: 100%; }

.text-link {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  min-height: auto;
}
.text-link:hover { color: #fff; }
.text-link.dark {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.text-link.dark:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
  justify-content: center;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ========== HERO (centered navy) ========== */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 72px 0 80px;
  text-align: center;
}
.hero.mini {
  padding: 56px 0 64px;
}
.hero-copy {
  max-width: 720px;
  margin: 0 auto;
}
.hero h1 {
  color: #fff;
  max-width: 18ch;
  margin: 0 auto;
}
.hero.mini h1 {
  max-width: 22ch;
  font-size: clamp(1.85rem, 3.8vw, 2.6rem);
}
.hero .lede {
  margin: 18px auto 0;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 52ch;
  line-height: 1.65;
  font-weight: 400;
}
.hero-actions { margin-top: 28px; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 28px;
  list-style: none;
  padding: 0;
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
}
.trust-row .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(25, 208, 133, 0.2);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.trust-row.dark li { color: var(--muted); }
.trust-row.dark .check {
  background: rgba(25, 208, 133, 0.12);
  color: var(--green-alt);
}

.hero-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}
.hero-note a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: var(--radius);
  background: rgba(25, 208, 133, 0.12);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ========== VALUE PROPS ========== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 28px 24px;
  text-align: center;
}
.value-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(25, 208, 133, 0.12);
  color: var(--green-alt);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.value-card h3 { margin-bottom: 8px; color: var(--ink); }
.value-card p { color: var(--muted); font-size: 0.95rem; }

/* ========== CHIP BAND ========== */
.chip-band {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.chip-band .section-label {
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
}
.chips li {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ========== HOW IT WORKS ========== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin-top: 8px;
}
.steps-grid li {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 28px 24px;
}
.steps-grid .step-num {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green-alt);
  margin-bottom: 12px;
}
.steps-grid strong {
  display: block;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.steps-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.steps-list {
  list-style: none;
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}
.steps-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.steps-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.steps-list .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(25, 208, 133, 0.12);
  color: var(--green-alt);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.steps-list strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ink);
}
.steps-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ========== CARDS / GRIDS ========== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.panel,
.price-card,
.feature-card,
.notice,
.upgrade-quiet,
.faq details,
.compare-details {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
}

.panel { padding: 28px 24px; }
.panel > h2 { margin-bottom: 12px; }
.panel > h3 { margin-bottom: 8px; }

.feature-card {
  padding: 24px 20px;
  text-align: left;
}
.feature-card .feat-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green-alt);
  margin-bottom: 10px;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.92rem; }

.price-card {
  padding: 32px 28px;
  text-align: center;
}
.price-card.featured {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), var(--card-shadow-hover);
}
.price-card .price-label {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 8px;
}
.price-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.price-card .price {
  margin: 8px 0 12px;
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy);
}
.price-card .for-who {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36ch;
  margin: 0 auto 8px;
}
.card-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.checklist {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 16px 0 0;
  text-align: left;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-size: 0.95rem;
}
.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(25, 208, 133, 0.12);
  color: var(--green-alt);
  font-weight: 700;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 18px;
  text-align: center;
}

.plain-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--ink);
}
.plain-list li { margin: 8px 0; color: var(--muted); }
.plain-list li::marker { color: var(--green-alt); }

/* ========== PRODUCT LAYOUT ========== */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  max-width: 720px;
  margin: 0 auto;
}
.stack { display: grid; gap: 20px; }

.pricing-inline {
  max-width: 420px;
  margin: 0 auto;
}

.reason-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 0.92rem;
}
.reason-table th,
.reason-table td {
  border: 1px solid var(--rule);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.reason-table th {
  background: var(--rule-soft);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 650;
  width: 28%;
  color: var(--ink);
}
.reason-table td { color: var(--muted); }

.faq details { padding: 16px 18px; box-shadow: none; }
.faq details + details { margin-top: 10px; }
.faq summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--muted-light);
  font-weight: 700;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.compare-details {
  padding: 16px 18px;
  box-shadow: none;
  background: var(--rule-soft);
}
.compare-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.compare-details .compare-links {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.compare-details a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.compare-details a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice {
  color: var(--muted);
  padding: 18px 20px;
  font-size: 0.92rem;
  box-shadow: none;
  background: var(--rule-soft);
}
.notice strong { color: var(--ink); }

.upgrade-quiet {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 0.92rem;
  box-shadow: none;
  background: var(--rule-soft);
}
.upgrade-quiet a {
  color: var(--navy);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ========== FREE TOOLS ========== */
.tools-list {
  list-style: none;
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.tools-list a {
  display: block;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.tools-list a:hover {
  border-color: #cbd5e1;
  box-shadow: var(--card-shadow-hover);
}
.tools-list a span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.88rem;
}

/* ========== CTA BAND ========== */
.cta-band {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 {
  color: #fff;
  max-width: 20ch;
  margin: 0 auto;
}
.cta-band p {
  margin: 14px auto 0;
  color: rgba(255,255,255,0.78);
  max-width: 44ch;
  font-size: 1.05rem;
}
.cta-band .hero-actions { margin-top: 28px; }

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding: 36px 0;
  font-size: 0.88rem;
}
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  align-items: center;
}
.footer a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-buybar { display: none; }

/* Legacy aliases kept for any leftover markup */
.doc-block { display: none; }
.deadline-callout { display: none; }
.compare-table { width: 100%; border-collapse: collapse; }
.btn-secondary.on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}

@media (max-width: 900px) {
  .value-grid,
  .steps-grid,
  .grid-3,
  .grid-4,
  .grid-2,
  .tools-list { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero h1 { max-width: none; }
}

@media (max-width: 640px) {
  .wrap { width: auto; margin-left: 20px; margin-right: 20px; }
  .hero { padding: 48px 0 56px; }
  .hero.mini { padding: 40px 0 48px; }
  .section { padding: 56px 0; }
  .section.tight { padding: 48px 0; }
  .hero-actions, .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-actions .btn,
  .actions .btn {
    width: 100%;
    white-space: normal;
  }
  .site-nav .btn {
    width: auto;
    min-height: 36px;
    padding: 6px 14px;
    font-size: 0.85rem;
  }
  .trust-row {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  body { padding-bottom: 72px; }
  .mobile-buybar {
    position: fixed;
    right: 0; bottom: 0; left: 0;
    z-index: 50;
    display: block;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: var(--navy);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }
  .mobile-buybar .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
