:root {
  --bg: #ffffff;
  --surface: #f7f8f4;
  --surface-muted: #e8ebe6;
  --surface-accent: #e2f6d5;
  --surface-accent-strong: #cdffad;
  --text: #0e0f0c;
  --text-muted: #454745;
  --text-subtle: #868685;
  --accent: #9fe870;
  --accent-text: #163300;
  --positive: #054d28;
  --negative: #d03238;
  --warning: #ffd11a;
  --border: rgba(14, 15, 12, 0.12);
  --radius-sm: 16px;
  --radius-md: 30px;
  --radius-lg: 40px;
  --ring: 0 0 0 1px rgba(14, 15, 12, 0.12);
  --content-width: 780px;
  --wide-width: 1100px;
  --page-gutter: clamp(20px, 4vw, 32px);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.44;
  font-weight: 500;
  font-feature-settings: "calt" 1;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--text);
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(22, 51, 0, 0.35);
  text-underline-offset: 0.18em;
}

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

button,
input,
textarea,
select {
  font: inherit;
  font-feature-settings: "calt" 1;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.25rem, 10vw, 6rem);
  margin-bottom: 0.85rem;
}

h2 {
  font-size: clamp(2.4rem, 7vw, 4rem);
  margin: 3rem 0 1rem;
}

h3 {
  font-size: clamp(1.6rem, 4.5vw, 2.3rem);
  margin: 2rem 0 0.85rem;
}

h4 {
  font-size: 1.1rem;
  line-height: 1.1;
  margin: 1.5rem 0 0.65rem;
}

p,
ul,
ol,
dl,
blockquote,
pre,
table {
  margin: 0 0 1.25rem;
}

strong {
  font-weight: 700;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-feature-settings: normal;
}

code {
  padding: 0.14rem 0.44rem;
  border-radius: 10px;
  background: var(--surface);
  font-size: 0.92em;
}

pre {
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow-x: auto;
}

