/* DAVZON Resources: hub, guides, tools, glossary and FAQs.
   Builds on styles.css and usa.css (us-wrap, eyebrow, q accordion, seg). */

.page-res { background: var(--white); }
.rs { color: var(--ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--slate); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(12, 27, 42, 0.3); }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--saffron); text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Article hero ---------- */
.rs-hero { position: relative; overflow: hidden; padding: clamp(120px, calc(8.5 * var(--vw)), 176px) 0 clamp(48px, calc(4.5 * var(--vw)), 90px); background: var(--sand); }
.rs-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 84% at 88% 10%, rgba(242, 169, 59, 0.22), transparent); pointer-events: none; }
.rs-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, calc(4.5 * var(--vw)), 96px); align-items: center; }
.rs-hero__type { display: flex; align-items: center; gap: 12px; color: var(--slate); font-weight: 700; font-size: 14px; }
.rs-hero__type span { padding: 6px 14px; border-radius: var(--r-pill); background: var(--ink); color: var(--saffron); }
.rs-hero h1 { margin-top: 18px; font-weight: 800; font-size: clamp(34px, calc(3.4 * var(--vw)), 74px); letter-spacing: -0.035em; line-height: 1.06; text-wrap: balance; }
.rs-hero__lede { max-width: 38em; margin-top: 20px; color: var(--slate); font-size: clamp(17px, calc(1.2 * var(--vw)), 23px); line-height: 1.55; }
.rs-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--slate); font-size: 14px; font-weight: 600; }
.rs-hero__meta li { display: inline-flex; align-items: center; gap: 6px; }
.rs-hero__meta svg { width: 16px; height: 16px; }
.rs-hero .us-actions { margin-top: 26px; }
.rs-copy svg { width: 18px; height: 18px; }
.rs-copy.is-done { background: var(--ink); color: var(--white); }
.rs-hero__fig { position: relative; margin: 0; }
.rs-hero__fig img { display: block; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r-panel) var(--r-panel) var(--r-panel) 120px; box-shadow: 0 50px 80px -50px rgba(12, 27, 42, 0.6); animation: fig-in 1.1s var(--ease) both; }
@keyframes fig-in { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
.rs-hero__fig figcaption { position: absolute; left: -24px; bottom: 28px; display: grid; gap: 2px; padding: 16px 22px; border-radius: 20px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 600; box-shadow: 0 24px 40px -24px rgba(12, 27, 42, 0.8); }
.rs-hero__fig figcaption b { color: var(--saffron); font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.rs-hero__fig figcaption span { color: var(--ink-muted); font-weight: 500; }

/* ---------- Body: sticky table of contents + prose ---------- */
.rs-body { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(28px, calc(5 * var(--vw)), 110px); padding-block: clamp(48px, calc(5 * var(--vw)), 100px); }
.rs-toc { position: sticky; top: 110px; align-self: start; }
.rs-toc > p { margin-bottom: 14px; color: var(--slate); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.rs-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; border-left: 2px solid var(--paper); }
.rs-toc li { counter-increment: toc; }
.rs-toc ol a { position: relative; display: flex; gap: 10px; padding: 9px 0 9px 18px; margin-left: -2px; border-left: 2px solid transparent; color: var(--slate); font-size: 15px; font-weight: 600; line-height: 1.35; text-decoration: none; transition: color 0.2s, border-color 0.3s var(--ease); }
.rs-toc ol a::before { content: counter(toc, decimal-leading-zero); flex: none; color: rgba(12, 27, 42, 0.35); font-size: 12px; padding-top: 2px; }
.rs-toc ol a:hover { color: var(--ink); }
.rs-toc ol a.is-on { border-left-color: var(--saffron); color: var(--ink); }
.rs-toc ol a.is-on::before { color: var(--saffron); }
.rs-toc__cta { position: relative; display: grid; gap: 4px; margin-top: 28px; padding: 22px 70px 22px 22px; border-radius: var(--r-tile); background: var(--ink); color: var(--white); text-decoration: none; }
.rs-toc__cta b { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.rs-toc__cta span { color: var(--ink-muted); font-size: 14px; }
.rs-toc__go { position: absolute; right: 18px; top: 50%; display: grid; place-items: center; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; background: var(--saffron); color: var(--ink) !important; transition: transform 0.3s var(--ease); }
.rs-toc__go svg { width: 18px; height: 18px; }
.rs-toc__cta:hover .rs-toc__go { transform: translateX(4px); }

.prose { max-width: 820px; min-width: 0; font-size: clamp(17px, calc(1.1 * var(--vw)), 20px); line-height: 1.7; color: var(--slate); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; color: var(--ink); font-weight: 800; font-size: clamp(26px, calc(2 * var(--vw)), 40px); letter-spacing: -0.03em; line-height: 1.15; scroll-margin-top: 110px; }
.prose h3 { margin-top: 1.6em; color: var(--ink); font-weight: 800; font-size: clamp(20px, calc(1.35 * var(--vw)), 26px); letter-spacing: -0.02em; }
.prose strong { color: var(--ink); }
/* Text links only: a button inside an article keeps its own button style
   (it used to pick up this underline, a lighter weight and a pale hover) */
.prose a:not(.btn) { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--saffron); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose a:not(.btn):hover { background: rgba(242, 169, 59, 0.18); }
.prose ul, .prose ol:not(.steps) { padding-left: 1.2em; }
.prose li + li { margin-top: 0.45em; }
.prose ul:not(.ticks) li::marker { color: var(--saffron); }
.ticks { padding: 0 !important; list-style: none; }
.ticks li { position: relative; padding-left: 36px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 22px; height: 22px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23F2A93B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }

.tkw { padding: clamp(22px, calc(2.2 * var(--vw)), 40px); border-radius: var(--r-card); background: var(--ink); color: var(--ink-muted); }
.tkw__title { color: var(--saffron); font-weight: 800; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.tkw ul { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: k; }
.tkw li { position: relative; padding-left: 42px; color: var(--white); counter-increment: k; }
.tkw li + li { margin-top: 12px; }
.tkw li::before { content: counter(k); position: absolute; left: 0; top: 0.15em; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(242, 169, 59, 0.16); color: var(--saffron); font-weight: 800; font-size: 14px; }

.tbl { overflow-x: auto; border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); border-radius: var(--r-tile); }
.tbl table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.86em; line-height: 1.45; }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--paper); }
.tbl thead th { background: var(--ink); color: var(--white); font-weight: 700; }
.tbl thead th:last-child { background: #13283E; color: var(--saffron); }
.tbl tbody th { color: var(--ink); font-weight: 700; background: var(--paper); }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody tr:hover td { background: rgba(242, 169, 59, 0.07); }

.steps { margin-left: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 0 0 22px 64px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--saffron); color: var(--ink); font-weight: 800; }
.steps li::after { content: ""; position: absolute; left: 20px; top: 50px; bottom: 6px; width: 2px; background: var(--paper); }
.steps li:last-child::after { display: none; }
.steps b { display: block; color: var(--ink); font-weight: 800; }
.steps p { margin-top: 4px; }

