:root {
  --ink: #0b1730;
  --ink-2: #14213c;
  --text: #1f2c40;
  --muted: #64748b;
  --blue: #1267d6;
  --blue-2: #0a56bd;
  --blue-soft: #eaf3ff;
  --blue-pale: #f4f8ff;
  --warm: #f6f1e9;
  --warm-2: #eadfce;
  --paper: #ffffff;
  --line: #dfe7f0;
  --line-dark: #c9d4e1;
  --green: #10745c;
  --orange: #f17b35;
  --shadow: 0 20px 55px rgba(11, 23, 48, .10);
  --shadow-sm: 0 10px 28px rgba(11, 23, 48, .08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shell: 1220px;
  --narrow: 820px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-2); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--ink); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: #cce1ff; color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid rgba(18,103,214,.35); outline-offset: 3px; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus, .skip-link:focus {
  clip: auto !important; width: auto; height: auto; margin: 0;
  padding: 12px 18px; left: 16px; top: 16px; z-index: 9999;
  background: var(--paper); color: var(--ink); border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.site-shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.narrow-shell { width: min(calc(100% - 40px), var(--narrow)); }
.site-main { min-height: 55vh; }

.utility-bar { background: var(--ink); color: #dfe7f5; font-size: 13px; letter-spacing: .015em; }
.utility-inner { min-height: 34px; display: flex; align-items: center; gap: 10px; }
.utility-kicker { color: #9bc5ff; font-weight: 800; letter-spacing: .08em; font-size: 11px; }

.site-header { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.header-main { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-wrap { flex: 0 0 auto; }
.text-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 38px; height: 38px; display: inline-grid; place-items: center; color: var(--blue); }
.logo-mark svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; }
.logo-word { font-size: 26px; font-weight: 850; letter-spacing: -.04em; line-height: 1; }
.logo-dot { color: var(--blue); }
.custom-logo-link img { max-height: 48px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 18px; }
.site-menu { display: flex; align-items: center; gap: 3px; margin: 0; padding: 0; list-style: none; }
.site-menu li { margin: 0; }
.site-menu a { display: block; padding: 10px 9px; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 700; border-radius: 8px; }
.site-menu a:hover, .site-menu .current-menu-item > a { color: var(--blue); background: var(--blue-pale); }
.nav-search { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 750; }
.nav-search .anb-icon { width: 17px; height: 17px; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); padding: 9px; border-radius: 10px; }
.menu-toggle .anb-icon { width: 28px; height: 28px; }

.anb-icon { width: 22px; height: 22px; flex: 0 0 auto; display: inline-grid; place-items: center; }
.anb-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.home-hero { padding: 68px 0 48px; background: linear-gradient(180deg, #f8fbff 0%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); align-items: center; gap: 52px; }
.hero-copy { position: relative; z-index: 2; }
.section-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 12px; line-height: 1; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.section-kicker::before { content: ""; width: 24px; height: 3px; border-radius: 999px; background: currentColor; }
.section-kicker--light { color: #98c5ff; }
.hero-copy h1 { margin: 16px 0 22px; font-size: clamp(50px, 6.4vw, 84px); line-height: .98; letter-spacing: -.055em; color: var(--ink); max-width: 700px; }
.hero-copy h1 span { color: var(--blue); }
.hero-lede { margin: 0 0 28px; max-width: 680px; font-size: 20px; line-height: 1.55; color: #4f5f76; }
.hero-search { max-width: 690px; }
.search-form { display: flex; align-items: center; position: relative; gap: 0; }
.search-form-icon { position: absolute; left: 18px; color: var(--muted); pointer-events: none; z-index: 2; }
.search-form-icon .anb-icon { width: 20px; height: 20px; }
.search-field { width: 100%; min-height: 54px; padding: 10px 126px 10px 52px; border: 1px solid var(--line-dark); border-radius: 14px; background: #fff; color: var(--ink); outline: none; box-shadow: 0 6px 20px rgba(11,23,48,.04); }
.search-field:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(18,103,214,.12); }
.search-submit { position: absolute; right: 6px; top: 6px; bottom: 6px; min-width: 108px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 800; cursor: pointer; }
.search-submit:hover { background: var(--blue-2); }
.popular-searches { margin-top: 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); }
.popular-searches strong { color: var(--ink); }
.popular-searches a { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: #4d5d74; text-decoration: none; background: #fff; }
.popular-searches a:hover { border-color: #a8c7ee; color: var(--blue); background: var(--blue-pale); }

.hero-visual { position: relative; min-height: 520px; }
.hero-visual::before { content: ""; position: absolute; inset: 4% -6% -4% 8%; border-radius: 40px; background: linear-gradient(145deg, #dfeeff, #f6eee3); transform: rotate(2deg); }
.hero-visual img { position: relative; width: 100%; height: 520px; object-fit: cover; border-radius: 34px; box-shadow: var(--shadow); }
.hero-note { position: absolute; left: -24px; bottom: 28px; width: min(360px, 70%); display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: rgba(255,255,255,.96); border: 1px solid rgba(201,212,225,.9); border-radius: 16px; box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); }
.hero-note-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); flex: 0 0 auto; }
.hero-note strong { display: block; color: var(--ink); font-size: 14px; }
.hero-note small { display: block; color: var(--muted); margin-top: 2px; line-height: 1.45; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { display: flex; align-items: center; gap: 12px; padding: 23px 24px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { border-right: 0; padding-right: 0; }
.trust-grid .anb-icon { color: var(--blue); width: 27px; height: 27px; }
.trust-grid strong { display: block; color: var(--ink); font-size: 14px; }
.trust-grid small { display: block; margin-top: 2px; color: var(--muted); line-height: 1.35; font-size: 12px; }

.home-section { padding: 92px 0; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.section-heading-row h2, .problem-copy h2, .featured-library h2, .approach-card h2 { margin: 13px 0 10px; font-size: clamp(34px, 4vw, 50px); line-height: 1.08; letter-spacing: -.04em; color: var(--ink); }
.section-heading-row p { max-width: 720px; margin: 0; color: var(--muted); font-size: 17px; }

.topics-section { background: #fff; }
.topic-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.topic-card { grid-column: span 3; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.topic-card--feature { grid-column: span 6; }
.topic-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #bfd2e8; }
.topic-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--warm); }
.topic-card:not(.topic-card--feature) .topic-media { aspect-ratio: 4 / 3; }
.topic-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.topic-card:hover .topic-media img { transform: scale(1.025); }
.topic-card-body { position: relative; display: grid; grid-template-columns: 42px 1fr 36px; gap: 13px; align-items: start; padding: 21px 20px 22px; }
.topic-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.topic-icon .anb-icon { width: 22px; height: 22px; }
.topic-card h3 { margin: 2px 0 6px; font-size: 18px; line-height: 1.25; }
.topic-card--feature h3 { font-size: 22px; }
.topic-card h3 a { color: var(--ink); text-decoration: none; }
.topic-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.circle-link { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--blue); }
.circle-link .anb-icon { width: 16px; height: 16px; }
.circle-link:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.problem-section { background: var(--ink); color: #fff; padding: 78px 0; }
.problem-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.problem-copy h2 { color: #fff; }
.problem-copy p { color: #c3cde0; max-width: 560px; font-size: 17px; }
.problem-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.problem-links a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 68px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; color: #fff; text-decoration: none; font-weight: 720; background: rgba(255,255,255,.055); }
.problem-links a:hover { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.28); }
.problem-links .anb-icon { width: 19px; height: 19px; color: #8bc0ff; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 11px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 800; border: 1px solid var(--blue); }
.button:hover { background: var(--blue-2); color: #fff; }
.button .anb-icon { width: 17px; height: 17px; }
.button--light { margin-top: 15px; background: #fff; color: var(--ink); border-color: #fff; }
.button--light:hover { background: #e7effa; color: var(--ink); }

.featured-library-section { background: #f7f9fc; }
.featured-library { display: grid; grid-template-columns: .82fr 1.18fr; min-height: 460px; border-radius: 26px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.featured-library-copy { padding: 58px 58px 54px; color: #c7d3e8; align-self: center; }
.featured-library h2 { color: #fff; font-size: clamp(38px, 4.5vw, 58px); margin-top: 18px; }
.featured-library p { font-size: 17px; max-width: 520px; }
.featured-library .pill { display: inline-block; padding: 7px 10px; border-radius: 999px; background: rgba(90,162,255,.16); color: #9bc9ff; font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.featured-library-media { min-height: 460px; }
.featured-library-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-stats { display: flex; gap: 28px; margin: 27px 0 28px; }
.feature-stats span { display: flex; flex-direction: column; color: #b9c6d9; font-size: 12px; }
.feature-stats strong { color: #fff; font-size: 26px; line-height: 1; margin-bottom: 5px; }

.latest-section { background: #fff; }
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.posts-grid--three { grid-template-columns: repeat(3, 1fr); }
.post-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #edf2f8; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card-media img { transform: scale(1.025); }
.post-card-body { padding: 20px 21px 22px; }
.post-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 11px; color: var(--muted); font-size: 11px; font-weight: 700; }
.eyebrow-link { color: var(--blue); text-decoration: none; font-size: 10px; letter-spacing: .055em; text-transform: uppercase; font-weight: 850; }
.post-card-title { margin: 0 0 9px; font-size: 21px; line-height: 1.28; letter-spacing: -.018em; }
.post-card-title a { color: var(--ink); text-decoration: none; }
.post-card-body p { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--blue-2); text-decoration: none; font-size: 13px; font-weight: 800; }
.text-link .anb-icon { width: 15px; height: 15px; transition: transform .2s ease; }
.text-link:hover .anb-icon { transform: translateX(3px); }
.text-link--large { font-size: 15px; }

.approach-section { padding-top: 20px; }
.approach-card { display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: center; padding: 56px 58px; border-radius: 26px; background: linear-gradient(135deg, #f1f7ff, #f8f4ee); border: 1px solid #dae6f2; }
.approach-card h2 { font-size: clamp(34px, 4vw, 48px); }
.approach-card p { color: var(--muted); max-width: 680px; }
.approach-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.approach-list li { display: grid; grid-template-columns: 38px 1fr; gap: 13px; padding: 17px; border-radius: 14px; background: rgba(255,255,255,.82); border: 1px solid rgba(201,212,225,.8); }
.approach-list .anb-icon { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.approach-list strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.approach-list span { color: var(--muted); font-size: 13px; line-height: 1.45; }

.breadcrumbs { margin: 28px 0 0; font-size: 12px; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 7px; color: #a4afbf; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs li[aria-current="page"] { max-width: 600px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.archive-main { padding-bottom: 90px; }
.archive-header { max-width: 840px; padding: 62px 0 38px; }
.archive-header h1, .archive-hero h1, .page-header h1, .article-header h1, .not-found-card h1 { margin: 13px 0 14px; color: var(--ink); font-size: clamp(42px, 6vw, 70px); line-height: 1.03; letter-spacing: -.05em; }
.archive-header p, .archive-description { color: var(--muted); font-size: 18px; }
.archive-description p { margin: 0; }
.archive-count { color: var(--blue); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.archive-hero { display: grid; grid-template-columns: 1fr .82fr; align-items: center; gap: 55px; margin: 44px 0 52px; padding: 45px; border-radius: 26px; background: #f5f8fc; border: 1px solid var(--line); }
.archive-hero img { width: 100%; height: 340px; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-sm); }
.archive-grid { margin-top: 22px; }
.navigation.pagination { margin-top: 46px; }
.nav-links { display: flex; gap: 7px; flex-wrap: wrap; }
.page-numbers { min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0 10px; border: 1px solid var(--line-dark); border-radius: 8px; color: var(--ink); text-decoration: none; }
.page-numbers.current, .page-numbers:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.search-header .search-form { max-width: 680px; margin-top: 25px; }
.empty-state { padding: 60px 0 90px; max-width: 680px; }
.empty-state h2 { font-size: 34px; color: var(--ink); margin-bottom: 10px; }
.empty-state p { color: var(--muted); }

.page-main { padding-bottom: 90px; }
.page-header { padding: 55px 0 30px; }
.page-lede { color: var(--muted); font-size: 20px; }
.page-featured { margin: 0 0 35px; }
.page-featured img { border-radius: 22px; width: 100%; }

.single-main { padding-bottom: 100px; }
.article-header { max-width: 940px; margin: 0 auto; padding: 48px 0 34px; text-align: center; }
.article-category { display: inline-block; color: var(--blue); text-decoration: none; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 850; }
.article-header h1 { font-size: clamp(44px, 6vw, 72px); max-width: 1000px; margin-inline: auto; }
.article-deck { max-width: 820px; margin: 0 auto 18px; color: #5b6c83; font-size: 20px; line-height: 1.55; }
.article-byline { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; color: var(--muted); font-size: 12px; }
.article-featured { max-width: 1080px; margin: 0 auto 48px; }
.article-featured img { width: 100%; max-height: 650px; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow-sm); }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 46px; justify-content: center; align-items: start; }
.article-rail { position: sticky; top: 24px; }
.toc { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #f8fafc; font-size: 12px; }
.toc > strong { display: block; color: var(--ink); font-size: 13px; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { margin: 6px 0; color: #8894a6; }
.toc a { color: #56657a; text-decoration: none; }
.toc a:hover { color: var(--blue); }
.editorial-note { margin: 0 0 28px; padding: 16px 18px; border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; background: var(--blue-pale); color: #4f6178; font-size: 14px; }
.editorial-note strong { color: var(--ink); }
.entry-content { font-size: 18px; line-height: 1.78; color: #26364b; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin: 54px 0 16px; color: var(--ink); font-size: 34px; line-height: 1.2; letter-spacing: -.025em; scroll-margin-top: 20px; }
.entry-content h3 { margin: 36px 0 12px; color: var(--ink); font-size: 25px; line-height: 1.25; }
.entry-content h4 { margin-top: 28px; color: var(--ink); font-size: 20px; }
.entry-content p { margin: 0 0 24px; }
.entry-content ul, .entry-content ol { padding-left: 25px; margin: 0 0 26px; }
.entry-content li { margin: 8px 0; padding-left: 3px; }
.entry-content blockquote { margin: 34px 0; padding: 5px 0 5px 24px; border-left: 4px solid var(--blue); color: #4c5c72; font-size: 20px; }
.entry-content img { border-radius: 12px; }
.entry-content figure { margin: 34px 0; }
.entry-content figcaption { color: var(--muted); font-size: 12px; text-align: left; }
.entry-content table { border-collapse: collapse; width: 100%; margin: 30px 0; font-size: 14px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: 12px 13px; border-bottom: 1px solid var(--line); text-align: left; min-width: 130px; }
.entry-content th { background: #f4f7fb; color: var(--ink); font-weight: 800; }
.entry-content code { padding: 2px 5px; border-radius: 5px; background: #edf2f7; color: #21324b; }
.entry-content pre { overflow-x: auto; padding: 18px; border-radius: 12px; background: var(--ink); color: #e7eef8; }
.entry-content .wp-block-button__link { background: var(--blue); border-radius: 9px; }
.article-footer-meta { margin-top: 45px; padding-top: 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.related-guides { margin-top: 92px; padding-top: 70px; border-top: 1px solid var(--line); }
.related-guides .section-heading-row { margin-bottom: 28px; }
.related-guides .section-heading-row h2 { font-size: 38px; }

.not-found-main { display: grid; place-items: center; padding: 80px 0 110px; background: #f8fafc; }
.not-found-card { max-width: 820px; text-align: center; padding: 60px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow-sm); }
.error-code { display: block; color: #d7e6f9; font-size: 100px; line-height: .8; font-weight: 900; letter-spacing: -.08em; margin-bottom: 22px; }
.not-found-card p { color: var(--muted); font-size: 18px; }
.not-found-card .search-form { max-width: 650px; margin: 28px auto; }
.not-found-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.not-found-topics a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 12px; color: var(--ink); }

.site-footer { margin-top: 90px; padding: 66px 0 0; background: var(--ink); color: #aebbd0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1.05fr; gap: 56px; padding-bottom: 52px; }
.text-logo--footer { color: #fff; }
.text-logo--footer .logo-mark { color: #6eb0ff; }
.footer-brand p { max-width: 340px; margin: 17px 0 0; }
.footer-small { font-size: 12px; color: #8190a8; }
.footer-heading { margin: 4px 0 15px; color: #fff; font-size: 14px; letter-spacing: .01em; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 9px 0; }
.footer-links a { color: #b5c2d7; text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-search-wrap p { font-size: 13px; line-height: 1.5; }
.site-footer .search-field { background: #14233f; border-color: #2c3b57; color: #fff; }
.site-footer .search-submit { background: #2b7be1; }
.site-footer .search-form-icon { color: #8290a8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding: 18px 0 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; color: #78879f; }
.footer-bottom p { margin: 0; }

@media (max-width: 1120px) {
  .primary-nav { gap: 8px; }
  .site-menu a { padding-inline: 7px; font-size: 13px; }
  .nav-search span { display: none; }
  .hero-grid { gap: 34px; }
  .hero-visual { min-height: 440px; }
  .hero-visual img { height: 440px; }
  .topic-card { grid-column: span 6; }
  .topic-card--feature { grid-column: span 6; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div { border-bottom: 1px solid var(--line); }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-child(3), .trust-grid > div:nth-child(4) { border-bottom: 0; }
  .trust-grid > div:nth-child(3) { padding-left: 0; }
  .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; }
  .footer-search-wrap { grid-column: 1 / -1; max-width: 520px; }
  .article-layout { grid-template-columns: minmax(0, 760px); }
  .article-rail { position: static; }
  .toc { margin-bottom: 25px; }
}

@media (max-width: 1020px) {
  body { font-size: 16px; }
  .utility-bar { display: none; }
  .header-main { height: 70px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .primary-nav { display: none; position: fixed; inset: 70px 0 0; background: #fff; padding: 24px 20px 40px; overflow-y: auto; align-items: stretch; z-index: 100; }
  .primary-nav.is-open { display: block; }
  .site-menu { display: grid; gap: 3px; }
  .site-menu a { padding: 14px 12px; font-size: 16px; border-bottom: 1px solid #edf1f5; border-radius: 0; }
  .nav-search { margin-top: 18px; width: 100%; justify-content: center; border-radius: 10px; min-height: 48px; }
  .nav-search span { display: inline; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .home-hero { padding-top: 46px; }
  .hero-copy h1 { font-size: clamp(48px, 11vw, 72px); max-width: 760px; }
  .hero-lede { font-size: 18px; }
  .hero-visual { min-height: 0; }
  .hero-visual img { height: auto; aspect-ratio: 16 / 9; }
  .hero-visual::before { inset: 6% -3% -4% 7%; }
  .hero-note { left: 18px; bottom: 18px; }
  .home-section { padding: 72px 0; }
  .topic-card, .topic-card--feature { grid-column: span 6; }
  .problem-layout, .featured-library, .approach-card, .archive-hero { grid-template-columns: 1fr; }
  .problem-layout { gap: 36px; }
  .featured-library-copy { padding: 44px 38px; }
  .featured-library-media { min-height: 340px; }
  .posts-grid, .posts-grid--three { grid-template-columns: repeat(2, 1fr); }
  .approach-card { gap: 35px; padding: 42px 36px; }
  .archive-hero { padding: 34px; }
  .archive-hero img { height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-search-wrap { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 640px) {
  .site-shell, .narrow-shell { width: min(calc(100% - 28px), var(--shell)); }
  .logo-word { font-size: 23px; }
  .logo-mark { width: 34px; height: 34px; }
  .home-hero { padding: 36px 0 32px; }
  .hero-copy h1 { font-size: 49px; }
  .hero-lede { font-size: 16px; }
  .search-field { min-height: 50px; padding-right: 95px; padding-left: 45px; font-size: 14px; }
  .search-submit { min-width: 82px; font-size: 13px; }
  .popular-searches a:nth-of-type(n+4) { display: none; }
  .hero-note { position: relative; width: 100%; left: 0; bottom: auto; margin-top: 12px; }
  .hero-visual::before { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div, .trust-grid > div:first-child, .trust-grid > div:nth-child(3), .trust-grid > div:last-child { padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .home-section { padding: 58px 0; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 24px; }
  .section-heading-row h2, .problem-copy h2, .featured-library h2, .approach-card h2 { font-size: 36px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card, .topic-card--feature { grid-column: auto; }
  .topic-card .topic-media, .topic-card:not(.topic-card--feature) .topic-media { aspect-ratio: 16 / 9; }
  .topic-card-body { grid-template-columns: 38px 1fr 32px; padding: 17px 16px 18px; }
  .topic-icon { width: 38px; height: 38px; }
  .topic-card--feature h3, .topic-card h3 { font-size: 18px; }
  .problem-links { grid-template-columns: 1fr; }
  .problem-section { padding: 58px 0; }
  .featured-library { border-radius: 20px; }
  .featured-library-copy { padding: 36px 24px; }
  .featured-library h2 { font-size: 38px; }
  .featured-library-media { min-height: 260px; }
  .feature-stats { gap: 18px; }
  .posts-grid, .posts-grid--three { grid-template-columns: 1fr; }
  .post-card-title { font-size: 20px; }
  .approach-card { padding: 32px 22px; border-radius: 20px; }
  .archive-header { padding: 44px 0 28px; }
  .archive-header h1, .archive-hero h1, .page-header h1, .article-header h1, .not-found-card h1 { font-size: 42px; }
  .archive-hero { padding: 24px; margin: 28px 0 36px; gap: 25px; }
  .archive-hero img { height: 230px; }
  .article-header { text-align: left; padding: 34px 0 26px; }
  .article-deck { font-size: 17px; }
  .article-byline { justify-content: flex-start; }
  .article-featured { margin-bottom: 32px; }
  .article-featured img { border-radius: 16px; }
  .entry-content { font-size: 17px; }
  .entry-content h2 { margin-top: 44px; font-size: 30px; }
  .entry-content h3 { font-size: 23px; }
  .related-guides { margin-top: 65px; padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand, .footer-search-wrap { grid-column: auto; }
  .not-found-card { padding: 40px 22px; }
  .error-code { font-size: 78px; }
}

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

/* Topic hub pages */
.topic-hub-main, .label-hub-main { padding-bottom: 90px; }
.topic-hub-hero, .label-hub-hero {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 54px;
  align-items: center;
  margin: 42px 0 64px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, #f6faff 0%, #f8f4ee 100%);
  overflow: hidden;
}
.topic-hub-copy h1, .label-hub-copy h1 {
  margin: 14px 0 16px;
  color: var(--ink);
  font-size: clamp(44px, 6vw, 70px);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.topic-hub-copy > p, .label-hub-copy > p { margin: 0; color: var(--muted); font-size: 19px; line-height: 1.6; }
.topic-hub-actions, .label-hub-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 27px; }
.topic-hub-visual img, .label-hub-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-sm); }
.topic-hub-intro { max-width: 820px; margin: 0 auto 70px; }
.topic-hub-intro .entry-content { font-size: 17px; }
.topic-hub-guides { scroll-margin-top: 20px; }

/* Label printer field guide hub */
.label-hub-hero { background: var(--ink); border-color: var(--ink); }
.label-hub-copy h1 { color: #fff; }
.label-hub-copy > p { color: #c3cee0; }
.label-hub-hero .section-kicker { color: #91c1ff; }
.label-hub-actions .button { background: #fff; border-color: #fff; color: var(--ink); }
.label-hub-actions .button:hover { background: #e8f1fc; color: var(--ink); }
.resource-count { display: flex; align-items: baseline; gap: 7px; color: #98a8c1; font-size: 12px; }
.resource-count strong { color: #fff; font-size: 28px; line-height: 1; }
.label-search { margin-top: 26px; max-width: 620px; }
.label-hub-hero .search-field { background: #152642; border-color: #354663; color: #fff; box-shadow: none; }
.label-hub-hero .search-field::placeholder { color: #8190a7; }
.label-hub-hero .search-form-icon { color: #8190a7; }
.label-hub-hero .search-submit { background: #2b7be1; }
.label-task-grid { margin-bottom: 78px; }
.task-cards { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.task-card { min-height: 170px; display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.task-card:hover { transform: translateY(-3px); border-color: #b9cce3; box-shadow: var(--shadow-sm); color: var(--ink); }
.task-card > .anb-icon { margin-top: auto; color: var(--blue); width: 18px; height: 18px; }
.task-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--blue-soft); color: var(--blue); }
.task-icon .anb-icon { width: 22px; height: 22px; }
.task-card strong { display: block; font-size: 14px; line-height: 1.3; }
.task-card small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.label-library { scroll-margin-top: 20px; }
.page-resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
.resource-card { padding: 23px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.resource-card-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .045em; }
.resource-label { color: var(--blue); }
.resource-card h3 { margin: 13px 0 9px; font-size: 20px; line-height: 1.3; letter-spacing: -.015em; }
.resource-card h3 a { color: var(--ink); text-decoration: none; }
.resource-card p { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.55; }

@media (max-width: 1020px) {
  .topic-hub-hero, .label-hub-hero { grid-template-columns: 1fr; gap: 34px; }
  .topic-hub-visual img, .label-hub-visual img { max-height: 430px; }
  .task-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .page-resource-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .topic-hub-hero, .label-hub-hero { margin: 28px 0 46px; padding: 24px; border-radius: 20px; }
  .topic-hub-copy h1, .label-hub-copy h1 { font-size: 42px; }
  .topic-hub-copy > p, .label-hub-copy > p { font-size: 16px; }
  .task-cards, .page-resource-grid { grid-template-columns: 1fr; }
  .task-card { min-height: auto; }
}

/* All guides library */
.all-guides-header { max-width: 920px; padding-bottom: 30px; }
.all-guides-search { max-width: 680px; margin-top: 26px; }
.library-topic-nav { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; margin: 0 0 68px; }
.library-topic-nav a { display: flex; flex-direction: column; gap: 10px; min-height: 116px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 760; background: #fff; }
.library-topic-nav a:hover { border-color: #b8cde7; background: var(--blue-pale); }
.library-topic-nav .anb-icon { color: var(--blue); width: 26px; height: 26px; }
@media (max-width: 1020px) { .library-topic-nav { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 640px) { .library-topic-nav { grid-template-columns: repeat(2,1fr); margin-bottom: 50px; } }
.page-guide-byline { justify-content: flex-start; margin-top: 18px; }
.page-article--guide .page-header { padding-bottom: 26px; }
.page-article--guide .editorial-note { margin-top: 4px; }
.guide-back-link { margin-top: 50px; padding-top: 25px; border-top: 1px solid var(--line); }
.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start; margin-top: 34px; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: #f8fafc; }
.author-avatar img { width: 72px; height: 72px; border-radius: 50%; }
.author-label { display: block; margin-bottom: 2px; color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.author-box strong { display: block; color: var(--ink); font-size: 16px; }
.author-box p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
@media (max-width: 640px) { .author-box { grid-template-columns: 52px 1fr; } .author-avatar img { width:52px; height:52px; } }
.header-main { position: relative; }
.nav-search { cursor: pointer; background: #fff; }
.header-search-panel { position: absolute; z-index: 120; right: 0; top: 70px; width: min(560px, calc(100vw - 40px)); padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.header-search-panel[hidden] { display: none; }
.header-search-inner > strong { display: block; color: var(--ink); font-size: 13px; margin: 0 0 10px; }
@media (max-width: 1020px) {
  .header-search-panel { position: fixed; top: 82px; left: 14px; right: 14px; width: auto; }
}

/* Search resilience / no-results helpers (v1.1). */
.empty-state .button-row{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.25rem}
.search-header>p{max-width:720px;color:var(--color-text-muted,#5b6472)}
