:root {
  --ink: #182014;
  --muted: #5c6858;
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-soft: #ffffff;
  --line: #d7e1d1;
  --plum: #0a0f05;
  --plum-soft: #1b260c;
  --coral: #dbff00;
  --coral-dark: #506900;
  --mint: #dbff00;
  --radius-sm: 12px;
  --radius-md: 16px;
  --shadow-soft: 0 10px 28px rgba(17, 31, 8, 0.065);
  --shadow: 0 16px 38px rgba(17, 31, 8, 0.085);
  --max: 1040px;
  --measure: 900px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.006em;
  text-rendering: optimizeLegibility;
}

a { color: var(--coral-dark); text-underline-offset: 0.18em; transition: color 150ms ease; }
a:hover { color: #263500; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--mint);
  font-weight: 800;
}
.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  background: var(--plum);
  box-shadow: 0 1px rgba(219,255,0,0.035);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(calc(100% - 32px), var(--max));
  min-height: 68px;
  margin: 0 auto;
  padding: 10px 0;
}

.wordmark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(219, 255, 0, 0.55);
  border-radius: 12px;
  color: var(--plum);
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(219, 255, 0, 0.055), inset 0 0 0 1px rgba(27,33,48,0.1);
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header nav { min-width: 0; }

.site-nav a {
  display: block;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #edf4e8;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 720;
}
.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav a.active-parent { border-color: rgba(219,255,0,0.09); color: #fff; background: var(--plum-soft); }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--plum);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: -130px;
  right: -70px;
  width: 390px;
  height: 390px;
  border: 80px solid rgba(204,239,174,0.15);
  border-radius: 45% 55% 61% 39%;
  transform: rotate(18deg);
}

.hero::after {
  bottom: -190px;
  left: 43%;
  width: 360px;
  height: 360px;
  border-radius: 38%;
  background: rgba(244,119,97,0.12);
  transform: rotate(31deg);
}

.home .site-header {
  border-bottom-color: rgba(219, 255, 0, 0.12);
  background: #0a0f05;
}

.home .brand-mark {
  background: #dbff00;
}

.joy-hero {
  min-height: 640px;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% -20%, rgba(220, 255, 0, 0.13), transparent 42%),
    linear-gradient(118deg, #070b03 0%, #111901 54%, #090e03 100%);
}

.joy-hero::before {
  inset: -19% auto -30% 3%;
  width: 42%;
  height: auto;
  border: 0;
  border-radius: 0;
  background: linear-gradient(145deg, rgba(146, 158, 15, 0.25), rgba(64, 71, 7, 0.06));
  clip-path: polygon(37% 0, 69% 0, 100% 100%, 68% 100%, 56% 61%, 39% 61%, 28% 100%, 0 100%);
  transform: rotate(-5deg);
}

.joy-hero::after {
  inset: -18% -8% auto auto;
  width: 44%;
  height: 95%;
  border: 0;
  border-radius: 0;
  background: linear-gradient(144deg, rgba(220, 255, 0, 0.18), rgba(70, 81, 4, 0.02));
  clip-path: polygon(25% 0, 100% 0, 100% 44%, 70% 27%, 55% 100%, 14% 100%, 35% 22%, 0 37%);
  transform: rotate(8deg);
}

.joy-hero-shape {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.joy-hero-shape-one {
  bottom: -180px;
  left: 44%;
  width: 430px;
  height: 430px;
  border: 86px solid rgba(114, 128, 7, 0.13);
  border-radius: 50%;
}

.joy-hero-shape-two {
  top: -210px;
  right: 20%;
  width: 300px;
  height: 620px;
  background: linear-gradient(rgba(220, 255, 0, 0.09), transparent 75%);
  clip-path: polygon(48% 0, 100% 0, 55% 100%, 0 100%);
  transform: rotate(13deg);
}

.joy-hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: clamp(38px, 4.8vw, 58px) 0 clamp(42px, 5.5vw, 62px);
  text-align: center;
}

