:root { color-scheme: light; }
/* Chile US Tax homepage. Ported from the Claude Design file in /design. */
:root {
  --navy: #0B1F3A; --navy-hover: #1B3459; --navy-2: #132A49; --navy-3: #1C3557; --navy-4: #2C4B76;
  --navy-line: #23395A; --navy-line-2: #2A4266;
  --red: #A8323A; --coral: #D9545C;
  --bg: #F5F6F8; --white: #FFFFFF; --mist: #DDE4EC;
  --ink: #0B1F3A; --ink-2: #36485F; --ink-3: #4A5B70; --slate: #5B6B80; --slate-2: #6F829C; --slate-3: #5E7698;
  --line: #E1E6ED; --line-2: #D5DCE5; --line-3: #CBD3DE;
  --on-navy: #B7C4D6; --on-navy-2: #C9D3E0; --on-navy-3: #93A4BB;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 40px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; line-height: 1.5; }
h1, h2, h3, h4, p, ol, ul, dl, dd { margin: 0; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red); }
button { font-family: inherit; }
em { font-style: italic; font-weight: 300; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 112px; padding-bottom: 112px; }
.band-white { background: var(--white); }
.band-top { border-top: 1px solid var(--line); }
.band-bottom { border-bottom: 1px solid var(--line); }
.band-navy { background: var(--navy); color: var(--white); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 4px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* Preview bar */
.preview-bar { background: var(--navy); color: var(--on-navy-2); font-size: 12px; letter-spacing: 0.02em; padding: 9px 24px; display: flex; justify-content: center; gap: 10px; align-items: center; text-align: center; }
.preview-bar strong { font-weight: 600; color: var(--white); }
.preview-dot { width: 6px; height: 6px; background: var(--coral); border-radius: 50%; flex: none; }

/* Logo */
.logo-framed { display: inline-flex; align-items: stretch; border: 2.5px solid var(--navy); color: var(--navy); line-height: 1; }
.logo-stack { display: inline-grid; justify-items: center; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; padding: 7px 9px; }
.logo-rule { display: flex; flex-direction: column; width: 2.5px; }
.logo-rule span { flex: 1; background: var(--red); }
.logo-rule span + span { background: var(--navy); }
.logo-tax { font-size: 16px; font-weight: 600; display: flex; align-items: center; padding: 0 11px; }
.logo-sm { border-width: 2px; }
.logo-sm .logo-stack { font-size: 12px; padding: 5px 7px; }
.logo-sm .logo-rule { width: 2px; }
.logo-sm .logo-tax { font-size: 12px; padding: 0 8px; }

/* Header */
.site-header { position: relative; z-index: 20; }
.header-inner { padding-top: 26px; padding-bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.site-nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; align-items: center; }
.lang-switch { display: inline-flex; gap: 4px; border: 1px solid var(--line-3); border-radius: 999px; padding: 3px; }
.lang-switch > * { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 4px 10px; color: var(--slate); }
.lang-switch .is-current { background: var(--navy); color: var(--white); }
.lang-switch-mobile { display: none; }
.nav-cta { background: var(--navy); color: var(--white); padding: 11px 20px; border-radius: 999px; font-weight: 500; white-space: nowrap; }
.nav-cta:hover { background: var(--navy-hover); color: var(--white); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-3); border-radius: 999px; background: var(--white); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--navy); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Type */
.kicker, .label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.label-red { color: var(--red); }
.label-muted { color: var(--on-navy-3); }
.display { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; }
.body-lg { font-size: 16px; line-height: 1.7; color: var(--ink-2); max-width: 28em; }
.fine { font-size: 13px; line-height: 1.6; color: var(--slate); max-width: 32em; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font-weight: 500; font-size: 15px; }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-hover); color: var(--white); }
.btn-accent { background: var(--red); color: var(--white); }
.btn-accent:hover { background: var(--coral); color: var(--white); }
.underline-link { padding: 16px 8px 4px; font-weight: 500; font-size: 15px; border-bottom: 1.5px solid var(--navy); align-self: flex-start; }

