:root {
  --font: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  --bg: #edf5ff;
  --paper: #ffffff;
  --ink: #0b1220;
  --muted: #526173;
  --line: rgba(37, 99, 235, .16);
  --blue: #2563eb;
  --primary: var(--blue);
  --blue-deep: #0f2f76;
  --cyan: #06b6d4;
  --accent: var(--cyan);
  --teal: #0f9f8c;
  --amber: #f2b84b;
  --surface-dark: #071426;
  --shadow: 0 24px 70px rgba(15, 47, 118, .16);
  --radius: 8px;
  --space: clamp(34px, 6vw, 86px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 8%, rgba(6, 182, 212, .18), transparent 32%),
    radial-gradient(circle at 88% 4%, rgba(37, 99, 235, .16), transparent 34%),
    linear-gradient(90deg, rgba(37, 99, 235, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15, 159, 140, .06) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
  line-height: 1.6;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .65), rgba(255, 255, 255, .08) 22%, rgba(237, 245, 255, .88) 72%),
    repeating-linear-gradient(135deg, rgba(37, 99, 235, .035) 0 1px, transparent 1px 18px);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 42px);
  border-bottom: 1px solid rgba(37, 99, 235, .14);
  background: rgba(247, 251, 255, .86);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 47, 118, .08);
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  color: var(--blue-deep);
}

.logo::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0 18%, var(--cyan) 20% 52%, var(--blue) 54%);
  box-shadow: 0 0 0 6px rgba(6, 182, 212, .12);
}

.main-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #27415f;
  font-size: 14px;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.main-nav a:hover {
  color: var(--blue-deep);
  border-color: rgba(37, 99, 235, .2);
  background: rgba(255, 255, 255, .78);
  transform: translateY(-1px);
}

main,
.site-footer {
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(22px, 3vw, 40px);
  min-height: 560px;
  margin-top: 24px;
  padding: clamp(28px, 3.4vw, 42px);
  border: 1px solid rgba(96, 165, 250, .28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 78% 22%, rgba(6, 182, 212, .35), transparent 26%),
    radial-gradient(circle at 54% 92%, rgba(242, 184, 75, .12), transparent 30%),
    linear-gradient(135deg, #071426 0%, #0f2f76 46%, #123f98 100%);
  box-shadow: 0 34px 100px rgba(15, 47, 118, .34);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .72), rgba(0, 0, 0, .24));
}

.hero::after {
  content: "";
  position: absolute;
  width: 34%;
  height: 2px;
  right: 8%;
  top: 21%;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, .88), transparent);
  box-shadow: 0 72px 0 rgba(96, 165, 250, .42), 0 184px 0 rgba(15, 159, 140, .34);
  animation: scanLine 8s ease-in-out infinite;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 13px;
}

.hero .kicker {
  color: #8be8ff;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(36px, 4.05vw, 52px);
}

h2 {
  color: #10284f;
  font-size: clamp(28px, 3vw, 42px);
}

h3 {
  color: #132c52;
  font-size: 20px;
}

.hero-lead {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(235, 247, 255, .9);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(37, 99, 235, .2);
  border-radius: 7px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #071426;
  border-color: rgba(255, 255, 255, .28);
  background: linear-gradient(135deg, #8be8ff, #ffffff 46%, #f2b84b);
  box-shadow: 0 14px 32px rgba(6, 182, 212, .24);
}

.button.secondary {
  color: #f8fbff;
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .08);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.hero-metrics div,
.intro-band article,
.guide-section,
.panel-row span,
.glossary-grid article,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .88);
}

.hero-metrics div {
  padding: 10px;
  color: #ffffff;
  border-color: rgba(139, 232, 255, .24);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
}

.hero-metrics strong {
  display: block;
  font-size: 20px;
}

.hero-metrics span {
  color: rgba(235, 247, 255, .78);
  font-size: 14px;
  line-height: 1.42;
}

.section-head p,
.longread p,
.glossary-grid p,
details p,
.site-footer p {
  color: var(--muted);
}

