:root {
  --font: Inter, "Segoe UI", Arial, sans-serif;
  --ink: #122033;
  --ink-strong: #071327;
  --muted: #64748b;
  --soft: #eef6ff;
  --paper: #ffffff;
  --panel: #061329;
  --panel-2: #0b2450;
  --line: #d7e5f5;
  --line-dark: rgba(210, 230, 255, .18);
  --blue: #1e63ff;
  --blue-2: #0ea5e9;
  --cyan: #22d3ee;
  --green: #2dd4bf;
  --amber: #f6b73c;
  --shadow: 0 24px 70px rgba(15, 50, 110, .16);
  --shadow-strong: 0 34px 110px rgba(4, 21, 48, .36);
  --radius: 8px;
  --container: min(1280px, calc(100% - 44px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 34%, #f4f8ff 100%);
  line-height: 1.58;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 251, 255, .82);
  border-bottom: 1px solid rgba(110, 150, 210, .24);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(12, 35, 72, .06);
}
.site-header__inner, .section__inner, .site-footer__inner {
  width: var(--container);
  margin: 0 auto;
}
.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  color: #09204a;
}
.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,255,255,.12)),
    linear-gradient(135deg, #2563eb, #22d3ee);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.55),
    0 14px 32px rgba(30, 99, 255, .28);
  position: relative;
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,.78);
}
.brand__text { white-space: nowrap; }
.main-nav {
  display: flex;
  gap: 24px;
  color: #3b587d;
  font-size: 14px;
  font-weight: 800;
}
.main-nav a,
.site-footer a {
  transition: color .2s ease, opacity .2s ease;
}
.main-nav a:hover,
.site-footer a:hover { color: var(--blue); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 0 19px;
  border-radius: 8px;
  font-weight: 850;
  font-size: 14px;
  line-height: 1;
  border: 1px solid rgba(19, 53, 105, .22);
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
  border-color: rgba(124, 200, 255, .4);
  color: #fff;
  box-shadow: 0 18px 42px rgba(30, 99, 255, .28);
}
.btn--light, .btn--ghost {
  background: rgba(255,255,255,.92);
  color: #0b2d62;
  border-color: rgba(160, 190, 230, .54);
  box-shadow: 0 12px 28px rgba(20, 52, 95, .1);
}

.hero {
  color: #eff8ff;
  background:
    radial-gradient(circle at 74% 26%, rgba(34, 211, 238, .16), transparent 34%),
    linear-gradient(120deg, #061329 0%, #0a2a62 48%, #071a37 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.95), rgba(0,0,0,.3));
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(180deg, transparent, #f8fbff);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(430px, .82fr);
  gap: 58px;
  align-items: center;
  padding: 82px 0 94px;
}
h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: .99;
  letter-spacing: 0;
  max-width: 780px;
  color: #fff;
}
h2 {
  color: var(--ink-strong);
  font-size: clamp(31px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}
h3 {
  color: var(--ink-strong);
  font-size: 21px;
  line-height: 1.22;
  letter-spacing: 0;
}
.hero__lead {
  margin-top: 25px;
  max-width: 790px;
  color: #d4e8ff;
  font-size: 20px;
}
.hero__text {
  margin-top: 14px;
  max-width: 760px;
  color: #a9c2e4;
  font-size: 17px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
}
.hero__proof li {
  border: 1px solid rgba(210, 230, 255, .18);
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.055));
  border-radius: var(--radius);
  padding: 17px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.hero__proof b { display: block; color: #fff; font-size: 20px; line-height: 1; }
.hero__proof span { display: block; margin-top: 8px; color: #adc7e8; font-size: 13px; }

.hero-visual {
  position: relative;
  isolation: isolate;
  padding: 22px;
  border: 1px solid rgba(189, 219, 255, .22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.05)),
    linear-gradient(135deg, rgba(11, 43, 96, .8), rgba(5, 19, 43, .94));
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(125, 190, 255, .18);
  border-radius: 8px;
  pointer-events: none;
}
.hero-visual::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 2px;
  top: 110px;
  left: -80px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .9), transparent);
  animation: scan-line 5.5s linear infinite;
  opacity: .9;
}
.visual-card, .visual-flow div, .visual-grid div {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(190, 222, 255, .18);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.055));
  padding: 17px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 18px 42px rgba(0,0,0,.16);
}
.visual-card--wide::before {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34,211,238,.2), rgba(30,99,255,.48));
  box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 0 34px rgba(34,211,238,.25);
  animation: bot-pulse 2.6s ease-in-out infinite;
}
.visual-card--wide::after {
  content: "";
  position: absolute;
  right: 31px;
  top: 31px;
  width: 16px;
  height: 9px;
  border-radius: 2px;
  border: 2px solid rgba(255,255,255,.8);
  border-top: 0;
}
.visual-card span, .visual-flow span, .visual-grid span { display: block; color: #98bce4; font-size: 13px; }
.visual-card b, .visual-flow b, .visual-grid b { display: block; color: #fff; margin-top: 6px; }
.visual-card p { color: #bed4ec; margin-top: 8px; font-size: 14px; max-width: calc(100% - 74px); }
.visual-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 13px; position: relative; }
.visual-flow::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(34,211,238,.1), rgba(34,211,238,.85), rgba(45,212,191,.2));
  transform: translateY(-50%);
  z-index: 0;
  opacity: .55;
}
.visual-flow div {
  min-height: 96px;
  animation: node-float 6s ease-in-out infinite;
}
.visual-flow div:nth-child(2) { animation-delay: .35s; }
.visual-flow div:nth-child(3) { animation-delay: .7s; }
.visual-flow div::after,
.visual-grid div::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(34,211,238,.85);
  opacity: .85;
}
.visual-flow div.is-active,
.visual-grid div.is-active {
  border-color: rgba(34,211,238,.58);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 0 0 1px rgba(34,211,238,.1),
    0 22px 52px rgba(14,165,233,.22);
}
.visual-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 13px; }
.visual-grid div { min-height: 100px; }

