:root {
  --bg: #fff7df;
  --surface: #ffffff;
  --surface-alt: #fff2c7;
  --text: #171a21;
  --muted: #626b7a;
  --line: #dfe4ec;
  --brand: #f0b90b;
  --brand-dark: #151821;
  --accent: #207f67;
  --shadow: 0 18px 50px rgba(23, 26, 33, 0.13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.geo-routing body { visibility: hidden; }
[id] { scroll-margin-top: 6rem; }
body {
  margin: 0;
  background:
    linear-gradient(180deg, #fffdf5 0%, var(--bg) 30%, #f6f8fb 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--brand-dark);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.4rem;
}
.skip-link:focus { top: 1rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem max(1.25rem, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: inline-grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #10131c, #262a35);
  color: var(--brand);
}
.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-weight: 700;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: rgba(240, 185, 11, 0.5);
  background: #fff8df;
  color: var(--text);
}
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}
.language-switcher select {
  min-height: 2.25rem;
  max-width: 11.5rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: #fff;
  color: var(--text);
  padding: 0 0.6rem;
  font: inherit;
}
.hero,
.page-hero,
.section,
.cta-band,
.trust-strip,
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 2.5rem;
  align-items: center;
  min-height: 620px;
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
}
.hero-copy { max-width: 680px; }
.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3, p, li, summary { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(2.15rem, 6vw, 4.5rem); line-height: 1.06; }
h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.16; }
h3 { margin: 0; font-size: 1.12rem; line-height: 1.25; }
.hero-text,
.page-hero p,
.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.button {
  display: inline-flex;
  max-width: 100%;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  line-height: 1.25;
  white-space: normal;
  box-shadow: 0 8px 20px rgba(23, 26, 33, 0.08);
}
.button-primary {
  background: linear-gradient(180deg, #ffd84f, var(--brand));
  color: #111;
}
.button-secondary { background: var(--surface); color: var(--brand-dark); }
.button:hover { transform: translateY(-1px); }
.hero-image,
.content-image {
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 2rem;
}
.trust-strip div {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
}
.trust-strip strong,
.trust-strip span { display: block; }
.trust-strip span { color: var(--muted); }
.section,
.page-hero {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.page-hero { max-width: 880px; }
.section-heading {
  max-width: 760px;
  margin-bottom: 1.7rem;
}
.step-grid,
.service-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.step-card,
.info-panel {
  min-height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--surface);
}
.step-number {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--brand-dark);
  color: var(--brand);
  font-weight: 800;
}
.step-card p,
.info-panel p,
.faq-list p { color: var(--muted); }
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: 2rem;
  align-items: center;
}
.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  padding-left: 2rem;
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.08rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
}
.faq-list { display: grid; gap: 0.85rem; }
details {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
  padding: 1rem 1.1rem;
}
summary {
  cursor: pointer;
  font-weight: 800;
}
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 4rem;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
  border-radius: 0.7rem;
  background: var(--brand-dark);
  color: #fff;
}
.cta-band h2 { font-size: clamp(1.35rem, 3vw, 2rem); }
.cta-band .eyebrow { color: var(--brand); }
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer p { margin: 0; }

.article-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 2.5rem;
  align-items: center;
  padding: 4rem 0 2.5rem;
}

.article-hero-copy {
  max-width: 760px;
}

.article-hero h1 {
  font-size: clamp(2.35rem, 4.8vw, 3.85rem);
  line-height: 1.08;
}

.article-lead {
  color: var(--muted);
  font-size: 1.16rem;
  margin: 1.2rem 0 0;
}

.article-meta {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 1rem 0 0;
}

.poster-figure {
  margin: 0;
}

.poster-figure img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center top;
  border-radius: 0.75rem;
  border: 1px solid rgba(240, 185, 11, 0.45);
  box-shadow: var(--shadow);
}

.poster-figure figcaption {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 0.7rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding: 1rem 0 3rem;
}

