:root {
  --ink: #453f3a;
  --muted: #736b64;
  --copy: #615a54;
  --panel: #ffffff;
  --panel-soft: #fffaf5;
  --line: #eadfd7;
  --line-strong: #dfcfc4;
  --brand: #ef8026;
  --brand-dark: #aa4607;
  --brand-soft: #fff7eb;
  --accent: #453f3a;
  --accent-soft: #f3eee9;
  --shadow-sm: 0 8px 24px rgba(69, 63, 58, 0.055);
  --shadow-md: 0 14px 36px rgba(69, 63, 58, 0.09);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shell: 1120px;
  --reading: 74ch;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 160ms ease;
}

a:hover {
  color: #9f4308;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #17231d;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 9px rgba(69, 63, 58, 0.06);
  backdrop-filter: blur(12px);
}

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

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.wordmark-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #f49647, var(--brand));
  box-shadow: 0 0 0 3px var(--brand-soft), inset -4px -4px 0 rgba(126, 55, 9, 0.08);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 9px 11px;
  border-radius: 10px;
  color: #514a45;
  font-size: 0.9rem;
  font-weight: 680;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.search-hero {
  position: relative;
  isolation: isolate;
  min-height: 550px;
  overflow: hidden;
  padding: 42px 0 30px;
  color: #fff;
  background:
    radial-gradient(circle at 13% 26%, rgba(255, 255, 255, 0.16), transparent 25rem),
    radial-gradient(circle at 82% 18%, rgba(255, 211, 132, 0.48), transparent 29rem),
    linear-gradient(116deg, #7a3a19 0%, #c45d18 50%, #ed922d 100%);
}

.search-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(69, 34, 16, 0.03), rgba(83, 38, 14, 0.18)),
    repeating-linear-gradient(100deg, transparent 0 120px, rgba(255, 255, 255, 0.025) 121px 122px);
  content: "";
}

.search-hero-scene {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.scene-box {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 228, 177, 0.36);
  border-radius: 24px 24px 10px 10px;
  background: linear-gradient(135deg, rgba(255, 194, 89, 0.68), rgba(226, 116, 39, 0.4));
  box-shadow: -34px 40px 80px rgba(83, 39, 15, 0.28), inset 18px 0 40px rgba(255, 241, 209, 0.17);
  transform: rotate(-7deg);
}

.scene-box::before {
  position: absolute;
  top: 0;
  left: 18%;
  width: 34%;
  height: 100%;
  background: rgba(255, 231, 186, 0.14);
  content: "";
}

.scene-box-one {
  right: -4%;
  bottom: -17%;
  width: 34vw;
  min-width: 360px;
  height: 390px;
}

.scene-box-two {
  top: -20%;
  right: 21%;
  width: 260px;
  height: 310px;
  opacity: 0.56;
  transform: rotate(12deg);
}

.scene-box-three {
  bottom: -29%;
  left: -7%;
  width: 390px;
  height: 330px;
  opacity: 0.3;
  transform: rotate(11deg);
}

.scene-route {
  position: absolute;
  top: 22%;
  left: -4%;
  color: rgba(255, 255, 255, 0.07);
  font-size: clamp(5rem, 13vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  white-space: nowrap;
  transform: rotate(-7deg);
}

.search-hero-inner {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.search-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff8ed;
  background: rgba(88, 40, 15, 0.28);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 790;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.search-hero-badge::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffb13c;
  box-shadow: 0 0 0 4px rgba(255, 177, 60, 0.16);
  content: "";
}

.search-hero h1 {
  max-width: 930px;
  margin-top: 18px;
  color: #fff;
  font-family: inherit;
  font-size: clamp(2.2rem, 4.1vw, 3.75rem);
  font-weight: 830;
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-shadow: 0 3px 26px rgba(80, 35, 12, 0.28);
}

.search-hero h1 span {
  color: #ffc765;
}

.search-hero-lede {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.hero-search-form {
  display: grid;
  width: min(100%, 860px);
  min-height: 72px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 2px;
  align-items: center;
  margin-top: 24px;
  padding: 6px 6px 6px 18px;
  border: 2px solid rgba(239, 128, 38, 0.96);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 22px 56px rgba(89, 39, 13, 0.24);
}

.search-mark {
  position: relative;
  display: block;
  width: 21px;
  height: 21px;
  border: 3px solid #7b8383;
  border-radius: 50%;
}

.search-mark::after {
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 9px;
  height: 3px;
  border-radius: 3px;
  background: #7b8383;
  content: "";
  transform: rotate(45deg);
}

.hero-search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 12px 10px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 0.97rem;
  outline: none;
}

.hero-search-form input::placeholder {
  color: #a0a7a5;
}

.hero-search-form button {
  min-width: 170px;
  min-height: 58px;
  border: 0;
  border-radius: 17px;
  padding: 0 22px;
  color: #fff;
  background: var(--brand-dark);
  box-shadow: 0 11px 24px rgba(192, 83, 15, 0.25);
  font: inherit;
  font-weight: 830;
  cursor: pointer;
}

.hero-search-form button:hover {
  background: #923806;
}

.hero-popular {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 15px;
}

.hero-popular span,
.hero-popular a {
  padding: 5px 9px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
}

.hero-popular a {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(86, 38, 13, 0.22);
  text-decoration: none;
}

.hero-popular a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(86, 38, 13, 0.38);
}