.hero-panel {
  align-self: center;
  min-height: 342px;
  padding: 18px;
  border: 1px solid rgba(139, 232, 255, .28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 46%, rgba(6, 182, 212, .28), transparent 22%),
    radial-gradient(circle at 80% 16%, rgba(242, 184, 75, .14), transparent 28%),
    linear-gradient(145deg, rgba(4, 15, 34, .96), rgba(11, 31, 70, .92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 22px 70px rgba(0, 0, 0, .28);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 0;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(139, 232, 255, .5);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .98) 0 9%, rgba(139, 232, 255, .92) 10% 15%, transparent 16%),
    conic-gradient(from 0deg, rgba(37, 99, 235, .1), rgba(6, 182, 212, .78), rgba(15, 159, 140, .3), rgba(37, 99, 235, .1));
  box-shadow: 0 0 0 16px rgba(6, 182, 212, .08), 0 0 48px rgba(6, 182, 212, .42);
  transform: translate(-50%, -50%);
  animation: corePulse 4.8s ease-in-out infinite;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(139, 232, 255, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(139, 232, 255, .07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 48%, rgba(0, 0, 0, .95), transparent 76%);
}

.panel-row,
.panel-flow,
.hero-panel p {
  position: relative;
  z-index: 1;
}

.panel-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.panel-row span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 62px;
  color: #edf9ff;
  border-color: rgba(139, 232, 255, .24);
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  font-weight: 850;
  overflow: hidden;
}

.panel-row span::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(6, 182, 212, .85);
  animation: statusBlink 2.8s ease-in-out infinite;
}

.panel-row:last-of-type span:nth-child(2)::after {
  background: var(--amber);
  box-shadow: 0 0 16px rgba(242, 184, 75, .75);
}

.panel-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 30px;
}

.panel-flow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 8px rgba(6, 182, 212, .15), 0 0 22px rgba(139, 232, 255, .8);
  transform: translateY(-50%);
  animation: dataPacket 5.8s cubic-bezier(.45, 0, .2, 1) infinite;
}

.panel-flow i {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, .28), var(--cyan), var(--teal));
  box-shadow: 0 0 22px rgba(6, 182, 212, .45);
  animation: flowGlow 3.4s ease-in-out infinite;
}

.panel-flow i:nth-child(2) {
  animation-delay: .25s;
}

.panel-flow i:nth-child(3) {
  animation-delay: .5s;
}

.panel-flow i:nth-child(4) {
  animation-delay: .75s;
}

.hero-panel p {
  margin: 16px 0 0;
  padding: 12px;
  color: rgba(235, 247, 255, .82);
  font-size: 14px;
  border: 1px solid rgba(139, 232, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
}

.intro-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "system change";
  gap: 14px;
  margin-top: clamp(10px, 1.4vw, 16px);
}

.intro-band article:first-child {
  grid-area: system;
}

.intro-band article:last-child {
  grid-area: change;
}

.intro-band article {
  position: relative;
  padding: 26px;
  border-color: rgba(37, 99, 235, .18);
  box-shadow: 0 18px 42px rgba(15, 47, 118, .09);
  overflow: hidden;
}

.intro-band article::before,
.guide-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, .06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(6, 182, 212, .045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, .7), transparent 58%);
}

.guide-section {
  position: relative;
  margin-top: var(--space);
  padding: clamp(28px, 4vw, 54px);
  border-color: rgba(37, 99, 235, .16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(244, 249, 255, .9));
  box-shadow: 0 18px 54px rgba(15, 47, 118, .1);
  overflow: hidden;
}

.guide-section:nth-of-type(4n + 2) {
  background:
    radial-gradient(circle at 90% 10%, rgba(6, 182, 212, .12), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(239, 246, 255, .95));
}

.guide-section:nth-of-type(4n + 3) {
  background:
    radial-gradient(circle at 8% 18%, rgba(37, 99, 235, .1), transparent 28%),
    linear-gradient(135deg, rgba(249, 252, 255, .96), rgba(255, 255, 255, .94));
}

.section-head,
.glossary-grid,
.faq-grid,
.comparison,
.process-figure,
.contact-section .button {
  position: relative;
  z-index: 1;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(240px, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.section-head p {
  margin: 10px 0 0;
  font-size: 17px;
}

.longread {
  display: grid;
  gap: 16px;
  columns: 1;
}

.longread p {
  margin: 0;
  padding: 18px;
  border-left: 4px solid rgba(37, 99, 235, .4);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 255, 255, .76);
}

.process-figure {
  margin: 0;
}

.process-figure svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(15, 47, 118, .16);
}

