:root {
  --ink: #2f2c29;
  --muted: #67615b;
  --paper: #fff;
  --card: #fff;
  --line: #e8e1d8;
  --green: #f7931e;
  --green2: #bd5c00;
  --mint: #fff2e2;
  --amber: #ffe0b5;
  --shadow: 0 12px 30px rgba(74, 52, 28, .065);
  --radius: 20px;
  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 Inter, "Source Han Sans", "Noto Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: #a95100; text-underline-offset: 3px; }
a:hover { color: #e97800; }
:focus-visible { outline: 3px solid #f7931e; outline-offset: 4px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; padding: .7rem 1rem; background: #fff; color: #111; }
.skip:focus { left: 12px; }
main { min-height: 65vh; }
.wrap,
.nav-wrap { width: 100%; max-width: var(--max); margin-inline: auto; }
.wrap { padding-inline: 1.25rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #eee8e1;
  box-shadow: 0 4px 18px rgba(64, 45, 25, .035);
  backdrop-filter: blur(12px);
}
.nav-wrap { display: flex; align-items: center; gap: 1.4rem; padding: .72rem 1.25rem; }
.brand {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 6px 16px rgba(247, 147, 30, .24);
  object-fit: contain;
}
.site-header .brand::after {
  content: "Independent guide";
  position: absolute;
  left: 48px;
  top: 29px;
  color: #767676;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nav { display: flex; gap: .3rem; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: .45rem .62rem;
  border-radius: 999px;
  color: #56514c;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover,
.nav a[aria-current="page"] { background: #fff0dc; color: #9f4b00; }

.page-head { padding: 2.9rem 0 1.45rem; background: #fff; border-bottom: 1px solid #f0e8de; }
.page-head + .section { padding-top: 1.55rem; }
.breadcrumbs { margin-bottom: .95rem; color: #746d66; font-size: .84rem; font-weight: 560; }
.breadcrumbs a { color: #746d66; }
.breadcrumbs a:hover { color: #b95900; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .72rem;
  color: #b95900;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.page-head h1 {
  max-width: 840px;
  margin: 0 0 .85rem;
  color: var(--ink);
  font-size: clamp(2.05rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.page-head .lede { max-width: 720px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.24rem); }
.review-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .28rem .65rem; margin: .8rem 0 0; color: #746d66; font-size: .86rem; }
.review-meta a { color: #8b470a; font-weight: 700; }

.section { padding-block: 2.9rem; background: #fff; }
.section.alt { background: #fff; border-block: 1px solid var(--line); }
.section-head,
.quick,
.grid,
.link-panel,
.cta,
.two-col,
.score,
.footer-grid { width: 100%; }
.section-head { display: grid; grid-template-columns: .65fr 1.35fr; gap: 1.5rem; margin-bottom: 1.25rem; align-items: end; }
.section-head h2,
.prose h2,
.cta h2,
.faq-item h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -.035em;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); text-wrap: balance; }
.section-head p { max-width: 680px; margin: 0; color: var(--muted); }
.quick { padding: 1.05rem 1.2rem; background: #fff; border: 1px solid #f0d7b5; border-radius: var(--radius); box-shadow: 0 10px 26px rgba(122, 77, 24, .055); }
.quick strong { display: block; margin-bottom: .35rem; color: #873f00; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.quick p { margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.card {
  padding: 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { border-color: #f7c489; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 0, 0, .09); }
.card h3 { margin: .15rem 0 .55rem; font-size: 1.02rem; }
.card p { margin: .4rem 0; color: var(--muted); font-size: .94rem; }
.card a { display: inline-block; margin-top: .55rem; font-weight: 750; }
.tag { display: inline-block; padding: .2rem .48rem; border-radius: 999px; background: #ffe2ba; color: #704008; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.steps { counter-reset: step; }
.step { position: relative; padding-left: 3.5rem; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 50%;
  background: #f7931e;
  color: #2f2c29;
  font-weight: 800;
}
.check-list { margin: .8rem 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: .5rem 0 .5rem 1.8rem; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #ef8210; font-weight: 900; }
.link-panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.link-panel a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: .82rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.link-panel a:hover { border-color: #f7c489; transform: translateY(-2px); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.1rem; }
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .78rem 1rem;
  border: 1px solid #f7931e;
  border-radius: 999px;
  color: #a95100;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn.primary { background: #f7931e; border-color: #f7931e; color: #2f2c29; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(247, 147, 30, .18); }
.btn.primary:hover { background: #e97800; color: #2f2c29; }
.cta { display: flex; justify-content: space-between; gap: 2rem; align-items: center; padding: 1.55rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); }
.cta h2 { margin-bottom: .4rem; font-size: clamp(1.45rem, 2.6vw, 1.95rem); text-wrap: balance; }
.cta p { max-width: 650px; margin: 0; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 2.6rem; align-items: start; }
.prose { min-width: 0; width: 100%; max-width: none; }
.prose section { padding: .9rem 0; }
.prose section + section { border-top: 1px solid rgba(232, 225, 216, .8); }
.prose h2 { margin-bottom: .5rem; font-size: clamp(1.38rem, 2.6vw, 1.92rem); }
.prose h3 { margin: .9rem 0 .3rem; color: #3a342f; font-size: 1.02rem; }
.prose p { margin: .45rem 0; color: #504a45; }
.prose table { display: block; width: 100%; max-width: 100%; margin: 1rem 0; overflow-x: auto; border-collapse: collapse; background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
.prose th,
.prose td { padding: .8rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: #fff0dc; }
.side { position: sticky; top: 82px; min-width: 0; width: 100%; padding: 1.1rem; background: #fff; border: 1px solid var(--line); border-top: 3px solid #f7931e; border-radius: var(--radius); box-shadow: var(--shadow); }
.side h2 { margin: 0 0 .5rem; color: #3a342f; font-size: .86rem; letter-spacing: .07em; text-transform: uppercase; }
.side a { display: flex; min-height: 44px; align-items: center; padding: .45rem 0; border-bottom: 1px solid var(--line); color: #a95100; font-size: .91rem; text-decoration: none; }
.side a:last-child { border-bottom: 0; }
.score { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.score div { padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.score strong { display: block; color: #a95100; font-size: 1.05rem; }
.faq-item { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.faq-item h2 { margin-bottom: .45rem; font-size: 1.18rem; }
.faq-item p { margin: 0; }
.note { padding: 1rem; background: #fff; border: 1px solid #efcf9f; border-radius: 16px; color: #5f4724; }
.external::after { content: " ↗"; font-size: .8em; }

.site-footer { margin-top: 2.8rem; padding: 2.2rem 0 1.1rem; background: #fff; border-top: 3px solid #f7931e; color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; }
.footer-grid .brand { color: var(--ink); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem .6rem; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; color: #5d5751; font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: #b95900; }
.footer-trust { max-width: 590px; margin: .75rem 0; color: #706963; font-size: .86rem; }
.copyright { margin-top: 1.4rem; padding-top: .8rem; border-top: 1px solid var(--line); color: #7b746e; font-size: .8rem; }

@media (max-width: 840px) {
  .article-layout,
  .footer-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .link-panel { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; }
  .side { position: static; }
  .nav-wrap { align-items: flex-start; flex-wrap: wrap; gap: .5rem; }
  .nav { width: 100%; margin: 0; padding: 0 1.25rem .4rem 0; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .nav a { scroll-snap-align: start; }
  .section { padding-block: 2.6rem; }
  .page-head { padding: 2.55rem 0 1.25rem; }
  .page-head + .section { padding-top: 1.35rem; }
  .article-layout { gap: 1.8rem; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .site-header { position: relative; }
  .nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .2rem; padding: 0; overflow: visible; }
  .nav a { justify-content: center; min-width: 0; padding: .4rem .15rem; font-size: .82rem; line-height: 1.15; text-align: center; white-space: normal; }
  .section { padding-block: 2.25rem; }
  .page-head { padding: 2.25rem 0 1.1rem; }
  .page-head + .section { padding-top: 1.1rem; }
  .grid,
  .two-col,
  .score { grid-template-columns: 1fr; }
  .link-panel,
  .footer-links { grid-template-columns: 1fr 1fr; }
  .actions { flex-direction: column; align-items: stretch; }
  .cta { display: block; }
  .cta .actions { margin-top: 1.2rem; }
  .prose section { padding: .72rem 0; }
  .quick { padding: .9rem 1rem; }
  .site-footer { margin-top: 2.2rem; padding-top: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