.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat-row > div { padding: 20px; border-radius: var(--r-tile); background: var(--sand); }
.stat-row b { display: block; color: var(--ink); font-weight: 800; font-size: clamp(28px, calc(2.4 * var(--vw)), 44px); letter-spacing: -0.04em; line-height: 1; }
.stat-row span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.4; }
.formula { padding: 18px 22px; border-left: 5px solid var(--saffron); border-radius: 0 16px 16px 0; background: var(--paper); color: var(--ink); font-weight: 800; }

.icta { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-block: 2em !important; padding: clamp(22px, calc(2.2 * var(--vw)), 36px); border-radius: var(--r-card); background: linear-gradient(120deg, #F6BE62, var(--saffron)); color: var(--ink); }
.icta__eyebrow { font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
.icta b { display: block; margin-top: 4px; font-weight: 800; font-size: clamp(20px, calc(1.5 * var(--vw)), 28px); letter-spacing: -0.02em; line-height: 1.2; }
.icta p:not(.icta__eyebrow) { margin-top: 6px; font-size: 16px; line-height: 1.5; color: rgba(12, 27, 42, 0.8); }
.icta .btn { flex: none; background: var(--ink); color: var(--white); }

.rs-faq { display: grid; gap: 10px; }
.rs-disclaimer { margin-top: 3em !important; padding-top: 20px; border-top: 1px solid var(--paper); font-size: 14px; color: #6B7785; }

/* ---------- Resource cards ---------- */
.rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, calc(1.4 * var(--vw)), 28px); margin: 0; padding: 0; list-style: none; }
.rcard a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); border-radius: var(--r-card); background: var(--white); color: var(--ink); text-decoration: none; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.rcard a:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(12, 27, 42, 0.5); }
.rcard a:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }
.rcard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.rcard__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.rcard a:hover .rcard__img img { transform: scale(1.06); }
.rcard__body { display: flex; flex-direction: column; flex: 1; padding: clamp(18px, calc(1.6 * var(--vw)), 28px); }
.rcard__meta { display: flex; align-items: center; gap: 10px; color: var(--slate); font-size: 13px; font-weight: 600; }
.rcard__type { padding: 4px 10px; border-radius: var(--r-pill); background: var(--sand); color: var(--ink); font-weight: 700; }
.rcard__title { margin-top: 14px; font-weight: 800; font-size: clamp(19px, calc(1.3 * var(--vw)), 24px); letter-spacing: -0.02em; line-height: 1.25; }
.rcard__text { margin-top: 8px; color: var(--slate); font-size: 15px; line-height: 1.5; }
.rcard__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-weight: 700; font-size: 15px; }
.rcard__go svg { width: 18px; height: 18px; color: var(--saffron); transition: transform 0.3s var(--ease); }
.rcard a:hover .rcard__go svg { transform: translateX(4px); }

