/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --base: #0E3B36;
  --deep: #082622;
  --accent: #E9A93C;
  --accent2: #57C2A8;
  --surface: #F7F4EC;
  --ink: #12211F;
  --muted: #5E706C;

  --radius: 14px;
  --container: 1120px;

  --font-heading: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  --font-body: Verdana, Geneva, 'DejaVu Sans', sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--surface);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent2);
  text-decoration: underline;
}

a:hover {
  color: var(--accent);
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

ul, ol {
  list-style: none;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--base);
  line-height: 1.25;
}

h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
}

h3 {
  font-size: 1.2rem;
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
  color: var(--base);
}

p {
  margin-bottom: 1rem;
}

strong {
  font-weight: 700;
  color: var(--ink);
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ============================================================
   UTILITY STRIP
   ============================================================ */
.utility-strip {
  background-color: var(--deep);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 1rem;
  letter-spacing: 0.03em;
}

.utility-strip span {
  color: var(--muted);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background-color: var(--base);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(8, 38, 34, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* LOGO WORDMARK */
.logo {
  flex-shrink: 0;
}

.logo a {
  text-decoration: none;
  color: inherit;
}

.logo a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.logo-mark {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.05em;
  background: linear-gradient(135deg, var(--deep) 0%, var(--base) 100%);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.15em 0.55em;
  line-height: 1;
}

.logo-accent {
  color: var(--accent);
}

/* NAV */
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.1rem;
  list-style: none;
}

.main-nav a {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: 0.4em 0.65em;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.main-nav a:hover {
  color: var(--accent);
  background: rgba(233, 169, 60, 0.12);
}

.main-nav a.active {
  color: var(--accent);
  background: rgba(233, 169, 60, 0.18);
}

.main-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================================
   BONUS BANNER
   ============================================================ */
.bonus-banner {
  background: linear-gradient(135deg, var(--deep) 0%, var(--base) 60%, #154a43 100%);
  padding: 3rem 1rem;
  text-align: center;
}

.bonus-banner--mid {
  background: linear-gradient(135deg, #0a2e29 0%, #0E3B36 50%, #154a43 100%);
  margin-top: 2rem;
}

.bonus-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.bonus-banner__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent2);
  margin-bottom: 0;
}

.bonus-banner__headline {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  max-width: 700px;
  margin: 0;
  line-height: 1.25;
}

.bonus-banner__fine {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0;
  max-width: 500px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-cta {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.75em 2em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-cta:hover {
  background: var(--accent);
  color: var(--deep);
  box-shadow: 0 4px 18px rgba(233, 169, 60, 0.4);
}

.btn-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.btn-cta:active {
  transform: translateY(1px);
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

/* ============================================================
   STEPS LIST
   ============================================================ */
.steps-list {
  list-style: none;
  counter-reset: steps;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.steps-list li {
  counter-increment: steps;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: #fff;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 1px 6px rgba(14, 59, 54, 0.07);
}

.steps-list li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 1.8em;
  height: 1.8em;
  background: var(--accent);
  color: var(--deep);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   CHECKLIST
   ============================================================ */
.checklist {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.checklist li {
  padding: 0.6rem 1rem 0.6rem 2.8rem;
  position: relative;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(87, 194, 168, 0.25);
  font-size: 0.93rem;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  background: var(--accent2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checklist li::after {
  content: '';
  position: absolute;
  left: 1.28rem;
  top: 50%;
  transform: translateY(-56%) rotate(45deg);
  width: 0.35em;
  height: 0.6em;
  border-right: 2px solid var(--deep);
  border-bottom: 2px solid var(--deep);
}

/* ============================================================
   TABLES
   ============================================================ */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  box-shadow: 0 1px 8px rgba(14, 59, 54, 0.09);
}

.data-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.88rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.data-table thead tr {
  background: var(--base);
}

.data-table thead th {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--deep);
}

.data-table tbody tr {
  border-bottom: 1px solid rgba(94, 112, 108, 0.2);
}

.data-table tbody tr:last-child {
  border-bottom: none;
}

.data-table tbody td {
  padding: 0.75rem 1rem;
  color: var(--ink);
  vertical-align: top;
}

/* ============================================================
   CARDS
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.card {
  background: #fff;
  border: 1.5px solid rgba(87, 194, 168, 0.35);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.4rem;
  box-shadow: 0 2px 10px rgba(14, 59, 54, 0.07);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 6px 22px rgba(14, 59, 54, 0.13);
  transform: translateY(-2px);
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--base);
  margin-top: 0;
  margin-bottom: 0.65rem;
}

.card p {
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 0;
  line-height: 1.65;
}

/* ============================================================
   FAQ ACCORDION — CSS-ONLY HIDDEN CHECKBOX TECHNIQUE
   ============================================================ */
.faq {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  background: #fff;
  border: 1.5px solid rgba(94, 112, 108, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Hide the checkbox */
.faq-toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Question label */
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--base);
  cursor: pointer;
  user-select: none;
  gap: 1rem;
  transition: background 0.2s, color 0.2s;
  position: relative;
}

.faq-question:hover {
  background: rgba(14, 59, 54, 0.04);
  color: var(--accent);
}

/* Plus sign via CSS pseudo-element */
.faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 1.2em;
  height: 1.2em;
  position: relative;
  display: block;
}

/* Draw plus: horizontal bar */
.faq-question::before {
  content: '';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1em;
  height: 2px;
  background: var(--accent);
  transition: transform 0.25s;
}

/* Vertical bar of plus — nested pseudo hack via box-shadow */
.faq-question::after {
  content: '';
  position: absolute;
  right: calc(1.25rem + 0.375em - 1px);
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 1em;
  background: var(--accent);
  transition: transform 0.25s, opacity 0.25s;
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 1.25rem 1.1rem;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0;
  line-height: 1.7;
}

/* Open state */
.faq-toggle:checked ~ .faq-question {
  background: rgba(14, 59, 54, 0.05);
  color: var(--accent);
  border-bottom: 1px solid rgba(94, 112, 108, 0.18);
}

/* Minus — hide vertical bar */
.faq-toggle:checked ~ .faq-question::after {
  transform: translateY(-50%) rotate(90deg);
  opacity: 0;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 600px;
}

/* Focus visible on label for keyboard a11y */
.faq-toggle:focus-visible ~ .faq-question {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--deep);
  color: var(--muted);
  padding: 2.5rem 1rem 1.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
}

.footer-nav a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 0;
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(94, 112, 108, 0.65);
  margin-bottom: 0;
}

/* ============================================================
   640px BREAKPOINT
   ============================================================ */
@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .bonus-banner {
    padding: 3.5rem 1.5rem;
  }

  .bonus-banner__headline {
    font-size: 2rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav a {
    font-size: 0.85rem;
  }

  .footer-inner {
    gap: 1.5rem;
  }
}

/* ============================================================
   1024px BREAKPOINT
   ============================================================ */
@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .utility-strip {
    padding: 0.35rem 2rem;
    font-size: 0.75rem;
  }

  .header-inner {
    flex-wrap: nowrap;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .logo-mark {
    font-size: 2rem;
  }

  .main-nav ul {
    flex-wrap: nowrap;
    gap: 0.1rem;
  }

  .main-nav a {
    font-size: 0.82rem;
    padding: 0.45em 0.75em;
  }

  .bonus-banner {
    padding: 4.5rem 2rem;
  }

  .bonus-banner__headline {
    font-size: 2.4rem;
  }

  .bonus-banner__eyebrow {
    font-size: 0.9rem;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .main-content {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 1rem 2.5rem;
    align-items: start;
  }

  .footer-logo {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    padding-top: 0.1rem;
  }

  .footer-nav {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-disclaimer {
    grid-column: 2;
    grid-row: 2;
  }

  .footer-copy {
    grid-column: 1 / 3;
    grid-row: 3;
    border-top: 1px solid rgba(94, 112, 108, 0.2);
    padding-top: 0.75rem;
    margin-top: 0.25rem;
  }

  .steps-list li {
    padding: 1rem 1.25rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 1.1rem 1.5rem;
  }

  .faq-question::before {
    right: 1.5rem;
  }

  .faq-question::after {
    right: calc(1.5rem + 0.375em - 1px);
  }

  .faq-answer p {
    padding: 0 1.5rem 1.25rem;
  }
}

/* ============================================================
   ACCESSIBLE FOCUS GLOBAL CATCH-ALL
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}