/* Shared styles for /articles/ and /privacy/. Same brand as the home page (navy + gold, Heebo),
   calmer layout for reading: one narrow column, generous line height, no 3D. */
:root {
  --navy: #0E2238; --navy-2: #163453; --navy-3: #0A1828;
  --gold: #E3B65B; --gold-dark: #C99A3E; --gold-ink: #775816;
  --ink: #1B2533; --muted: #5B6878; --line: #DCE1E8; --gray: #EDEFF2;
  --ok: #166B45; --err: #B03A2E; --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
body { font-family: "Heebo", system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.8; font-size: 18px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
footer :focus-visible, .cta-inline :focus-visible { outline-color: var(--gold); }
.skip { position: absolute; right: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none;
       font: inherit; font-weight: 500; font-size: 17px; line-height: 1.2; border-radius: 999px; padding: 15px 26px; transition: transform .2s var(--ease), background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #ECC575; }
.btn-wa { background: #25D366; color: var(--navy); }
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top { height: 68px; display: flex; align-items: center; gap: 30px; }
.top .logo img { height: 36px; width: auto; }
.top nav { display: none; gap: 26px; font-size: 15.5px; font-weight: 500; }
.top nav a { text-decoration: none; opacity: .78; }
.top nav a:hover, .top nav a[aria-current] { opacity: 1; }
.top .acts { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.top .cta { padding: 11px 20px; font-size: 15.5px; }
.top .wa { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--navy); color: var(--navy); }
.top .wa svg { width: 20px; height: 20px; }

/* Article hero */
.a-hero { background: var(--gold); padding: 48px 0 44px; }
.crumbs { font-size: 14px; color: rgba(14,34,56,.78); margin-bottom: 18px; }
.crumbs a { text-decoration: none; border-bottom: 1px solid rgba(14,34,56,.3); }
.crumbs span[aria-hidden] { margin: 0 6px; }
.a-hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; color: var(--navy); text-wrap: balance; }
.a-hero .lede { font-size: 19.5px; line-height: 1.6; color: rgba(14,34,56,.86); margin-top: 18px; max-width: 660px; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 14.5px; color: rgba(14,34,56,.82); line-height: 1.45; }
.byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid rgba(14,34,56,.15); background: #fff; }
.byline b { display: block; color: var(--navy); font-size: 15.5px; }
.js-license[hidden] { display: none !important; }
.js-license-num { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }

/* Article body */
.content { padding: 44px 0 16px; }
.tldr { background: var(--gray); border-radius: 24px; padding: 24px 26px 8px; margin-bottom: 34px; }
.tldr h2 { font-size: 17px !important; margin: 0 0 8px !important; letter-spacing: 0 !important; }
.content h2 { font-size: clamp(25px, 3vw, 31px); font-weight: 700; color: var(--navy); line-height: 1.25; margin: 46px 0 14px; letter-spacing: -.01em; }
.content h3 { font-size: 21px; font-weight: 700; color: var(--navy); line-height: 1.35; margin: 30px 0 8px; }
.content p { margin-bottom: 18px; }
.content ul, .content ol { margin: 0 0 20px; padding-right: 24px; }
.content li { margin-bottom: 9px; }
.content li::marker { color: var(--gold-dark); }
.content a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold-dark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.content strong { color: var(--navy); font-weight: 700; }
.table-wrap { overflow-x: auto; margin: 6px 0 22px; }
table.data { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
table.data th, table.data td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
table.data th { color: var(--muted); font-weight: 500; font-size: 14.5px; border-bottom: 2px solid var(--navy); }
table.data td.num { white-space: nowrap; font-weight: 700; color: var(--navy); }
.table-note { font-size: 14px; color: var(--muted); margin-top: -12px; margin-bottom: 22px; }
.note { border-right: 4px solid var(--gold); background: #FBF5E8; padding: 16px 20px; border-radius: 12px; margin: 26px 0; }
.note p:last-child { margin-bottom: 0; }
.cta-inline { background: var(--navy); color: #fff; border-radius: 24px; padding: 26px; margin: 38px 0; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.cta-inline p { margin: 0; font-size: 19px; font-weight: 500; line-height: 1.45; max-width: 430px; color: #fff; }
.content .cta-inline a { color: var(--navy); text-decoration: none; }
.sources { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 22px; margin-top: 44px; line-height: 1.7; }
.sources h2 { font-size: 16px !important; margin: 0 0 8px !important; color: var(--ink) !important; }
.sources ul { padding-right: 20px; }
.disc { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin-top: 18px; }

/* Lead section (end of every article) */
.lead-sec { background: var(--gold); padding: 64px 0; margin-top: 56px; }
.lead-grid { display: grid; gap: 34px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--navy); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.lead-sec h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; font-weight: 700; color: var(--navy); letter-spacing: -.02em; }
.lead-sec .lead { color: rgba(14,34,56,.85); font-size: 18px; margin: 14px 0 24px; max-width: 460px; line-height: 1.6; }
.card { background: #fff; border-radius: 28px; padding: 28px 22px; width: 100%; max-width: 480px; box-shadow: 0 30px 70px rgba(14,34,56,.18); }
.card h3 { font-size: 24px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.card .hint { color: var(--muted); font-size: 15px; margin: 6px 0 18px; line-height: 1.5; }
.card .field { margin-bottom: 13px; }
.card .field label { display: block; font-weight: 500; font-size: 14.5px; margin-bottom: 5px; color: var(--navy); line-height: 1.4; }
.card .field input, .card .field select { width: 100%; font: inherit; font-size: 17px; line-height: 1.3; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }
.card .field select { -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2238' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") left 16px center / 18px no-repeat; }
.card .field input:focus, .card .field select:focus { outline: none; border-color: var(--gold-dark); box-shadow: 0 0 0 4px rgba(227,182,91,.22); }
.card .field input[type=tel] { direction: ltr; text-align: right; }
.card .error { display: none; color: var(--err); font-size: 14px; margin: 4px 18px 0 0; }
.card .field.invalid input, .card .field.invalid select { border-color: var(--err); }
.card .field.invalid .error { display: block; }
.card .privacy { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; line-height: 1.5; }
.card .thanks { display: none; text-align: center; }
.card form.done { display: none; }
.card form.done + .thanks { display: block; }
.thanks .ok { width: 46px; height: 46px; border-radius: 50%; background: #E6F4EC; color: var(--ok); display: grid; place-items: center; font-size: 24px; font-weight: 800; margin: 0 auto 12px; }
.card .thanks p { color: var(--muted); margin: 6px 0 16px; }
.hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }

/* Article cards (index + "more articles") */
.list-hero { background: var(--gold); padding: 56px 0 48px; }
.list-hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; font-weight: 700; color: var(--navy); letter-spacing: -.03em; }
.list-hero p { font-size: 19px; color: rgba(14,34,56,.85); margin-top: 14px; max-width: 600px; line-height: 1.6; }
.cards { display: grid; gap: 18px; padding: 48px 0 72px; }
.a-card { display: flex; flex-direction: column; background: var(--gray); border-radius: 28px; padding: 28px 26px; text-decoration: none; transition: transform .3s var(--ease), background .2s ease; }
.a-card:hover { transform: translateY(-5px); background: #E6E9EE; }
.a-card .tag { font-size: 14px; font-weight: 500; color: var(--gold-ink); margin-bottom: 10px; }
.a-card h2, .a-card h3 { font-size: 23px; font-weight: 700; color: var(--navy); line-height: 1.25; margin-bottom: 10px; letter-spacing: -.01em; }
.a-card p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.a-card .go { margin-top: auto; padding-top: 18px; font-weight: 500; color: var(--navy); }
.more { padding: 56px 0 8px; }
.more > h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.more .cards { padding: 0; }

/* Plain text page (privacy) */
.page { padding: 48px 0 72px; }
.page h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin: 28px 0 6px; }
.page p, .page li { color: #2E3A4A; }
.page ul { padding-right: 22px; margin-bottom: 14px; }

/* Footer */
footer { background: var(--navy-3); color: #91A1B4; font-size: 14px; line-height: 1.65; padding: 44px 0 40px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 22px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-top img { height: 38px; width: auto; }
.foot-top .tagline { color: var(--gold); font-weight: 500; font-size: 16px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; }
.foot-links a { color: #C9D4E0; text-decoration: none; }
.foot-links a:hover { color: #fff; }
footer p { margin-bottom: 8px; }
footer .disc { color: #BCC8D6; font-size: 13.5px; }

.wa-float { position: fixed; left: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.wa-float svg { width: 27px; height: 27px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .a-card { transition: none; } }
@media (max-width: 699px) {
  .top .cta { display: none; }
  .top .logo img { height: 32px; }
  body { font-size: 17.5px; }
  .a-hero { padding: 36px 0 34px; }
  .lead-sec { padding: 52px 0; }
}
@media (min-width: 700px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .top nav { display: flex; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .lead-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .lead-grid .card { justify-self: end; padding: 34px 30px; }
}