/* Hero */
.hero { padding-top: 48px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.hero h1 { font-size: clamp(48px, 7vw, 96px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 600; text-wrap: balance; }
.hero h1 em { letter-spacing: -0.035em; }
.hero-lede { max-width: 30em; font-size: 18px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-actions .underline-link { align-self: auto; padding-bottom: 14px; }
.hero-visual { position: relative; padding: 28px 0 0 28px; min-width: 0; }
.hero-shadow { position: absolute; left: 0; top: 0; right: 40px; bottom: 40px; background: var(--mist); border-radius: 4px; }
.year-panel { position: relative; background: var(--navy); color: var(--white); border-radius: 4px; padding: 32px; display: flex; flex-direction: column; gap: 28px; box-shadow: 0 30px 60px -30px rgba(11,31,58,.5); }
.year-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.year-title { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-navy-3); }
.year-note { font-size: 12px; color: var(--on-navy-3); }
.year-foot { position: relative; margin-top: 14px; font-size: 12px; color: var(--slate); }
.cal-grid { display: grid; grid-template-columns: 36px repeat(12, minmax(0, 1fr)); gap: 4px; align-items: center; }
.cal-month { background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: 11px; font-weight: 600; color: var(--slate-2); text-align: center; border-radius: 2px; }
.cal-month[aria-pressed="true"] { color: var(--white); }
.cal-row-label { font-size: 12px; font-weight: 600; color: var(--on-navy-3); }
.cal-cell { height: 44px; border-radius: 2px; background: var(--navy-2); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cal-cell.is-due { background: var(--navy-3); }
.cal-cell.is-due.is-active { background: var(--navy-4); }
.cal-cell.is-active { outline: 1.5px solid var(--white); }
.cal-dot { width: 8px; height: 8px; border-radius: 50%; background: transparent; }
.cal-dot.is-ring { border: 1.5px solid var(--slate-2); }
.cal-cell.is-due .cal-dot { background: var(--white); }
.cal-cell.is-due.is-both .cal-dot { background: var(--coral); }
.cal-details { border-top: 1px solid var(--navy-line); padding-top: 22px; min-height: 150px; }
.cal-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.cal-detail-head { display: flex; flex-direction: column; gap: 6px; }
.cal-detail-head h3 { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.cal-detail-head p { font-size: 13px; line-height: 1.55; color: var(--on-navy); text-wrap: pretty; }
.cal-detail-rows { display: flex; flex-direction: column; gap: 12px; font-size: 13px; line-height: 1.5; }
.cal-detail-rows p { display: flex; gap: 10px; }
.cal-key { font-weight: 600; color: var(--on-navy-3); width: 22px; flex: none; }
.cal-cl { display: flex; flex-direction: column; gap: 4px; }
.cal-f29 { color: var(--on-navy-3); }

/* Audience */
.audience-grid { padding-top: 72px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 48px; }
.audience-title { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; text-wrap: balance; }
.rule-card { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--navy); padding-top: 20px; }
.rule-card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.rule-card p { font-size: 15px; line-height: 1.6; color: var(--ink-3); text-wrap: pretty; }
.rule-card-sm { gap: 8px; padding-top: 16px; }
.rule-card-sm h4 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.rule-card-sm p { font-size: 14px; }

/* Services */
#services { display: flex; flex-direction: column; gap: 56px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head h2 { max-width: 12em; }
.section-head p { max-width: 26em; font-size: 15px; line-height: 1.65; color: var(--ink-3); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: start; }
.service-list { display: flex; flex-direction: column; }
.service-tab { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 1fr 20px; align-items: center; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line-2); color: var(--slate-2); font-size: clamp(19px, 2vw, 24px); font-weight: 500; letter-spacing: -0.02em; }
.service-tab:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.service-tab[aria-selected="true"] { color: var(--navy); font-weight: 600; }
.service-arrow { font-size: 18px; color: var(--red); opacity: 0; }
.service-tab[aria-selected="true"] .service-arrow { opacity: 1; }
.service-panels { position: sticky; top: 24px; }
.service-panel { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 40px; display: flex; flex-direction: column; gap: 24px; min-height: 420px; }
.service-lead { font-size: 24px; font-weight: 500; line-height: 1.4; letter-spacing: -0.02em; text-wrap: pretty; }
.form-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.form-list > div { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.form-list dt { font-weight: 600; }
.form-list dd { color: var(--ink-3); }

/* Scope */
.split-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: end; margin-bottom: 64px; }
.split-head p { font-size: 16px; line-height: 1.7; color: var(--on-navy); max-width: 30em; }
.scope-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); border-top: 1px solid var(--navy-line-2); }
.scope-col { padding: 32px 32px 32px 0; display: flex; flex-direction: column; gap: 20px; border-right: 1px solid var(--navy-line-2); margin-right: 32px; }
.scope-col:last-child { border-right: 0; margin-right: 0; }
.scope-label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.scope-mark { width: 10px; height: 10px; border: 1.5px solid var(--white); }
.scope-mark-us { background: var(--white); }
.scope-mark-both { background: var(--coral); }
.scope-col h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.scope-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.scope-col li { font-size: 15px; line-height: 1.5; color: var(--on-navy-2); display: flex; gap: 12px; }
.scope-col li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--slate-3); flex: none; margin-top: 9px; }