.section { padding: 92px 0; }
.section--soft {
  background:
    linear-gradient(180deg, #eff7ff, #f9fcff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head {
  display: grid;
  grid-template-columns: .72fr .9fr;
  gap: 42px;
  align-items: start;
  margin-bottom: 36px;
}
.section__head p, .section p { color: var(--muted); font-size: 17px; }
.intro-grid, .card-grid, .risk-grid, .tool-list, .factor-grid, .metric-grid, .glossary-grid, .term-map {
  display: grid;
  gap: 16px;
}
.intro-grid { grid-template-columns: repeat(3, 1fr); }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.tool-list { grid-template-columns: repeat(4, 1fr); }
.risk-grid { grid-template-columns: repeat(3, 1fr); }
.factor-grid, .metric-grid { grid-template-columns: repeat(4, 1fr); }
.glossary-grid { grid-template-columns: repeat(5, 1fr); }
.term-map { grid-template-columns: repeat(2, 1fr); margin-top: 18px; }
.intro-grid article, .card, .tool-list article, .risk-grid article, .factor-grid div, .metric-grid article, .glossary-grid article, .term-map article, .compare div, .price-factors div, .semantic-text p {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,252,255,.96));
  border: 1px solid rgba(145, 180, 224, .34);
  border-radius: var(--radius);
  padding: 23px;
  box-shadow: 0 14px 38px rgba(15, 50, 110, .075);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.intro-grid article:hover, .card:hover, .tool-list article:hover, .risk-grid article:hover, .glossary-grid article:hover, .semantic-text p:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 99, 255, .38);
  box-shadow: var(--shadow);
}
.intro-grid p, .card p, .tool-list p, .risk-grid p, .glossary-grid p, .term-map p { margin-top: 11px; font-size: 15px; }
.steps {
  counter-reset: item;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(145, 180, 224, .36);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.steps li {
  padding: 25px;
  border-right: 1px solid var(--line);
  min-height: 238px;
  background:
    linear-gradient(180deg, #fff, #f7fbff);
}
.steps li:last-child { border-right: 0; }
.steps li::before {
  counter-increment: item;
  content: counter(item);
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f3ea7, #0ea5e9);
  color: #fff;
  border-radius: 8px;
  font-weight: 850;
  margin-bottom: 16px;
  box-shadow: 0 14px 28px rgba(30,99,255,.22);
}
.steps p { margin-top: 10px; font-size: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.split p + p { margin-top: 16px; }
.compare, .price-factors { display: grid; gap: 12px; }
.compare b, .price-factors b, .factor-grid b, .metric-grid b { display: block; color: var(--ink-strong); font-size: 18px; }
.compare span, .price-factors span, .factor-grid span, .metric-grid span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.section--metrics {
  background:
    linear-gradient(130deg, #061329, #0b2554 58%, #08203f);
  color: #d9ebff;
  position: relative;
  overflow: hidden;
}
.section--metrics::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 58px 58px;
}
.section--metrics .section__inner { position: relative; z-index: 1; }
.section--metrics h2 { color: #fff; }
.section--metrics .section__head p { color: #b7cdec; }
.metric-grid article {
  background: rgba(255,255,255,.08);
  border-color: rgba(200, 226, 255, .16);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}
.metric-grid b { color: #fff; }
.metric-grid span { color: #b7cdec; }
.checklist { columns: 2; column-gap: 20px; list-style: none; padding: 0; margin: 0; }
.checklist li {
  break-inside: avoid;
  margin-bottom: 12px;
  padding: 17px 17px 17px 46px;
  border: 1px solid rgba(145, 180, 224, .36);
  border-radius: var(--radius);
  background: #fff;
  position: relative;
  box-shadow: 0 10px 28px rgba(15, 50, 110, .06);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(45,212,191,.14);
}
.faq-list { display: grid; gap: 12px; }
details {
  background: #fff;
  border: 1px solid rgba(145, 180, 224, .36);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15, 50, 110, .065);
  overflow: hidden;
}
summary {
  cursor: pointer;
  padding: 19px 22px;
  color: var(--ink-strong);
  font-weight: 850;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
}
details[open] summary::after { content: "−"; }
details p { padding: 0 22px 22px; }
.semantic-text { display: grid; gap: 14px; max-width: 990px; }
.section--cta {
  background:
    linear-gradient(135deg, #061329 0%, #0b2f6d 62%, #08213f 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-box {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border: 1px solid rgba(214, 234, 255, .18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  box-shadow: var(--shadow-strong);
}
.cta-box h2 { color: #fff; }
.cta-box p { margin-top: 10px; color: #bdd2ef; max-width: 760px; }
.site-footer {
  background: #061329;
  color: #b8cbe6;
  padding: 54px 0;
  border-top: 1px solid rgba(210, 230, 255, .12);
}
.site-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: start; }
.site-footer p { max-width: 760px; margin-top: 14px; color: #a9bedb; }
.site-footer nav { display: grid; gap: 10px; }
.site-footer a { color: #fff; }
.brand--footer .brand__text { color: #fff; }
.footer-note { font-size: 14px; }
.legal-page .legal-content { max-width: 850px; }
.legal-content h1 { color: var(--ink-strong); font-size: clamp(38px, 4vw, 58px); }
.legal-content p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.legal-content .btn { margin-top: 28px; }

@keyframes scan-line {
  0% { transform: translateX(0); opacity: 0; }
  14% { opacity: .9; }
  74% { opacity: .9; }
  100% { transform: translateX(720px); opacity: 0; }
}
@keyframes node-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes bot-pulse {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 0 30px rgba(34,211,238,.24); }
  50% { transform: translateY(-3px) scale(1.03); box-shadow: 0 0 0 1px rgba(255,255,255,.32), 0 0 44px rgba(34,211,238,.42); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { max-width: 780px; }
  .intro-grid, .card-grid, .tool-list, .risk-grid, .factor-grid, .metric-grid, .glossary-grid, .term-map { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  :root { --container: min(100% - 28px, 100%); }
  .site-header__inner { min-height: 64px; }
  .site-header .btn { display: none; }
  .brand__text { white-space: normal; }
  .hero__inner { padding: 54px 0 74px; gap: 30px; }
  h1 { font-size: 39px; line-height: 1.02; }
  h2 { font-size: 31px; }
  .hero__lead { font-size: 18px; }
  .hero__proof, .visual-flow, .visual-grid, .section__head, .intro-grid, .card-grid, .tool-list, .risk-grid, .factor-grid, .metric-grid, .glossary-grid, .term-map, .split, .faq-list, .site-footer__inner {
    grid-template-columns: 1fr;
  }
  .visual-card p { max-width: none; padding-right: 64px; }
  .visual-flow::before { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; }
  .checklist { columns: 1; }
  .cta-box { align-items: flex-start; flex-direction: column; padding: 24px; }
  .section { padding: 66px 0; }
}
