:root {
  --bg: #f6f0e5;
  --paper: #fffdf8;
  --ink: #132220;
  --muted: #5a6b66;
  --line: #d9cfbf;
  --agave: #0b3a30;
  --agave-2: #125445;
  --lime: #c7f36d;
  --terracotta: #c76537;
  --sand: #efe4d1;
  --shadow: 0 18px 48px rgba(11, 58, 48, 0.12);
  --radius: 18px;
  --max: 1160px;
  --focus: #0d7a5f;
  --heading-font: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  --body-font: "Verdana", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 8%, rgba(199, 243, 109, 0.18), transparent 46%),
    radial-gradient(circle at 8% 12%, rgba(199, 101, 55, 0.1), transparent 40%),
    var(--bg);
  line-height: 1.55;
}

a {
  color: var(--agave);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 0.6rem 0.8rem;
  background: var(--paper);
  border: 1px solid var(--line);
  z-index: 9999;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  position: relative;
  padding: 1rem 0 1.5rem;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11, 58, 48, 0.96), rgba(18, 84, 69, 0.92) 55%, rgba(199, 101, 55, 0.88)),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.05) 0 2px,
      rgba(255, 255, 255, 0) 2px 16px
    );
  transform: translateY(-18%);
  height: 120%;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1rem;
  align-items: start;
  padding-top: 0.75rem;
}

.hero-copy,
.hero-panel {
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
}

.hero-copy {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 238, 0.96));
  padding: 1.3rem;
}

.hero-panel {
  background: rgba(8, 30, 26, 0.78);
  color: #f8f5ee;
  padding: 1.1rem;
}

.hero-panel h2 {
  margin: 0 0 0.65rem;
  font: 700 1rem/1.25 var(--heading-font);
}

.eyebrow {
  margin: 0 0 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--agave-2);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), var(--terracotta));
  box-shadow: 0 0 0 4px rgba(199, 243, 109, 0.18);
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--heading-font);
  font-size: clamp(1.7rem, 4vw, 2.65rem);
  line-height: 1.1;
  text-wrap: balance;
}

.lead {
  margin: 0;
  color: #243532;
  font-size: 1rem;
}

.hero-meta {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-meta span {
  background: rgba(11, 58, 48, 0.06);
  border: 1px solid rgba(11, 58, 48, 0.08);
  border-radius: 999px;
  padding: 0.38rem 0.65rem;
  font-size: 0.86rem;
}

.cta-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 0.82rem 1rem;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.cta-primary {
  color: #0f201d;
  background: linear-gradient(135deg, var(--lime), #9bda4f);
  box-shadow: 0 10px 20px rgba(157, 218, 79, 0.24);
}

.cta-primary:hover {
  box-shadow: 0 14px 26px rgba(157, 218, 79, 0.3);
}

.cta-secondary {
  color: #f4fff6;
  background: linear-gradient(135deg, var(--agave), #0f5b4a);
  box-shadow: 0 10px 20px rgba(11, 58, 48, 0.24);
}

.cta-secondary:hover {
  box-shadow: 0 14px 26px rgba(11, 58, 48, 0.3);
}

.cta-large {
  min-height: 52px;
  width: 100%;
  max-width: 340px;
}

.anchor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--agave);
  border: 1px solid rgba(11, 58, 48, 0.14);
  background: rgba(11, 58, 48, 0.03);
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  font-weight: 700;
}

.disclosure {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(248, 245, 238, 0.96);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--lime);
}

.score-card {
  margin-top: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 0.8rem;
}

.score-label {
  margin: 0;
  color: rgba(248, 245, 238, 0.75);
  font-size: 0.82rem;
}

.score-value {
  margin: 0.35rem 0 0;
  font-weight: 700;
  line-height: 1.25;
}

.subnav {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-top: -0.45rem;
  backdrop-filter: blur(7px);
  background: rgba(246, 240, 229, 0.78);
  border-bottom: 1px solid rgba(11, 58, 48, 0.08);
}

.subnav-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.65rem 0 0.55rem;
}