/* Network + EA */
.network { padding-bottom: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 64px; align-items: start; }
.network-copy { display: flex; flex-direction: column; gap: 24px; }
.network-list { border-top: 2px solid var(--navy); }
.network-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.network-row > p { font-size: 15px; line-height: 1.6; color: var(--ink-3); text-wrap: pretty; }
.network-role { display: flex; flex-direction: column; gap: 4px; }
.network-role strong { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.network-role span { font-size: 13px; font-weight: 500; color: var(--slate); }
.ea-wrap { padding-bottom: 112px; }
.ea-box { background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 48px; }
.ea-copy { display: flex; flex-direction: column; gap: 18px; }
.ea-title { font-size: clamp(28px, 3vw, 40px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; }
.ea-copy > p:not(.label) { font-size: 15px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.credential-logo-panel { background: #FFFFFF; border: 1px solid var(--line); border-radius: 4px; padding: 20px 24px; max-width: 360px; }
.credential-logo-panel a { display: block; }
.official-ea-logo { display: block; width: 100%; height: auto; }
.ea-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; align-content: start; }

/* Process */
#process { display: flex; flex-direction: column; gap: 56px; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px 0; }
.step { display: flex; flex-direction: column; gap: 14px; padding-right: 28px; }
.step-line { display: flex; align-items: center; }
.step-line::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); flex: none; }
.step-line span { height: 1.5px; background: #B9C4D2; flex: 1; }
.step-when { font-size: 13px; font-weight: 600; color: var(--red); padding-top: 8px; }
.step h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.step > p:last-child { font-size: 15px; line-height: 1.6; color: var(--ink-3); text-wrap: pretty; }

/* Resources */
.resources { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px; }
.resources-copy { display: flex; flex-direction: column; gap: 20px; }
.resources-copy > p { font-size: 15px; line-height: 1.65; color: var(--ink-3); max-width: 24em; }
.guide-list { border-top: 1px solid var(--navy); }
.guide-link { display: grid; grid-template-columns: 110px 1fr 24px; gap: 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line-2); transition: padding .15s; }
.guide-link:hover { padding-left: 8px; }
.guide-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
.guide-title { font-size: 18px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.4; }
.guide-arrow { color: var(--red); }

/* Contact + questionnaire */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 64px; align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 24px; }
.contact-copy .body-lg { font-size: 17px; }
.free-box { display: flex; align-items: center; gap: 20px; background: var(--navy); color: var(--white); border-radius: 4px; padding: 22px 26px; max-width: 30em; }
.free-big { font-size: clamp(34px, 3.6vw, 46px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.free-box > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.free-box strong { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.free-box strong + span { font-size: 14px; line-height: 1.5; color: var(--on-navy); }
.dot-list { list-style: none; padding: 8px 0 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--ink-2); }
.dot-list li { display: flex; gap: 12px; align-items: center; }
.dot-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }

.quiz-card { background: var(--navy); color: var(--white); border-radius: 10px; padding: 40px; min-height: 520px; box-shadow: 0 30px 60px -30px rgba(11,31,58,.5); display: flex; flex-direction: column; }
.quiz-card > div { display: flex; flex-direction: column; gap: 28px; flex: 1; }
.quiz-title { font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; text-wrap: balance; margin-top: -12px; }
.funnel { list-style: none; padding: 0; display: flex; flex-direction: column; align-items: center; margin-bottom: -28px; }
.funnel li { width: 100%; display: flex; flex-direction: column; align-items: center; }
.funnel li::after { content: ""; width: 2px; height: 20px; background: var(--slate-3); }
.funnel li { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; text-align: center; text-wrap: balance; }
.funnel li > span { width: 100%; border: 2px solid var(--slate-3); border-radius: 10px; padding: 12px 20px; min-height: 64px; display: flex; align-items: center; justify-content: center; }
.funnel li.is-goal > span { border-color: var(--coral); background: var(--navy-3); }
.quiz-start { background: var(--white); color: var(--navy); border: 3px solid var(--coral); padding: 0 20px; min-height: 68px; border-radius: 10px; font-size: 17px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px; box-shadow: 0 0 0 5px rgba(217,84,92,.25), 0 14px 30px -10px rgba(0,0,0,.6); transition: transform .15s, box-shadow .15s; }
.quiz-start span { font-size: 20px; color: var(--red); }
.quiz-start:hover { background: var(--bg); box-shadow: 0 0 0 7px rgba(217,84,92,.35), 0 18px 34px -10px rgba(0,0,0,.6); transform: translateY(-1px); }
.quiz-note { font-size: 13px; color: var(--on-navy-3); text-align: center; margin-top: -16px; }
.quiz-note a { color: var(--white); text-decoration: underline; }
.quiz-progress-head { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--on-navy-3); }
.quiz-progress { height: 3px; background: var(--navy-line); border-radius: 2px; margin-top: -16px; }
.quiz-progress > span { display: block; height: 3px; background: var(--coral); border-radius: 2px; transition: width .2s; }
.quiz-link { background: none; border: 0; color: var(--on-navy-3); font-size: 13px; font-weight: 500; cursor: pointer; padding: 0; }
.quiz-link:hover { color: var(--white); }
.quiz-q { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.3; text-wrap: pretty; }
.quiz-hint { font-size: 14px; line-height: 1.6; color: var(--on-navy); margin-top: -16px; white-space: pre-line; }
.quiz-opts { display: flex; flex-direction: column; gap: 10px; }
.quiz-opt { text-align: left; background: transparent; border: 1.5px solid var(--navy-line-2); color: var(--white); padding: 16px 20px; border-radius: 4px; font-size: 16px; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.quiz-opt:hover, .quiz-opt[aria-pressed="true"] { border-color: var(--white); }
.quiz-opt[aria-pressed="true"] { background: var(--navy-3); }
.quiz-opt span:last-child { color: var(--on-navy-3); }
.quiz-result { gap: 24px !important; }
.quiz-result-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.quiz-headline { font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; text-wrap: balance; }
.quiz-headline:focus { outline: none; }
.quiz-note-left { font-size: 13px; line-height: 1.55; color: var(--on-navy-3); margin-top: -12px; }
.form-list-dark { border-top-color: var(--navy-line); }
.form-list-dark > div { grid-template-columns: minmax(96px, auto) 1fr; gap: 16px; border-bottom-color: var(--navy-line); }
.form-list-dark dd { color: var(--on-navy-2); }
.quiz-guide { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--coral); white-space: nowrap; }
.quiz-guide:hover { color: var(--on-navy-2); }
.booking { padding: 20px; background: var(--navy-2); border-radius: 4px; display: flex; flex-direction: column; gap: 6px; }
.booking-title { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.booking p + p { font-size: 14px; line-height: 1.55; color: var(--on-navy); }
.intake-pending { border: 1px dashed var(--navy-line-2); border-radius: 4px; padding: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.55; color: var(--on-navy-2); }
.intake-pending h4 { font-size: 16px; font-weight: 600; color: var(--white); }
.intake-pending a { color: var(--white); text-decoration: underline; font-weight: 500; }
.tally-iframe { width: 100%; min-height: 420px; border: 0; background: var(--white); border-radius: 4px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-2); }
.footer-main { padding-top: 40px; padding-bottom: 40px; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; font-size: 12px; line-height: 1.6; color: var(--slate); }
.footer-main .brand { align-self: flex-start; }
.footer-legal { max-width: 60em; display: flex; flex-direction: column; gap: 10px; }
.footer-lead { color: var(--ink-2); }
.footer-bottom { padding-bottom: 40px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 12px; color: var(--slate); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-2); font-weight: 500; }