.rs-related { padding-block: clamp(56px, calc(5.5 * var(--vw)), 110px); background: var(--sand); }
.rs-related__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: clamp(24px, calc(2.6 * var(--vw)), 48px); }
.rs-related h2 { font-weight: 800; font-size: clamp(28px, calc(2.6 * var(--vw)), 54px); letter-spacing: -0.035em; }
.rs-related__head a, .hub-head a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; text-decoration: none; }
.rs-related__head svg { width: 18px; height: 18px; color: var(--saffron); }

/* ---------- Hub ---------- */
.hub-hero { position: relative; overflow: hidden; padding: clamp(130px, calc(9 * var(--vw)), 190px) 0 clamp(64px, calc(6 * var(--vw)), 120px); background: var(--ink); color: var(--white); isolation: isolate; }
.hub-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: fig-in 1.6s var(--ease) both; }
.hub-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 24, 42, 0.92) 0%, rgba(10, 24, 42, 0.62) 50%, rgba(10, 24, 42, 0.15) 100%); }
.hub-hero .crumbs ol, .hub-hero .crumbs a { color: var(--ink-muted); }
.hub-hero .crumbs [aria-current] { color: var(--white); }
.hub-hero .eyebrow { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.hub-hero h1 { margin-top: 22px; font-weight: 800; font-size: clamp(40px, calc(4.4 * var(--vw)), 96px); letter-spacing: -0.04em; line-height: 1.02; }
.hub-hero .us-mark { display: inline-block; margin-top: 0.08em; padding: 0 0.14em 0.06em; border-radius: 0.17em; background: var(--saffron); color: var(--ink); }
.hub-hero__lede { max-width: 36em; margin-top: 22px; color: rgba(255, 255, 255, 0.85); font-size: clamp(17px, calc(1.2 * var(--vw)), 23px); line-height: 1.55; }
.hub-search { position: relative; max-width: 640px; margin-top: 30px; }
.hub-search svg { position: absolute; left: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; color: var(--slate); }
.hub-search input, .gl-search { width: 100%; min-height: 62px; padding: 0 22px 0 58px; border: 0; border-radius: var(--r-pill); background: var(--white); color: var(--ink); font: 600 17px var(--font); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.7); }
.hub-search input:focus, .gl-search:focus { outline: 3px solid var(--saffron); outline-offset: 2px; }
.hub-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; color: var(--ink-muted); font-size: 14px; font-weight: 600; }
.hub-pop a { padding: 6px 14px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--r-pill); color: var(--white); text-decoration: none; transition: background-color 0.2s, border-color 0.2s; }
.hub-pop a:hover { border-color: var(--saffron); background: rgba(242, 169, 59, 0.15); }

.hub-sec { padding-block: clamp(56px, calc(5.5 * var(--vw)), 116px); }
.hub-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 18px 40px; align-items: end; margin-bottom: clamp(26px, calc(3 * var(--vw)), 56px); }
.hub-head h2 { margin-top: 16px; font-weight: 800; font-size: clamp(30px, calc(2.9 * var(--vw)), 62px); letter-spacing: -0.035em; line-height: 1.08; }
.hub-head > p { color: var(--slate); font-size: clamp(16px, calc(1.1 * var(--vw)), 21px); line-height: 1.55; }
.rgrid--start { grid-template-columns: 1.25fr 1fr; }
.rgrid--start .rcard--big { grid-row: span 3; }
.rgrid--start .rcard:not(.rcard--big) .rcard__body { padding-block: 22px; }
.rgrid--start .rcard--big .rcard__img { aspect-ratio: 4 / 3; }
.rgrid--start .rcard--big .rcard__title { font-size: clamp(24px, calc(2 * var(--vw)), 38px); }
.rgrid--start .rcard:not(.rcard--big) .rcard__img { display: none; }
.rgrid--start .rcard:not(.rcard--big) a { background: var(--sand); border-color: transparent; }

