:root {
  --night: #0b1016;
  --graphite: #151c24;
  --graphite-2: #1c2631;
  --ivory: #f4f1e8;
  --muted: #aab3bc;
  --steel: #6f7e8f;
  --cobalt: #2f6bff;
  --cobalt-dark: #1d4fd0;
  --amber: #ffb547;
  --line: rgba(244, 241, 232, 0.14);
  --display: "Arial Black", "Avenir Next", Inter, system-ui, sans-serif;
  --body: "Avenir Next", Avenir, Inter, system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: dark;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(47, 107, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 107, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 83% 12%, rgba(47, 107, 255, 0.16), transparent 30rem),
    radial-gradient(circle at 9% 55%, rgba(255, 181, 71, 0.06), transparent 24rem),
    var(--night);
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
  color: var(--ivory);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.56;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--amber); color: var(--night); }
a { color: inherit; text-underline-offset: 0.2em; }
img, svg { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--amber);
  color: var(--night);
  font-weight: 900;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(1180px, calc(100% - 36px));
  min-height: 72px;
  margin: 18px auto 0;
  padding: 0 14px 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(47, 107, 255, 0.4);
  border-radius: 999px;
  background: rgba(21, 28, 36, 0.9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px 13px 4px 13px;
  background: var(--cobalt);
  color: white;
  font-family: var(--display);
  font-size: 23px;
  line-height: 1;
  transform: rotate(-2deg);
}
.brand-note { color: var(--steel); font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; }
.header-nav { display: flex; align-items: center; gap: 26px; }
.header-nav a { color: var(--muted); font-size: 13px; font-weight: 800; text-decoration: none; }
.header-nav a:hover, .header-nav a[aria-current="page"] { color: var(--amber); }
.site-header > .button { justify-self: end; }

.button {
  min-height: 50px;
  padding: 13px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 10px 17px; border-color: rgba(255, 181, 71, 0.62); color: var(--amber); font-size: 13px; }
