:root {
  --navy-950: #020817;
  --navy-900: #04132e;
  --navy-850: #071b3d;
  --navy-800: #082552;
  --blue-600: #0a63ff;
  --blue-500: #2583ff;
  --cyan-400: #38d8ff;
  --gold-500: #f5bd41;
  --gold-300: #ffe49a;
  --paper: #f7faff;
  --white: #ffffff;
  --ink: #101b32;
  --muted: #5f6c84;
  --line: rgba(21, 64, 128, .13);
  --shadow: 0 24px 70px rgba(3, 20, 52, .16);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; }
.skip-link {
  position: fixed; left: 16px; top: -70px; z-index: 1000;
  padding: 10px 16px; border-radius: 10px; color: #00132e; background: var(--gold-300);
  font-weight: 800; transition: top .2s ease;
}
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 14px; color: #0873b9; font-size: .79rem; font-weight: 850;
  letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--blue-600), var(--gold-500)); }
.section { padding: 88px 0; }
.section-sm { padding: 58px 0; }
.section-dark { color: #eaf3ff; background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); }
.section-blue { background: linear-gradient(140deg, #e9f3ff, #f9fbff 54%, #fff8e9); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head.center { margin-inline: auto; text-align: center; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.035em; }
h1 { font-size: clamp(2.25rem, 6vw, 4.7rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1.1rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.7; }
.muted { color: var(--muted); }
.gold-text { color: var(--gold-500); }
.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, #fff 5%, var(--gold-300) 55%, var(--gold-500));
  -webkit-background-clip: text; background-clip: text;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.09);
  color: #fff; background: rgba(2, 12, 35, .91);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.header-inner { min-height: 74px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid rgba(255,228,154,.65); border-radius: 13px;
  color: #061637; background: linear-gradient(145deg, #fff2b6, var(--gold-500) 60%, #b77913);
  box-shadow: 0 0 28px rgba(245,189,65,.25); font-weight: 950; font-size: 1.35rem;
}
.brand-word { font-size: 1.05rem; font-weight: 950; letter-spacing: .045em; }
.brand-word span { color: var(--gold-500); }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a { padding: 10px 11px; border-radius: 10px; color: #cbd9f0; font-size: .91rem; font-weight: 650; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; background: rgba(56,216,255,.11); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.mini-18 { color: var(--gold-300); font-size: .76rem; font-weight: 800; white-space: nowrap; }
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px; color: #fff; background: rgba(255,255,255,.06); cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s, opacity .2s;
}
.nav-toggle.active span { opacity: 0; }
.nav-toggle.active::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active::after { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 21px; border: 1px solid transparent; border-radius: 999px;
  font-size: .95rem; font-weight: 850; line-height: 1; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { color: #07152f; background: linear-gradient(135deg, #fff0aa, var(--gold-500)); box-shadow: 0 12px 30px rgba(245,189,65,.24); }
.btn-blue { color: #fff; background: linear-gradient(135deg, var(--blue-500), #0645c8); box-shadow: 0 12px 30px rgba(10,99,255,.23); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.07); }
.btn-small { min-height: 41px; padding: 10px 16px; font-size: .86rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { position: relative; min-height: 680px; display: grid; align-items: center; overflow: hidden; color: #fff; background: var(--navy-950); }
.hero-media, .page-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(1,9,27,.98) 0%, rgba(2,16,48,.9) 35%, rgba(2,16,48,.36) 67%, rgba(2,8,22,.17)),
              linear-gradient(0deg, rgba(2,8,23,.55), transparent 45%);
}
.hero::after { content: ""; position: absolute; z-index: 1; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, var(--paper)); }
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 106px 0 144px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 7px 12px;
  border: 1px solid rgba(255,228,154,.35); border-radius: 999px; color: var(--gold-300); background: rgba(5,24,63,.65);
  font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 12px var(--cyan-400); }
.hero h1 { max-width: 680px; }
.hero .lead { max-width: 620px; margin: 24px 0 30px; color: #d6e3f7; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: #b9cae4; font-size: .86rem; font-weight: 650; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row span::before { content: "✓"; color: var(--gold-500); }

/* Cards and layouts */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: rgba(255,255,255,.88); box-shadow: 0 15px 45px rgba(19,55,109,.08); overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 44px; background: linear-gradient(var(--cyan-400), var(--blue-600)); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.icon-box {
  width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px;
  border-radius: 15px; color: #fff; background: linear-gradient(145deg, var(--blue-500), #052b7d);
  box-shadow: 0 10px 25px rgba(10,99,255,.22); font-size: 1.15rem; font-weight: 900;
}
.feature-card { transition: transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.image-card { padding: 0; }
.image-card::before { display: none; }
.image-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.image-card-body { padding: 25px; }
.image-card-body a { color: #0755dc; font-weight: 800; }
.kicker { color: var(--blue-600); font-size: .78rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split-image { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); }
.split-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; padding: 18px 0; border-block: 1px solid var(--line); }
.stat-strip div { padding: 0 18px; border-right: 1px solid var(--line); }
.stat-strip div:first-child { padding-left: 0; }
.stat-strip div:last-child { border: 0; }
.stat-strip strong { display: block; color: #074fc0; font-size: 1.18rem; }
.stat-strip span { color: var(--muted); font-size: .82rem; }

/* Inner pages */
.page-hero { position: relative; min-height: 390px; display: grid; align-items: end; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(2,8,23,.98), rgba(3,30,80,.79) 55%, rgba(3,30,80,.25)); }
.page-hero::after { content: ""; position: absolute; z-index: 1; inset: 0; opacity: .25; background-image: radial-gradient(circle at 20% 20%, var(--cyan-400) 0 1px, transparent 1.5px); background-size: 42px 42px; }
.page-hero .container { position: relative; z-index: 2; padding-block: 88px 58px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: #a9bddc; font-size: .86rem; }
.breadcrumb a { color: var(--gold-300); }
.page-hero h1 { max-width: 850px; font-size: clamp(2.1rem, 5vw, 3.8rem); }
.page-hero p { max-width: 720px; margin-top: 18px; color: #cedcf0; font-size: 1.07rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: start; }
.article-body { min-width: 0; }
.article-body h2 { margin: 2.1rem 0 .9rem; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.article-body h3 { margin: 1.55rem 0 .65rem; }
.article-body ul, .article-body ol { padding-left: 1.25rem; }
.article-body li { margin-bottom: .6rem; }
.article-body a:not(.btn) { color: #0759e6; text-decoration: underline; text-underline-offset: 3px; }
.article-image { margin: 28px 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.article-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.sidebar { position: sticky; top: 98px; display: grid; gap: 18px; }
.side-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.side-card h3 { margin-bottom: 12px; font-size: 1.05rem; }
.side-links { display: grid; gap: 9px; }
.side-links a { padding-bottom: 9px; border-bottom: 1px solid var(--line); color: #315078; font-size: .91rem; }
.side-links a:hover { color: var(--blue-600); }
.notice { padding: 20px 22px; border: 1px solid rgba(10,99,255,.18); border-radius: var(--radius-md); background: #edf5ff; }
.notice.warning { border-color: rgba(245,189,65,.35); background: #fff9e9; }
.notice strong { display: block; margin-bottom: 5px; }
.check-list { list-style: none; padding: 0 !important; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #0873b9; font-weight: 900; }
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { counter-increment: step; position: relative; padding: 22px 22px 22px 72px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.step::before {
  content: counter(step); position: absolute; left: 20px; top: 20px; width: 35px; height: 35px; display: grid; place-items: center;
  border-radius: 50%; color: #07152f; background: linear-gradient(145deg, var(--gold-300), var(--gold-500)); font-weight: 900;
}
.step h3 { margin: 0 0 4px; }
.step p { margin: 0; color: var(--muted); }
.table-wrap { margin: 26px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
table { width: 100%; min-width: 640px; border-collapse: collapse; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: #fff; background: var(--navy-800); font-size: .9rem; }
tr:last-child td { border-bottom: 0; }
.faq-list { display: grid; gap: 13px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 20px; border: 0; color: var(--ink); background: transparent; font: inherit; font-weight: 800; text-align: left; cursor: pointer;
}
.faq-question::after { content: "+"; flex: 0 0 auto; color: var(--blue-600); font-size: 1.45rem; }
.faq-question[aria-expanded="true"]::after { content: "−"; }
.faq-answer { display: none; padding: 0 20px 18px; color: var(--muted); }
.faq-answer.open { display: block; }
.faq-answer p:last-child { margin-bottom: 0; }

/* CTA and footer */
.cta-panel {
  position: relative; padding: 48px; border: 1px solid rgba(255,228,154,.24); border-radius: var(--radius-xl);
  color: #fff; background: radial-gradient(circle at 85% 10%, rgba(56,216,255,.22), transparent 32%), linear-gradient(135deg, var(--navy-950), #073786);
  box-shadow: var(--shadow); overflow: hidden;
}
.cta-panel h2 { max-width: 700px; }
.cta-panel p { max-width: 680px; margin: 16px 0 24px; color: #c7d8ef; }
.site-footer { color: #aebfd8; background: #020713; }
.footer-main { display: grid; grid-template-columns: 1.35fr .75fr .75fr .9fr; gap: 38px; padding: 66px 0 42px; }
.footer-brand p { max-width: 390px; margin-top: 16px; font-size: .91rem; }
.footer-col h3 { margin-bottom: 14px; color: #fff; font-size: .95rem; letter-spacing: 0; }
.footer-col a { display: block; padding: 4px 0; font-size: .88rem; }
.footer-col a:hover { color: var(--gold-300); }
.responsible-box { margin-top: 18px; padding: 14px; border: 1px solid rgba(255,228,154,.2); border-radius: 12px; color: #dce7f7; background: rgba(255,255,255,.04); font-size: .82rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; }
.floating-cta { display: none; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .main-nav {
    position: fixed; inset: 74px 0 auto; display: none; padding: 18px 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(2,12,35,.98);
  }
  .main-nav.open { display: grid; }
  .main-nav a { padding: 13px 14px; }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-main { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 64px 0; }
  .section-sm { padding: 45px 0; }
  .header-inner { min-height: 66px; }
  .main-nav { inset-block-start: 66px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-word { font-size: .96rem; }
  .mini-18 { display: none; }
  .hero { min-height: 660px; align-items: end; }
  .hero::before { background: linear-gradient(0deg, rgba(1,8,24,.99) 3%, rgba(2,15,44,.85) 61%, rgba(2,14,39,.26)); }
  .hero-content { padding: 190px 0 110px; }
  .hero .lead { font-size: 1rem; }
  .btn-row .btn { width: 100%; }
  .trust-row { display: grid; gap: 8px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card { padding: 23px; }
  .image-card { padding: 0; }
  .stat-strip { grid-template-columns: 1fr; gap: 12px; }
  .stat-strip div, .stat-strip div:first-child { padding: 0 0 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-strip div:last-child { padding-bottom: 0; border-bottom: 0; }
  .page-hero { min-height: 330px; }
  .page-hero .container { padding-block: 68px 43px; }
  .sidebar { grid-template-columns: 1fr; }
  .cta-panel { padding: 31px 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding-top: 52px; }
  .footer-bottom { display: grid; }
  .floating-cta {
    position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(2,12,35,.93);
    backdrop-filter: blur(16px); box-shadow: 0 14px 40px rgba(1,7,20,.4);
  }
  .floating-cta .btn { min-height: 43px; padding: 9px 12px; }
  .site-footer { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