.hub-tools { margin-inline: clamp(8px, calc(1.2 * var(--vw)), 24px); border-radius: var(--r-panel); background: var(--ink); color: var(--white); }
.hub-tools .hub-head > p { color: var(--ink-muted); }
.hub-tools .eyebrow--dark, .rs .eyebrow--dark { background: rgba(255, 255, 255, 0.08); color: var(--white); }
.tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, calc(1.2 * var(--vw)), 24px); margin: 0; padding: 0; list-style: none; }
.tool { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: clamp(22px, calc(2 * var(--vw)), 36px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--r-card); background: rgba(255, 255, 255, 0.04); color: var(--white); text-decoration: none; transition: background-color 0.3s, transform 0.35s var(--ease), border-color 0.3s; }
.tool:hover { transform: translateY(-6px); border-color: rgba(242, 169, 59, 0.5); background: rgba(255, 255, 255, 0.08); }
.tool__ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 18px; background: var(--saffron); }
.tool__ico svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tool b { font-weight: 800; font-size: clamp(19px, calc(1.3 * var(--vw)), 24px); letter-spacing: -0.02em; }
.tool > span:not(.tool__ico):not(.tool__go) { color: var(--ink-muted); font-size: 15px; line-height: 1.5; }
.tool__go { margin-top: auto; padding-top: 14px; color: var(--saffron); }
.tool__go svg { width: 22px; height: 22px; transition: transform 0.3s var(--ease); }
.tool:hover .tool__go svg { transform: translateX(5px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { min-height: 44px; padding: 0 18px; border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); border-radius: var(--r-pill); background: var(--white); color: var(--slate); font: 700 14px var(--font); cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { border-color: var(--ink); background: var(--ink); color: var(--white); }
.chip:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
.rcard.is-hidden, .sal__table tr.is-hidden, .gl__item.is-hidden, .q.is-hidden { display: none; }
.rgrid--all .rcard { animation: card-in 0.5s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } }
.hub-empty, .fq-empty { padding: 30px; border-radius: var(--r-tile); background: var(--paper); text-align: center; }

.hub-gloss { background: var(--sand); }
.hub-gloss__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, calc(4 * var(--vw)), 80px); align-items: center; }
.hub-gloss h2 { margin-top: 16px; font-weight: 800; font-size: clamp(28px, calc(2.6 * var(--vw)), 54px); letter-spacing: -0.035em; line-height: 1.1; }
.hub-gloss__grid > div > p { margin: 16px 0 26px; color: var(--slate); font-size: clamp(16px, calc(1.1 * var(--vw)), 21px); line-height: 1.55; }
.hub-gloss__card { padding: clamp(22px, calc(2.4 * var(--vw)), 44px); border-radius: var(--r-card); background: var(--white); }
.hub-gloss__letters { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
.hub-gloss__letters a { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: var(--paper); color: var(--ink); font-weight: 800; text-decoration: none; transition: background-color 0.2s, transform 0.25s var(--ease); }
.hub-gloss__letters a:hover { background: var(--saffron); transform: translateY(-3px); }
.hub-gloss__card > p { margin: 22px 0 10px; color: var(--slate); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.hub-gloss__terms { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-gloss__terms a { padding: 8px 14px; border-radius: var(--r-pill); background: var(--ink); color: var(--white); font-weight: 700; font-size: 14px; text-decoration: none; }
.hub-gloss__terms a:hover { background: var(--saffron); color: var(--ink); }

.hub-cta__card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(28px, calc(4 * var(--vw)), 80px); border-radius: var(--r-panel); background: var(--ink) radial-gradient(circle at 90% 0%, rgba(242, 169, 59, 0.3), transparent 45%); color: var(--white); }
.hub-cta__card h2 { margin-top: 16px; font-weight: 800; font-size: clamp(28px, calc(2.6 * var(--vw)), 54px); letter-spacing: -0.035em; }
.hub-cta__card p:not(.eyebrow) { max-width: 34em; margin-top: 12px; color: var(--ink-muted); font-size: clamp(16px, calc(1.1 * var(--vw)), 21px); line-height: 1.55; }
.hub-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* ---------- Salary guide ---------- */
.sal .chips { margin-bottom: 16px; }
.sal__table tbody th small { display: block; margin-top: 2px; color: var(--slate); font-weight: 500; font-size: 12px; }
.sal__table td { font-weight: 700; color: var(--ink); white-space: nowrap; }
.sal__table thead small { font-weight: 500; opacity: 0.75; }
.sal__note { font-size: 14px; color: #6B7785; }

/* ---------- Calculators ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 16px; border-radius: var(--r-card); background: var(--sand); }
.calc__in { display: grid; gap: 22px; align-content: start; padding: clamp(18px, calc(1.8 * var(--vw)), 30px); border-radius: var(--r-tile); background: var(--white); font-size: 15px; }
.calc__in label { display: grid; gap: 10px; color: var(--slate); font-weight: 600; }
.calc__in output { color: var(--ink); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.calc__in input[type="number"] { min-height: 50px; padding: 0 16px; border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); border-radius: 14px; background: var(--paper); color: var(--ink); font: 700 17px var(--font); }
.calc__in input:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; background: transparent; cursor: pointer; --p: 50%; }
.calc input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--ink) var(--p), var(--paper) var(--p)); }
.calc input[type="range"]::-moz-range-track { height: 8px; border-radius: 4px; background: var(--paper); }
.calc input[type="range"]::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--ink); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border: 5px solid var(--white); border-radius: 50%; background: var(--saffron); box-shadow: 0 4px 12px rgba(12, 27, 42, 0.3); }
.calc input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 5px solid var(--white); border-radius: 50%; background: var(--saffron); }
.calc__seg { margin: 0; border: 0; grid-template-columns: 1fr 1fr; }
.calc__seg button { font-size: 13px; }
.calc__seg button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.calc__out { display: flex; flex-direction: column; padding: clamp(18px, calc(1.8 * var(--vw)), 30px); border-radius: var(--r-tile); background: var(--ink); color: var(--white); font-size: 15px; }
.calc__label { color: var(--ink-muted); font-weight: 600; }
.calc__total { margin-top: 6px !important; color: var(--saffron); font-weight: 800; font-size: clamp(36px, calc(3.2 * var(--vw)), 58px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__usd { margin-top: 8px !important; color: var(--ink-muted); }
.calc__rows { margin: 18px 0 20px; }
.calc__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.calc__rows dt { color: var(--ink-muted); }
.calc__rows dt small { color: var(--saffron); }
.calc__rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc__out .btn { margin-top: auto; }
.calc__note { font-size: 14px; color: #6B7785; }
.calc--mini .calc__out { justify-content: center; }

/* ---------- Glossary and FAQ hub ---------- */
.gl-tools { position: sticky; top: 90px; z-index: 2; padding: 12px 0; background: var(--white); }
.gl-search { padding-left: 24px; box-shadow: none; border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); background: var(--paper); }
.gl-az { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
.gl-az a { display: grid; place-items: center; min-width: 38px; height: 38px; border-radius: 10px; background: var(--paper); color: var(--ink) !important; font-weight: 800; font-size: 14px; text-decoration: none !important; }
.gl-az a:hover { background: var(--saffron); }
.prose .gl-letter { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--ink); color: var(--saffron); font-size: 30px; scroll-margin-top: 200px; }
.gl { display: grid; gap: 10px; margin: 18px 0 0; }
.gl__item { padding: 20px 22px; border-radius: var(--r-tile); background: var(--paper); scroll-margin-top: 200px; transition: background-color 0.3s; }
.gl__item:target { background: rgba(242, 169, 59, 0.22); }
.gl dt { color: var(--ink); font-weight: 800; font-size: 1.05em; }
.gl dd { margin: 6px 0 0; font-size: 0.92em; line-height: 1.6; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rgrid--start { grid-template-columns: minmax(0, 1fr); }
  .rgrid--start .rcard--big { grid-row: auto; }
}
@media (max-width: 1020px) {
  .rs-hero__grid, .rs-body, .hub-head, .hub-gloss__grid, .calc { grid-template-columns: minmax(0, 1fr); }
  .rs-hero__fig { max-width: 560px; }
  .rs-hero__fig figcaption { left: 12px; }
  .rs-toc { position: static; padding: 20px; border-radius: var(--r-tile); background: var(--paper); }
  .rs-toc ol { columns: 2; column-gap: 18px; }
  .rs-toc__cta { display: none; }
  .hub-cta__card, .icta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  .rgrid, .rgrid--start, .tools { grid-template-columns: minmax(0, 1fr); }
  .rgrid--start .rcard--big { grid-column: auto; }
  .rs-toc ol { columns: 1; }
  .stat-row { grid-template-columns: minmax(0, 1fr); }
  .hub-gloss__letters { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .rs-hero .us-actions .btn, .hub-cta__actions .btn { width: 100%; }
  .gl-tools { top: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .rs-hero__fig img, .hub-hero__bg, .rgrid--all .rcard { animation: none; }
}

/* Eyebrows on light sections (styles.css defaults to white) */
.rs .eyebrow { background: var(--paper); }
.rs .hub-hero .eyebrow, .rs .eyebrow--dark { background: rgba(255, 255, 255, 0.1); color: var(--white); }

/* Search results: hidden groups and headings stay hidden */
.prose [hidden] { display: none !important; }

/* =====================================================================
   Page-type layouts (guide, tool, glossary, help centre, blog home)
   ===================================================================== */

/* ---------- Guide: photo hero with chapter list ---------- */
.g-hero { position: relative; overflow: hidden; padding: clamp(120px, calc(8.5 * var(--vw)), 176px) 0 clamp(80px, calc(6.5 * var(--vw)), 130px); background: var(--ink); color: var(--white); isolation: isolate; }
.g-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: fig-in 1.6s var(--ease) both; }
.g-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 24, 42, 0.95) 0%, rgba(10, 24, 42, 0.82) 55%, rgba(10, 24, 42, 0.6) 100%); }
.g-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, calc(4.5 * var(--vw)), 96px); align-items: center; }
.g-hero .crumbs ol, .g-hero .crumbs a, .d-hero--dark .crumbs ol, .d-hero--dark .crumbs a, .t-hero .crumbs ol, .t-hero .crumbs a { color: var(--ink-muted); }
.g-hero .crumbs [aria-current], .d-hero--dark .crumbs [aria-current], .t-hero .crumbs [aria-current] { color: var(--white); }
.g-hero__type { display: flex; align-items: center; gap: 12px; color: var(--ink-muted); font-weight: 700; font-size: 14px; }
.g-hero__type span { padding: 6px 14px; border-radius: var(--r-pill); background: var(--saffron); color: var(--ink); }
.g-hero h1 { margin-top: 18px; font-weight: 800; font-size: clamp(36px, calc(3.8 * var(--vw)), 82px); letter-spacing: -0.04em; line-height: 1.04; text-wrap: balance; }
.g-hero__lede { max-width: 36em; margin-top: 20px; color: rgba(255, 255, 255, 0.85); font-size: clamp(17px, calc(1.2 * var(--vw)), 23px); line-height: 1.55; }
.g-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--ink-muted); font-size: 14px; font-weight: 600; }
.g-hero__meta li { display: inline-flex; align-items: center; gap: 6px; }
.g-hero__meta svg { width: 16px; height: 16px; }
.g-hero .us-actions { margin-top: 28px; }
.g-toc { padding: clamp(20px, calc(2 * var(--vw)), 34px); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--r-card); background: rgba(12, 27, 42, 0.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.g-toc > p { color: var(--saffron); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.g-toc ol { margin: 12px 0 0; padding: 0; list-style: none; }
.g-toc a { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: var(--white); font-weight: 600; font-size: 15px; line-height: 1.35; text-decoration: none; transition: color 0.2s, padding 0.3s var(--ease); }
.g-toc li:last-child a { border-bottom: 0; }
.g-toc a span { flex: none; color: var(--saffron); font-weight: 800; font-variant-numeric: tabular-nums; }
.g-toc a:hover { color: var(--saffron); padding-left: 6px; }

.g-keys { position: relative; z-index: 1; margin-top: calc(-1 * clamp(40px, calc(3.5 * var(--vw)), 70px)); }
.g-keys__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.g-keys__list li { padding: clamp(18px, calc(1.6 * var(--vw)), 28px); border-radius: var(--r-tile); background: var(--white); box-shadow: 0 30px 50px -36px rgba(12, 27, 42, 0.45); }
.g-keys__list span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--saffron); font-weight: 800; font-size: 14px; }
.g-keys__list p { margin-top: 12px; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.5; }