.subnav a {
  text-decoration: none;
  color: var(--agave);
  border: 1px solid rgba(11, 58, 48, 0.1);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  font-size: 0.88rem;
  font-weight: 700;
}

main.container {
  padding-block: 1rem 2.4rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem;
  margin-bottom: 1rem;
}

.card.accent {
  background:
    linear-gradient(180deg, rgba(199, 243, 109, 0.09), rgba(255, 253, 248, 1) 45%),
    var(--paper);
}

.section-head {
  margin-bottom: 0.75rem;
}

.kicker {
  margin: 0 0 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  color: var(--agave-2);
  font-weight: 700;
}

.section-head h2 {
  margin: 0;
  font-family: var(--heading-font);
  line-height: 1.15;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  text-wrap: balance;
}

.card p {
  margin: 0.7rem 0;
}

.grid-two {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.85rem;
  align-items: start;
}

.grid-two.compact {
  grid-template-columns: 1fr 1fr;
  margin-top: 0.7rem;
}

.info-stack {
  display: grid;
  gap: 0.7rem;
}

.mini-card {
  background: #fff8ee;
  border: 1px solid #e7dbc8;
  border-radius: 14px;
  padding: 0.85rem;
}

.mini-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--heading-font);
  font-size: 1rem;
  line-height: 1.2;
}

.mini-card p {
  margin: 0;
  color: #30423d;
  font-size: 0.92rem;
}

.callout {
  margin: 0.85rem 0 0;
  background: rgba(11, 58, 48, 0.05);
  border: 1px solid rgba(11, 58, 48, 0.12);
  border-radius: 14px;
  padding: 0.85rem;
}

.callout.neutral {
  background: rgba(199, 101, 55, 0.06);
  border-color: rgba(199, 101, 55, 0.18);
}

.callout p {
  margin: 0;
}

.cta-block {
  margin-top: 0.9rem;
  padding: 0.85rem;
  border: 1px dashed rgba(11, 58, 48, 0.2);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(239, 228, 209, 0.35));
}

.cta-block p {
  margin: 0 0 0.6rem;
  color: #2f423d;
}

.steps {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.85rem;
}

.steps h3 {
  margin: 0 0 0.2rem;
  font-family: var(--heading-font);
  font-size: 1rem;
  line-height: 1.2;
}

.steps p {
  margin: 0;
}

.table-wrap {
  margin-top: 0.85rem;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background: #fff;
}

th,
td {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid #eadfcd;
  vertical-align: top;
}

thead th {
  background: #f1e7d7;
  font-size: 0.9rem;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.panel-list {
  border-radius: 14px;
  padding: 0.9rem;
  border: 1px solid;
}

.panel-list h3 {
  margin: 0 0 0.55rem;
  font-family: var(--heading-font);
}

.panel-list ul {
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.35rem;
}

.panel-list.pros {
  background: rgba(199, 243, 109, 0.12);
  border-color: rgba(11, 58, 48, 0.12);
}

.panel-list.cons {
  background: rgba(199, 101, 55, 0.08);
  border-color: rgba(199, 101, 55, 0.16);
}

details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.2rem 0.85rem 0.85rem;
  margin-bottom: 0.65rem;
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 0.7rem 0;
  font-weight: 700;
  color: var(--agave);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: var(--terracotta);
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0.2rem 0 0;
  color: #2d403b;
}

.sources .source-list {
  margin: 0.7rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
}

.sources .source-list a {
  word-break: break-word;
}