.hero-external-note {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
}

.search-journey {
  position: relative;
  display: grid;
  width: min(100%, 900px);
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 24px;
}

.search-journey::before {
  position: absolute;
  top: 8px;
  right: 16.5%;
  left: 16.5%;
  height: 2px;
  background: rgba(255, 255, 255, 0.52);
  content: "";
}

.journey-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.journey-dot {
  display: block;
  width: 18px;
  height: 18px;
  margin-bottom: 12px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #ffab2e;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.journey-step strong {
  color: #fff;
  font-size: 0.94rem;
}

.journey-step small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
}

.hero-trust {
  max-width: 940px;
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.77rem;
}

.hero-guide-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 10px;
}

.hero-guide-links a {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 760;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 19px;
  height: 3px;
  border-radius: 99px;
  background: var(--brand);
  content: "";
}

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

h1 {
  max-width: 16ch;
  font-family: inherit;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  font-weight: 820;
}

h2 {
  font-family: inherit;
  font-size: clamp(1.55rem, 2.35vw, 2.25rem);
  font-weight: 820;
}

h3 {
  font-size: 1.1rem;
  letter-spacing: -0.018em;
}

.hero-intro {
  max-width: 65ch;
  margin: 17px 0 0;
  color: var(--copy);
  font-size: clamp(1.02rem, 1.7vw, 1.16rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 18px;
  border: 1px solid var(--brand-dark);
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--brand-dark);
  box-shadow: 0 8px 20px rgba(201, 95, 18, 0.18);
  font-size: 0.93rem;
  font-weight: 780;
  line-height: 1.2;
  text-decoration: none;
}

.button:hover {
  color: #fff;
  background: #923806;
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line-strong);
  background: #fff;
  box-shadow: none;
}

.button.secondary:hover {
  color: var(--brand-dark);
  border-color: var(--brand);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 760;
}

.external-note {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.search-form {
  display: flex;
  gap: 8px;
  margin: 18px 0 0;
  padding: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: #fff;
}

.search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 8px 10px;
  color: var(--ink);
  background: transparent;
  font: inherit;
}

.search-form button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 11px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 780;
  cursor: pointer;
}

.number-token {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: #ffd084;
  box-shadow: inset 0 0 0 1px rgba(181, 78, 10, 0.12);
  font-weight: 850;
}

.section {
  padding: 46px 0;
  background: #fff;
}

.section.compact {
  padding: 34px 0;
}

.section + .section {
  border-top: 1px solid rgba(69, 63, 58, 0.06);
}

.section-tint {
  background: #fff;
}

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

.section-dark .eyebrow,
.section-dark a {
  color: var(--brand-dark);
}

.section-dark .section-lede,
.section-dark p {
  color: var(--muted);
}

.section-dark .step-card,
.section-dark .info-card {
  color: var(--ink);
}

.section-dark .step-card p,
.section-dark .info-card p {
  color: var(--muted);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.65fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 20px;
}

.section-heading h2 {
  max-width: 16ch;
}