.ch { padding-block: clamp(48px, calc(5 * var(--vw)), 100px); scroll-margin-top: 80px; }
.ch--alt { background: var(--paper); }
.ch__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(24px, calc(5 * var(--vw)), 110px); }
.ch__head { position: sticky; top: 110px; align-self: start; }
.ch__n { display: block; color: var(--saffron); font-weight: 800; font-size: clamp(48px, calc(4.6 * var(--vw)), 96px); letter-spacing: -0.05em; line-height: 0.9; }
.ch__head h2 { margin-top: 14px; font-weight: 800; font-size: clamp(26px, calc(2.2 * var(--vw)), 44px); letter-spacing: -0.03em; line-height: 1.12; }
.ch__body { max-width: 860px; }
.ch__body > :first-child { margin-top: 0; }
.ch--alt .tbl tbody th, .ch--alt .stat-row > div, .ch--alt .formula { background: var(--white); }

.cta-band { padding-block: clamp(20px, calc(2 * var(--vw)), 40px); }
.cta-band__card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(26px, calc(3 * var(--vw)), 56px); border-radius: var(--r-panel); background: var(--ink) radial-gradient(circle at 92% 10%, rgba(242, 169, 59, 0.32), transparent 45%); color: var(--white); }
.cta-band__eyebrow { color: var(--saffron); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.cta-band__card b { display: block; margin-top: 6px; font-weight: 800; font-size: clamp(24px, calc(2.2 * var(--vw)), 42px); letter-spacing: -0.03em; line-height: 1.12; }
.cta-band__card p:not(.cta-band__eyebrow) { max-width: 36em; margin-top: 8px; color: var(--ink-muted); font-size: clamp(15px, calc(1.05 * var(--vw)), 19px); line-height: 1.5; }
.cta-band .btn { flex: none; }

.g-faq { padding-block: clamp(56px, calc(5.5 * var(--vw)), 116px); }
.g-faq h2 { margin-top: 16px; font-weight: 800; font-size: clamp(28px, calc(2.6 * var(--vw)), 54px); letter-spacing: -0.035em; }
.g-faq .us-faq__side p { margin: 14px 0 24px; color: var(--slate); }
.g-faq .us-faq__list { display: grid; gap: 10px; }
.g-disclaimer { padding-bottom: 30px; color: #6B7785; font-size: 14px; }

/* ---------- Tool: app-first ---------- */
.t-hero { padding: clamp(120px, calc(8.5 * var(--vw)), 176px) 0 clamp(110px, calc(8.5 * var(--vw)), 180px); background: var(--ink) radial-gradient(circle at 85% 0%, rgba(242, 169, 59, 0.28), transparent 40%); color: var(--white); }
.t-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 20px 60px; align-items: end; }
.t-hero h1 { margin-top: 16px; font-weight: 800; font-size: clamp(36px, calc(3.8 * var(--vw)), 82px); letter-spacing: -0.04em; line-height: 1.04; }
.t-hero__lede { color: rgba(255, 255, 255, 0.82); font-size: clamp(17px, calc(1.2 * var(--vw)), 23px); line-height: 1.55; }
.t-app { margin-top: calc(-1 * clamp(80px, calc(6.5 * var(--vw)), 140px)); }
.t-app__frame { padding: clamp(14px, calc(1.4 * var(--vw)), 26px); border-radius: var(--r-panel); background: var(--white); box-shadow: 0 60px 100px -60px rgba(12, 27, 42, 0.6); }
.t-app__frame > p { padding: 6px 10px 14px; color: var(--slate); }
.t-app__frame .sal { padding: 6px; }
.t-app__frame .tbl table { font-size: 16px; }
.t-app__frame .calc__note, .t-app__frame .sal__note { padding: 12px 10px 4px; }
.t-info { padding-block: clamp(56px, calc(5.5 * var(--vw)), 110px); }
.t-info__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(12px, calc(1.4 * var(--vw)), 28px); }
.info-card { padding: clamp(22px, calc(2.4 * var(--vw)), 44px); border-radius: var(--r-card); background: var(--paper); }
.info-card:nth-child(3n+2) { background: var(--sand); }
.info-card h2 { font-weight: 800; font-size: clamp(22px, calc(1.6 * var(--vw)), 32px); letter-spacing: -0.025em; line-height: 1.15; }
.info-card .prose { margin-top: 14px; font-size: clamp(15px, calc(1 * var(--vw)), 18px); }

