:root {
  color-scheme: light;
  --ink: #10150e;
  --ink-2: #293226;
  --mist: #edf0e8;
  --line: #dfe4d9;
  --accent: #e3fc00;
  --accent-dark: #485700;
  --muted: #60695d;
  --warning: #c94c32;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(12, 18, 10, 0.08);
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --max: 1180px;
  --reading-max: 820px;
  --space-section: clamp(1.65rem, 3vw, 2.8rem);
  --space-section-compact: clamp(1.3rem, 2.2vw, 1.9rem);
  --space-panel: clamp(1.05rem, 2.1vw, 1.7rem);
  --space-card: 0.88rem;
  --grid-gap: 0.58rem;
  --title-section: clamp(1.56rem, 3vw, 2.2rem);
  --title-article: clamp(1.44rem, 2.4vw, 1.9rem);
  --title-card: 1.16rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--accent);
  color: #080c07;
}

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

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

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: #384500;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--accent);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(2.45rem, 6vw, 4.6rem);
}

h2 {
  font-size: var(--title-section);
}

h3 {
  font-size: var(--title-card);
}

p,
ul,
ol {
  margin-top: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 0.7rem 1rem;
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.container,
.narrow {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.legal-copy > h2,
.legal-copy > h3,
.legal-copy > p,
.legal-copy > ul,
.legal-copy > ol,
.narrow .faq-item > h2,
.narrow .faq-item > h3,
.narrow .faq-item > p {
  max-width: var(--reading-max);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(16, 21, 14, 0.11);
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.68rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  background: #080c07 url("/favicon.svg") center / cover no-repeat;
  color: transparent;
  border-radius: 11px;
  font-size: 0;
  box-shadow: 0 8px 22px rgba(8, 12, 7, 0.14);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem;
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.48rem 0.62rem;
  color: var(--ink-2);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(227, 252, 0, 0.2);
  color: var(--ink);
}

.hero {
  padding: 0.75rem 0 0.25rem;
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.72rem;
  min-height: 480px;
  align-content: center;
  overflow: hidden;
  padding: clamp(1.7rem, 3.2vw, 2.8rem);
  background:
    linear-gradient(120deg, rgba(225, 244, 32, 0.03), rgba(225, 244, 32, 0.1)),
    #091109;
  color: #f8f3e8;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(224, 244, 41, 0.18);
  box-shadow: var(--shadow);
}

.hero-panel > * {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-panel::before {
  position: absolute;
  z-index: 0;
  inset: -28% -12%;
  background:
    repeating-linear-gradient(
      105deg,
      transparent 0 12%,
      rgba(216, 234, 31, 0.08) 12% 18%,
      transparent 18% 29%
    );
  content: "";
  transform: skewX(-5deg);
}

.hero-panel::after {
  position: absolute;
  z-index: 1;
  right: -5%;
  bottom: -34%;
  width: 48%;
  height: 95%;
  background: linear-gradient(145deg, rgba(228, 246, 37, 0.15), rgba(228, 246, 37, 0));
  clip-path: polygon(42% 0, 100% 26%, 100% 100%, 0 100%);
  content: "";
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hero .eyebrow {
  color: #e3ef91;
}

.hero h1 {
  max-width: 820px;
  margin: 0 auto 1rem;
  color: #e6fb2d;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.25rem, 4.6vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-align: center;
}

.hero-lede {
  max-width: 820px;
  margin: 0 auto;
  color: #e9eee9;
  font-size: clamp(1.03rem, 1.8vw, 1.2rem);
  text-align: center;
}

.hero-copy {
  text-align: center;
}

.hero-copy .eyebrow {
  justify-content: center;
  color: #e3ef91;
}

.hero-search {
  display: grid;
  width: min(100%, 1030px);
  min-height: 72px;
  grid-template-columns: 28px minmax(180px, 1fr) auto auto;
  align-items: center;
  gap: 0.6rem;
  margin: 0 auto;
  padding: 0.45rem;
  color: var(--ink);
  background: var(--white);
  border: 6px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background-clip: padding-box;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.hero-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.hero-search-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  margin-left: 0.35rem;
  border: 2px solid #789087;
  border-radius: 50%;
}

.hero-search-icon::after {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  background: #789087;
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

.hero-search input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 0.35rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 1rem;
}

.hero-search input::placeholder {
  color: #59645f;
  opacity: 1;
}

.source-hints {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.source-hints span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #59645f;
  background: #eef1ef;
  border: 1px solid #e0e5e2;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 850;
}

.source-hints span:nth-child(2) {
  font-size: 0.62rem;
}

.hero-search button {
  min-width: 200px;
  min-height: 50px;
  padding: 0 1.2rem;
  color: var(--white);
  background: #080a08;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.24);
}

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

.hero-shortcuts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: -0.35rem;
  color: #aebdb2;
  font-size: 0.78rem;
}

.hero-shortcuts a {
  padding: 0.28rem 0.68rem;
  color: #e9f2ec;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  text-decoration: none;
}

.hero-shortcuts a:hover {
  color: #111a12;
  background: #e6fb2d;
  border-color: #e6fb2d;
}

.search-steps {
  position: relative;
  display: grid;
  width: min(100%, 900px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0.35rem auto 0;
  padding: 0;
  list-style: none;
}

.search-steps::before {
  position: absolute;
  z-index: 0;
  top: 21px;
  right: 15%;
  left: 15%;
  border-top: 2px dotted rgba(225, 238, 220, 0.46);
  content: "";
}

.search-steps li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.search-step-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 0.55rem;
  place-items: center;
  color: #e6fb2d;
  background: #070b07;
  border: 1px solid rgba(230, 251, 45, 0.32);
  border-radius: 50%;
  font-weight: 900;
}

.search-steps strong,
.search-steps small {
  display: block;
}

.search-steps strong {
  color: var(--white);
  font-size: 0.94rem;
}

.search-steps small {
  margin-top: 0.22rem;
  color: #aebdb2;
  font-size: 0.76rem;
  line-height: 1.45;
}

.hero-utility {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-top: -0.15rem;
}

.hero-utility a {
  color: #eaf2ec;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration-color: rgba(230, 251, 45, 0.55);
}

.hero-utility a:hover {
  color: #e6fb2d;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.75rem 0;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1rem;
  color: var(--white);
  background: #0a0d09;
  border: 1px solid #0a0d09;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  color: var(--white);
  background: #293226;
}

.button.primary {
  color: #142b25;
  background: var(--accent);
  border-color: var(--accent);
}

.button.primary:hover {
  color: #142b25;
  background: #e6fb2d;
}

.button.ghost {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

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

.button.light:hover {
  background: var(--mist);
}

.trust-note {
  max-width: 720px;
  margin: 1.1rem 0 0;
  color: #c6d5cf;
  font-size: 0.84rem;
  line-height: 1.55;
}

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

.hero .external-note {
  margin: -0.5rem auto 0;
  color: #b9cac3;
  text-align: center;
}

.hero .trust-note {
  max-width: 880px;
  margin: -0.35rem auto 0;
  text-align: center;
}

.category-directory-shell {
  position: relative;
  overflow: hidden;
  padding: var(--space-panel);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 38px rgba(12, 18, 10, 0.07);
}

.directory-head {
  margin-bottom: 0.8rem;
  text-align: center;
}

.directory-head .eyebrow {
  justify-content: center;
  color: var(--accent-dark);
}

.directory-head h2 {
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.72rem, 3.8vw, 2.85rem);
  letter-spacing: -0.045em;
}

.directory-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.directory-card {
  display: flex;
  min-width: 0;
  min-height: 160px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 0.65rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(12, 18, 10, 0.055);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.directory-card:hover {
  color: var(--ink);
  border-color: #d6ed16;
  box-shadow: 0 14px 32px rgba(12, 18, 10, 0.11);
  transform: translateY(-4px);
}

.directory-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 0.5rem;
  place-items: center;
  background: #f0f5d8;
  border: 1px solid #e1eab6;
  border-radius: 16px;
  font-size: 2rem;
  filter: saturate(0.9);
}

.directory-card strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.directory-card small {
  margin-top: 0.3rem;
  color: #68755f;
  font-size: 0.72rem;
}

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

.directory-note a {
  color: var(--accent-dark);
}

.card-icon {
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--ink);
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
}

.search-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.search-form input {
  width: 100%;
  min-height: 50px;
  padding: 0.72rem 0.9rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cbd5ce;
  border-radius: 10px;
  font: inherit;
}

.search-form input::placeholder {
  color: #59645f;
  opacity: 1;
}

.section {
  padding: var(--space-section) 0;
}

.section.compact {
  padding: var(--space-section-compact) 0;
}

.section.tint {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.section-head > div {
  max-width: 720px;
}

.section-head h2 {
  margin-bottom: 0.48rem;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.quick-answer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  padding: 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.quick-answer .label {
  margin: 0;
  padding-top: 0.1rem;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.quick-answer p:last-child {
  max-width: 860px;
  margin-bottom: 0;
}

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

.category-card,
.soft-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(12, 18, 10, 0.04);
}

.category-card {
  display: flex;
  min-height: 235px;
  flex-direction: column;
  padding: var(--space-card);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.category-card:hover {
  box-shadow: 0 15px 40px rgba(24, 49, 43, 0.1);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.5rem;
  background: var(--mist);
  border: 1px solid #cedbd2;
  font-size: 0.8rem;
}

.category-card:nth-child(3n + 2) .card-icon {
  background: #f1f5dc;
  border-color: #e2e9bd;
}

.category-card:nth-child(3n + 3) .card-icon {
  background: #e6eedf;
  border-color: #d2ddc9;
}

.category-card .card-icon {
  font-size: 1.7rem;
}

.category-card h3 {
  margin-bottom: 0.55rem;
}

.category-card p {
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.category-card .check-copy {
  color: var(--ink-2);
  font-size: 0.84rem;
}

.category-card a {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 850;
}

.step-grid,
.three-grid,
.two-grid,
.link-grid {
  display: grid;
  gap: var(--grid-gap);
}

.step-grid,
.three-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.link-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.soft-card {
  padding: var(--space-card);
}

.soft-card h3 {
  margin-bottom: 0.55rem;
}

.soft-card p:last-child,
.soft-card ul:last-child {
  margin-bottom: 0;
}

.step-number {
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-bottom: 0.6rem;
  place-items: center;
  color: var(--white);
  background: var(--accent-dark);
  border-radius: 50%;
  font-weight: 850;
}

.clean-list,
.check-list,
.red-flag-list {
  padding: 0;
  list-style: none;
}

.clean-list li,
.check-list li,
.red-flag-list li {
  position: relative;
  padding: 0.42rem 0 0.42rem 1.75rem;
}

.clean-list li::before,
.check-list li::before {
  position: absolute;
  top: 0.52rem;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: var(--white);
  background: #477e5b;
  border-radius: 50%;
  content: "✓";
  font-size: 0.7rem;
  font-weight: 900;
}

.red-flag-list li::before {
  position: absolute;
  top: 0.72rem;
  left: 0.15rem;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  content: "";
}

.internal-nav a {
  display: block;
  min-height: 100%;
  padding: 0.62rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

.internal-nav a:hover {
  background: #f5f9d9;
  border-color: #dce99a;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: var(--space-panel);
  background: var(--white);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 34px rgba(12, 18, 10, 0.07);
}

.cta-panel h2 {
  margin-bottom: 0.55rem;
  color: var(--ink);
}

.cta-panel p {
  max-width: 700px;
  margin-bottom: 0;
}

.cta-panel .button.ghost {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.cta-panel .button.ghost:hover {
  color: var(--ink);
  background: var(--mist);
}

.page-hero {
  padding: clamp(1.45rem, 2.8vw, 2.4rem) 0 1rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.page-hero .eyebrow {
  margin-bottom: 0.5rem;
}

.page-hero h1 {
  max-width: 960px;
  margin-bottom: 0.65rem;
  font-size: clamp(1.9rem, 3.8vw, 3.15rem);
}

.page-hero .lede {
  max-width: 770px;
  color: var(--muted);
  font-size: 1.08rem;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  margin: 0.5rem 0 0;
  color: #697164;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.article-byline span + span::before {
  margin-right: 0.8rem;
  color: #a0a99a;
  content: "•";
}

.article-byline a {
  color: inherit;
  text-decoration-color: rgba(96, 105, 93, 0.45);
}

.article-byline a:hover {
  color: var(--accent-dark);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.83rem;
}

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

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  grid-template-areas: "content toc";
  align-items: start;
  gap: clamp(1.1rem, 2vw, 2rem);
}

.prose {
  grid-area: content;
  min-width: 0;
}

.prose > section {
  margin-bottom: 1.5rem;
  scroll-margin-top: 96px;
}

.prose h2 {
  margin-bottom: 0.5rem;
  font-size: var(--title-article);
}

.prose h3 {
  margin-top: 0.95rem;
}

.prose p,
.prose li {
  color: #394137;
}

.prose strong {
  color: var(--ink);
}

.side-card {
  grid-area: toc;
  position: sticky;
  top: 92px;
  padding: 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 36px rgba(12, 18, 10, 0.055);
}

.side-card h2 {
  margin-bottom: 0.5rem;
  font-size: 1.08rem;
}

.side-card a {
  display: block;
  padding: 0.24rem 0;
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.side-card a:hover {
  color: var(--accent-dark);
}

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

.example-card {
  padding: var(--space-card);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.example-card.good {
  border-top: 5px solid #4f8b64;
}

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

.example-card h3 {
  margin-bottom: 0.5rem;
}

.note-box {
  padding: 0.75rem;
  background: #f7fbdc;
  border: 1px solid #e1eaa8;
  border-radius: var(--radius-md);
}

.name-list {
  margin-top: 0.6rem;
  padding: 0.65rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.name-list summary {
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.name-list p {
  margin: 0.85rem 0 0;
}

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

.article-card {
  display: flex;
  min-height: 235px;
  flex-direction: column;
  padding: var(--space-card);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(20, 33, 15, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.article-card:hover {
  box-shadow: 0 18px 45px rgba(20, 33, 15, 0.11);
  transform: translateY(-3px);
}

.article-card-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 0.5rem;
  place-items: center;
  background: #f4f9cf;
  border: 1px solid #e0e99f;
  border-radius: 14px;
  font-size: 1.55rem;
}

.article-meta {
  margin-bottom: 0.55rem;
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card h2,
.article-card h3 {
  margin-bottom: 0.65rem;
  font-size: var(--title-card);
}

.article-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.article-card > a:last-child {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 850;
}

.answer-stack {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.answer-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.answer-item h3 {
  margin: 0 0 0.5rem;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

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

.prose .decision-line {
  padding: 0.75rem 0.9rem;
  background: var(--ink);
  color: #e9f2ec;
  border-radius: var(--radius-md);
}

.decision-line strong {
  color: var(--accent);
}

.score-table,
.guide-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.92rem;
}

.score-table th,
.score-table td,
.guide-table th,
.guide-table td {
  padding: 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.score-table th,
.guide-table th {
  background: #f1f4ec;
  color: var(--ink);
  box-shadow: inset 0 3px 0 rgba(227, 252, 0, 0.75);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
}

.faq-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item h2,
.faq-item h3 {
  margin-bottom: 0.55rem;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 1.02rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

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

.legal-copy h2 {
  margin-top: 1.2rem;
  font-size: 1.44rem;
}

.site-footer {
  padding: 1.5rem 0 0.9rem;
  background: var(--white);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 1.25rem;
}

.site-footer .brand {
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.footer-note {
  max-width: 520px;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 1rem;
}

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

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

.copyright {
  margin-top: 1rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 1040px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.7rem 0;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .source-hints {
    display: none;
  }

  .hero-search {
    grid-template-columns: 28px minmax(0, 1fr) auto;
  }

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

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

  .directory-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .container,
  .narrow {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  .site-header {
    position: static;
  }

  .nav-shell {
    gap: 0.3rem;
    padding-block: 0.55rem;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 0.3rem;
    padding-bottom: 0.35rem;
    overflow: visible;
  }

  .site-nav a {
    flex: 1 1 auto;
    min-height: 44px;
    justify-content: center;
    padding: 0.48rem 0.68rem;
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 0.3rem;
  }

  .hero-panel {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 0.6rem;
    padding: 1.2rem 0.8rem;
    border-radius: 20px;
  }

  .hero h1 {
    font-size: clamp(2rem, 9.5vw, 2.65rem);
    overflow-wrap: normal;
  }

  .hero-lede {
    font-size: 0.98rem;
  }

  .hero-search {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 0.4rem;
    padding: 0.4rem;
    border-width: 3px;
    border-radius: 20px;
  }

  .hero-search input {
    min-height: 44px;
    font-size: 0.91rem;
  }

  .hero-search button {
    min-width: 0;
    min-height: 48px;
    grid-column: 1 / -1;
    border-radius: 14px;
  }

  .search-steps {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    margin-top: 0.18rem;
  }

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

  .search-steps li {
    grid-template-columns: 42px 1fr;
    justify-items: start;
    align-items: center;
    gap: 0.55rem;
    padding: 0.38rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    text-align: left;
  }

  .search-step-number {
    margin-bottom: 0;
  }

  .hero-utility {
    align-items: center;
    flex-direction: column;
    gap: 0.28rem;
  }

  .button-row .button {
    width: 100%;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .article-card-grid,
  .step-grid,
  .three-grid,
  .two-grid,
  .comparison,
  .footer-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .category-directory-shell {
    width: min(calc(100% - 1.25rem), var(--max));
    padding: 1rem 0.65rem;
    border-radius: 20px;
  }

  .directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
  }

  .directory-card {
    min-height: 130px;
    padding: 0.45rem 0.35rem;
  }

  .directory-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 0.38rem;
    font-size: 1.7rem;
  }

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

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }

  .quick-answer {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "toc"
      "content";
  }

  .side-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
    gap: 0.12rem 0.6rem;
  }

  .side-card h2 {
    grid-column: 1 / -1;
  }

  .prose > section {
    margin-bottom: 1.25rem;
  }

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

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

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