/* FAQ accordion (homepage, pages and guides) */
.page-faq { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); max-width: 52em; }
.page-faq details { border-bottom: 1px solid var(--line-2); padding: 20px 0; }
.page-faq summary { cursor: pointer; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.page-faq summary::-webkit-details-marker { display: none; }
.page-faq summary::after { content: "+"; color: var(--red); font-weight: 400; }
.page-faq details[open] summary::after { content: "–"; }
.page-faq details p { margin-top: 12px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.home-faq .page-faq { margin-top: 32px; }

/* Navigation collapses to a menu at tablet widths */
@media (max-width: 1050px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: calc(100% - 12px); right: var(--gutter); width: min(320px, calc(100vw - 2 * var(--gutter))); background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 24px 48px -24px rgba(11,31,58,.35); padding: 12px 20px 20px; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.nav-cta) { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .lang-switch { align-self: flex-start; margin: 16px 0; }
  .site-nav .lang-switch { display: none; }
  .lang-switch-mobile { display: inline-flex; margin: 0 -12px 0 auto; }
  .lang-switch-mobile > * { font-size: 13px; padding: 8px 12px; }
  .nav-cta { text-align: center; }
}
@media (max-width: 800px) {
  :root { --gutter: 20px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .header-inner { padding-top: 18px; padding-bottom: 18px; }
  .hero { padding-top: 24px; padding-bottom: 72px; gap: 48px; }
  .hero-visual { padding: 16px 0 0 16px; }
  .hero-shadow { right: 20px; bottom: 30px; }
  .year-panel { padding: 22px 18px; gap: 22px; }
  .cal-grid { grid-template-columns: 26px repeat(12, minmax(0, 1fr)); gap: 3px; }
  .cal-cell { height: 36px; }
  .audience-grid { padding-top: 56px; padding-bottom: 56px; gap: 36px; }
  .service-panel { padding: 28px 22px; min-height: 0; }
  .service-lead { font-size: 19px; }
  .form-list > div { grid-template-columns: 1fr; gap: 2px; }
  .scope-col { padding: 28px 0; border-right: 0; margin-right: 0; border-bottom: 1px solid var(--navy-line-2); }
  .scope-col:last-child { border-bottom: 0; }
  .split-head { margin-bottom: 40px; }
  .ea-wrap { padding-bottom: 80px; }
  .ea-box { padding: 28px 22px; gap: 36px; }
  .guide-link { grid-template-columns: 1fr 24px; gap: 6px 12px; }
  .guide-tag { grid-column: 1 / -1; }
  .quiz-card { padding: 28px 22px; min-height: 0; }
  .free-box { padding: 18px 20px; }
  .preview-bar { font-size: 11px; padding: 8px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