.joy-hero .eyebrow {
  justify-content: center;
  color: #e9f1de;
}

.joy-hero .eyebrow::before { background: #dbff00; }

.hero.joy-hero h1 {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(2.45rem, 5.2vw, 4.35rem);
  line-height: 1.02;
  text-align: center;
}

.joy-hero h1 span { color: #dbff00; }

.joy-hero .hero-intro {
  max-width: 760px;
  margin: 17px auto 0;
  color: #e4e8dd;
}

.hero-trust {
  display: inline-flex;
  max-width: 930px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 16px auto 0;
  color: #bdc6b2;
  font-size: 0.8rem;
}

.hero-trust::before {
  display: inline-block;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dbff00;
  box-shadow: 0 0 0 5px rgba(219, 255, 0, 0.1);
  content: "";
}

.joy-search {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  width: min(100%, 1040px);
  margin: 26px auto 0;
  padding: 9px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0,0,0,0.32), 0 0 0 8px rgba(255,255,255,0.045);
}

.joy-search-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #12170c;
  background: #eff2ec;
}

.joy-search input {
  width: 100%;
  min-width: 0;
  height: 58px;
  padding: 8px 7px;
  border: 0;
  outline: 0;
  color: #171b14;
  background: transparent;
  font: inherit;
  font-size: 1rem;
}

.joy-search input::placeholder { color: #92988d; }

.joy-search input:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(127, 148, 0, 0.45);
  outline-offset: 1px;
}

.source-chips {
  display: flex;
  align-items: center;
  gap: 7px;
}

.source-chip {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #70766b;
  background: #eef0ed;
  font-size: 0.78rem;
  font-weight: 900;
}

.source-chip-wide { min-width: 48px; }

.joy-search button {
  min-height: 58px;
  padding: 10px 25px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #0b0e09;
  box-shadow: 0 7px 17px rgba(0,0,0,0.2);
  cursor: pointer;
  font: inherit;
  font-size: 0.93rem;
  font-weight: 850;
}

.joy-search button:hover { color: #10140c; background: #dbff00; }

.search-external-note {
  margin: 10px 0 0;
  color: #939c88;
  font-size: 0.74rem;
}

.search-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  width: min(100%, 930px);
  margin: 32px auto 0;
  padding: 0;
  text-align: left;
  list-style: none;
}

.search-flow::before {
  position: absolute;
  z-index: -1;
  top: 17px;
  right: 15%;
  left: 15%;
  border-top: 2px dotted rgba(226, 233, 215, 0.5);
  content: "";
}

.search-flow li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}

.flow-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(219, 255, 0, 0.25);
  border-radius: 50%;
  color: #fff;
  background: #050704;
  box-shadow: 0 0 0 7px #101702;
  font-size: 0.78rem;
  font-weight: 900;
}