figcaption {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
}

figcaption p {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: var(--radius);
  background: rgba(239, 246, 255, .9);
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.glossary-grid article {
  position: relative;
  min-height: 100%;
  padding: 20px;
  border-color: rgba(37, 99, 235, .16);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 14px 34px rgba(15, 47, 118, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}

.glossary-grid article::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--amber));
}

.glossary-grid article:hover {
  border-color: rgba(37, 99, 235, .32);
  box-shadow: 0 20px 44px rgba(15, 47, 118, .14);
  transform: translateY(-3px);
}

.comparison {
  width: 100%;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 47, 118, .1);
}

.comparison th,
.comparison td {
  padding: 18px;
  border-bottom: 1px solid rgba(37, 99, 235, .12);
  text-align: left;
  vertical-align: top;
}

.comparison th {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
}

.comparison td {
  color: #31455b;
  background: rgba(255, 255, 255, .92);
}

.comparison tbody tr:nth-child(even) td {
  background: rgba(239, 246, 255, .82);
}

.comparison tbody tr:last-child td {
  border-bottom: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

details {
  padding: 17px;
  border-color: rgba(37, 99, 235, .16);
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 12px 28px rgba(15, 47, 118, .07);
}

details[open] {
  border-color: rgba(6, 182, 212, .38);
  background: linear-gradient(135deg, #ffffff, #effbff);
}

summary {
  cursor: pointer;
  color: #132c52;
  font-weight: 800;
}

details p {
  margin: 10px 0 0;
}

.contact-section {
  color: white;
  border-color: rgba(139, 232, 255, .26);
  background:
    radial-gradient(circle at 12% 12%, rgba(6, 182, 212, .26), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(242, 184, 75, .14), transparent 30%),
    linear-gradient(135deg, #071426, #0f2f76 58%, #082052);
}

.contact-section h2 {
  color: #ffffff;
}

.contact-section .kicker,
.contact-section .section-head p {
  color: #bdefff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: var(--space);
  margin-bottom: 28px;
  padding: 28px;
  border: 1px solid rgba(139, 232, 255, .22);
  border-radius: var(--radius);
  color: white;
  background:
    linear-gradient(90deg, rgba(139, 232, 255, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(139, 232, 255, .055) 1px, transparent 1px),
    #071426;
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: 0 20px 58px rgba(7, 20, 38, .22);
}

.site-footer nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #dff7ff;
}

.legal-page {
  min-height: 60vh;
}

.legal-page h1 {
  color: #10284f;
  font-size: clamp(34px, 4vw, 56px);
}

@keyframes scanLine {
  0%, 100% {
    opacity: .32;
    transform: translateY(0);
  }
  50% {
    opacity: .82;
    transform: translateY(26px);
  }
}

@keyframes corePulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(.96) rotate(0deg);
    opacity: .8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.06) rotate(24deg);
    opacity: 1;
  }
}

@keyframes statusBlink {
  0%, 100% {
    opacity: .45;
  }
  50% {
    opacity: 1;
  }
}

@keyframes dataPacket {
  0% {
    left: 0;
    opacity: 0;
  }
  10%, 88% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 14px);
    opacity: 0;
  }
}

@keyframes flowGlow {
  0%, 100% {
    opacity: .5;
    transform: scaleX(.9);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

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

@media (max-width: 980px) {
  .hero,
  .intro-band,
  .section-head,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .intro-band {
    grid-template-areas:
      "system"
      "change";
  }

  .hero-panel {
    align-self: stretch;
  }

  .glossary-grid,
  figcaption {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .comparison th,
  .comparison td {
    padding: 12px;
    font-size: 14px;
  }
}

@media (max-width: 680px) {
  main,
  .site-footer {
    width: min(100% - 24px, 1360px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 26px 18px;
  }

  .hero-metrics,
  .panel-row,
  .glossary-grid,
  figcaption {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 360px;
  }

  .panel-flow {
    margin: 22px 10px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    white-space: normal;
  }
}