hr {
  margin: 2.75rem 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.site-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.page-shell {
  flex: 1;
  padding: clamp(28px, 4vw, 48px) 0 96px;
}

.page-shell--home {
  padding-top: 0;
}

.content-wrap,
.home-wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 18px var(--page-gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  min-width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: var(--ring);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-text {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.brand-mark--footer {
  min-width: 40px;
  height: 40px;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  border-radius: 9999px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(211, 242, 192, 0.4);
  color: var(--text);
}

.nav-link.is-active {
  box-shadow: inset 0 0 0 1px rgba(22, 51, 0, 0.08);
}

.page-header {
  margin-bottom: clamp(28px, 4vw, 42px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 0.95rem;
  padding: 0 14px;
  border-radius: 9999px;
  background: var(--surface-accent);
  color: var(--accent-text);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.lead {
  max-width: 38rem;
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 1.13rem;
  line-height: 1.5;
  font-weight: 500;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.meta-row span + span::before {
  content: "/";
  margin-right: 1rem;
  color: var(--text-subtle);
}

.prose > *:first-child,
.home-content > *:first-child,
.prose-tight > *:first-child {
  margin-top: 0;
}

.prose > *:last-child,
.home-content > *:last-child,
.prose-tight > *:last-child {
  margin-bottom: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.prose-tight ul,
.prose-tight ol {
  margin: 0;
  padding-left: 1.2rem;
}

.prose li,
.prose-tight li {
  margin-bottom: 0.45rem;
}

.prose blockquote {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 20px 20px 0;
  background: var(--surface-accent);
  color: var(--text-muted);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.45rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: transparent;
  color: var(--text);
  box-shadow: var(--ring);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.button:hover {
  transform: scale(1.05);
}

.button:active {
  transform: scale(0.95);
}

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

.button-primary,
.button-affiliate {
  border-color: transparent;
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: none;
}

.button-primary:hover,
.button-affiliate:hover {
  background: var(--surface-accent-strong);
  color: var(--accent-text);
}

.button-secondary {
  background: rgba(22, 51, 0, 0.08);
  color: var(--text);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 2rem 0 0;
}

.cta-wrap {
  margin: 2.2rem 0;
}

.cta-note {
  margin-top: 0.8rem;
  color: var(--text-subtle);
  font-size: 0.86rem;
}

.home-content {
  padding-top: clamp(44px, 6vw, 76px);
}

.hero-block {
  margin-bottom: clamp(34px, 5vw, 54px);
  padding-bottom: clamp(34px, 5vw, 56px);
  border-bottom: 1px solid var(--border);
}

.hero-block h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 12vw, 7.4rem);
  line-height: 0.85;
}

.hero-block p:not(.eyebrow) {
  max-width: 37rem;
  color: var(--text-muted);
  font-size: 1.15rem;
}

.feature-card,
.section-card,
.summary-box,
.pros-cons,
.evaluate-block,
.faq-item,
.author-box,
.trust-bar {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--ring);
}

.feature-card,
.section-card {
  padding: clamp(24px, 4vw, 34px);
}

.feature-card::before {
  content: none;
}

.feature-card h2,
.section-card h2 {
  margin: 1rem 0 0.75rem;
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.featured-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 9999px;
  background: var(--surface-accent);
  color: var(--accent-text);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-list {
  display: grid;
  gap: 16px;
  margin-top: 2rem;
}

.summary-box {
  margin: 2rem 0;
  padding: clamp(24px, 4vw, 32px);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.summary-grid > div {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
}

.summary-grid dt {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-grid dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
}

.summary-verdict {
  grid-column: 1 / -1;
  background: var(--surface-accent);
}

.summary-verdict dt,
.summary-verdict dd {
  color: var(--accent-text);
}

.pros-cons {
  margin: 1.85rem 0;
  padding: 24px 28px;
  /* let background color carry the weight — no border ring */
  border: none;
  box-shadow: none;
}

.pros-box {
  background: var(--surface-accent);
  border-left: 4px solid var(--positive);
}

.cons-box {
  background: #fff7f7;
  border-left: 4px solid var(--negative);
}

.pros-cons h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  line-height: 1.1;
}

.pros-box h2 {
  color: var(--positive);
}

.cons-box h2 {
  color: var(--negative);
}

.pros-cons ul {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pros-cons li {
  position: relative;
  padding-left: 1.4rem;
}

.pros-box li::before,
.cons-box li::before {
  position: absolute;
  left: 0;
  font-weight: 900;
}

.pros-box li::before {
  content: "+";
  color: var(--positive);
}

.cons-box li::before {
  content: "-";
  color: var(--negative);
}

.evaluate-block {
  margin: 2rem 0;
  padding: 24px 28px;
  background: var(--surface);
}

.evaluate-block h3 {
  margin: 0 0 1rem;
  color: var(--accent-text);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evaluate-list {
  margin: 0;
  padding-left: 1.2rem;
}

.faq-section {
  display: grid;
  gap: 0;
  margin: 2rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
}

.faq-item {
  margin-bottom: 0;
  padding: 20px 24px 20px 20px;
  /* replace generic card border with left-accent line */
  border: none;
  border-left: 3px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--border);
}

/* faq-section container styles merged into the gap:0 block above */

.faq-item h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.feature-card h2 a,
.section-card h2 a {
  text-decoration: none;
  color: var(--text);
}

.feature-card h2 a:hover,
.section-card h2 a:hover {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--ring);
}

.comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1rem;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(14, 15, 12, 0.08);
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-table tbody th {
  min-width: 190px;
  color: var(--text);
  font-weight: 700;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table td > *:last-child,
.comparison-table th > *:last-child {
  margin-bottom: 0;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--surface);
}

.trust-bar__label {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-bar__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.trust-bar__items span,
.trust-bar__items a {
  color: inherit;
}

.sep {
  color: var(--text-subtle);
}

.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 2.5rem;
  padding: 24px 28px;
  background: var(--surface);
}

.author-box__avatar {
  display: inline-flex;
  min-width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: var(--ring);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.author-box__body h2 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.author-box__body p {
  margin: 0;
  color: var(--text-muted);
}

.author-meta {
  margin-top: 0.75rem !important;
  color: var(--text-subtle) !important;
  font-size: 0.86rem;
  font-weight: 700;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 48px 0 64px;
}

.footer-shell {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 24px;
}

.footer-column {
  min-width: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.footer-description,
.footer-note,
.footer-contact {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.footer-note {
  margin-top: 0.75rem;
  line-height: 1.55;
}

.footer-title {
  margin: 0 0 0.85rem;
  color: var(--text-subtle);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-title--spaced {
  margin-top: 1.5rem;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.home-content h2 {
  margin-top: 0.5rem;
}

.home-content .eyebrow {
  margin-top: 3rem;
  display: inline-flex;
}

.section-card p:last-child,
.feature-card p:last-child,
.footer-contact a,
.footer-description:last-child {
  margin-bottom: 0;
}

.page-section .page-header h1,
.page-page .page-header h1 {
  max-width: 13ch;
}

@media (max-width: 992px) {
  .nav-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    margin-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 17px;
  }

  .page-shell {
    padding-bottom: 72px;
  }

  .nav-shell {
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }

  .brand-mark {
    min-width: 42px;
    height: 42px;
  }

  .nav-list {
    gap: 8px;
  }

  .nav-link {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .hero-block h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    min-width: 640px;
  }

  .author-box {
    flex-direction: column;
  }

  .feature-card,
  .section-card,
  .summary-box,
  .pros-cons,
  .evaluate-block,
  .faq-item,
  .author-box,
  .trust-bar,
  .table-scroll {
    border-radius: var(--radius-md);
  }
}
