:root {
  --ink: #0b0a09;
  --ink-2: #100e0c;
  --surface: #181512;
  --surface-2: #211c18;
  --line: rgba(245, 238, 227, .12);
  --line-soft: rgba(245, 238, 227, .07);
  --paper: #f6efe4;
  --paper-dim: #cabfb0;
  --muted: #91877a;
  --amber: #f3c079;
  --amber-deep: #e0a24c;
  --amber-2: #ffd89b;
  --sage: #a6c9a9;
  --glow: rgba(243, 192, 121, .34);
  --wrap: 1180px;
  --radius: 22px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(110% 70% at 82% -10%, rgba(243, 192, 121, .18), transparent 58%),
    radial-gradient(80% 60% at 5% 8%, rgba(166, 201, 169, .07), transparent 55%),
    var(--ink);
}
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .04;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; padding: 10px 16px; background: var(--amber); color: #241704; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 8px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(11, 10, 9, .84);
  backdrop-filter: saturate(140%) blur(14px);
}
.nav-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--paper); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(150deg, var(--amber-2), var(--amber-deep)); color: #241704; font-family: var(--font-display); font-size: 21px; box-shadow: 0 8px 22px -12px var(--glow); }
.brand-name { font-family: var(--font-display); font-size: 22px; font-weight: 650; letter-spacing: -.03em; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--paper-dim); font-size: 14px; font-weight: 600; text-decoration: none; }
.nav-links a:hover { color: var(--amber); }
.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: rgba(245, 238, 227, .04); color: var(--paper); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .close { display: none; }
.nav.open .nav-toggle .open { display: none; }
.nav.open .nav-toggle .close { display: block; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 11px 20px; border: 1px solid transparent; border-radius: 999px; background: linear-gradient(180deg, var(--amber-2), var(--amber-deep)); color: #241704 !important; font-weight: 800 !important; text-decoration: none; box-shadow: 0 10px 28px -14px var(--glow); }
.button:hover { transform: translateY(-1px); }
.button-secondary { border-color: var(--line); background: rgba(245, 238, 227, .04); color: var(--paper) !important; box-shadow: none; }

.crumbs { padding-top: 36px; color: var(--muted); font-size: 14px; }
.crumbs a { color: var(--paper-dim); text-underline-offset: 3px; }
.hero { padding: clamp(44px, 8vw, 92px) 0 42px; }
.eyebrow { display: inline-block; margin-bottom: 16px; color: var(--amber); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { max-width: 980px; margin: 0; font-family: var(--font-display); font-size: clamp(40px, 7vw, 76px); font-weight: 450; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.hero .lede { max-width: 760px; margin: 24px 0 0; color: var(--paper-dim); font-size: clamp(18px, 2.2vw, 22px); }
.byline { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--muted); font-size: 13px; }
.byline strong { color: var(--paper-dim); }

.article { padding-bottom: 100px; }
.content { max-width: 920px; }
.content h2 { margin: 68px 0 18px; font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 520; line-height: 1.12; letter-spacing: -.025em; }
.content h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.content p { max-width: 76ch; color: var(--paper-dim); font-size: 17px; }
.content strong { color: var(--paper); }
.content a:not(.button) { color: var(--amber); text-underline-offset: 3px; text-decoration-color: rgba(243, 192, 121, .42); }
.content a:hover { text-decoration-color: var(--amber); }
.answer-box, .method-box, .disclosure { margin: 24px 0; padding: 24px 26px; border: 1px solid rgba(243, 192, 121, .28); border-radius: var(--radius); background: linear-gradient(145deg, rgba(243, 192, 121, .1), rgba(243, 192, 121, .025)); }
.answer-box .question { margin: 0 0 10px; color: var(--paper); font-size: 18px; font-weight: 750; }
.answer-box p:last-child, .method-box p:last-child, .disclosure p:last-child { margin-bottom: 0; }
.quick-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
.summary-card { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg, var(--surface), var(--ink-2)); }
.summary-card span { color: var(--amber); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.summary-card p { margin: 8px 0 0; color: var(--paper); font-size: 15px; line-height: 1.5; }

.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
caption { padding: 18px 20px; color: var(--paper); font-weight: 750; text-align: left; }
th, td { padding: 14px 16px; border-top: 1px solid var(--line-soft); vertical-align: top; text-align: left; }
th { color: var(--paper); background: rgba(245, 238, 227, .035); }
td { color: var(--paper-dim); }
tbody th { min-width: 150px; color: var(--paper); }
.rank-list { display: grid; gap: 16px; margin-top: 26px; }
.rank-card { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(155deg, var(--surface), var(--ink-2)); }
.rank-card:first-child { border-color: rgba(243, 192, 121, .34); box-shadow: 0 24px 70px -44px var(--glow); }
.rank-number { position: absolute; top: 22px; right: 24px; color: var(--amber); font-family: var(--font-display); font-size: 30px; }
.rank-card .best-for { margin: 0 56px 12px 0; color: var(--amber); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.rank-card p { margin: 8px 0; font-size: 16px; }
.rank-card .verdict { color: var(--paper); }
.rank-card .source { margin-top: 14px; font-size: 14px; }
.faq { border-top: 1px solid var(--line-soft); }
.faq details { padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.faq summary { cursor: pointer; color: var(--paper); font-size: 18px; font-weight: 700; }
.faq p { margin-bottom: 0; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.related-card { display: block; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(245, 238, 227, .025); color: var(--paper) !important; text-decoration: none; }
.related-card:hover { border-color: rgba(243, 192, 121, .35); }
.related-card span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.cta { margin-top: 64px; padding: clamp(28px, 5vw, 48px); border: 1px solid rgba(243, 192, 121, .25); border-radius: 30px; background: linear-gradient(145deg, rgba(243, 192, 121, .11), rgba(166, 201, 169, .04)); }
.cta h2 { margin-top: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.hub-hero { padding-bottom: 28px; }
.hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px 0 72px; }
.hub-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(155deg, var(--surface), var(--ink-2)); }
.hub-card h2 { margin: 0 0 10px; font-size: 28px; }
.hub-card p { color: var(--paper-dim); }
.hub-card a { color: var(--amber); font-weight: 750; text-underline-offset: 3px; }

footer { padding: 58px 0 76px; border-top: 1px solid var(--line-soft); background: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 42px; }
.footer-copy { max-width: 38ch; color: var(--muted); font-size: 14px; }
.footer-col h2 { margin: 0 0 14px; color: var(--muted); font-family: var(--font-body); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.footer-col a { display: block; margin: 9px 0; color: var(--paper-dim); font-size: 14px; text-decoration: none; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 13px; }

@media (max-width: 820px) {
  .nav-toggle { display: grid; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); background: rgba(11, 10, 9, .98); opacity: 0; transform: translateY(-10px); pointer-events: none; }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--line-soft); }
  .nav-links .button { margin-top: 12px; }
  .quick-summary { grid-template-columns: 1fr; }
  .hub-grid, .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .hero { padding-top: 34px; }
  .hero h1 { font-size: 42px; }
  .content h2 { margin-top: 52px; }
  .answer-box, .method-box, .disclosure, .rank-card { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}

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