/* ---------- Glossary: dictionary ---------- */
.d-hero { position: relative; overflow: hidden; padding: clamp(120px, calc(8.5 * var(--vw)), 176px) 0 clamp(48px, calc(4 * var(--vw)), 80px); background: var(--sand); isolation: isolate; }
.d-hero h1 { margin-top: 16px; font-weight: 800; font-size: clamp(36px, calc(3.8 * var(--vw)), 82px); letter-spacing: -0.04em; line-height: 1.04; }
.d-hero__lede { max-width: 36em; margin-top: 18px; color: var(--slate); font-size: clamp(17px, calc(1.2 * var(--vw)), 23px); line-height: 1.55; }
.d-hero .t-type { color: var(--slate); }
.d-hero .t-type span { background: var(--ink); color: var(--saffron); }
.d-search { max-width: 720px; }
.d-search input { box-shadow: 0 20px 40px -30px rgba(12, 27, 42, 0.5); }
.d-az { position: sticky; top: 72px; z-index: 5; padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.d-az .us-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.d-az a { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 12px; background: var(--paper); color: var(--ink); font-weight: 800; text-decoration: none; transition: background-color 0.2s, transform 0.2s var(--ease); }
.d-az a:hover { background: var(--saffron); transform: translateY(-2px); }
.d-body { padding-block: clamp(40px, calc(4 * var(--vw)), 80px); }
.gl-group { display: grid; grid-template-columns: clamp(64px, calc(6 * var(--vw)), 120px) minmax(0, 1fr); gap: clamp(16px, calc(2 * var(--vw)), 40px); padding-block: 22px; border-top: 1px solid var(--paper); scroll-margin-top: 150px; }
.gl-group[hidden] { display: none; }
.gl-group__l { position: sticky; top: 150px; align-self: start; display: grid; place-items: center; width: clamp(56px, calc(5 * var(--vw)), 96px); aspect-ratio: 1; border-radius: 22px; background: var(--ink); color: var(--saffron); font-weight: 800; font-size: clamp(28px, calc(2.6 * var(--vw)), 48px); }
.gl-group__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.gl-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); border-radius: var(--r-tile); background: var(--white); scroll-margin-top: 150px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s; }
.gl-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -30px rgba(12, 27, 42, 0.5); }
.gl-card:target { background: rgba(242, 169, 59, 0.18); border-color: var(--saffron); }
.gl-card h3 { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.gl-card p { margin-top: 8px; color: var(--slate); font-size: 15px; line-height: 1.55; }
.gl-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.gl-card__more svg { width: 16px; height: 16px; color: var(--saffron); transition: transform 0.3s var(--ease); }
.gl-card__more:hover svg { transform: translateX(3px); }
.gl-card.is-hidden { display: none; }

/* ---------- FAQ: help centre ---------- */
.d-hero--dark { background: var(--ink); color: var(--white); padding-bottom: clamp(90px, calc(7 * var(--vw)), 140px); }
.d-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.d-hero--dark::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 24, 42, 0.95), rgba(10, 24, 42, 0.7)); }
.d-hero--dark .d-hero__lede { color: rgba(255, 255, 255, 0.85); }
.d-hero--dark .g-hero__type { color: var(--ink-muted); }
.hc-cats-wrap { position: relative; z-index: 1; margin-top: calc(-1 * clamp(50px, calc(4 * var(--vw)), 80px)); }
.hc-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.hc-cat { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px; border-radius: var(--r-tile); background: var(--white); color: var(--ink); text-decoration: none; box-shadow: 0 30px 50px -36px rgba(12, 27, 42, 0.5); transition: transform 0.3s var(--ease); }
.hc-cat:hover { transform: translateY(-5px); }
.hc-cat b { margin-top: 8px; font-weight: 800; font-size: 17px; }
.hc-cat > span:last-child { color: var(--slate); font-size: 14px; }
.hc-cat__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--saffron); flex: none; }
.hc-cat__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hc-body { padding-block: clamp(48px, calc(5 * var(--vw)), 100px); }
.hc-group { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(20px, calc(4 * var(--vw)), 80px); padding-block: 26px; border-top: 1px solid var(--paper); scroll-margin-top: 110px; }
.hc-group__head { display: flex; align-items: center; gap: 14px; align-self: start; position: sticky; top: 110px; }
.hc-group__head h2 { font-weight: 800; font-size: clamp(22px, calc(1.7 * var(--vw)), 32px); letter-spacing: -0.025em; }
.hc-group[hidden] { display: none; }