.search-flow strong,
.search-flow span { display: block; }
.search-flow .flow-number { display: grid; }
.search-flow strong { margin: 5px 0 3px; color: #fff; font-size: 0.94rem; }
.search-flow div > span { color: #adb5a3; font-size: 0.78rem; line-height: 1.5; }

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

.hero-links a {
  color: #dce4d4;
  font-size: 0.8rem;
  font-weight: 760;
  text-decoration-color: rgba(219, 255, 0, 0.5);
}

.hero-links a:hover { color: #dbff00; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 11px;
  color: inherit;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

.hero h1,
.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 span { color: var(--mint); }

.hero-intro {
  max-width: 690px;
  margin: 18px 0 0;
  color: #dce6d6;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  background: var(--mint);
  text-decoration: none;
  font-size: 0.89rem;
  font-weight: 850;
  text-align: center;
  white-space: normal;
}
.button:hover { color: var(--ink); background: #e0ffc5; }
.button.secondary { border-color: rgba(255,255,255,0.28); color: #fff; background: transparent; }
.button.secondary:hover { background: rgba(255,255,255,0.08); }
.button.dark { color: #fff; background: var(--plum); }
.button.dark:hover { color: #fff; background: var(--plum-soft); }

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

.search-form {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.search-form label,
.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.search-form input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 11px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}
.search-form button {
  min-height: 48px;
  padding: 10px 16px;
  border: 0;
  border-radius: 11px;
  color: var(--ink);
  background: var(--mint);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}
.page-hero::before {
  position: absolute;
  z-index: -1;
  top: -120px;
  right: -70px;
  width: 360px;
  height: 360px;
  border: 64px solid rgba(80,105,0,0.045);
  border-radius: 42%;
  transform: rotate(22deg);
  content: "";
}
.page-hero::after {
  position: absolute;
  z-index: -1;
  right: 18%;
  bottom: -115px;
  width: 240px;
  height: 260px;
  background: linear-gradient(rgba(110,130,8,0.065), transparent);
  clip-path: polygon(47% 0, 100% 0, 58% 100%, 0 100%);
  transform: rotate(12deg);
  content: "";
}
.page-hero .wrap { position: relative; z-index: 1; padding-top: clamp(34px, 4.2vw, 48px); padding-bottom: clamp(36px, 4.6vw, 52px); }
.page-hero h1 { max-width: 900px; font-size: clamp(1.85rem, 3.6vw, 3.15rem); line-height: 1.05; }
.page-hero .lede { max-width: 760px; margin: 15px 0 0; color: var(--muted); font-size: 1.08rem; }

.breadcrumbs { margin: 0 0 15px; color: var(--muted); font-size: 0.8rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { margin-left: 7px; content: "/"; }
.breadcrumbs a { color: var(--coral-dark); }

.wrap { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.content-narrow { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.section { padding: clamp(36px, 4.8vw, 56px) 0; background: #fff; }
.section.compact { padding: clamp(26px, 3.4vw, 38px) 0; }
.section.surface { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-soft); }
.section.dark { color: var(--ink); background: #fff; }
.section.coral { background: #fff; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.3fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 19px;
}
.section-head h2,
.article h2 { margin: 0; font-size: clamp(1.48rem, 2.8vw, 2.2rem); line-height: 1.1; letter-spacing: -0.038em; }
.section > .content-narrow > h2 { max-width: var(--measure); margin: 0 0 12px; font-size: clamp(1.38rem, 2.35vw, 1.78rem); line-height: 1.14; letter-spacing: -0.032em; }
.section > .content-narrow > p { max-width: var(--measure); }
.section-head p { margin: 0; color: var(--muted); }
.dark .section-head p { color: var(--muted); }
.section-label { margin: 0 0 8px; color: var(--coral-dark); font-size: 0.74rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.dark .section-label { color: var(--coral-dark); }

.quick-answer {
  position: relative;
  padding: 22px 24px 22px 30px;
  border: 1px solid #cfddb9;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.quick-answer::before { position: absolute; inset: 0 auto 0 0; width: 7px; border-radius: var(--radius-md) 0 0 var(--radius-md); background: var(--coral); content: ""; }
.quick-answer h2 { margin: 0 0 7px; font-size: 1rem; letter-spacing: -0.01em; }
.quick-answer p { max-width: var(--measure); margin: 0; }

.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.category-card { 
  display: flex;
  min-height: 242px;
  flex-direction: column;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.category-card:hover { border-color: #a9bb8e; box-shadow: var(--shadow); transform: translateY(-3px); }
.category-card .icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid #dce6d6;
  border-radius: var(--radius-sm);
  color: #10150c;
  background: #eff4ec;
  box-shadow: inset 0 1px rgba(255,255,255,0.8);
}
.category-card .icon svg { width: 34px; height: 34px; }
.category-card:nth-child(3n+2) .icon { background: #edffd1; }
.category-card:nth-child(3n+3) .icon { background: #f3f6e7; }
.category-card:hover .icon { border-color: rgba(80,105,0,0.32); background: var(--mint); }
.category-card h3 { margin: 0 0 6px; font-size: 1.13rem; line-height: 1.22; }
.category-card p { margin: 0 0 13px; color: var(--muted); font-size: 0.88rem; }
.category-card .check { font-size: 0.82rem; }
.category-card a { margin-top: auto; font-size: 0.86rem; font-weight: 850; }

.joy-directory-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.joy-directory-section::before {
  position: absolute;
  inset: auto -8% -65% auto;
  width: 440px;
  height: 440px;
  border: 78px solid rgba(80,105,0,0.035);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

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

.directory-head .section-label {
  color: var(--coral-dark);
}

.directory-head h2 {
  margin: 0;
  font-size: clamp(1.62rem, 3.3vw, 2.65rem);
  line-height: 1.06;
  letter-spacing: -0.042em;
}

.directory-head p:last-child {
  margin: 11px auto 0;
  color: var(--muted);
}

.category-directory {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.directory-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 158px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  padding: 17px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-soft);
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.directory-card::after {
  position: absolute;
  top: 13px;
  right: 14px;
  color: #7b8776;
  content: "↗";
  font-size: 0.75rem;
}

.directory-card:hover {
  border-color: #dbff00;
  color: #10150c;
  background: #dbff00;
  transform: translateY(-3px);
}

.directory-card:hover::after { color: rgba(16,21,12,0.5); }

.directory-icon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.78);
  border-radius: var(--radius-sm);
  color: #10150c;
  background: #f1f4ee;
  box-shadow: 0 9px 24px rgba(0,0,0,0.17);
}

.directory-icon svg {
  width: 35px;
  height: 35px;
}

.directory-card:hover .directory-icon {
  border-color: rgba(16,21,12,0.13);
  color: #10150c;
  background: #fff;
}

.directory-card strong {
  font-size: 1rem;
  line-height: 1.15;
}

.directory-note {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.76rem;
}

.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: steps; }
.step { position: relative; padding: 22px; border: 1px solid var(--line); border-top: 4px solid var(--coral); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-soft); counter-increment: steps; }
.step::before { display: grid; width: 34px; height: 34px; place-items: center; margin-bottom: 18px; border-radius: 50%; color: #fff; background: var(--plum); content: counter(steps, decimal-leading-zero); font-size: 0.72rem; font-weight: 900; }
.step h3 { margin: 0 0 8px; font-size: 1.07rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.91rem; }

.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; padding: 0; list-style: none; }
.check-grid li { position: relative; padding: 14px 15px 14px 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: 0 4px 14px rgba(17,31,8,0.035); }
.check-grid li::before { position: absolute; top: 15px; left: 15px; width: 20px; height: 20px; border: 2px solid var(--plum-soft); border-radius: 5px; content: ""; }

.article { padding: clamp(34px, 4.5vw, 50px) 0; background: #fff; }
.article > * + * { margin-top: 16px; }
.article h2 { margin-top: 34px; font-size: clamp(1.38rem, 2.55vw, 1.92rem); }
.article h3 { margin: 25px 0 7px; font-size: 1.16rem; line-height: 1.27; }
.article > h2,
.article > h3,
.article > p:not(.article-meta),
.article > ul,
.article > ol,
.article > blockquote { max-width: var(--measure); }
.article p { margin-bottom: 0; }
.article ul,
.article ol { padding-left: 1.25rem; }
.article li + li { margin-top: 7px; }
.article .quick-answer { margin-top: 0; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.article-meta span + span::before {
  margin-right: 16px;
  color: #99a58f;
  content: "•";
}

.article-toc {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.article-toc h2 {
  margin: 0 0 15px;
  font-size: 1.03rem;
  letter-spacing: -0.02em;
}

.article-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 24px;
  margin: 0;
  padding-left: 1.2rem;
}

.article-toc li + li { margin-top: 0; }
.article-toc a { color: var(--ink); font-size: 0.88rem; font-weight: 760; }
.article-toc a:hover { color: var(--coral-dark); }

.article blockquote {
  margin: 20px 0;
  padding: 18px 21px;
  border-left: 5px solid var(--coral);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-size: 1.02rem;
  font-weight: 720;
}

.prose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.note-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: 0 6px 18px rgba(17,31,8,0.04); }
.note-card h3 { margin: 0 0 8px; font-size: 1.12rem; line-height: 1.28; }
.note-card p { margin: 0; color: var(--muted); }
.note-card.good { border-color: #a8c889; background: #fff; }
.note-card.weak { border-color: #e1cb8d; background: #fff; }

.comparison { width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); border-collapse: separate; border-spacing: 0; margin: 19px 0; background: var(--surface); font-size: 0.92rem; box-shadow: 0 6px 18px rgba(17,31,8,0.035); }
.comparison th,
.comparison td { padding: 14px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison th { background: #fff; box-shadow: inset 0 -2px #d6e99a; }
.comparison td { background: var(--surface); }
.comparison tr > :last-child { border-right: 0; }
.comparison tbody tr:last-child td { border-bottom: 0; }

.table-scroll {
  width: 100%;
  margin: 19px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(17,31,8,0.035);
  scrollbar-color: #a9bd7d var(--surface-soft);
  scrollbar-gutter: stable;
  overscroll-behavior-inline: contain;
}
.table-scroll:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.table-scroll .comparison { min-width: 680px; margin: 0; border: 0; border-radius: 0; box-shadow: none; }

.score-list { display: grid; gap: 9px; margin: 18px 0; padding: 0; list-style: none; }
.score-list li { display: grid; grid-template-columns: 72px 1fr; gap: 13px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: 0 4px 14px rgba(17,31,8,0.035); }
.score-list strong { display: grid; min-height: 36px; place-items: center; border: 1px solid rgba(219,255,0,0.12); border-radius: 9px; color: #fff; background: var(--plum); font-size: 0.82rem; }

.platform-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; padding: 0; list-style: none; }
.platform-tags li { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 0.82rem; font-weight: 760; }
.small-note { margin: 12px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-left: 4px solid var(--coral); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--muted); background: #fff; font-size: 0.82rem; }

.faq-list { display: grid; gap: 10px; margin-top: 21px; }
.faq-list details { padding: 0 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: 0 4px 14px rgba(17,31,8,0.03); }
.faq-list details[open] { border-color: #a9bd7d; background: #fff; }
.faq-list summary { padding: 15px 30px 15px 0; cursor: pointer; font-weight: 850; line-height: 1.35; }
.faq-list p { margin: 0 0 16px; color: var(--muted); }

.link-directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.link-directory a { position: relative; display: block; min-height: 100%; padding: 18px 46px 18px 18px; border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--ink); background: var(--surface); box-shadow: 0 5px 16px rgba(17,31,8,0.035); text-decoration: none; font-size: 0.9rem; font-weight: 820; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.link-directory a::after { position: absolute; top: 17px; right: 16px; display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--coral); content: "\2192"; font-size: 0.75rem; }
.link-directory a span { display: block; margin-top: 5px; color: var(--muted); font-size: 0.77rem; font-weight: 500; }
.link-directory a:hover { border-color: #a9bb8e; box-shadow: 0 10px 24px rgba(17,31,8,0.08); transform: translateY(-2px); }

.callout { padding: 22px; border: 1px solid var(--line); border-left: 5px solid var(--coral); border-radius: var(--radius-md); color: var(--ink); background: #fff; box-shadow: var(--shadow-soft); }
.callout h2,
.callout h3 { margin-top: 0; font-size: 1.05rem; line-height: 1.25; }
.callout p { max-width: var(--measure); color: var(--muted); }
.callout .button-row { margin-bottom: 0; }
.callout .button.secondary { border-color: var(--line); color: var(--ink); background: #fff; }
.callout .button.secondary:hover { border-color: #b8c98f; color: var(--ink); background: #f8fbe9; }
.callout .search-form input { border-color: var(--line); }

.site-footer { padding: 32px 0 20px; border-top: 1px solid var(--line); color: var(--ink); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; }
.site-footer .wordmark { margin-bottom: 12px; color: var(--ink); }
.site-footer p { max-width: 650px; color: var(--muted); font-size: 0.85rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 14px; align-content: start; }
.footer-links a { color: var(--ink); font-size: 0.82rem; text-decoration: none; }
.footer-links a:hover { color: var(--coral-dark); }
.footer-bottom { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.75rem; }

.mt-32 { margin-top: 20px; }

@media (max-width: 980px) {
  .nav-shell { align-items: flex-start; flex-direction: column; gap: 8px; }
  .site-header nav,
  .site-nav { width: 100%; }
  .site-nav { justify-content: flex-start; flex-wrap: wrap; }
  .joy-hero { min-height: 0; }
  .joy-hero-inner { padding-top: 48px; }
  .joy-search { grid-template-columns: auto minmax(180px, 1fr) auto auto; }
  .joy-search button { padding-right: 19px; padding-left: 19px; }
  .category-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .joy-hero-inner {
    width: min(calc(100% - 24px), var(--max));
    padding: 34px 0 42px;
  }
  .hero.joy-hero h1 { font-size: clamp(2.2rem, 9.8vw, 3.2rem); }
  .joy-hero .hero-intro { margin-top: 18px; }
  .hero-trust { align-items: flex-start; text-align: left; }
  .hero-trust::before { margin-top: 0.5em; }
  .joy-search {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 5px 8px;
    padding: 9px;
    border-radius: 25px;
  }
  .joy-search-icon { grid-column: 1; grid-row: 1; }
  .joy-search input {
    grid-column: 2;
    grid-row: 1;
    height: 50px;
  }
  .source-chips {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    padding: 9px 0 4px;
    border-top: 1px solid #e3e6df;
  }
  .source-chip { min-width: 38px; height: 38px; }
  .source-chip-wide { min-width: 46px; }
  .joy-search button {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    min-height: 52px;
  }
  .search-flow {
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(100%, 430px);
  }
  .search-flow::before {
    top: 18px;
    right: auto;
    bottom: 18px;
    left: 17px;
    border-top: 0;
    border-left: 2px dotted rgba(226, 233, 215, 0.5);
  }
  .search-flow li { gap: 15px; }
  .hero-links { align-items: center; flex-direction: column; gap: 7px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-shell { width: min(calc(100% - 24px), var(--max)); }
  .wordmark { font-size: 0.94rem; }
  .site-nav { gap: 2px; }
  .site-nav a { padding: 6px 7px; font-size: 0.76rem; }
  .wrap,
  .content-narrow { width: min(calc(100% - 24px), var(--max)); }
  .hero h1 { font-size: clamp(2.25rem, 13.5vw, 3.55rem); }
  .page-hero h1 { font-size: clamp(1.8rem, 8.9vw, 2.45rem); }
  .hero.joy-hero h1 { font-size: clamp(2.1rem, 10.5vw, 2.75rem); }
  .hero h1,
  .page-hero h1 { overflow-wrap: anywhere; }
  .search-form { flex-direction: column; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .section-head { grid-template-columns: 1fr; gap: 10px; }
  .category-grid,
  .step-grid,
  .check-grid,
  .prose-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 0; }
  .category-card .icon { margin-bottom: 14px; }
  .article-toc ol { grid-template-columns: 1fr; }
  .article-meta span + span::before { margin-right: 8px; }
  .category-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .directory-card { min-height: 136px; padding: 14px 9px; }
  .directory-icon { width: 56px; height: 56px; border-radius: 16px; }
  .directory-icon svg { width: 30px; height: 30px; }
  .table-scroll .comparison { display: table; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-directory { grid-template-columns: 1fr; }
}

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