.small-note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.final-cta {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(11, 58, 48, 0.16);
  background:
    radial-gradient(circle at 85% 20%, rgba(199, 243, 109, 0.24), transparent 46%),
    linear-gradient(135deg, #fff9ef, #f1eadf);
  border-radius: calc(var(--radius) + 2px);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.final-cta-inner h2 {
  margin: 0.15rem 0 0.45rem;
  font-family: var(--heading-font);
  line-height: 1.15;
}

.final-cta-inner p {
  margin: 0;
}

.cta-stack {
  display: grid;
  gap: 0.55rem;
  justify-items: start;
}

.site-footer {
  border-top: 1px solid rgba(11, 58, 48, 0.1);
  background: rgba(11, 58, 48, 0.03);
  padding: 1.1rem 0 1.8rem;
}

.footer-grid {
  display: grid;
  gap: 0.35rem;
}

.site-footer p {
  margin: 0;
  color: #364a45;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .hero-grid,
  .grid-two,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    order: -1;
  }

  .grid-two.compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--max), calc(100% - 1rem));
  }

  .hero {
    padding-top: 0.55rem;
  }

  .hero-copy,
  .hero-panel,
  .card,
  .final-cta-inner {
    border-radius: 14px;
  }

  .hero-copy,
  .hero-panel,
  .card {
    padding: 0.95rem;
  }

  .subnav-wrap {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.55rem;
    scrollbar-width: thin;
  }

  .subnav a {
    white-space: nowrap;
  }

  .cta-row {
    align-items: stretch;
  }

  .cta-row .cta,
  .cta-row .anchor-btn,
  .cta-block .cta {
    width: 100%;
  }

  .cta-stack {
    justify-items: stretch;
  }

  .steps {
    padding-left: 1rem;
  }

  .table-wrap {
    margin-inline: -0.15rem;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background:
      radial-gradient(circle at 90% 8%, rgba(199, 243, 109, 0.1), transparent 42%),
      radial-gradient(circle at 8% 12%, rgba(199, 101, 55, 0.08), transparent 36%),
      #101817;
    color: #eff3ee;
  }

  a {
    color: #c3f06a;
  }

  .hero-copy {
    background: linear-gradient(180deg, rgba(23, 31, 30, 0.95), rgba(17, 24, 23, 0.93));
    color: #f2f6f2;
    border-color: rgba(255, 255, 255, 0.08);
  }

  .lead,
  .disclosure {
    color: #c6d3cf;
  }

  .eyebrow {
    color: #d7f7a0;
  }

  .hero-meta span {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
  }

  .anchor-btn {
    color: #eff3ee;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .subnav {
    background: rgba(16, 24, 23, 0.78);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .subnav a {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.07);
    color: #e6efe8;
  }

  .card,
  .final-cta-inner {
    background: #161f1e;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }

  .card.accent {
    background:
      linear-gradient(180deg, rgba(199, 243, 109, 0.07), rgba(22, 31, 30, 1) 42%),
      #161f1e;
  }

  .mini-card {
    background: #1a2523;
    border-color: rgba(255, 255, 255, 0.08);
  }

  .mini-card p,
  details p,
  .cta-block p,
  .site-footer p,
  .small-note {
    color: #b5c4be;
  }

  .callout {
    background: rgba(195, 240, 106, 0.06);
    border-color: rgba(195, 240, 106, 0.12);
  }

  .callout.neutral {
    background: rgba(199, 101, 55, 0.08);
    border-color: rgba(199, 101, 55, 0.14);
  }

  .cta-block {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .table-wrap {
    border-color: rgba(255, 255, 255, 0.08);
  }

  table {
    background: #161f1e;
  }

  thead th {
    background: #1d2927;
  }

  th,
  td {
    border-bottom-color: rgba(255, 255, 255, 0.07);
  }

  .panel-list.pros {
    background: rgba(199, 243, 109, 0.06);
    border-color: rgba(199, 243, 109, 0.12);
  }

  .panel-list.cons {
    background: rgba(199, 101, 55, 0.07);
    border-color: rgba(199, 101, 55, 0.14);
  }

  details {
    background: #141c1c;
    border-color: rgba(255, 255, 255, 0.08);
  }

  summary {
    color: #d3ef9a;
  }

  .final-cta-inner {
    background:
      radial-gradient(circle at 85% 20%, rgba(199, 243, 109, 0.12), transparent 46%),
      linear-gradient(135deg, #151f1d, #1a2523);
  }

  .site-footer {
    border-top-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
  }
}
