:root {
  --ink: #122033;
  --muted: #5f6874;
  --navy: #10243b;
  --navy-2: #173653;
  --cream: #f1f2e9;
  --paper: #fff;
  --sky: #edf2e8;
  --amber: #d9ff00;
  --amber-dark: #5e7300;
  --line: #d9d8d2;
  --white: #fff;
  --good: #22664f;
  --bad: #8e3434;
  --shadow: 0 18px 55px rgba(16, 36, 59, .1);
  --shadow-soft: 0 10px 28px rgba(16, 36, 59, .065);
  --surface: #fff;
  --radius: 18px;
  --radius-card: 16px;
  --radius-control: 11px;
  --layout-width: 1080px;
  --reading-width: 800px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); line-height: 1.62; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 .85rem; }
h1, h2, h3 { margin: 0 0 .65rem; color: var(--ink); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
h1, h2 { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 780; }
h1 { font-size: clamp(2.55rem, 6.2vw, 5.1rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.65rem); }
h3 { font-size: 1.16rem; }
ul, ol { padding-left: 1.25rem; }
button, input { font: inherit; }

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

.article > .container,
.article > .breadcrumbs { width: 100%; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .7rem 1rem; background: var(--amber); color: var(--navy); font-weight: 850; text-decoration: none; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--amber-dark); outline-offset: 4px; }
.sr-only { 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; }