.button-primary { background: var(--cobalt); color: white; box-shadow: 0 16px 34px rgba(47, 107, 255, 0.27); }
.button-primary:hover { background: #477dff; }
.button-light { background: var(--ivory); color: var(--night); }
.button-light:hover { background: white; }
.text-link { color: var(--amber); font-size: 14px; font-weight: 850; }
.text-link:hover { color: var(--ivory); }

.eyebrow, .section-label, .status-label, .kicker {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}
.eyebrow, .section-label { margin-bottom: 18px; }

.hero {
  width: min(1280px, calc(100% - 36px));
  min-height: 660px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  overflow: hidden;
  border: 1px solid rgba(47, 107, 255, 0.5);
  border-radius: 38px 12px 38px 38px;
  background: var(--graphite);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.42);
}
.hero-copy {
  padding: clamp(46px, 5.4vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.92;
}
h1 .accent { display: block; margin-top: 12px; color: var(--cobalt); font-size: 0.55em; line-height: 1.06; }
.hero-lead, .support-lead { max-width: 66ch; margin-bottom: 26px; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.disclosure {
  max-width: 68ch;
  margin: 22px 0 0;
  padding: 13px 15px;
  border-left: 3px solid var(--amber);
  background: rgba(255, 181, 71, 0.07);
  color: var(--muted);
  font-size: 13px;
}
.disclosure strong { color: var(--ivory); }

.route-board {
  min-width: 0;
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(47, 107, 255, 0.48);
  background:
    linear-gradient(rgba(11, 16, 22, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 16, 22, 0.14) 1px, transparent 1px),
    var(--cobalt);
  background-size: 30px 30px;
}
.route-board::before {
  content: "Б";
  position: absolute;
  right: -0.04em;
  bottom: -0.17em;
  color: rgba(11, 16, 22, 0.2);
  font-family: var(--display);
  font-size: clamp(330px, 34vw, 540px);
  font-weight: 950;
  line-height: 1;
  transform: rotate(-4deg);
}
.board-top {
  margin: 34px;
  padding: 13px 15px;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 14px;
  background: rgba(11, 16, 22, 0.84);
  color: white;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.board-route {
  width: calc(100% - 68px);
  height: 62%;
  position: absolute;
  left: 34px;
  bottom: 34px;
  z-index: 1;
}
.route-line { fill: none; stroke: rgba(255,255,255,.92); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1 14; }
.route-node { fill: var(--amber); stroke: var(--night); stroke-width: 5; }
.route-label { fill: white; font-family: var(--mono); font-size: 15px; font-weight: 900; letter-spacing: .05em; }
.stamp {
  position: absolute;
  right: 30px;
  bottom: 28px;
  z-index: 2;
  padding: 10px 14px;
  border: 2px solid var(--amber);
  border-radius: 8px;
  background: var(--night);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  transform: rotate(-3deg);
}

.fact-strip {
  width: min(1180px, calc(100% - 36px));
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact-strip div { padding: 24px 30px; display: flex; flex-direction: column; gap: 3px; }
.fact-strip div + div { border-left: 1px solid var(--line); }
.fact-strip strong { color: var(--amber); font-family: var(--display); font-size: 16px; }
.fact-strip span { color: var(--muted); font-size: 13px; }

.section { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 104px 0; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading h2, .identity-copy h2, .cta-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1;
}
.section-heading > p:last-child, .identity-copy > p, .cta-panel p { color: var(--muted); }
.identity-section { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr); gap: clamp(46px, 8vw, 110px); }
.identity-copy { max-width: 74ch; }
.identity-copy p + p { margin-top: 18px; }
.source-date { color: var(--amber) !important; font-family: var(--mono); font-size: 12px; }
.identity-facts { margin: 0; border-top: 1px solid var(--line); }
.identity-facts div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.identity-facts dt { color: var(--steel); font-size: 13px; }
.identity-facts dd { margin: 6px 0 0; font-family: var(--display); font-size: 16px; line-height: 1.35; }

.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.route-card {
  min-height: 300px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--graphite);
  text-decoration: none;
  transition: transform 170ms ease, border-color 170ms ease, background-color 170ms ease;
}
.route-card:nth-child(2) { border-radius: 26px 8px 26px 26px; }
.route-card:hover { transform: translateY(-5px); border-color: rgba(47, 107, 255, .75); background: var(--graphite-2); }
.route-card .kicker { display: block; margin-bottom: 62px; }
.route-card h3 { margin-bottom: 12px; font-size: 24px; line-height: 1.08; }
.route-card p { color: var(--muted); font-size: 15px; }
.route-card .card-link { margin-top: auto; color: var(--amber); font-weight: 900; }

.steps, .check-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.steps li { min-height: 250px; padding: 28px 34px 20px 0; }
.steps li + li { padding-left: 34px; border-left: 1px solid var(--line); }
.step-number { display: block; margin-bottom: 50px; color: var(--amber); font-family: var(--mono); font-size: 12px; font-weight: 900; }
.steps h3, .check-list h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.18; }
.steps p, .check-list p { color: var(--muted); font-size: 15px; }

.cta-panel {
  min-height: 330px;
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 46px;
  border: 1px solid var(--cobalt);
  border-radius: 36px 36px 8px 36px;
  background: linear-gradient(118deg, var(--graphite) 0 67%, rgba(47,107,255,.16) 67% 100%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
}
.cta-panel > div { max-width: 760px; }
.cta-panel p { margin-bottom: 0; }

.faq { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  padding: 24px 46px 24px 0;
  position: relative;
  cursor: pointer;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.4;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; width: 14px; height: 2px; position: absolute; right: 4px; top: 33px; background: var(--amber); }
.faq-list summary::after { transform: rotate(90deg); transition: transform 150ms ease; }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list p { padding: 0 46px 24px 0; color: var(--muted); }
.faq-list a { color: var(--amber); }

.site-footer {
  width: min(1180px, calc(100% - 36px));
  min-height: 170px;
  margin: 0 auto;
  padding: 30px 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.site-footer p { margin: 0; text-align: center; }
.footer-nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 18px; }
.footer-nav a:hover { color: var(--amber); }

.support-main { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.breadcrumbs { padding: 28px 0 0; display: flex; gap: 9px; color: var(--muted); font-size: 13px; }
.breadcrumbs a:hover { color: var(--amber); }
.support-hero {
  min-height: 545px;
  padding: 68px 0 82px;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, .78fr);
  align-items: end;
  gap: clamp(42px, 8vw, 110px);
}
.support-hero h1 { font-size: clamp(42px, 5.5vw, 70px); }
.quick-card {
  min-height: 380px;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(47, 107, 255, .62);
  border-radius: 26px 8px 26px 26px;
  background: var(--graphite);
  transform: rotate(.6deg);
}
.quick-card-top { padding: 18px 22px; display: flex; justify-content: space-between; background: var(--cobalt); color: white; font-family: var(--mono); font-size: 11px; font-weight: 900; }
.quick-card-body { padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.quick-card-letter { margin-bottom: 26px; color: var(--amber); font-family: var(--display); font-size: 92px; font-weight: 950; line-height: .8; }
.quick-card strong { font-family: var(--display); font-size: 21px; line-height: 1.24; }
.quick-card p { margin: 14px 0 0; color: var(--muted); font-size: 14px; }

.check-section { width: 100%; padding: 92px 0 28px; }
.check-list li { min-height: 142px; padding: 27px 0; display: grid; grid-template-columns: 88px 1fr; gap: 28px; border-bottom: 1px solid var(--line); }
.check-list > li > span { color: var(--amber); font-family: var(--mono); font-size: 13px; font-weight: 900; }
.check-list p { max-width: 76ch; margin-bottom: 0; }
.branch-grid { padding: 90px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.branch-grid article { min-height: 270px; padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: var(--graphite); }
.branch-grid article:nth-child(2) { border-radius: 26px 8px 26px 26px; }
.branch-grid h2 { margin: 26px 0 14px; font-size: 29px; line-height: 1.1; }
.branch-grid p { color: var(--muted); }
.notice { padding: 24px; border: 1px solid rgba(255,181,71,.4); border-radius: 18px; background: rgba(255,181,71,.07); color: var(--muted); }
.notice strong { color: var(--ivory); }
.external-list { margin: 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.external-list a { padding: 16px 18px; display: flex; justify-content: space-between; gap: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--graphite); text-decoration: none; }
.external-list a:hover { border-color: var(--cobalt); }
.external-list small { color: var(--muted); }

.not-found { width: min(900px, calc(100% - 36px)); min-height: 72vh; margin: 0 auto; display: grid; place-items: center; text-align: center; }
.not-found h1 { margin-bottom: 18px; color: var(--cobalt); font-size: clamp(90px, 20vw, 200px); }
.not-found p { color: var(--muted); }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-nav { display: none; }
  .hero { grid-template-columns: 1fr 41%; min-height: 610px; }
  .hero-copy { padding: 46px; }
  .identity-section, .faq { gap: 44px; }
  .route-grid { grid-template-columns: 1fr 1fr; }
  .route-card:last-child { grid-column: 1 / -1; min-height: 250px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; background-size: 24px 24px, 24px 24px, auto, auto, auto; }
  .site-header { width: min(100% - 24px, 1180px); min-height: 64px; margin-top: 12px; padding-left: 12px; }
  .brand-note { display: none; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px 11px 4px 11px; }
  .site-header > .button { min-height: 40px; padding: 10px 13px; font-size: 12px; }
  .hero { width: min(100% - 24px, 1280px); min-height: 0; grid-template-columns: 1fr; border-radius: 28px 8px 28px 28px; }
  .hero-copy { padding: 46px 24px 38px; }
  h1 { font-size: clamp(46px, 15.2vw, 68px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .text-link { align-self: flex-start; }
  .route-board { min-height: 420px; border-top: 1px solid rgba(47,107,255,.48); border-left: 0; }
  .route-board::before { font-size: min(104vw, 480px); }
  .board-top { margin: 22px; }
  .board-route { width: calc(100% - 44px); left: 22px; bottom: 22px; }
  .fact-strip { width: min(100% - 24px, 1180px); grid-template-columns: 1fr; }
  .fact-strip div { padding: 18px 8px; }
  .fact-strip div + div { border-top: 1px solid var(--line); border-left: 0; }
  .section { width: min(100% - 32px, 1180px); padding: 78px 0; }
  .identity-section, .faq, .support-hero, .cta-panel { grid-template-columns: 1fr; }
  .route-grid, .branch-grid { grid-template-columns: 1fr; }
  .route-card:last-child { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; padding: 26px 0; }
  .steps li + li { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .step-number { margin-bottom: 24px; }
  .cta-panel { min-height: 0; padding: 34px 26px; align-items: start; }
  .cta-panel .button { width: 100%; }
  .faq { gap: 24px; }
  .site-footer { width: min(100% - 32px, 1180px); grid-template-columns: 1fr; text-align: left; }
  .site-footer p { text-align: left; }
  .footer-nav { justify-content: flex-start; }
  .support-main { width: min(100% - 32px, 1180px); }
  .support-hero { min-height: 0; padding: 48px 0 74px; }
  .quick-card { min-height: 310px; transform: none; }
  .check-list li { grid-template-columns: 48px 1fr; gap: 14px; }
  .branch-grid { padding: 72px 0; }
}

@media (max-width: 390px) {
  .site-header > .button { padding: 9px 11px; }
  .site-header > .button span { display: none; }
  .brand { font-size: 12px; }
  .hero-copy { padding-left: 20px; padding-right: 20px; }
  .route-board { min-height: 360px; }
  .route-label { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