.section-lede {
  max-width: 64ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section-lede-spaced {
  margin-top: 10px;
}

.quick-answer {
  position: relative;
  padding: 26px 28px 26px 31px;
  border: 1px solid #eadbd0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--panel), var(--panel-soft));
  box-shadow: var(--shadow-sm);
}

.quick-answer::before {
  position: absolute;
  inset: 18px auto 18px 0;
  width: 5px;
  border-radius: 99px;
  background: var(--brand);
  content: "";
}

.quick-answer strong {
  display: block;
  margin-bottom: 7px;
  color: var(--brand-dark);
  font-size: 0.77rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-answer p {
  max-width: var(--reading);
  margin: 0;
  font-size: 1.05rem;
}

.category-directory-section {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.category-directory-section::before {
  position: absolute;
  top: -170px;
  left: -170px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(231, 132, 46, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.directory-heading {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto 20px;
  text-align: center;
}

.directory-heading .eyebrow {
  margin-bottom: 10px;
}

.directory-heading h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.5rem);
}

.directory-heading p {
  max-width: 760px;
  margin: 9px auto 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.category-card {
  position: relative;
  display: flex;
  min-height: 205px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 22px 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.category-card::after {
  position: absolute;
  top: 11px;
  right: 13px;
  color: #bbbcca;
  content: "↗";
  font-size: 0.82rem;
  opacity: 0;
  transition: opacity 180ms ease, color 180ms ease;
}

.category-card:hover {
  color: var(--ink);
  border-color: rgba(231, 132, 46, 0.58);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.category-card:hover::after {
  color: var(--brand);
  opacity: 1;
}

.category-icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin-bottom: 13px;
  place-items: center;
  border: 1px solid #f1d8c4;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #fffaf4, #fff3e5);
  box-shadow: 0 9px 24px rgba(173, 83, 20, 0.08);
}

.category-icon img {
  width: 44px;
  height: 44px;
}

.category-card h3 {
  font-size: 1.02rem;
  font-weight: 820;
}

.category-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.directory-note {
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

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

.step-card,
.info-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.step-card .number-token {
  margin-bottom: 20px;
}

.step-card p,
.info-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: start;
}

.copy > * + * {
  margin-top: 15px;
}

.copy h2,
.copy h3 {
  margin-top: 31px;
}

.copy h2:first-child,
.copy h3:first-child {
  margin-top: 0;
}

.copy p,
.copy ul,
.copy ol {
  color: var(--copy);
}

.copy ul,
.copy ol {
  padding-left: 1.3rem;
}

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

.check-list,
.plain-list {
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  color: var(--brand);
  content: "✓";
  font-weight: 900;
}

.plain-list li::before {
  position: absolute;
  top: 0.52em;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.side-card {
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--panel-soft);
}

.side-card + .side-card {
  margin-top: 15px;
}

.side-card p {
  margin: 10px 0 0;
  color: var(--copy);
}

.side-card.accent {
  border-color: #dfd5cd;
  background: var(--accent-soft);
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.comparison-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.comparison-card.good {
  border-top: 5px solid var(--brand);
}

.comparison-card.weak {
  border-top: 5px solid var(--accent);
}

.comparison-card p {
  color: var(--muted);
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.score-card {
  padding: 20px;
  border: 1px solid rgba(69, 63, 58, 0.07);
  border-radius: var(--radius-sm);
  color: #454856;
  background: #f1f2f7;
}

.score-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.25rem;
}

.score-card:nth-child(1) { background: #fff0e3; }
.score-card:nth-child(2) { background: #fff5d8; }
.score-card:nth-child(3) { background: #f3eee9; }
.score-card:nth-child(4) { background: #faeee4; }

.link-directory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.link-directory a {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  font-weight: 780;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.link-directory a:hover {
  color: var(--brand-dark);
  border-color: rgba(239, 128, 38, 0.5);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.link-directory a span {
  color: var(--brand-dark);
  font-size: 0.8rem;
}

.related-guides {
  margin-top: 26px;
}

.article-preview-section {
  background: #fff;
}

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

.article-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.article-card.featured {
  grid-column: span 2;
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 194, 89, 0.36), transparent 18rem),
    linear-gradient(135deg, #923806, #c85c12);
}

.article-kicker {
  color: var(--brand-dark);
  font-size: 0.73rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-card h2,
.article-card h3 {
  margin-top: 16px;
  font-size: clamp(1.12rem, 1.6vw, 1.4rem);
  line-height: 1.18;
}

.article-card p {
  margin: 13px 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
}

.article-card-link {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 790;
}

.article-card.featured .article-kicker,
.article-card.featured .article-card-link {
  color: #ffd092;
}

.article-card.featured p {
  color: #fff4e8;
}

.article-collection-link {
  margin: 20px 0 0;
  text-align: center;
}

.reader-route {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 17px;
}

.reader-route a {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  font-weight: 760;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.reader-route a:hover {
  color: var(--brand-dark);
  border-color: rgba(231, 132, 46, 0.55);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.decision-table-wrap {
  max-width: 100%;
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.decision-table-wrap:focus-visible {
  outline: 3px solid #17231d;
  outline-offset: 3px;
}

.table-scroll-hint {
  display: none;
}

.decision-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.decision-table th,
.decision-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.decision-table th {
  color: var(--ink);
  background: #fff7eb;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.decision-table tr:last-child td {
  border-bottom: 0;
}

.decision-table td:first-child {
  color: var(--ink);
  font-weight: 760;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  margin-top: 18px;
}

.question-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.question-card h3 {
  margin-top: 0;
  font-size: 1.02rem;
}

.question-card p {
  margin-top: 8px;
  font-size: 0.9rem;
}

.key-takeaway {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid rgba(231, 132, 46, 0.35);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-soft), #fffaf6);
  box-shadow: var(--shadow-sm);
}

.key-takeaway strong {
  display: block;
  color: var(--brand-dark);
  font-size: 0.77rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.key-takeaway p {
  margin: 8px 0 0;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 44px 0 28px;
}

.page-hero h1 {
  max-width: 23ch;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 0.82rem;
}

.breadcrumbs a {
  color: var(--muted);
}

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

.toc {
  position: sticky;
  top: 24px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

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

.toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
  text-decoration: none;
}

.toc a:hover {
  color: var(--brand-dark);
}

.article-body h2 {
  margin-top: 36px;
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
}

.article-body h3 {
  margin-top: 21px;
}

.article-body p,
.article-body ul,
.article-body ol {
  color: var(--copy);
}

.article-body {
  width: 100%;
  min-width: 0;
  max-width: none;
  overflow-wrap: anywhere;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.65rem;
  align-items: center;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.page-meta a {
  color: inherit;
  font-weight: 700;
}

.source-note {
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffaf5;
}

.source-note h2 {
  margin: 0;
  font-size: 1.18rem;
}

.source-note p {
  margin-top: 8px;
}

.article-body > p,
.article-body > ul,
.article-body > ol {
  max-width: var(--reading);
}

.article-body p {
  margin: 15px 0 0;
}

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

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

.article-body .quick-answer {
  margin-bottom: 26px;
}

.callout {
  margin-top: 23px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--brand-soft);
}

.callout p {
  max-width: var(--reading);
  margin: 0;
}

.callout.warning {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.checklist-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.checklist-item {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.checklist-box {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 2px solid #a9abba;
  border-radius: 6px;
  color: var(--brand);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.faq-item h2,
.faq-item h3 {
  font-family: inherit;
  font-size: 1.01rem;
  letter-spacing: -0.015em;
}

.faq-item p {
  max-width: var(--reading);
  margin: 9px 0 0;
  color: var(--muted);
}

.cta-band {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.cta-band h2 {
  max-width: 20ch;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
}

.cta-band p {
  max-width: 64ch;
  margin: 13px 0 0;
  color: var(--copy);
}

.cta-band .button {
  color: #fff;
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.cta-band .button:hover {
  border-color: #923806;
  background: #923806;
}

.cta-band .button.secondary {
  color: var(--ink);
  border-color: var(--line-strong);
  background: #fff;
}

.cta-band .button.secondary:hover {
  color: var(--brand-dark);
  border-color: var(--brand);
  background: #fff;
}

.site-footer {
  padding: 36px 0 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fff;
}

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

.site-footer .wordmark {
  color: var(--ink);
}

.footer-intro p {
  max-width: 52ch;
  margin: 16px 0 0;
  font-size: 0.88rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 18px;
}

.footer-links a {
  color: var(--copy);
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand-dark);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-bottom-compact {
  margin-top: 0;
}

.not-found {
  display: grid;
  min-height: 62vh;
  place-items: center;
  text-align: center;
}

.not-found h1 {
  max-width: none;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
}

.centered-copy {
  margin-inline: auto;
}

.centered-actions {
  justify-content: center;
}

#codex-whatsapp-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 2147483000;
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 12px 30px rgba(9, 46, 28, 0.3);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

#codex-whatsapp-float:hover,
#codex-whatsapp-float:focus-visible {
  color: #fff;
  box-shadow: 0 16px 36px rgba(9, 46, 28, 0.38);
  transform: translateY(-2px) scale(1.04);
}

#codex-whatsapp-float:focus-visible {
  outline: 3px solid #17231d;
  outline-offset: 3px;
}

#codex-whatsapp-float img {
  display: block;
  width: 32px;
  height: 32px;
}

#codex-whatsapp-float .codex-whatsapp-label {
  position: absolute;
  top: 50%;
  right: 68px;
  width: max-content;
  max-width: 210px;
  padding: 0.55rem 0.7rem;
  border-radius: 9px;
  color: #fff;
  background: #17231d;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  font: 600 13px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 180ms ease, visibility 180ms ease;
}

#codex-whatsapp-float:hover .codex-whatsapp-label,
#codex-whatsapp-float:focus-visible .codex-whatsapp-label {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 980px) {
  .header-main {
    display: block;
    padding-top: 14px;
  }

  .site-nav {
    width: calc(100vw - 32px);
    margin-top: 9px;
    padding-bottom: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.55);
  }

  .section-heading,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .article-card-grid,
  .reader-route {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-grid,
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    display: none;
  }
}

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

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

  .search-hero {
    min-height: 0;
    padding: 30px 0 22px;
  }

  .search-hero h1 {
    margin-top: 15px;
    font-size: clamp(1.95rem, 9.5vw, 2.75rem);
  }

  .search-hero-lede {
    margin-top: 11px;
    font-size: 0.98rem;
  }

  .scene-box-one {
    right: -42%;
    opacity: 0.55;
  }

  .scene-box-two {
    right: 48%;
    opacity: 0.24;
  }

  .scene-box-three,
  .scene-route {
    display: none;
  }

  .hero-search-form {
    min-height: 0;
    grid-template-columns: 30px minmax(0, 1fr);
    margin-top: 20px;
    padding: 7px;
    border-radius: 19px;
  }

  .search-mark {
    margin-left: 7px;
    transform: scale(0.82);
  }

  .hero-search-form input {
    padding: 10px 6px;
    font-size: 0.9rem;
  }

  .hero-search-form button {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    grid-column: 1 / -1;
    margin-top: 3px;
    border-radius: 14px;
  }

  .hero-popular {
    gap: 5px;
  }

  .hero-popular span,
  .hero-popular a {
    padding: 4px 7px;
  }

  .search-journey {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .search-journey::before {
    display: none;
  }

  .journey-step {
    display: grid;
    grid-template-columns: 19px 1fr;
    column-gap: 11px;
    align-items: center;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 13px;
    background: rgba(86, 38, 13, 0.24);
    text-align: left;
  }

  .journey-dot {
    width: 15px;
    height: 15px;
    grid-row: 1 / 3;
    margin: 0;
    border-width: 3px;
  }

  .journey-step small {
    margin-top: 0;
  }

  .page-hero {
    padding: 32px 0 21px;
  }

  .section,
  .section.compact {
    padding: 34px 0;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .quick-answer,
  .cta-band {
    padding: 21px;
  }

  .search-form {
    display: block;
  }

  .search-form button {
    width: 100%;
    margin-top: 6px;
  }

  .step-grid,
  .card-grid,
  .article-card-grid,
  .reader-route,
  .question-grid,
  .comparison,
  .score-grid,
  .link-directory {
    grid-template-columns: 1fr;
  }

  .article-card.featured {
    grid-column: auto;
  }

  .article-card {
    min-height: 0;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .category-card {
    min-height: 172px;
    padding: 17px 8px 14px;
  }

  .category-icon {
    width: 64px;
    height: 64px;
    border-radius: 17px;
  }

  .category-icon img {
    width: 38px;
    height: 38px;
  }

  .category-card h3 {
    font-size: 0.96rem;
  }

  .category-card p {
    font-size: 0.7rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    display: block;
  }

  .table-scroll-hint {
    display: block;
    margin: 13px 0 -8px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
  }

}

@media (max-width: 600px) {
  #codex-whatsapp-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
  }

  #codex-whatsapp-float .codex-whatsapp-label {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  #codex-whatsapp-float {
    display: none !important;
  }
}
