/* CoverMoose – main stylesheet */
:root {
  --ink: #1c1240;
  --text: #3a3456;
  --muted: #6b6585;
  --brand: #4b32c3;
  --brand-ink: #3a2499;
  --hero: #23164d;
  --hero-2: #2d1e5a;
  --mint: #b3a6ff;
  --cta: #ff72c6;
  --cta-hover: #ff8fd2;
  --tint: #f3f1fe;
  --tint-2: #e6e2fd;
  --line: #e2def3;
  --card: #ffffff;
  --bg: #ffffff;
  --amber-t: #fff4df;
  --amber-i: #9a5b00;
  --blue-t: #e8f0fb;
  --blue-i: #2557a7;
  --rose-t: #fcecee;
  --rose-i: #b03a4c;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(28, 18, 64, .06);
  --shadow: 0 2px 4px rgba(28, 18, 64, .04), 0 12px 32px rgba(28, 18, 64, .10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-ink); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 750; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* icons */
.icon { display: inline-flex; width: 48px; height: 48px; border-radius: 10px; align-items: center; justify-content: center; background: var(--tint-2); color: var(--brand); flex: none; }
.icon svg, .btn-icon svg, .tb-icon svg, .picker-icon svg, .btn-arrow svg, .text-link svg, .chev svg, .card-go svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon svg { width: 24px; height: 24px; }

/* buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 8px; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; font-family: inherit; white-space: nowrap; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-ink); color: #fff; }
.btn--accent { background: var(--cta); color: var(--ink); }
.btn--accent:hover { background: var(--cta-hover); color: var(--ink); }
.btn--outline { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn--outline:hover { background: var(--tint); }
.btn--outline-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn--plain { color: var(--brand); padding-left: 4px; padding-right: 4px; }
.btn--plain:hover { text-decoration: underline; }
.btn--small { padding: 9px 16px; font-size: .94rem; }
.btn-arrow { display: inline-flex; }
.btn-arrow svg { width: 18px; height: 18px; stroke-width: 2.2; }
.btn-icon { display: inline-flex; }
.btn-icon svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 28px; }
.btn-row--center { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; color: var(--brand); }
.text-link svg { width: 17px; height: 17px; stroke-width: 2.2; transition: transform .15s; }
.text-link:hover svg { transform: translateX(3px); }
.kicker { display: inline-block; font-size: .95rem; font-weight: 700; color: var(--brand); margin-bottom: 10px; text-decoration: none; }

/* top bar & header */
.topbar { background: var(--tint); border-bottom: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 16px; }
.topbar-links { display: flex; gap: 20px; }
.topbar a { color: var(--muted); text-decoration: none; }
.topbar a:hover { color: var(--ink); text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); flex: none; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.wordmark { font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.wordmark span { color: var(--brand); }
.brand--light { color: #8f7fff; }
.brand--light .wordmark { color: #fff; }
.brand--light .wordmark span { color: var(--mint); }

.main-nav { margin-left: auto; }
.nav-list { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 4px; padding: 26px 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; border-bottom: 3px solid transparent; }
.nav-item:hover .nav-link, .nav-item.is-active .nav-link { color: var(--brand); border-bottom-color: var(--brand); }
.chev svg { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .15s; }
.nav-item:hover .chev svg, .nav-item:focus-within .chev svg { transform: rotate(180deg); }
.dropdown { display: none; position: absolute; top: 100%; left: -12px; width: 680px; padding-top: 1px; z-index: 60; }
.nav-item:nth-child(n+3) .dropdown { left: auto; right: -12px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: block; }
.dropdown-inner { display: grid; grid-template-columns: 230px 1fr; gap: 28px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: 26px; }
.dropdown-intro { background: var(--tint); border-radius: 10px; padding: 18px; }
.dropdown-intro .icon { width: 40px; height: 40px; background: #fff; margin-bottom: 10px; }
.dropdown-title { font-weight: 750; color: var(--ink); margin-bottom: 4px; }
.dropdown-intro p { font-size: .9rem; color: var(--muted); }
.dropdown-intro .text-link { font-size: .9rem; }
.dropdown-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; align-content: start; }
.dropdown-links a { display: block; padding: 8px 10px; border-radius: 6px; text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; }
.dropdown-links a:hover { background: var(--tint); color: var(--brand); }
.header-cta { flex: none; }

.mobile-nav { display: none; margin-left: auto; }
.mobile-nav summary { list-style: none; cursor: pointer; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.bars { display: grid; gap: 5px; width: 20px; }
.bars span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-nav nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px 24px 20px; display: flex; flex-direction: column; }
.mobile-nav nav a:not(.btn) { padding: 14px 0; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav nav .btn { margin-top: 16px; }

/* hero */
.hero { position: relative; background: var(--hero); color: #d6d0f5; padding: 80px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 420px at 15% -10%, rgba(179, 166, 255, .22), transparent 60%), radial-gradient(800px 460px at 95% 120%, rgba(255, 114, 198, .14), transparent 60%); }
.hero-inner { position: relative; text-align: center; max-width: 880px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
.hero .accent { color: var(--mint); }
.hero-sub { font-size: 1.2rem; color: #c9c2ee; max-width: 680px; margin: 0 auto 32px; }
.topic-picker { display: flex; gap: 10px; background: #fff; padding: 8px; border-radius: 12px; max-width: 620px; margin: 0 auto 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.picker-select { position: relative; flex: 1; display: flex; align-items: center; }
.picker-icon { position: absolute; left: 14px; display: inline-flex; color: var(--brand); pointer-events: none; }
.picker-icon svg { width: 22px; height: 22px; }
.picker-select select { width: 100%; height: 52px; border: 0; border-radius: 8px; padding: 0 40px 0 46px; font: inherit; font-weight: 600; color: var(--ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b32c3' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.picker-select select:focus { outline: 2px solid var(--brand); }
.topic-picker .btn { height: 52px; }
.hero-popular { font-size: .95rem; color: #aaa2d8; margin: 0; }
.hero-popular span { margin-right: 6px; }
.hero-popular a { color: #fff; margin: 0 8px; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); }
.hero-popular a:hover { text-decoration-color: #fff; }

.trustbar { background: var(--tint); border-bottom: 1px solid var(--line); }
.trustbar-inner { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding: 16px 24px; font-size: .95rem; color: var(--text); }
.trustbar-inner > span { display: inline-flex; align-items: center; gap: 10px; }
.trustbar strong { color: var(--ink); margin-right: 4px; }
.tb-icon { display: inline-flex; color: var(--brand); }
.tb-icon svg { width: 22px; height: 22px; }

/* sections */
.section { padding: 80px 0; }
.section--tint { background: var(--tint); }
.section-head { margin-bottom: 36px; max-width: 720px; }
.section-head h2 { margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section-head--row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: none; margin-bottom: 28px; }
.section-head--row h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* topic cards */
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.topic-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.topic-card:hover { border-color: #c9c0f2; box-shadow: var(--shadow-sm); }
.topic-head { text-decoration: none; color: inherit; display: block; }
.topic-head .icon { margin-bottom: 18px; }
.topic-head h3 { margin-bottom: 6px; }
.topic-head:hover h3 { color: var(--brand); }
.topic-head p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.topic-links { list-style: none; padding: 0; margin: 0 0 20px; border-top: 1px solid var(--line); flex: 1; }
.topic-links li { border-bottom: 1px solid var(--line); }
.topic-links a { display: block; padding: 11px 0; text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 550; line-height: 1.35; }
.topic-links a:hover { color: var(--brand); }
.topic-card--home .icon { background: var(--amber-t); color: var(--amber-i); }
.topic-card--business .icon { background: var(--blue-t); color: var(--blue-i); }
.topic-card--life .icon { background: var(--rose-t); color: var(--rose-i); }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--reverse .split-copy { order: 2; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy p { font-size: 1.07rem; }
.split-visual { display: flex; justify-content: center; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 10px; font-weight: 550; color: var(--ink); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") no-repeat center / 13px; }

.data-card, .mail-card { width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 26px; }
.data-card-head { display: flex; justify-content: space-between; align-items: center; font-weight: 750; color: var(--ink); margin-bottom: 14px; }
.tag { font-size: .75rem; font-weight: 700; background: var(--tint-2); color: var(--brand); padding: 3px 9px; border-radius: 4px; }
.data-card table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.data-card th { text-align: left; font-size: .8rem; color: var(--muted); font-weight: 650; padding: 8px 0; border-bottom: 2px solid var(--line); }
.data-card td { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.data-card td:last-child, .data-card th:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.data-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }

.mail-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.mail-from { display: flex; gap: 10px; align-items: center; color: var(--brand); }
.mail-from .logo-mark { width: 36px; height: 36px; }
.mail-from strong { display: block; color: var(--ink); font-size: .95rem; }
.mail-from small { color: var(--muted); font-size: .82rem; }
.mail-time { font-size: .82rem; color: var(--muted); }
.mail-subject { font-weight: 750; color: var(--ink); font-size: 1.1rem; margin-bottom: 12px; }
.mail-list { margin: 0; padding-left: 20px; color: var(--text); }
.mail-list li { margin-bottom: 8px; padding-left: 4px; }

/* cards */
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); color: var(--text); }
.card:hover h3 { color: var(--brand); }
.card h3 { margin: 0 0 10px; font-size: 1.18rem; line-height: 1.3; }
.card p { color: var(--muted); font-size: .96rem; flex: 1; margin-bottom: 20px; }
.card-cat { font-size: .85rem; font-weight: 700; color: var(--brand); margin-bottom: 10px; }
.card-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.card-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--brand); }
.card-go svg { width: 16px; height: 16px; stroke-width: 2.2; }

/* page hero (category, listing, pages) */
.page-hero { background: var(--hero); color: #c9c2ee; padding: 40px 0 52px; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .hero-sub { margin: 0; max-width: 720px; }
.page-hero--center { text-align: center; padding: 96px 0; }
.page-hero--center .hero-sub { margin: 0 auto; }
.page-hero .kicker { color: var(--mint); }
.breadcrumbs { font-size: .88rem; color: var(--muted); margin-bottom: 26px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; color: var(--ink); }
.breadcrumbs .sep { margin: 0 6px; opacity: .6; }
.breadcrumbs--light, .breadcrumbs--light a { color: #aaa2d8; }
.breadcrumbs--light a:hover { color: #fff; }
.start-here { display: grid; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--brand); border-radius: var(--radius); padding: 30px 34px; text-decoration: none; color: var(--text); margin-bottom: 56px; box-shadow: var(--shadow-sm); }
.start-here h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 10px; }
.start-here p { color: var(--muted); max-width: 760px; }
.start-here:hover h2 { color: var(--brand); }
.guides-group { margin-bottom: 64px; }
.guides-group:last-child { margin-bottom: 0; }

/* article */
.article-head { background: var(--tint); border-bottom: 1px solid var(--line); padding: 32px 0 40px; }
.article-head-inner { max-width: 820px; }
.article-head h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 16px; }
.article-desc { font-size: 1.2rem; color: var(--muted); margin-bottom: 28px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px 36px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); font-size: .93rem; color: var(--ink); }
.byline { display: flex; align-items: center; gap: 12px; color: var(--brand); }
.byline .logo-mark { width: 36px; height: 36px; }
.byline strong { display: block; color: var(--ink); }
.byline small, .meta-item small { display: block; color: var(--muted); font-size: .82rem; }
.byline small a { color: var(--muted); }
.meta-item { font-weight: 600; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; padding-top: 48px; padding-bottom: 72px; }
.article-side { position: sticky; top: 100px; align-self: start; }
.toc-title { font-size: .95rem; font-weight: 750; color: var(--ink); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0 0 28px; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font-size: .93rem; line-height: 1.4; }
.toc li a:hover { border-left-color: var(--brand); color: var(--brand); }
.side-cta { background: var(--tint); border-radius: var(--radius); padding: 22px; font-size: .94rem; }
.side-cta .icon { width: 40px; height: 40px; background: #fff; margin-bottom: 12px; }
.side-cta .icon svg { width: 20px; height: 20px; }
.side-cta p { margin-bottom: 14px; }
.toc-mobile { display: none; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 28px; background: #fff; }
.toc-mobile summary { font-weight: 700; cursor: pointer; color: var(--ink); }
.toc-mobile .toc ol { margin: 14px 0 0; }
.toc-mobile .toc-title { display: none; }

.prose { max-width: 740px; }
.prose > h2 { margin-top: 2em; font-size: 1.75rem; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.25em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--brand); }
.prose .lead { font-size: 1.22rem; color: var(--ink); line-height: 1.55; }
.prose strong { color: var(--ink); }
.prose a { font-weight: 550; }
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--line); border-radius: 10px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table-wrap th, .table-wrap td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap thead th { background: var(--hero); color: #fff; font-weight: 650; font-size: .88rem; }
.table-wrap tbody tr:nth-child(even) { background: var(--tint); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.callout { border-radius: 8px; padding: 18px 20px; margin: 0 0 1.5em; border-left: 4px solid; }
.callout p:last-child { margin: 0; }
.callout--tip { background: var(--tint); border-color: var(--brand); }
.callout--warning { background: var(--amber-t); border-color: #e2a028; }
.callout--info { background: var(--blue-t); border-color: var(--blue-i); }
.takeaways { background: var(--tint); border-radius: var(--radius); padding: 24px 28px 10px; margin: 0 0 2em; }
.takeaways h2 { font-size: 1.15rem; margin: 0 0 .8em; }
.takeaways ul { padding-left: 0; list-style: none; }
.takeaways li { position: relative; padding-left: 30px; }
.takeaways li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") no-repeat center / 12px; }
.faq { border-bottom: 1px solid var(--line); }
.faq:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; color: var(--ink); padding: 18px 36px 18px 0; list-style: none; position: relative; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 22px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b32c3' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain; transition: transform .15s; }
.faq[open] summary::after { transform: rotate(180deg); }
.faq p { padding-bottom: 8px; }
.sources { font-size: .9rem; }
.sources a { word-break: break-word; font-weight: 400; }
.disclaimer { margin-top: 2.6em; padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px; font-size: .9rem; color: var(--muted); }
.disclaimer p { margin: 0; }
.disclaimer strong { color: var(--ink); }

/* newsletter */
.nl-section { background: var(--hero); color: #c9c2ee; padding: 80px 0; }
.nl-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.nl-copy h2 { color: #fff; }
.nl-copy p { font-size: 1.08rem; }
.nl-points { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.nl-points li { position: relative; padding-left: 26px; color: #fff; font-weight: 550; font-size: .95rem; }
.nl-points li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3a6ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / contain; }
.nl-form { background: #fff; color: var(--text); border-radius: 14px; padding: 28px; box-shadow: var(--shadow); }
.nl-form--page { border: 1px solid var(--line); margin: 1.5em 0; box-shadow: none; }
.nl-fields { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; margin-bottom: 16px; }
.field span { display: block; font-weight: 650; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.field input, .field select { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid #cfc9e6; border-radius: 8px; font: inherit; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(75, 50, 195, .18); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin-bottom: 18px; line-height: 1.45; }
.consent input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.nl-form .btn { width: 100%; }
.nl-error { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
.site-footer { background: #170e36; color: #aaa3c9; padding: 64px 0 32px; font-size: .94rem; }
.site-footer a { color: #dcd8f2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-grid h4 { color: #fff; font-size: 1rem; letter-spacing: 0; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-brand p { margin-top: 16px; max-width: 340px; }
.footer-brand .brand:hover { text-decoration: none; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 28px; font-size: .82rem; line-height: 1.65; color: #8d86ad; }
.footer-legal a { text-decoration: underline; }

/* responsive */
@media (max-width: 1100px) {
  .main-nav, .header-cta { display: none; }
  .mobile-nav { display: block; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .article-side { display: none; }
  .toc-mobile { display: block; }
  .prose { max-width: none; }
}
@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .topbar { display: none; }
  .hero { padding: 56px 0 48px; }
  .section, .nl-section { padding: 56px 0; }
  .grid--3, .split, .nl-inner { grid-template-columns: 1fr; }
  .split, .nl-inner { gap: 36px; }
  .split--reverse .split-copy { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .trustbar-inner { justify-content: flex-start; flex-direction: column; gap: 10px; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .header-inner { height: 64px; }
  .wordmark { font-size: 1.25rem; }
  .logo-mark { width: 30px; height: 30px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-picker { flex-direction: column; }
  .topic-picker .btn { width: 100%; }
  .hero-popular a { display: inline-block; margin: 4px 6px; }
  .nl-fields { grid-template-columns: 1fr; }
  .nl-form, .data-card, .mail-card { padding: 20px; }
  .start-here { padding: 22px; }
  .article-meta { gap: 14px 24px; }
  .btn-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Expansion: topics, states, glossary, index ---------- */
.section--joined { padding-top: 0; }
.dd-count { margin-left: 8px; font-size: .78rem; font-weight: 650; color: var(--muted); background: var(--tint); border-radius: 10px; padding: 1px 8px; }
.dropdown-links a { display: flex; justify-content: space-between; align-items: center; }
.dropdown-links a:hover .dd-count { background: #fff; }
.topic-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.topic-jump a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: .94rem; }
.topic-jump a span { font-size: .78rem; color: var(--hero); background: var(--mint); border-radius: 10px; padding: 1px 7px; font-weight: 700; }
.topic-jump a:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.topic-section { padding-top: 16px; margin-bottom: 64px; scroll-margin-top: 96px; }
.topic-section:last-child { margin-bottom: 0; }
.topic-section .section-head--row p { margin: 6px 0 0; font-size: 1rem; }
.article-head .kicker a { color: var(--brand); text-decoration: none; }
.article-head .kicker a:hover { text-decoration: underline; }
.article-head .kicker .sep { color: var(--muted); margin: 0 4px; font-weight: 400; }
.prose h2[id], .gl-letter, .term { scroll-margin-top: 96px; }

.state-grid { list-style: none; margin: 0 0 1.5em; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.prose .state-grid { padding: 0; }
.prose .state-grid li { margin: 0; }
.state-grid a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; transition: border-color .15s, color .15s; }
.state-grid a:hover, .state-grid a[aria-current] { border-color: var(--brand); color: var(--brand); }
.st-abbr { flex: none; width: 34px; height: 26px; display: inline-flex; align-items: center; justify-content: center; background: var(--tint-2); color: var(--brand); border-radius: 5px; font-size: .78rem; font-weight: 800; letter-spacing: .02em; }
.states-head { margin-top: 56px; }
.facts table caption { text-align: left; padding: 14px 16px; font-weight: 750; color: #fff; background: var(--hero); }
.facts th[scope=row] { width: 38%; color: var(--ink); font-weight: 650; background: var(--tint); }
.facts tbody tr:nth-child(even) { background: #fff; }
.state-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--line); font-weight: 650; }
.state-pager a { text-decoration: none; }
.prose.wide { max-width: none; }
.prose.wide .lead { max-width: 820px; }

.index-intro { color: var(--muted); margin-bottom: 40px; }
.guides-group h2 { display: flex; align-items: center; gap: 12px; }
.guides-group h2 .icon { width: 40px; height: 40px; }
.index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; }
.index-col h3 { font-size: 1.05rem; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--brand); }
.index-col h3 a { color: var(--ink); text-decoration: none; }
.index-col h3 a:hover { color: var(--brand); }
.index-col ul { list-style: none; margin: 0; padding: 0; }
.index-col li a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: .95rem; line-height: 1.4; }
.index-col li a:hover { color: var(--brand); }
.index-states { columns: 2; column-gap: 20px; }

.az { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.az a, .az span { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-weight: 700; font-size: .95rem; }
.az a { background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; }
.az a:hover { background: var(--mint); color: var(--hero); }
.az span { color: rgba(255, 255, 255, .3); }
.glossary { max-width: 900px; }
.gl-letter { margin-bottom: 48px; }
.gl-letter h2 { font-size: 2rem; color: var(--brand); border-bottom: 2px solid var(--line); padding-bottom: 8px; margin-bottom: 8px; }
.gl-letter dl { margin: 0; }
.term { padding: 18px 0; border-bottom: 1px solid var(--line); }
.term:target { background: var(--tint); margin: 0 -16px; padding: 18px 16px; border-radius: 8px; }
.term dt { font-weight: 750; color: var(--ink); font-size: 1.12rem; margin-bottom: 6px; }
.term dd { margin: 0; }
.term dd p { margin: 0 0 6px; }
.term-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); background: var(--tint-2); padding: 2px 8px; border-radius: 4px; vertical-align: middle; margin-left: 6px; }
.term-links { font-size: .9rem; color: var(--muted); }

@media (max-width: 860px) {
  .index-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .index-grid { grid-template-columns: 1fr; }
  .state-grid { grid-template-columns: 1fr 1fr; }
  .state-grid a { font-size: .88rem; padding: 9px 8px; gap: 8px; }
  .st-abbr { width: 30px; }
  .facts th[scope=row] { width: 42%; }
}