.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(18, 32, 51, .1); background: rgba(255, 255, 255, .96); box-shadow: 0 5px 20px rgba(16, 36, 59, .035); backdrop-filter: blur(16px); }
.header-inner { min-height: 68px; display: flex; align-items: center; gap: 1.15rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; color: var(--navy); font-weight: 880; letter-spacing: -.02em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #070a04 url("favicon.svg") center / cover no-repeat; color: transparent; font-size: 0; box-shadow: 0 7px 18px rgba(7, 10, 4, .24); }
.brand-word span { color: #607500; }
.primary-nav { display: flex; align-items: center; gap: .1rem; margin-left: auto; }
.primary-nav a { padding: .5rem .56rem; border-radius: 8px; color: #354353; font-size: .84rem; font-weight: 720; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: var(--sky); color: var(--navy); }
.header-cta { display: inline-flex; align-items: center; min-height: 42px; padding: .55rem .95rem; border-radius: 999px; background: #070a04; color: var(--white); font-size: .84rem; font-weight: 800; text-decoration: none; transition: background .18s ease, color .18s ease, transform .18s ease; }
.header-cta:hover { background: #d9ff00; color: #111607; transform: translateY(-1px); }
.mobile-menu { display: none; position: relative; margin-left: auto; }
.mobile-menu summary { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer; font-size: 0; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary::before { content: ""; width: 18px; height: 12px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); box-shadow: inset 0 4px 0 -2px var(--ink); }
.mobile-panel { position: absolute; right: 0; top: 52px; width: min(310px, calc(100vw - 2rem)); padding: .65rem; border: 1px solid var(--line); border-radius: 15px; background: var(--white); box-shadow: var(--shadow); }
.mobile-panel a { display: flex; min-height: 44px; align-items: center; padding: .55rem .75rem; border-radius: 9px; font-weight: 720; text-decoration: none; }
.mobile-panel a:hover { background: var(--sky); }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #090d03; color: var(--white); }
.hero::before { content: ""; position: absolute; z-index: -3; inset: 0; background: radial-gradient(circle at 50% 6%, rgba(217, 255, 0, .13), transparent 30%), linear-gradient(115deg, #060903 0%, #111704 58%, #080c03 100%); }
.hero::after { content: ""; position: absolute; z-index: -2; inset: 0; opacity: .7; background: linear-gradient(120deg, transparent 0 16%, rgba(214, 242, 0, .12) 16% 28%, transparent 28% 43%, rgba(181, 204, 0, .16) 43% 54%, transparent 54% 76%, rgba(216, 255, 0, .1) 76% 88%, transparent 88%); clip-path: polygon(0 0,100% 0,100% 100%,82% 100%,75% 56%,67% 100%,53% 100%,45% 44%,39% 100%,23% 100%,29% 20%,18% 100%,0 100%); }
.hero-pattern { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.hero-pattern span { position: absolute; display: block; border: 1px solid rgba(217, 255, 0, .1); background: linear-gradient(145deg, rgba(217, 255, 0, .02), rgba(217, 255, 0, .13)); transform: rotate(26deg); }
.hero-pattern span:nth-child(1) { width: 420px; height: 840px; left: 4%; top: -410px; }
.hero-pattern span:nth-child(2) { width: 280px; height: 720px; left: 46%; top: -470px; }
.hero-pattern span:nth-child(3) { width: 520px; height: 650px; right: -280px; bottom: -420px; }
.hero-search-content { min-height: 620px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-block: clamp(3.1rem, 6vw, 5rem); text-align: center; }
.hero h1 { max-width: 980px; color: var(--white); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: clamp(2.5rem, 4.9vw, 4.25rem); font-weight: 720; letter-spacing: -.045em; }
.hero h1 em { color: #d9ff00; font-style: normal; }
.hero h1 span { color: var(--white); }
.eyebrow { margin-bottom: .65rem; color: var(--amber-dark); font-size: .74rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow { color: #d9ff00; }
.hero-lede { max-width: 780px; color: #d8dccf; font-size: clamp(1.02rem, 1.7vw, 1.2rem); }
.button-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.05rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy); font-weight: 820; text-decoration: none; box-shadow: 0 8px 20px rgba(16, 36, 59, .08); transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.button-primary { border-color: var(--amber); background: var(--amber); }
.button-primary:hover { border-color: #c6e900; background: #c6e900; }
.button-dark { border-color: var(--navy); background: var(--navy); color: var(--white); }
.text-link { color: var(--navy-2); font-weight: 800; text-underline-offset: 4px; }
.joy-search-form { width: min(1080px, 100%); margin-top: 1.2rem; }
.joy-search-shell { min-height: 84px; display: flex; align-items: center; gap: .75rem; padding: .42rem .46rem .42rem 1.25rem; border: 5px solid rgba(255, 255, 255, .18); border-radius: 999px; background: var(--white) padding-box; box-shadow: 0 20px 52px rgba(0, 0, 0, .4); }
.joy-search-icon { flex: none; color: #5f675b; }
.joy-search-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.joy-search-shell input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #172015; font-size: 1.04rem; font-weight: 600; }
.joy-search-shell input::placeholder { color: #a4aaa1; }
.source-badges { display: flex; flex: none; gap: .42rem; }
.source-badges i { min-width: 39px; height: 39px; display: grid; place-items: center; padding-inline: .45rem; border-radius: 999px; background: #edf0ea; color: #747d70; font-size: .68rem; font-style: normal; font-weight: 900; }
.joy-search-shell button { min-width: 190px; align-self: stretch; border: 0; border-radius: 999px; background: #080b06; color: var(--white); cursor: pointer; font-weight: 850; font-size: 1.02rem; transition: background .18s ease, color .18s ease, transform .18s ease; }
.joy-search-shell button:hover { background: #d9ff00; color: #111607; transform: translateY(-1px); }
.joy-search-meta { display: flex; justify-content: space-between; gap: 1rem; margin: .65rem 1.15rem 0; color: #aeb6a5; font-size: .78rem; text-align: left; }
.joy-search-meta a { color: #d9ff00; font-weight: 800; text-underline-offset: 4px; }
.hero-search-steps { position: relative; width: min(940px, 100%); display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin: 1.8rem 0 0; padding: 0; list-style: none; text-align: left; }
.hero-search-steps::before { content: ""; position: absolute; top: 17px; left: 18px; right: calc(33.333% - 18px); border-top: 2px dotted rgba(255, 255, 255, .4); }
.hero-search-steps li { position: relative; padding-right: 1rem; }
.hero-search-steps li > span { position: relative; z-index: 1; width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: .65rem; border-radius: 50%; background: #050703; color: #d9ff00; font-weight: 900; }
.hero-search-steps strong, .hero-search-steps small { display: block; }
.hero-search-steps strong { color: var(--white); font-size: .95rem; }
.hero-search-steps small { margin-top: .2rem; color: #aeb6a7; line-height: 1.45; }
.hero-guide-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 1.25rem; }
.hero-guide-links a { color: var(--white); font-size: .84rem; font-weight: 800; text-underline-offset: 5px; }
.trust-note { max-width: 900px; margin: 1rem auto 0; padding-top: .75rem; border-top: 1px solid rgba(255, 255, 255, .13); color: #8f998a; font-size: .74rem; }

.section { padding: clamp(2.5rem, 4.5vw, 3.8rem) 0; }
.section-heading { display: grid; grid-template-columns: 1fr .85fr; align-items: end; gap: 1.2rem; margin-bottom: 1.2rem; }
.section-heading > p { max-width: 620px; color: var(--muted); }
.quick-answer { position: relative; display: grid; grid-template-columns: 135px 1fr; gap: 1.1rem; overflow: hidden; padding: 1rem 1.1rem; border: 1px solid var(--line); border-left: 4px solid #9fbc00; border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-soft); }
.quick-answer strong { color: var(--amber-dark); letter-spacing: -.01em; }
.quick-answer p { margin: 0; color: #394758; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.6rem, 5vw, 4rem); }
.split p { color: var(--muted); font-size: 1.03rem; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.category-card { min-height: 235px; display: flex; flex-direction: column; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 28px rgba(16, 36, 59, .05); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.category-icon { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: .9rem; border-radius: 15px; background: linear-gradient(145deg, #f0f8e8, #dff2c5); color: var(--navy); font-size: 1.7rem; }
.category-card p, .category-card small { color: var(--muted); }
.category-card small { display: block; margin-top: .65rem; line-height: 1.5; }
.category-card a { margin-top: auto; padding-top: .75rem; color: var(--navy-2); font-weight: 820; text-underline-offset: 4px; }
.external-note { margin: .9rem 0 0; color: var(--muted); font-size: .82rem; }

.joy-directory-section { position: relative; isolation: isolate; overflow: hidden; }
.joy-directory-heading { max-width: 790px; margin: 0 auto 1.45rem; text-align: center; }
.joy-directory-heading h2 { font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 760; }
.joy-directory-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.home-directory-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; }
.home-directory-card { min-width: 0; min-height: 215px; display: flex; flex-direction: column; align-items: center; padding: .85rem .7rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); color: #11180d; text-align: center; text-decoration: none; box-shadow: var(--shadow-soft); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.home-directory-card:hover { transform: translateY(-3px); border-color: #9fb900; box-shadow: 0 16px 36px rgba(16, 36, 59, .1); }
.home-directory-icon { width: 100px; height: 100px; display: grid; place-items: center; margin-bottom: .75rem; border-radius: 20px; background: linear-gradient(145deg, #f0f8e8, #dff2c5); font-size: 2.45rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75); }
.home-directory-card strong { font-size: 1.15rem; font-weight: 900; letter-spacing: -.025em; }
.home-directory-card small { margin-top: .3rem; color: #6e7869; font-size: .72rem; line-height: 1.35; }
.home-directory-more { border-color: #b4cc36; }
.home-directory-more .home-directory-icon { background: linear-gradient(145deg, #eaff81, #c9ed20); }
.joy-directory-footer { display: flex; justify-content: space-between; gap: .8rem; margin-top: 1rem; color: var(--muted); font-size: .8rem; }
.joy-directory-footer a { color: var(--navy-2); font-weight: 820; text-underline-offset: 4px; }

.home-article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.home-article-card { min-height: 270px; display: flex; flex-direction: column; padding: 1.2rem; border: 1px solid var(--line); border-radius: 18px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: 0 10px 28px rgba(16, 36, 59, .06); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.home-article-card > span { color: #657900; font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.home-article-card h3 { margin-top: 1.05rem; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1.4rem; font-weight: 780; line-height: 1.12; }
.home-article-card p { color: var(--muted); }
.home-article-card strong { margin-top: auto; padding-top: .85rem; color: #536500; }
.joyagoo-guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.joyagoo-guide-grid a { min-width: 0; min-height: 250px; display: flex; flex-direction: column; padding: 1.05rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); text-decoration: none; box-shadow: 0 10px 26px rgba(16, 36, 59, .05); }
.joyagoo-guide-grid span { color: #657900; font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.joyagoo-guide-grid h3 { margin-top: .85rem; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1.28rem; font-weight: 780; line-height: 1.12; }
.joyagoo-guide-grid p { color: var(--muted); font-size: .92rem; }
.joyagoo-guide-grid strong { margin-top: auto; padding-top: .75rem; color: #536500; }
.agent-guide-strip { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: .7rem; margin-top: .8rem; }
.agent-guide-strip > div, .agent-guide-strip > a { padding: .95rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .72); }
.agent-guide-strip > div p:last-child { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.agent-guide-strip h3 { font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1.24rem; font-weight: 780; }
.agent-guide-strip > a { display: flex; flex-direction: column; justify-content: space-between; gap: .75rem; text-decoration: none; }
.agent-guide-strip > a span { color: var(--muted); font-size: .86rem; }
.section-action { margin: 1.05rem 0 0; text-align: center; }
.article-index-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.2rem 0 2.2rem; }
.article-index-card { min-height: 260px; display: flex; flex-direction: column; padding: 1.15rem; border: 1px solid var(--line); border-radius: 17px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: 0 10px 28px rgba(16, 36, 59, .05); }
.article-index-card > span { color: #657900; font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.article-index-card h2 { margin-top: 1rem; font-size: 1.4rem; }
.article-index-card p { color: var(--muted); }
.article-index-card strong { margin-top: auto; color: #536500; }
.article-table-wrap { overflow-x: auto; margin: 1.05rem 0; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-soft); }
.article-table { width: 100%; min-width: 680px; border-collapse: collapse; background: var(--white); font-size: .92rem; }
.article-table th, .article-table td { padding: .8rem .9rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-table th { background: #eaf4d8; color: var(--ink); }
.note-template { margin: .9rem 0; padding: .9rem 1rem; border-left: 4px solid #9fbc00; border-radius: 0 12px 12px 0; background: #f1f6e7; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 0; padding: 0; list-style: none; }
.steps li { padding: 1.05rem 1.05rem 1.2rem; border-top: 3px solid var(--navy); background: var(--white); }
.steps span { display: block; margin-bottom: 1rem; color: var(--amber-dark); font-weight: 900; }
.steps p { color: var(--muted); }
.save-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.6rem, 5vw, 4rem); align-items: start; }
.save-list { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.save-list li { position: relative; padding: .85rem .8rem .85rem 2.35rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: #354354; box-shadow: var(--shadow-soft); }
.save-list li::before { content: "✓"; position: absolute; left: .85rem; color: var(--amber-dark); font-weight: 900; }

.search-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 5vw, 4rem); align-items: center; }
.search-panel p { color: var(--muted); }
.search-box { padding: 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.search-box label { display: block; margin-bottom: .55rem; font-weight: 820; }
.search-row { display: flex; }
.search-row input { min-width: 0; flex: 1; padding: .8rem; border: 1px solid #adb4ba; border-radius: 9px 0 0 9px; background: var(--white); }
.search-row button { padding: .75rem 1rem; border: 0; border-radius: 0 9px 9px 0; background: var(--navy); color: var(--white); cursor: pointer; font-weight: 820; }
.search-box small { display: block; margin-top: .55rem; color: var(--muted); }
.route-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.route-grid a { min-height: 140px; display: flex; flex-direction: column; padding: .95rem; background: var(--white); text-decoration: none; }
.route-grid a:hover { background: #fff8e8; }
.route-grid b { color: var(--amber-dark); font-size: .72rem; }
.route-grid strong { margin-top: .7rem; }
.route-grid small { margin-top: .35rem; color: var(--muted); }
.route-grid span { margin-top: auto; color: var(--navy-2); }
.closing { text-align: center; }
.closing p:not(.eyebrow) { max-width: 690px; margin-inline: auto; color: var(--muted); }
.closing .button-row { justify-content: center; }

.breadcrumbs { width: min(var(--layout-width), calc(100% - 2rem)); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-inline: auto; padding-top: .85rem; color: var(--muted); font-size: .8rem; }
.breadcrumbs a { text-underline-offset: 3px; }
.page-head { padding: clamp(2rem, 3.5vw, 3.2rem) 0 1.25rem; }
.page-head h1 { max-width: 850px; font-size: clamp(2rem, 3.1vw, 2.9rem); overflow-wrap: anywhere; }
.page-head .lede { max-width: 760px; color: var(--muted); font-size: 1.13rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; color: var(--muted); font-size: .82rem; }
.prose { padding-bottom: 2.2rem; }
.prose section { padding: 1.45rem 0; border-top: 1px solid var(--line); }
.prose section:first-child { border-top: 0; }
.prose p, .prose li { font-size: 1.02rem; }
.prose p, .prose li, .prose dd { color: #455260; }
.prose a { color: var(--navy-2); font-weight: 750; }
.reference-list { display: grid; gap: .55rem; }
.reference-list a { font-weight: 780; text-underline-offset: 4px; }
.prose blockquote { margin: 1rem 0; padding: .95rem 1.05rem; border-left: 4px solid var(--amber); background: #fff7e6; color: var(--navy); font-size: 1.1rem; font-weight: 760; }
.note { padding: .9rem 1rem; border: 1px solid #ccd8df; border-radius: 12px; background: var(--sky); }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.compare-card { padding: .95rem; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.compare-card.good { border-top: 4px solid var(--good); }
.compare-card.weak { border-top: 4px solid var(--bad); }
.term-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.term-grid > div { padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.term-grid dt { margin-bottom: .35rem; color: var(--navy); font-weight: 850; }
.term-grid dd { margin: 0; }
.term-grid article { padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.term-grid p { margin-bottom: 0; font-size: .93rem; }
.checksheet { display: grid; gap: .6rem; }
.checksheet label { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: #354354; }
.checksheet input { width: 19px; height: 19px; margin-top: .15rem; accent-color: var(--navy); }
.score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; }
.score-grid article { padding: 1rem; border-radius: 11px; background: var(--cream); }
.score-grid strong, .score-grid span { display: block; }
.score-grid strong { color: var(--amber-dark); font-size: 1.55rem; }
.score-grid span { color: var(--muted); font-size: .84rem; }
.weight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.weight-grid article { padding: 1rem; border-top: 3px solid var(--navy); background: var(--cream); }
.red-flags { columns: 2; column-gap: 2rem; }
.red-flags li { break-inside: avoid; margin-bottom: .6rem; }
.related { margin: 1.8rem 0 2.3rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.related-links { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.related-links a { display: flex; justify-content: space-between; gap: .8rem; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-weight: 760; text-decoration: none; }
.related-links a:hover { background: var(--sky); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; cursor: pointer; list-style: none; color: var(--ink); font-size: 1.05rem; font-weight: 820; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--amber-dark); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 2.5rem 1.2rem 0; color: #455260; }
.simple-page { min-height: 55vh; }

.site-footer { padding: 2.15rem 0 1rem; border-top: 1px solid var(--line); background: var(--white); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.2rem; }
.footer-grid p { max-width: 650px; margin-top: .75rem; font-size: .84rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.footer-links a { color: var(--ink); font-size: .84rem; text-underline-offset: 4px; }
.footer-links a:hover { color: var(--amber-dark); }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.35rem; padding-top: .75rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }

/* Shared visual system across guides, articles, directories, and information pages. */
.page-head > .shell,
.page-head > .container {
  width: min(var(--layout-width), calc(100% - 2rem));
}

.page-head p:not(.eyebrow):not(.article-meta) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading h2 { font-size: clamp(1.8rem, 3vw, 2.45rem); }
.article h2, .prose h2 { font-size: clamp(1.55rem, 2.55vw, 2.15rem); }
.prose h3 { font-size: 1.18rem; }
.prose > section > :where(h2, h3, p, ul, ol, dl),
.prose > :where(h2, h3, p, ul, ol, dl) { max-width: var(--reading-width); }
.article.prose > section:first-child { padding-top: 0; }
main > .page-head + .section { padding-top: .75rem; }
main > .section { background: var(--white); }
main > .section + .section { border-top: 1px solid rgba(18, 32, 51, .08); }

.category-card,
.home-article-card,
.joyagoo-guide-grid a,
.agent-guide-strip > div,
.agent-guide-strip > a,
.article-index-card,
.compare-card,
.term-grid > div,
.term-grid article,
.search-box,
.checksheet label,
.score-grid article,
.related-links a {
  border-color: var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.category-card,
.home-directory-card,
.home-article-card,
.joyagoo-guide-grid a,
.agent-guide-strip > a,
.article-index-card,
.related-links a {
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.category-card:hover,
.home-article-card:hover,
.joyagoo-guide-grid a:hover,
.agent-guide-strip > a:hover,
.article-index-card:hover {
  transform: translateY(-2px);
  border-color: #9fb900;
  box-shadow: 0 16px 36px rgba(16, 36, 59, .1);
}

.home-article-card h3,
.joyagoo-guide-grid h3,
.agent-guide-strip h3,
.article-index-card h2,
.compare-card h3,
.term-grid h3 {
  letter-spacing: -.025em;
  line-height: 1.15;
}

.article-table th:first-child { border-left: 0; }
.article-table th:last-child { border-right: 0; }

.note,
.note-template,
.prose blockquote {
  border-radius: var(--radius-control);
}

.note,
.note-template { box-shadow: 0 8px 22px rgba(16, 36, 59, .045); }

.button:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(16, 36, 59, .12); }

.simple-page .page-head { padding-bottom: 1.1rem; }
.simple-page .prose section:last-child { padding-bottom: 1.5rem; }

.footer-links { column-gap: .75rem; row-gap: .5rem; }

@media (max-width: 1000px) {
  .primary-nav { display: none; }
  .mobile-menu { display: block; }
  .header-cta { margin-left: auto; }
  .hero-search-content { min-height: auto; }
  .source-badges { display: none; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .home-directory-grid { grid-template-columns: repeat(3, 1fr); }
  .home-article-grid { grid-template-columns: 1fr 1fr; }
  .joyagoo-guide-grid { grid-template-columns: 1fr 1fr; }
  .agent-guide-strip { grid-template-columns: 1fr; }
  .route-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .header-cta { display: none; }
  .hero-search-content { align-items: stretch; padding-block: 2rem; text-align: left; }
  .hero h1 { max-width: 100%; font-size: clamp(2.05rem, 9.3vw, 2.8rem); overflow-wrap: anywhere; }
  .hero-lede { font-size: .96rem; line-height: 1.52; }
  .joy-search-form { margin-top: .8rem; }
  .joy-search-shell { min-height: 0; display: grid; grid-template-columns: 28px 1fr; gap: .4rem; padding: .65rem; border-width: 4px; border-radius: 24px; }
  .joy-search-shell input { min-height: 50px; padding-inline: .35rem; font-size: .93rem; }
  .joy-search-shell button { grid-column: 1 / -1; width: 100%; min-width: 0; min-height: 54px; border-radius: 16px; }
  .joy-search-meta { align-items: flex-start; flex-direction: column; gap: .35rem; margin: .65rem .35rem 0; }
  .hero-search-steps { grid-template-columns: 1fr; gap: .65rem; margin-top: 1.15rem; }
  .hero-search-steps small { display: none; }
  .hero-search-steps::before { top: 17px; bottom: 17px; left: 17px; right: auto; border-top: 0; border-left: 2px dotted rgba(255, 255, 255, .35); }
  .hero-search-steps li { display: grid; grid-template-columns: 38px 1fr; gap: .75rem; padding-right: 0; }
  .hero-search-steps li > span { margin-bottom: 0; }
  .hero-guide-links { justify-content: flex-start; margin-top: 1rem; }
  .trust-note { margin: .8rem 0 0; text-align: left; }
  .button-row .button { width: 100%; }
  .section { padding: 2.15rem 0; }
  .page-head h1 { font-size: clamp(1.8rem, 7.5vw, 2.3rem); }
  .page-head p:not(.eyebrow):not(.article-meta) { font-size: 1rem; }
  .quick-answer { border-left-width: 3px; }
  .section-heading, .quick-answer, .split, .save-layout, .search-panel, .footer-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: start; }
  .category-grid, .steps, .save-list, .route-grid, .compare-grid, .term-grid, .score-grid, .weight-grid, .related-links { grid-template-columns: 1fr; }
  .joy-directory-heading { margin-bottom: 1.1rem; text-align: left; }
  .home-directory-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .home-directory-card { min-height: 172px; padding: .7rem .5rem .8rem; }
  .home-directory-icon { width: 78px; height: 78px; margin-bottom: .65rem; border-radius: 17px; font-size: 2rem; }
  .home-directory-card strong { font-size: 1rem; }
  .home-directory-card small { font-size: .66rem; }
  .joy-directory-footer { align-items: flex-start; flex-direction: column; }
  .home-article-grid, .article-index-grid { grid-template-columns: 1fr; }
  .joyagoo-guide-grid { grid-template-columns: 1fr; }
  .home-article-card, .article-index-card { min-height: 230px; }
  .category-card { min-height: 215px; }
  .search-row { display: block; }
  .search-row input, .search-row button { width: 100%; border-radius: 9px; }
  .search-row button { margin-top: .55rem; min-height: 46px; }
  .red-flags { columns: 1; }
  .page-head { padding-top: 1.75rem; }
  .prose section { padding: 1.25rem 0; }
  .related { margin-bottom: 1.9rem; }
  .footer-grid { gap: 1.3rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-base { display: block; }
}

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