:root {
  color-scheme: light;
  --ink: #0c1930;
  --muted: #475b73;
  --deep: #101f3c;
  --hero: #0a162b;
  --line: #dce5ef;
  --paper: #f5f8fc;
  --white: #fff;
  --blue: #1649be;
  --cyan: #92e8ff;
  --red: #ff806e;
  --radius: 16px;
  --font: Inter, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--font); }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: #0d3696; }
a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 3px solid #2692e6;
  outline-offset: 4px;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.shell { width: min(1190px, calc(100% - 64px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 20;
  inset: .5rem auto auto .5rem;
  transform: translateY(-180%);
  padding: .6rem 1rem;
  background: var(--white);
}
.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 10; background: var(--hero); border-bottom: 1px solid #293953; }
.masthead { min-height: 65px; display: flex; gap: clamp(16px, 3.2vw, 48px); align-items: center; }
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f5fbff;
  text-decoration: none;
  flex: 0 0 auto;
  font-size: 1.13rem;
  font-weight: 800;
  letter-spacing: -.04em;
}
.site-brand:hover, .top-nav a:hover, .nav-help:hover, .nav-support:hover { color: var(--cyan); }
.brand-icon {
  position: relative;
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #78d0f0;
  border-radius: 50%;
  color: var(--cyan);
  font-size: 0;
  overflow: hidden;
}
.brand-icon::before, .brand-icon::after { position: absolute; content: ""; }
.brand-icon::before { width: 16px; height: 16px; border: 1px solid currentColor; border-radius: 50%; opacity: .7; }
.brand-icon::after {
  inset: 5px 5px 50% 50%;
  background: radial-gradient(circle at 0 100%, #d2f6ff 10%, #63d1fa 24%, #48bffc3b 75%, transparent 76%);
  clip-path: polygon(0 100%, 50% 0, 100% 50%);
}
.top-nav { display: flex; align-items: center; flex: 1 1 auto; gap: clamp(12px, 2.45vw, 35px); }
.top-nav a, .nav-help, .nav-support, .mobile-nav summary {
  color: #d4dfef;
  font-size: .88rem;
  font-weight: 650;
  text-decoration: none;
}
.top-nav a { padding-block: 20px; }
.top-nav a[aria-current] { color: var(--cyan); box-shadow: inset 0 -2px var(--cyan); }
.nav-help, .nav-support { margin-left: auto; white-space: nowrap; }
.mobile-nav { display: none; }
.page-hero {
  position: relative;
  color: #f7fbff;
  background: radial-gradient(ellipse at 87% 2%, #193f7670 0, transparent 46%), var(--hero);
  padding: 21px 0 clamp(34px, 5vw, 65px);
}
.page-hero > .shell { position: relative; }
.page-hero a:not(.button) { color: #c2d6ee; }
.page-hero a:not(.button):hover { color: var(--cyan); }
.breadcrumbs { margin-bottom: clamp(21px, 4vw, 48px); color: #b6c7df; font-size: .84rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .65rem; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .65rem; color: #6a82a5; }
.eyebrow {
  color: var(--cyan);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.35;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; display: inline-block; vertical-align: .17em; width: 18px; height: 2px; margin-right: .55rem; background: var(--red); }
h1 {
  max-width: 18ch;
  margin: .55rem 0 clamp(19px, 3.2vw, 36px);
  font-size: clamp(2.4rem, 5.65vw, 5.25rem);
  font-weight: 825;
  line-height: 1.01;
  letter-spacing: -.058em;
  text-wrap: balance;
}
body[data-kind="home"] h1 { font-size: clamp(2.65rem, 6.9vw, 5.3rem); max-width: 16.5ch; }
body[data-kind="article"] h1, body[data-kind="service"] h1 { font-size: clamp(2.3rem, 5.1vw, 4.65rem); max-width: 22ch; }
.offer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(155px, .7fr) minmax(0, 1.58fr) auto;
  align-items: center;
  width: min(100%, 950px);
  gap: 1.35rem;
  padding: 9px 18px 9px 9px;
  background: #eaf5ff;
  border: 1px solid #b2d8fa;
  border-radius: var(--radius);
  box-shadow: 0 12px 35px #0a10174a;
  color: var(--ink);
}
.offer-art {
  display: grid;
  align-items: center;
  position: relative;
  min-height: 108px;
  padding: 12px 19px;
  border-radius: 11px;
  background: linear-gradient(90deg, #10275062, #07173726), url("/assets/brand-photo.webp") center right / cover no-repeat, linear-gradient(128deg, #0d2147, #2355a9);
  isolation: isolate;
  overflow: hidden;
}
.offer-brand { position: relative; z-index: 1; color: white; font: italic 900 clamp(2.15rem, 4.3vw, 3.5rem)/1 var(--font); letter-spacing: -.105em; text-shadow: 0 2px 12px #0007; white-space: nowrap; }
.offer-content { display: grid; align-content: center; gap: .18rem; min-width: 0; }
.offer-kicker, .route-label { font-size: .71rem; line-height: 1.35; font-weight: 800; letter-spacing: .085em; text-transform: uppercase; }
.offer-kicker { color: #295781; }
.offer-title { color: var(--ink); font-size: clamp(1.02rem, 2.09vw, 1.34rem); font-weight: 790; line-height: 1.19; }
.offer-detail { color: #3e566f; font-size: .83rem; line-height: 1.38; }
.offer-action { display: flex; align-items: center; align-self: center; gap: .55rem; white-space: nowrap; }
.offer-age { color: #295781; font-size: .73rem; font-weight: 800; }
.button {
  display: inline-flex;
  gap: .65rem;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .64rem .92rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 9px;
  font-size: .88rem;
  line-height: 1.2;
  font-weight: 760;
  text-decoration: none;
}
.button:hover { color: white; background: #103991; }
.content-area { padding: clamp(36px, 6vw, 76px) 0 clamp(44px, 7vw, 90px); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 267px); gap: clamp(26px, 6vw, 92px); align-items: start; }
.article-body { min-width: 0; }
.lead { font-size: clamp(1.09rem, 2vw, 1.37rem); line-height: 1.6; font-weight: 530; }
.lead a { font-weight: 720; }
.article-aside { position: sticky; top: 24px; min-width: 0; }
.article-toc, .source-note {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 17px 19px;
}
.article-toc :is(h2,h3), .source-note :is(h2,h3) { font-size: 1rem; line-height: 1.3; }
.article-toc ul, .source-note ul { padding-left: 1.15rem; margin: .55rem 0 0; }
.article-toc li, .source-note li { padding-block: .23rem; font-size: .89rem; line-height: 1.35; }
.source-note { margin-top: 1.2rem; }
.source-note p { font-size: .9rem; }
.article-track, .article-section, .editorial-section, .faq { margin-top: 2.65rem; }
.editorial-section h2, .article-section h2, .faq h2, .article-track h2, .content-area h2 {
  margin: 0 0 .65rem;
  font-size: clamp(1.45rem, 3.2vw, 2.16rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.04em;
  text-wrap: pretty;
}
.article-toc h2, .source-note h2 { font-size: 1.05rem; }
.editorial-section p + p, .article-section p + p { margin-top: .9rem; }
.editorial-section ul, .article-section ul { padding-left: 1.25rem; }
.editorial-section li, .article-section li { padding-block: .25rem; }
.home-visual, .article-visual { margin: 1.85rem 0 0; }
.home-visual img, .article-visual img { width: 100%; max-height: 410px; object-fit: cover; border-radius: var(--radius); }
.home-visual figcaption, .article-visual figcaption { margin-top: .45rem; color: var(--muted); font-size: .82rem; }
.data-table { width: 100%; margin-top: 1.2rem; overflow-x: auto; border: 1px solid var(--line); border-radius: 11px; background: white; font-size: .9rem; line-height: 1.45; }
.data-table table { width: 100%; border-collapse: separate; border-spacing: 0; }
.data-table:focus-visible { outline: 2px solid #2692e6; outline-offset: 3px; }
.data-table th, .data-table td { min-width: 0; padding: .63rem .8rem; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.data-table th { background: #e9f1fb; font-weight: 760; }
.data-table td { border-top: 1px solid var(--line); }
.data-table th:first-child { border-top-left-radius: 10px; }
.data-table th:last-child { border-top-right-radius: 10px; }
.related { margin-top: 2rem; }
.route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; list-style: none; margin: .9rem 0 0; padding: 0; }
.route-card {
  min-height: 70px;
  display: flex;
  flex-direction: column;
  gap: .28rem;
  justify-content: flex-start;
  position: relative;
  padding: .75rem 2.15rem .75rem .85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 11px;
  text-decoration: none;
  font-size: .96rem;
  font-weight: 720;
  line-height: 1.35;
}
.route-card::after { content: "↗"; position: absolute; right: .8rem; top: .75rem; color: #2257b2; }
.route-card:hover { border-color: #5b9ce7; background: #eff7ff; }
.route-label { color: var(--muted); }
.route-card h3 { font-size: 1.02rem; line-height: 1.25; }
.route-card h3 a { color: var(--blue); font-size: inherit; letter-spacing: 0; text-transform: none; }
.route-card h3 a::after { position: absolute; inset: 0; content: ""; }
.route-card p { color: var(--muted); font-size: .87rem; font-weight: 480; }
.faq details { background: white; border: 1px solid var(--line); border-radius: 11px; margin: .6rem 0; }
.faq summary { cursor: pointer; font-weight: 720; padding: .78rem .96rem; }
.faq details p { padding: 0 .96rem .9rem; }
.site-footer { background: var(--hero); color: #c0cee1; padding-block: 24px; font-size: .87rem; }
.site-footer a { color: #dceaff; }
.site-footer .shell { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }

@media (min-width: 1050px) {
  body[data-kind="home"] .page-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 0 41%;
    background: linear-gradient(90deg, var(--hero) 0%, #0a162b57 51%, #0a162b12), linear-gradient(0deg, var(--hero), #0a162b00 54%), url("/assets/hero.webp") 55% 52% / cover no-repeat;
  }
  body[data-kind="home"] .home-visual { display: none; }
}

@media (max-width: 880px) {
  .top-nav, .masthead > .nav-support, .masthead > .nav-help { display: none; }
  .masthead { min-height: 58px; justify-content: space-between; gap: 14px; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: flex; align-items: center; gap: .4rem; list-style: none; cursor: pointer; min-height: 40px; padding: .35rem .65rem; border: 1px solid #3c5371; border-radius: 8px; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary::before { content: "≡"; font-size: 1.35rem; line-height: 1; color: var(--cyan); }
  .mobile-nav[open] summary::before { content: "×"; }
  .mobile-panel { position: absolute; right: max(14px, (100% - 1190px) / 2); top: calc(100% + 1px); z-index: 3; min-width: min(235px, 90vw); padding: .4rem; border: 1px solid #3d5979; box-shadow: 0 10px 24px #040d2280; border-radius: 0 0 12px 12px; background: #102441; }
  .mobile-panel a { display: block; color: #edf7ff; text-decoration: none; padding: .6rem .72rem; border-radius: 6px; font-weight: 650; }
  .mobile-panel a:hover, .mobile-panel a[aria-current] { background: #234367; color: var(--cyan); }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 20px; }
  .shell { width: calc(100% - 38px); }
  .article-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .article-aside { position: static; }
  .offer { gap: .7rem; grid-template-columns: 102px minmax(0, 1fr); padding: 7px; }
  .offer-art { min-height: 90px; padding: 9px; }
  .offer-brand { font-size: 2rem; }
  .offer-action { grid-column: 2; grid-row: 2; white-space: normal; justify-self: start; }
  .offer-art { grid-row: 1 / span 2; align-self: stretch; }
  .offer-content { align-self: end; padding-right: .25rem; }
  .offer-action .button { min-height: 40px; padding-block: .46rem; }
}

@media (max-width: 390px) {
  .shell { width: calc(100% - 26px); }
  .route-grid { grid-template-columns: minmax(0, 1fr); }
  .offer { grid-template-columns: 87px minmax(0, 1fr); }
  .offer-brand { font-size: 1.8rem; }
  .data-table th, .data-table td { padding: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