.toc-panel {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: linear-gradient(180deg, #ffffff, #fff8df);
  box-shadow: 0 16px 36px rgba(23, 26, 33, 0.08);
}

.route-head {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(240, 185, 11, 0.35);
}

.route-head span {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.route-head strong {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.25;
}

.route-list {
  display: grid;
  gap: 0.65rem;
}

.route-link {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.72rem;
  border: 1px solid rgba(223, 228, 236, 0.9);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  text-decoration: none;
}

.route-link:hover {
  border-color: rgba(240, 185, 11, 0.7);
  background: #fffdf5;
  transform: translateY(-1px);
}

.route-number {
  display: inline-grid;
  min-width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border-radius: 0.45rem;
  background: var(--brand-dark);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
}

.route-link strong,
.route-link em {
  display: block;
}

.route-link strong {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.25;
}

.route-link em {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.35;
}

.route-cta {
  width: 100%;
}

.article-body {
  max-width: 820px;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(23, 26, 33, 0.08);
}

.article-body section + section {
  margin-top: 3rem;
}

.article-body h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  margin-bottom: 1rem;
}

.article-body h3 {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}

.article-body p,
.article-body li {
  color: #353b47;
}

.article-body a,
.article-lead a {
  color: #0b6f59;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.article-body ul,
.article-body ol {
  padding-left: 1.25rem;
}

.article-callout {
  display: grid;
  gap: 0.35rem;
  margin: 1.3rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--brand);
  border-radius: 0.45rem;
  background: #fff8df;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.3rem 0 0;
}

.feature-row div {
  min-height: 100%;
  padding: 1rem;
  border: 1px solid rgba(240, 185, 11, 0.45);
  border-radius: 0.55rem;
  background: linear-gradient(180deg, #fffdf5, #fff3c7);
}

.feature-row strong,
.feature-row span {
  display: block;
}

.feature-row strong {
  color: var(--brand-dark);
}

.feature-row span {
  margin-top: 0.25rem;
  color: var(--muted);
}

.download-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.4rem 0;
}

.download-panel > div {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1.15rem;
  border: 1px solid rgba(240, 185, 11, 0.45);
  border-radius: 0.65rem;
  background: linear-gradient(180deg, #fffdf5, #ffffff);
  box-shadow: 0 12px 28px rgba(23, 26, 33, 0.06);
}

.download-panel p {
  margin: 0;
}

.download-url {
  color: var(--muted);
  font-size: 0.9rem;
}

.download-steps {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.download-steps li {
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fffdf5;
}

.article-steps {
  display: grid;
  gap: 1rem;
  padding-left: 0;
  list-style: none;
  counter-reset: article-step;
}

.article-steps li {
  position: relative;
  padding: 1.1rem 1.1rem 1.1rem 3.6rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--surface-alt);
  counter-increment: article-step;
}

.article-steps li::before {
  content: counter(article-step);
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-dark);
  color: var(--brand);
  font-weight: 800;
}

.article-steps h3 {
  margin-top: 0;
}

.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.1rem;
  border-radius: 0.6rem;
  background: var(--brand-dark);
  color: #fff;
}

.inline-cta strong,
.inline-cta span {
  display: block;
}

.inline-cta span {
  color: rgba(255, 255, 255, 0.78);
}

.article-check-list {
  margin-top: 1rem;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
  .site-nav {
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
  }
  .language-switcher { width: 100%; }
  .language-switcher select { flex: 1; max-width: none; }
  .hero,
  .split-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .trust-strip,
  .step-grid,
  .service-layout,
  .feature-row,
  .download-panel,
  .article-hero,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .toc-panel {
    position: static;
  }
  .route-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer,
  .cta-band,
  .inline-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 760px) {
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .article-hero h1 {
    font-size: clamp(2.05rem, 10vw, 3.25rem);
  }
  .article-lead {
    font-size: 1.02rem;
  }
  .route-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .hero,
  .section,
  .page-hero,
  .article-hero {
    padding-top: 2.6rem;
    padding-bottom: 2.6rem;
  }
  h1 { font-size: 2.15rem; }
  .article-hero h1 { font-size: 2.15rem; }
  .article-body {
    padding: 1.15rem;
  }
  .article-steps li {
    padding-left: 1.1rem;
    padding-top: 3.7rem;
  }
  .button { width: 100%; }
}
