:root {
  color-scheme: light;
  --ink: #2A2320;
  --ink-soft: #6B5D54;
  --accent: #B85C38;
  --accent-dark: #9C4A2C;
  --tint: #F5E6DC;
  --tint-strong: #E2C4B2;
  --good: #3E7C6B;
  --good-soft: #DCEBE5;
  --amber: #C08A2E;
  --paper: #FBF8F4;
  --white: #ffffff;
  --line: #E8DCD2;
  --muted: #7A6B60;
  --shadow: 0 24px 65px rgba(58, 36, 27, 0.12);
  --radius: 24px;
  --shell: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}

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

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

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

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(232, 220, 210, 0.8);
  background: rgba(251, 248, 244, 0.94);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.03rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-symbol {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(145deg, #3A241B 0%, #B85C38 58%, #E0A07E 100%);
  box-shadow: 0 8px 18px rgba(184, 92, 56, 0.23);
}

.brand-symbol::before {
  content: "";
  position: absolute;
  width: 25px;
  height: 14px;
  left: 8px;
  top: 9px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
}

.brand-symbol::after {
  content: "•••";
  position: absolute;
  left: 9px;
  bottom: 3px;
  color: var(--white);
  font-size: 14px;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.91rem;
  font-weight: 650;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 88px;
  background:
    radial-gradient(circle at 82% 20%, rgba(226, 196, 178, 0.68), transparent 27%),
    radial-gradient(circle at 8% 88%, rgba(246, 239, 232, 0.9), transparent 31%),
    linear-gradient(180deg, #FBF6F1 0%, #F5EDE5 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -300px;
  bottom: -390px;
  border: 1px solid rgba(184, 92, 56, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(184, 92, 56, 0.035), 0 0 0 110px rgba(184, 92, 56, 0.025);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.74fr);
  gap: clamp(46px, 7vw, 92px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 5.6vw, 5.05rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.8vw, 3.35rem);
}

h3 {
  margin-bottom: 9px;
  font-size: 1.28rem;
}

p {
  margin-top: 0;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 2px solid var(--accent-dark);
  border-radius: 999px;
  color: var(--white);
  background: var(--accent-dark);
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.button.secondary:hover {
  color: var(--accent-dark);
  background: var(--white);
  border-color: var(--tint-strong);
}

.microcopy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.score-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(155deg, #2A2320 0%, #8A4028 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.score-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  bottom: -120px;
  border: 28px solid rgba(226, 196, 178, 0.11);
  border-radius: 50%;
}

.score-label {
  color: var(--tint-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 20px 0 26px;
}

.gauge {
  width: 136px;
  height: 136px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--good) 0 16%, rgba(255, 255, 255, 0.14) 16% 100%);
}

.gauge-inner {
  width: 106px;
  height: 106px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #3A241B;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.score-copy strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
  font-size: 1.15rem;
}

.score-copy span {
  color: #EBD5C7;
  font-size: 0.9rem;
}

.metric-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric {
  padding: 13px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 15px;
}

.metric small,
.metric strong {
  display: block;
}

.metric small {
  color: #DCC3B4;
  font-size: 0.72rem;
}

.metric strong {
  margin-top: 2px;
  font-size: 1.05rem;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

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

.trust-item {
  padding: 22px 20px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 720;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.section {
  padding: 92px 0;
}

.section.tint {
  background: #F6EFE8;
}

.section.dark {
  color: var(--white);
  background: var(--ink);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow),
.lede {
  color: var(--muted);
  font-size: 1.06rem;
}

.dark .section-heading p,
.dark .lede {
  color: #E3D2C6;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  padding: 25px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(58, 36, 27, 0.055);
}

.step-number {
  width: 40px;
  height: 40px;
  display: grid;
  margin-bottom: 22px;
  place-items: center;
  color: var(--white);
  background: var(--accent);
  border-radius: 13px;
  font-weight: 800;
}

.info-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.78fr);
  gap: clamp(42px, 8vw, 108px);
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 13px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  background: var(--tint);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
}

.diagnostic-card {
  padding: 30px;
  color: var(--ink);
  background: var(--white);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.diagnostic-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
}

.diagnostic-rule span {
  width: 46px;
  height: 46px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
  background: var(--accent);
  border-radius: 15px;
  font-weight: 900;
}

.diagnostic-rule p {
  margin: 0;
  color: var(--ink-soft);
}

.privacy-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dark-card {
  padding: 25px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.dark-card p {
  margin-bottom: 0;
  color: #E3D2C6;
}

.price-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.price-card.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}

.price {
  display: block;
  margin: 14px 0 4px;
  font-size: 2.25rem;
  font-weight: 820;
  letter-spacing: -0.05em;
}

.price-note {
  color: var(--muted);
  font-size: 0.82rem;
}

.fine-print {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.82rem;
}

.space-top {
  margin-top: 24px;
}

.page-hero {
  padding: 70px 0 58px;
  background: linear-gradient(180deg, #F8F0E9, #FBF8F4);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(2.55rem, 5vw, 4.5rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 68px;
  align-items: start;
}

.prose {
  max-width: 790px;
}

.prose h2 {
  margin-top: 54px;
  margin-bottom: 14px;
  font-size: 1.7rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose li + li {
  margin-top: 8px;
}

.callout {
  padding: 22px;
  background: var(--tint);
  border: 1px solid var(--tint-strong);
  border-radius: 18px;
}

.callout strong {
  display: block;
  margin-bottom: 5px;
}

.callout p:last-child {
  margin-bottom: 0;
}

.toc {
  position: sticky;
  top: 24px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 5px 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  text-decoration: none;
}

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

.support-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.support-card p:last-child {
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 20px 34px 20px 0;
  cursor: pointer;
  color: var(--ink);
  font-weight: 740;
}

details p,
details ul {
  max-width: 820px;
  padding-right: 30px;
  color: var(--ink-soft);
}

.site-footer {
  padding: 42px 0;
  color: #E3D2C6;
  background: #241A15;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.site-footer a {
  color: var(--white);
}

.copyright {
  margin: 10px 0 0;
  color: #A89486;
  font-size: 0.78rem;
}

@media (max-width: 820px) {
  .hero-grid,
  .split,
  .content-layout {
    grid-template-columns: 1fr;
  }

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

  .content-layout {
    gap: 34px;
  }

  .toc {
    position: static;
    order: -1;
  }
}

@media (max-width: 650px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero {
    padding: 62px 0;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.55rem);
  }

  .score-card {
    padding: 22px;
    border-radius: 25px;
  }

  .score-row {
    gap: 16px;
  }

  .gauge {
    width: 114px;
    height: 114px;
  }

  .gauge-inner {
    width: 88px;
    height: 88px;
    font-size: 1.65rem;
  }

  .trust-grid,
  .privacy-grid,
  .price-grid,
  .support-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-item + .trust-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 68px 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

@media print {
  .site-header,
  .site-footer,
  .actions,
  .toc {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .section,
  .page-hero {
    padding: 24px 0;
  }

  a {
    color: #000;
  }
}
