:root {
  --navy: #0a2942;
  --blue: #236d91;
  --green: #3d8e72;
  --rust: #a8553d;
  --cream: #f7f2e8;
  --paper: #fffdf8;
  --ink: #183247;
  --muted: #597080;
  --line: #dce4e5;
  --focus: #e08847;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: linear-gradient(180deg, var(--paper) 0, var(--cream) 580px); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
img { display: block; max-width: 100%; }
p, li { color: var(--muted); line-height: 1.75; }
h1, h2, h3 { color: var(--navy); letter-spacing: -.035em; text-wrap: balance; }
.skip { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 10px 14px; border-radius: 9px; color: white; background: var(--navy); transform: translateY(-150%); }
.skip:focus { transform: none; }
.shell { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid rgba(10,41,66,.1); background: rgba(255,253,248,.94); }
.header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 20px; }
.header-actions { display: flex; align-items: center; gap: 15px; }
.language-switch { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid rgba(10,41,66,.15); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.72); font-size: .69rem; font-weight: 850; letter-spacing: .04em; }
.language-switch a { color: inherit; text-decoration: none; }
.language-switch a.active { color: var(--navy); }
.language-switch a:hover { color: var(--blue); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 1.2rem; font-weight: 850; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.back { color: var(--blue); font-size: .87rem; font-weight: 750; text-decoration: none; }
.back:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero { padding: 76px 0 58px; }
.hero-inner { max-width: 830px; }
.eyebrow { margin: 0 0 15px; color: var(--rust); font-size: .73rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1 { max-width: 900px; margin: 0 0 22px; font-size: clamp(2.65rem, 7vw, 5rem); line-height: 1; }
.lead { max-width: 760px; margin: 0; font-size: clamp(1.04rem, 2vw, 1.22rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 19px; border: 1px solid var(--navy); border-radius: 12px; color: white; background: var(--navy); font-weight: 780; text-decoration: none; }
.button.secondary { color: var(--navy); background: transparent; }
.section { padding: 62px 0; }
.section.light { background: rgba(255,255,255,.64); }
.section-heading { max-width: 760px; margin-bottom: 32px; }
.section-heading h2, .prose h2 { margin: 0 0 14px; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.08; }
.section-heading p { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 27px; border: 1px solid var(--line); border-radius: 21px; background: white; box-shadow: 0 15px 38px rgba(8,30,52,.06); }
.card .tag { display: inline-flex; margin-bottom: 15px; padding: 5px 9px; border-radius: 99px; color: #276b58; background: #e1f2eb; font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.card h2, .card h3 { margin: 0 0 10px; font-size: 1.35rem; }
.card p { margin: 0 0 17px; }
.card p:last-child { margin-bottom: 0; }
.card-link { color: var(--blue); font-weight: 780; text-decoration: none; }
.card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.prose { max-width: 800px; }
.prose h2 { margin-top: 54px; }
.prose h3 { margin: 34px 0 8px; font-size: 1.3rem; }
.prose p, .prose li { font-size: 1.02rem; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.note { margin: 34px 0; padding: 22px 25px; border-left: 4px solid var(--green); border-radius: 0 15px 15px 0; background: #e8f4ef; }
.note strong { color: var(--navy); }
.steps { counter-reset: step; display: grid; gap: 14px; margin-top: 26px; }
.step { position: relative; padding: 23px 24px 23px 68px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 22px; left: 22px; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; color: white; background: var(--blue); font-weight: 850; }
.step h3 { margin: 0 0 5px; font-size: 1.08rem; }
.step p { margin: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 19px 0; color: var(--navy); font-weight: 800; cursor: pointer; }
.faq details p { margin: -4px 0 20px; }
.related { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.related a { display: inline-flex; padding: 9px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--blue); background: white; font-size: .84rem; font-weight: 750; text-decoration: none; }
.site-footer { padding: 40px 0; color: #a9bdca; background: #061d30; text-align: center; }
.footer-brand { justify-content: center; color: white; }
.footer-brand img { width: 32px; height: 32px; }
.site-footer p { margin: 13px auto 0; color: #a9bdca; font-size: .75rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 17px; margin-top: 17px; }
.footer-links a { color: #e4edf1; font-size: .72rem; font-weight: 700; }
.print-guide { padding: 40px 0 80px; }
.checklist { padding-left: 0; list-style: none; }
.checklist li { position: relative; padding-left: 31px; }
.checklist li::before { position: absolute; left: 0; content: "□"; color: var(--green); font-size: 1.25rem; font-weight: 900; }

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1080px); }
  .header-inner { min-height: 68px; }
  .hero { padding: 54px 0 38px; }
  .section { padding: 46px 0; }
  .cards, .cards.three { grid-template-columns: 1fr; }
  .card { padding: 23px 21px; }
  .back { font-size: .76rem; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 8px; }
  .language-switch { padding: 4px 6px; font-size: .63rem; }
}

@media print {
  @page { size: A4; margin: 16mm; }
  body { background: white; }
  .site-header, .site-footer, .hero-actions, .related-section { display: none; }
  .shell, .prose { width: 100%; max-width: none; }
  .hero { padding: 0 0 24px; }
  .section { padding: 20px 0; }
  h1 { font-size: 32pt; }
  h2 { break-after: avoid; }
  .card, .step, .note { break-inside: avoid; box-shadow: none; }
}