/* ---------- Blog home ---------- */
.b-hero { padding: clamp(120px, calc(8.5 * var(--vw)), 176px) 0 clamp(48px, calc(4.5 * var(--vw)), 90px); background: var(--sand); }
.b-hero__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 60px; align-items: end; }
.b-hero h1 { font-weight: 800; font-size: clamp(44px, calc(5 * var(--vw)), 110px); letter-spacing: -0.045em; line-height: 1; }
.b-hero h1 .us-mark { display: inline-block; padding: 0 0.14em 0.06em; border-radius: 0.17em; background: var(--saffron); }
.b-hero__top p { color: var(--slate); font-size: clamp(17px, calc(1.2 * var(--vw)), 23px); line-height: 1.55; }
.b-feature { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(12px, calc(1.4 * var(--vw)), 28px); margin-top: clamp(30px, calc(3.4 * var(--vw)), 64px); }
.b-main { position: relative; display: flex; align-items: flex-end; min-height: clamp(380px, calc(32 * var(--vw)), 600px); overflow: hidden; border-radius: var(--r-panel); color: var(--white); text-decoration: none; isolation: isolate; }
.b-main img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.b-main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 27, 42, 0) 25%, rgba(12, 27, 42, 0.92) 100%); }
.b-main:hover img { transform: scale(1.05); }
.b-main__body { display: grid; gap: 10px; padding: clamp(24px, calc(3 * var(--vw)), 56px); }
.b-main__tag { justify-self: start; padding: 6px 14px; border-radius: var(--r-pill); background: var(--saffron); color: var(--ink); font-weight: 700; font-size: 13px; }
.b-main b { max-width: 18em; font-weight: 800; font-size: clamp(26px, calc(2.6 * var(--vw)), 52px); letter-spacing: -0.035em; line-height: 1.08; }
.b-main__body > span:nth-child(3) { max-width: 34em; color: rgba(255, 255, 255, 0.85); }
.b-main__go { display: inline-flex; align-items: center; gap: 8px; color: var(--saffron); font-weight: 700; }
.b-main__go svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.b-main:hover .b-main__go svg { transform: translateX(4px); }
.b-sides { display: grid; gap: clamp(12px, calc(1.4 * var(--vw)), 28px); }
.b-side { display: grid; grid-template-columns: 40% 1fr; gap: 18px; align-items: center; padding: 14px; border-radius: var(--r-card); background: var(--white); color: var(--ink); text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.b-side:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(12, 27, 42, 0.5); }
.b-side__img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 20px; }
.b-side__img img { width: 100%; height: 100%; object-fit: cover; }
.b-side b { display: block; margin-top: 12px; font-weight: 800; font-size: clamp(17px, calc(1.25 * var(--vw)), 23px); letter-spacing: -0.02em; line-height: 1.25; }
.hub-blog { background: var(--paper); }
.hub-blog .hub-head a svg { width: 18px; height: 18px; color: var(--saffron); }

@media (max-width: 1200px) {
  .hc-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .g-hero__grid, .ch__grid, .t-hero__grid, .hc-group, .b-hero__top, .b-feature { grid-template-columns: minmax(0, 1fr); }
  .ch__head, .hc-group__head { position: static; }
  .cta-band__card { flex-direction: column; align-items: flex-start; }
  .gl-group { grid-template-columns: minmax(0, 1fr); }
  .gl-group__l { position: static; }
}
@media (max-width: 680px) {
  .hc-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-side { grid-template-columns: 34% 1fr; }
  .g-hero .us-actions .btn { width: 100%; }
  .d-az { top: 64px; }
  .gl-group__cards { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .g-hero__bg { animation: none; } }
