:root {
  color-scheme: dark;
  --void: #03050d;
  --midnight: #050817;
  --storm: #08152e;
  --storm-soft: #0d2148;
  --cyan: #79e7ff;
  --cyan-bright: #c9f8ff;
  --blue: #2c7dff;
  --blue-deep: #173bc2;
  --violet: #8067ff;
  --gold: #e7c66a;
  --ice: #ecfbff;
  --text: #f4fbff;
  --muted: #a7bbd2;
  --danger: #ff667d;
  --success: #65f3c4;
  --surface: rgba(8, 20, 43, 0.68);
  --surface-strong: rgba(5, 12, 29, 0.9);
  --line: rgba(152, 225, 255, 0.16);
  --line-strong: rgba(121, 231, 255, 0.38);
  --shadow: 0 40px 120px rgba(0, 0, 0, 0.52);
  --radius-lg: 32px;
  --radius-md: 22px;
  --page-width: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: #12376f #020817;
  overflow-x: clip;
}

body {
  --cursor-x: 50vw;
  --cursor-y: 38vh;
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(9, 38, 91, 0.26), transparent 52%),
    radial-gradient(ellipse at 0% 100%, rgba(5, 24, 59, 0.32), transparent 58%),
    linear-gradient(135deg, #020817 0%, #010207 52%, #041229 100%);
  background-attachment: fixed;
  color: var(--text);
  isolation: isolate;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.home-body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(19, 62, 130, 0.2), transparent 22rem);
  mix-blend-mode: screen;
  animation: storm-sky-flash 6.4s linear infinite;
}

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);
  outline-offset: 4px;
}

::selection {
  background: rgba(121, 231, 255, 0.28);
  color: #fff;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ice);
  color: var(--midnight);
  font-weight: 900;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.storm-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 1;
  filter: saturate(1.35) contrast(1.16);
  mix-blend-mode: screen;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora {
  position: absolute;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.28;
  animation: aurora-float 12s ease-in-out infinite alternate;
}

.aurora-one {
  top: -26vw;
  right: -7vw;
  background: #0a2a62;
}

.aurora-two {
  bottom: -35vw;
  left: -20vw;
  background: #061738;
  animation-duration: 16s;
  animation-direction: alternate-reverse;
}

.noise-layer {
  position: absolute;
  inset: -30%;
  opacity: 0.06;
  background-image:
    radial-gradient(circle, #fff 0 0.7px, transparent 0.9px),
    radial-gradient(circle, var(--cyan) 0 0.6px, transparent 0.8px);
  background-position: 0 0, 17px 21px;
  background-size: 29px 31px, 37px 43px;
  animation: noise-drift 22s linear infinite;
}

.page {
  position: relative;
  z-index: 2;
  width: min(var(--page-width), calc(100% - 40px));
  margin: 0 auto;
}

.home-page {
  padding: 24px 0 36px;
}

[data-reveal].reveal-ready {
  opacity: 0;
  filter: blur(7px);
  translate: 0 30px;
  transition:
    opacity 820ms cubic-bezier(0.2, 0.75, 0.2, 1),
    filter 820ms cubic-bezier(0.2, 0.75, 0.2, 1),
    translate 820ms cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].reveal-ready.is-visible {
  opacity: 1;
  filter: blur(0);
  translate: 0 0;
}

.site-header {
  position: relative;
  z-index: 20;
}

.nav {
  position: relative;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: linear-gradient(115deg, rgba(10, 25, 52, 0.82), rgba(4, 10, 25, 0.62));
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  overflow: hidden;
  isolation: isolate;
}

.brand {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
}

.brand-mark {
  position: relative;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  border: 1px solid rgba(121, 231, 255, 0.42);
  border-radius: 15px;
  background: #06112a;
  box-shadow: 0 0 30px rgba(44, 125, 255, 0.3), inset 0 0 20px rgba(121, 231, 255, 0.08);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  line-height: 0.86;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: 0.16em;
}

.brand-copy small {
  margin-top: 7px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 0.48em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-anchor {
  padding: 12px 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  transition: color 180ms ease;
}

.nav-anchor:hover {
  color: var(--ice);
}

.nav-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid rgba(121, 231, 255, 0.28);
  border-radius: 14px;
  background: rgba(44, 125, 255, 0.1);
  color: var(--cyan-bright);
  font-size: 13px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-link:hover {
  transform: translateY(-2px);
  border-color: rgba(121, 231, 255, 0.65);
  background: rgba(44, 125, 255, 0.2);
}

.nav-link-dot,
.live-signal {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 14px var(--success);
  animation: signal-pulse 1.8s ease-in-out infinite;
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(460px, 0.94fr);
  align-items: center;
  gap: 20px;
  padding: 30px 0 54px;
}

.hero-copy {
  position: relative;
  z-index: 10;
  max-width: 680px;
  padding: 50px 0;
}

.eyebrow {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  transform-origin: left center;
  animation: eyebrow-charge 2.2s ease-in-out infinite;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 680px;
  margin: 0;
  color: var(--ice);
  font-size: clamp(58px, 6.9vw, 100px);
  font-weight: 950;
  letter-spacing: -0.074em;
  line-height: 0.86;
  text-wrap: balance;
  text-shadow: 0 12px 55px rgba(0, 0, 0, 0.46);
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, var(--cyan-bright) 0%, var(--cyan) 34%, #78a7ff 68%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 220% 100%;
  filter: drop-shadow(0 0 26px rgba(121, 231, 255, 0.22));
  animation: title-spectrum 4.2s ease-in-out infinite;
}

.lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 32px;
}

.consent-note {
  max-width: 43rem;
  margin: 16px 0 0;
  color: rgba(210, 226, 255, 0.64);
  font-size: 11.5px;
  line-height: 1.65;
}

.consent-note a {
  color: #7ee8ff;
  text-decoration: underline;
  text-decoration-color: rgba(126, 232, 255, 0.38);
  text-underline-offset: 0.2em;
}

.consent-note a:hover {
  color: #fff;
}

.button {
  position: relative;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  overflow: hidden;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.01em;
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: linear-gradient(110deg, transparent 15%, rgba(255, 255, 255, 0.24) 45%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 520ms ease;
}

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

.button:hover::before {
  transform: translateX(130%);
}

.button.primary {
  border-color: rgba(121, 231, 255, 0.45);
  background: linear-gradient(125deg, #1552db 0%, var(--blue) 45%, #614de5 100%);
  box-shadow: 0 18px 50px rgba(31, 101, 244, 0.34), inset 0 1px rgba(255, 255, 255, 0.2);
  animation: button-energy 3.4s ease-in-out infinite;
}

.button.primary::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -2;
  border: 1px solid rgba(121, 231, 255, 0.56);
  border-radius: inherit;
  opacity: 0;
  animation: button-ring 2.8s ease-out infinite;
}

.button.primary:hover {
  box-shadow: 0 24px 68px rgba(31, 101, 244, 0.48), 0 0 0 1px rgba(121, 231, 255, 0.2);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.035);
  color: #d9eaff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.button.ghost:hover {
  border-color: rgba(121, 231, 255, 0.42);
  background: rgba(121, 231, 255, 0.08);
}

.button-sigil {
  color: var(--cyan-bright);
  text-shadow: 0 0 14px var(--cyan);
  animation: sigil-spin 3.8s linear infinite;
}

.button-arrow {
  font-size: 18px;
  transition: transform 180ms ease;
}

.button:hover .button-arrow {
  transform: translate(2px, -2px);
}

.storm-signature {
  width: min(470px, 100%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  margin-top: 46px;
  color: rgba(182, 211, 235, 0.45);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.28em;
}

.storm-signature i {
  height: 1px;
  background: linear-gradient(90deg, rgba(121, 231, 255, 0.46), transparent);
}

.storm-signature small {
  color: rgba(121, 231, 255, 0.58);
  font-size: inherit;
}

.hero-visual {
  position: relative;
  min-height: 700px;
  align-self: end;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 49%;
  right: -3%;
  z-index: 3;
  width: 108%;
  height: 112px;
  border: 2px solid rgba(121, 231, 255, 0.26);
  border-right-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  box-shadow: 0 0 38px rgba(44, 125, 255, 0.2), inset 0 0 34px rgba(121, 231, 255, 0.08);
  transform: perspective(760px) rotateX(72deg) rotateZ(-7deg);
  animation: energy-orbit 5.2s linear infinite;
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: 7%;
  right: -5%;
  bottom: 14px;
  z-index: 0;
  height: 42px;
  border-radius: 50%;
  background: rgba(44, 125, 255, 0.35);
  filter: blur(26px);
}

.visual-grid {
  position: absolute;
  inset: 7% -8% 2% 2%;
  z-index: 0;
  opacity: 0.22;
  border: 1px solid rgba(121, 231, 255, 0.15);
  border-radius: 50% 50% 30% 40%;
  background-image:
    linear-gradient(rgba(121, 231, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 231, 255, 0.13) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 72%);
  transform: perspective(600px) rotateY(-8deg) rotateZ(-3deg);
  animation: visual-grid-shift 10s ease-in-out infinite;
}

[data-parallax-depth] {
  --shift-x: 0px;
  --shift-y: 0px;
}

.magic-circle {
  position: absolute;
  top: 14%;
  right: -1%;
  z-index: 1;
  width: 520px;
  aspect-ratio: 1;
  border: 1px solid rgba(121, 231, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(44, 125, 255, 0.28), inset 0 0 70px rgba(121, 231, 255, 0.1);
  transform: translate3d(var(--shift-x), var(--shift-y), 0);
  animation: circle-breathe 3.8s ease-in-out infinite;
}

.magic-circle::before,
.magic-circle::after,
.magic-circle-inner {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.magic-circle::before {
  inset: 24px;
  border: 1px dashed rgba(121, 231, 255, 0.4);
  animation: ring-spin 25s linear infinite;
}

.magic-circle::after {
  inset: 70px;
  border: 1px solid rgba(128, 103, 255, 0.42);
  box-shadow: inset 0 0 42px rgba(128, 103, 255, 0.12);
}

.magic-circle-inner {
  inset: 104px;
  border: 1px dashed rgba(121, 231, 255, 0.24);
  animation: ring-spin-reverse 17s linear infinite;
}

.magic-circle-inner::before,
.magic-circle-inner::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 142%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(121, 231, 255, 0.35), transparent);
  transform: translate(-50%, -50%) rotate(45deg);
}

.magic-circle-inner::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.magic-glyph {
  position: absolute;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(121, 231, 255, 0.35);
  border-radius: 50%;
  background: rgba(5, 15, 36, 0.8);
  color: var(--cyan);
  font-size: 9px;
  font-weight: 950;
  box-shadow: 0 0 18px rgba(121, 231, 255, 0.16);
  animation: glyph-charge 2.6s ease-in-out infinite;
}

.magic-glyph:nth-of-type(3) { animation-delay: -0.65s; }
.magic-glyph:nth-of-type(4) { animation-delay: -1.3s; }
.magic-glyph:nth-of-type(5) { animation-delay: -1.95s; }

.glyph-one { top: -15px; left: calc(50% - 15px); }
.glyph-two { top: calc(50% - 15px); right: -15px; }
.glyph-three { bottom: -15px; left: calc(50% - 15px); }
.glyph-four { top: calc(50% - 15px); left: -15px; }

.character-aura {
  position: absolute;
  right: 3%;
  bottom: 5%;
  z-index: 2;
  width: 440px;
  height: 570px;
  border-radius: 48% 52% 45% 55%;
  background:
    radial-gradient(circle at 48% 34%, rgba(201, 248, 255, 0.42), transparent 20%),
    radial-gradient(ellipse at center, rgba(44, 125, 255, 0.35), rgba(128, 103, 255, 0.08) 48%, transparent 69%);
  filter: blur(17px);
  transform: translate3d(var(--shift-x), var(--shift-y), 0);
  animation: aura-pulse 3.6s ease-in-out infinite;
}

.hero-character {
  --base-x: 0%;
  position: absolute;
  right: 3%;
  bottom: 0;
  z-index: 4;
  width: auto;
  height: min(700px, 74vw);
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter:
    drop-shadow(-9px 0 0 rgba(121, 231, 255, 0.12))
    drop-shadow(0 22px 24px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 30px rgba(44, 125, 255, 0.24));
  transform: translate3d(calc(var(--base-x) + var(--shift-x)), var(--shift-y), 0);
  animation: character-float 4.8s ease-in-out infinite;
  will-change: transform;
}

.local-bolt {
  position: absolute;
  z-index: 3;
  width: 110px;
  height: 360px;
  opacity: 0;
  background: linear-gradient(180deg, #fff, var(--cyan) 55%, transparent);
  clip-path: polygon(52% 0, 70% 0, 55% 38%, 78% 34%, 33% 100%, 45% 54%, 23% 59%);
  filter: drop-shadow(0 0 8px #fff) drop-shadow(0 0 17px var(--cyan)) drop-shadow(0 0 40px var(--blue));
  transform-origin: top center;
  pointer-events: none;
}

.local-bolt-one {
  top: 1%;
  right: 6%;
  transform: rotate(16deg) scale(0.64);
  animation: local-flash-one 4.2s steps(1, end) infinite;
}

.local-bolt-two {
  top: 23%;
  left: 3%;
  transform: rotate(-19deg) scale(0.42);
  animation: local-flash-two 5.1s 1.1s steps(1, end) infinite;
}

.local-bolt-three {
  top: 5%;
  left: 23%;
  width: 76px;
  height: 260px;
  transform: rotate(-8deg) scale(0.52);
  animation: local-flash-three 3.7s 0.45s steps(1, end) infinite;
}

.auth-readout {
  position: absolute;
  left: -9%;
  bottom: 58px;
  z-index: 8;
  width: 295px;
  padding: 15px 16px 14px;
  border: 1px solid rgba(121, 231, 255, 0.3);
  border-radius: 18px;
  background: linear-gradient(125deg, rgba(7, 24, 51, 0.88), rgba(5, 9, 24, 0.76));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transform: translate3d(var(--shift-x), var(--shift-y), 0);
  animation: readout-float 3.8s ease-in-out infinite;
  overflow: hidden;
}

.auth-readout::after {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -24%;
  width: 16%;
  background: linear-gradient(90deg, transparent, rgba(201, 248, 255, 0.28), transparent);
  transform: skewX(-18deg);
  animation: readout-scan 3.4s ease-in-out infinite;
}

.readout-topline,
.readout-meta {
  display: flex;
  align-items: center;
}

.readout-topline {
  gap: 9px;
}

.readout-topline strong {
  font-size: 11px;
  letter-spacing: 0.16em;
}

.readout-topline small {
  margin-left: auto;
  color: var(--cyan);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.readout-progress {
  height: 3px;
  overflow: hidden;
  margin: 14px 0 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.readout-progress span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 14px var(--cyan);
  animation: progress-scan 3.4s ease-in-out infinite;
}

.readout-meta {
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.readout-meta b {
  color: var(--success);
  font-size: 8px;
  letter-spacing: 0.15em;
}

.power-label {
  position: absolute;
  z-index: 7;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-left: 1px solid var(--cyan);
  background: linear-gradient(90deg, rgba(5, 16, 38, 0.74), transparent);
  transform: translate3d(var(--shift-x), var(--shift-y), 0);
  animation: telemetry-float 4s ease-in-out infinite;
}

.power-label small {
  color: var(--muted);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.25em;
}

.power-label strong {
  color: var(--cyan-bright);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.power-label-one { top: 24%; right: -5%; }
.power-label-two { top: 48%; left: -2%; animation-delay: -2s; }

.content-section {
  position: relative;
  margin-top: 46px;
  padding: 90px 0;
}

.content-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  background-size: 220% 100%;
  animation: section-line 4s linear infinite;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 42px;
}

.section-heading h2,
.trust-copy h2,
.final-cta h2 {
  margin: 0;
  color: var(--ice);
  font-size: clamp(39px, 5vw, 67px);
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.section-heading h2 em {
  color: var(--cyan);
  font-style: normal;
}

.section-heading > p,
.trust-copy > p,
.final-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

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

.step-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(13, 36, 72, 0.52), rgba(5, 11, 27, 0.72)),
    var(--surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.step-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 70%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-bright), transparent);
  box-shadow: 0 0 16px var(--cyan);
  animation: card-energy-scan 4.6s ease-in-out infinite;
}

.step-card:nth-child(2)::after { animation-delay: -1.5s; }
.step-card:nth-child(3)::after { animation-delay: -3s; }

.step-card::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--blue);
  filter: blur(70px);
  opacity: 0.13;
}

.step-card.featured {
  border-color: rgba(121, 231, 255, 0.34);
  background: linear-gradient(145deg, rgba(20, 62, 120, 0.58), rgba(10, 18, 46, 0.8));
  transform: translateY(-10px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.05);
}

.step-card:hover {
  transform: translateY(-7px);
  border-color: rgba(121, 231, 255, 0.44);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.05);
}

.step-card.featured:hover {
  transform: translateY(-15px);
}

.step-index {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.step-index i {
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, rgba(121, 231, 255, 0.6), transparent);
}

.step-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 37px 0 23px;
  border: 1px solid rgba(121, 231, 255, 0.28);
  border-radius: 18px;
  background: rgba(44, 125, 255, 0.1);
  color: var(--cyan-bright);
  font-size: 23px;
  box-shadow: inset 0 0 24px rgba(121, 231, 255, 0.04), 0 0 28px rgba(44, 125, 255, 0.1);
  animation: icon-float 3.4s ease-in-out infinite;
}

.step-card:nth-child(2) .step-icon { animation-delay: -1.1s; }
.step-card:nth-child(3) .step-icon { animation-delay: -2.2s; }

.step-card h3,
.trust-list h3 {
  margin: 0;
  color: var(--ice);
  font-size: 19px;
  letter-spacing: -0.025em;
}

.step-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.step-status {
  position: absolute;
  right: 25px;
  bottom: 22px;
  left: 25px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(121, 231, 255, 0.56);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.2em;
}

.trust-section {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(46px, 7vw, 100px);
}

.trust-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.official-banner {
  position: relative;
  z-index: 2;
  width: min(100%, 400px);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border: 1px solid rgba(121, 231, 255, 0.3);
  border-radius: 28px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.5), 0 0 60px rgba(44, 125, 255, 0.14);
  transform: translate3d(0, 0, 0);
  animation: banner-float 4.6s ease-in-out infinite;
}

.trust-visual::before {
  content: "";
  position: absolute;
  inset: 7% 4%;
  z-index: 0;
  border-radius: 45%;
  background: radial-gradient(circle, rgba(44, 125, 255, 0.26), transparent 68%);
  filter: blur(30px);
  animation: trust-glow 3.8s ease-in-out infinite;
}

.trust-visual::after {
  content: "";
  position: absolute;
  inset: 18% 7%;
  z-index: 1;
  border: 1px solid rgba(121, 231, 255, 0.28);
  border-radius: 32px;
  box-shadow: 0 0 46px rgba(44, 125, 255, 0.2);
  transform: scale(0.94);
  animation: banner-frame-pulse 3.2s ease-out infinite;
}

.trust-core {
  position: absolute;
  right: -30px;
  bottom: 14px;
  z-index: 4;
  width: 178px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(121, 231, 255, 0.25);
  border-radius: 50%;
  background: rgba(4, 12, 30, 0.82);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.46), inset 0 0 42px rgba(44, 125, 255, 0.13);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  animation: core-hover 4.2s ease-in-out infinite;
}

.core-ring {
  position: absolute;
  border-radius: 50%;
}

.core-ring-one {
  inset: 10px;
  border: 1px dashed rgba(121, 231, 255, 0.52);
  animation: ring-spin 17s linear infinite;
}

.core-ring-two {
  inset: 30px;
  border: 1px solid rgba(128, 103, 255, 0.45);
  animation: core-pulse 3s ease-in-out infinite;
}

.core-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
}

.core-copy small {
  color: var(--cyan);
  font-size: 7px;
  font-weight: 950;
  letter-spacing: 0.28em;
}

.core-copy strong {
  margin-top: 4px;
  font-size: 30px;
  letter-spacing: -0.08em;
}

.core-copy strong span {
  color: var(--cyan);
}

.trust-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 23px;
}

.trust-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.trust-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.trust-list article > span {
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(121, 231, 255, 0.2);
  border-radius: 13px;
  background: rgba(44, 125, 255, 0.07);
  color: var(--cyan);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.trust-list p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.final-cta {
  position: relative;
  min-height: 270px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  margin: 34px 0 74px;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(121, 231, 255, 0.25);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 84% 12%, rgba(128, 103, 255, 0.32), transparent 23rem),
    radial-gradient(circle at 10% 100%, rgba(44, 125, 255, 0.28), transparent 25rem),
    linear-gradient(125deg, rgba(12, 37, 77, 0.84), rgba(4, 10, 27, 0.92));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.06);
  isolation: isolate;
  animation: cta-charge 4.8s ease-in-out infinite;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(121, 231, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 231, 255, 0.2) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 72%);
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.final-cta::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -24%;
  z-index: -1;
  width: 16%;
  background: linear-gradient(90deg, transparent, rgba(201, 248, 255, 0.16), rgba(128, 103, 255, 0.1), transparent);
  filter: blur(15px);
  transform: skewX(-16deg);
  animation: cta-energy-sweep 5.2s ease-in-out infinite;
}

.cta-copy {
  max-width: 720px;
}

.final-cta p:not(.eyebrow) {
  margin-top: 15px;
}

.cta-lightning {
  position: absolute;
  top: -65px;
  right: 18%;
  z-index: -1;
  width: 90px;
  height: 360px;
  opacity: 0;
  background: linear-gradient(#fff, var(--cyan), transparent);
  clip-path: polygon(52% 0, 69% 0, 54% 39%, 78% 34%, 35% 100%, 45% 55%, 24% 61%);
  filter: drop-shadow(0 0 12px var(--cyan));
  transform: rotate(21deg);
  animation: cta-strike 3.9s steps(1, end) infinite;
}

.site-footer {
  min-height: 96px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: rgba(167, 187, 210, 0.58);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-brand .brand-mark {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  border-radius: 12px;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.site-footer > span {
  justify-self: end;
  color: rgba(121, 231, 255, 0.55);
  font-weight: 900;
}

/* OAuth result and error pages rendered by api/index.js */
.center-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 0;
}

.card,
.visual-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 10%, rgba(44, 125, 255, 0.2), transparent 18rem),
    linear-gradient(145deg, rgba(13, 35, 72, 0.78), rgba(4, 9, 24, 0.94));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.055);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.result-card {
  width: min(94vw, 720px);
  padding: clamp(30px, 6vw, 55px);
  text-align: center;
  isolation: isolate;
}

.result-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(121, 231, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 231, 255, 0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(circle at center, #000, transparent 80%);
  mask-image: radial-gradient(circle at center, #000, transparent 80%);
}

.result-card::after {
  content: "";
  position: absolute;
  right: -118px;
  bottom: -155px;
  z-index: -1;
  width: 330px;
  height: 560px;
  opacity: 0.16;
  background: url("/rimuru-tempest.avif") bottom center / contain no-repeat;
  filter: drop-shadow(0 0 28px rgba(121, 231, 255, 0.45));
  pointer-events: none;
}

.result-card > * {
  position: relative;
  z-index: 2;
}

.result-card .eyebrow {
  justify-content: center;
  margin-top: 18px;
}

.result-card .eyebrow::before,
.result-card .eyebrow::after {
  content: "";
  width: 24px;
  height: 1px;
  background: rgba(121, 231, 255, 0.4);
}

.result-card h1 {
  max-width: none;
  margin: 14px 0 19px;
  font-size: clamp(38px, 7vw, 64px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.mini-banner {
  width: 180px;
  height: 92px;
  margin: 0 auto 22px;
  object-fit: contain;
  border: 1px solid rgba(121, 231, 255, 0.25);
  border-radius: 18px;
  background: rgba(4, 10, 26, 0.7);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto;
  border: 3px solid rgba(121, 231, 255, 0.45);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 7px rgba(44, 125, 255, 0.08), 0 0 42px rgba(121, 231, 255, 0.24);
}

.muted {
  max-width: 570px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.7;
}

.user-pill {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  padding: 9px 16px;
  border: 1px solid rgba(121, 231, 255, 0.24);
  border-radius: 999px;
  background: rgba(121, 231, 255, 0.07);
  color: #dffaff;
}

.tiny {
  margin: 20px 0 0;
  color: var(--cyan);
  font-size: 12px;
  line-height: 1.5;
}

.orb {
  position: absolute !important;
  z-index: 0 !important;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  filter: blur(65px);
  opacity: 0.28;
  pointer-events: none;
}

.orb-one {
  top: -70px;
  left: -70px;
  background: var(--blue);
}

.orb-two {
  right: -65px;
  bottom: -75px;
  background: var(--violet);
}

.result-card.success {
  border-color: rgba(101, 243, 196, 0.3);
}

.result-card.error {
  border-color: rgba(255, 102, 125, 0.34);
}

.result-card.error .eyebrow,
.result-card.error .tiny {
  color: #ff8fa0;
}

.error-code {
  margin: 0;
  color: transparent;
  background: linear-gradient(105deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(70px, 17vw, 132px);
  font-weight: 1000;
  letter-spacing: -0.09em;
  line-height: 0.8;
  filter: drop-shadow(0 0 28px rgba(44, 125, 255, 0.24));
}

@keyframes aurora-float {
  to { transform: translate3d(-8vw, 9vw, 0) scale(1.2); }
}

@keyframes noise-drift {
  to { transform: translate3d(90px, -65px, 0); }
}

@keyframes grid-drift {
  to { background-position: 54px 54px, 54px 54px; }
}

@keyframes storm-sky-flash {
  0%, 16.8%, 18.4%, 61.8%, 63.5%, 100% { opacity: 0; }
  17.2% { opacity: 0.2; }
  17.6% { opacity: 0.04; }
  18% { opacity: 0.32; }
  62.2% { opacity: 0.12; }
  62.7% { opacity: 0.26; }
}

@keyframes eyebrow-charge {
  0%, 100% { transform: scaleX(0.55); opacity: 0.5; }
  50% { transform: scaleX(1.2); opacity: 1; }
}

@keyframes title-spectrum {
  0%, 100% { background-position: 0% 50%; filter: drop-shadow(0 0 20px rgba(121, 231, 255, 0.18)); }
  50% { background-position: 100% 50%; filter: drop-shadow(0 0 34px rgba(121, 231, 255, 0.38)); }
}

@keyframes button-energy {
  0%, 100% { box-shadow: 0 18px 50px rgba(31, 101, 244, 0.34), inset 0 1px rgba(255, 255, 255, 0.2); }
  50% { box-shadow: 0 22px 70px rgba(31, 101, 244, 0.58), 0 0 24px rgba(121, 231, 255, 0.22), inset 0 1px rgba(255, 255, 255, 0.3); }
}

@keyframes button-ring {
  0% { opacity: 0.58; transform: scale(1); }
  75%, 100% { opacity: 0; transform: scale(1.13, 1.36); }
}

@keyframes sigil-spin {
  0% { transform: rotate(0deg) scale(0.92); }
  50% { transform: rotate(180deg) scale(1.22); }
  100% { transform: rotate(360deg) scale(0.92); }
}

@keyframes energy-orbit {
  0% { transform: perspective(760px) rotateX(72deg) rotateZ(-7deg) scale(0.94); opacity: 0.34; }
  50% { transform: perspective(760px) rotateX(72deg) rotateZ(173deg) scale(1.06); opacity: 0.82; }
  100% { transform: perspective(760px) rotateX(72deg) rotateZ(353deg) scale(0.94); opacity: 0.34; }
}

@keyframes visual-grid-shift {
  0%, 100% { transform: perspective(600px) rotateY(-8deg) rotateZ(-3deg) translate3d(0, 0, 0); opacity: 0.18; }
  50% { transform: perspective(600px) rotateY(-3deg) rotateZ(1deg) translate3d(-8px, 5px, 0); opacity: 0.34; }
}

@keyframes mobile-grid-pulse {
  0%, 100% { opacity: 0.16; background-position: 0 0; }
  50% { opacity: 0.32; background-position: 16px -10px; }
}

@keyframes glyph-charge {
  0%, 100% { color: rgba(121, 231, 255, 0.46); box-shadow: 0 0 12px rgba(121, 231, 255, 0.12); }
  50% { color: #fff; box-shadow: 0 0 28px rgba(121, 231, 255, 0.54), inset 0 0 14px rgba(44, 125, 255, 0.2); }
}

@keyframes signal-pulse {
  50% { opacity: 0.45; transform: scale(1.35); }
}

@keyframes circle-breathe {
  0%, 100% { transform: translate3d(var(--shift-x), var(--shift-y), 0) scale(0.98); opacity: 0.72; }
  50% { transform: translate3d(var(--shift-x), var(--shift-y), 0) scale(1.02); opacity: 1; }
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

@keyframes ring-spin-reverse {
  to { transform: rotate(-360deg); }
}

@keyframes aura-pulse {
  0%, 100% { transform: translate3d(var(--shift-x), var(--shift-y), 0) scale(0.9); opacity: 0.48; }
  50% { transform: translate3d(var(--shift-x), var(--shift-y), 0) scale(1.08); opacity: 0.95; }
}

@keyframes character-float {
  0%, 100% { transform: translate3d(calc(var(--base-x) + var(--shift-x)), var(--shift-y), 0); }
  50% { transform: translate3d(calc(var(--base-x) + var(--shift-x)), calc(var(--shift-y) - 14px), 0) rotate(0.35deg); }
}

@keyframes local-flash-one {
  0%, 7%, 14%, 58%, 64%, 100% { opacity: 0; }
  8% { opacity: 0.94; transform: rotate(16deg) scale(0.7); }
  9% { opacity: 0.14; }
  10% { opacity: 1; transform: rotate(14deg) scale(0.64); }
  12% { opacity: 0.36; }
  59% { opacity: 0.7; }
  61% { opacity: 0.12; }
  62% { opacity: 0.76; }
}

@keyframes local-flash-two {
  0%, 24%, 31%, 74%, 81%, 100% { opacity: 0; }
  25% { opacity: 0.78; transform: rotate(-19deg) scale(0.48); }
  26% { opacity: 0.12; }
  27% { opacity: 0.92; }
  29% { opacity: 0.28; }
  75% { opacity: 0.56; }
  77% { opacity: 0.1; }
  79% { opacity: 0.68; }
}

@keyframes local-flash-three {
  0%, 42%, 50%, 100% { opacity: 0; }
  43% { opacity: 0.82; transform: rotate(-8deg) scale(0.58); }
  44% { opacity: 0.08; }
  45% { opacity: 0.95; }
  47% { opacity: 0.22; }
  48% { opacity: 0.72; }
}

@keyframes readout-float {
  0%, 100% { transform: translate3d(var(--shift-x), var(--shift-y), 0); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.06); }
  50% { transform: translate3d(var(--shift-x), calc(var(--shift-y) - 7px), 0); box-shadow: 0 30px 76px rgba(0, 0, 0, 0.5), 0 0 34px rgba(44, 125, 255, 0.18), inset 0 1px rgba(255, 255, 255, 0.08); }
}

@keyframes readout-scan {
  0%, 15% { transform: translateX(0) skewX(-18deg); opacity: 0; }
  34% { opacity: 1; }
  60%, 100% { transform: translateX(850%) skewX(-18deg); opacity: 0; }
}

@keyframes telemetry-float {
  0%, 100% { transform: translate3d(var(--shift-x), var(--shift-y), 0); opacity: 0.68; }
  50% { transform: translate3d(calc(var(--shift-x) + 4px), calc(var(--shift-y) - 8px), 0); opacity: 1; }
}

@keyframes section-line {
  to { background-position: -220% 0; }
}

@keyframes card-energy-scan {
  0%, 18% { transform: translateX(0); opacity: 0; }
  35% { opacity: 1; }
  64%, 100% { transform: translateX(270%); opacity: 0; }
}

@keyframes icon-float {
  0%, 100% { transform: translateY(0) rotate(0deg); box-shadow: inset 0 0 24px rgba(121, 231, 255, 0.04), 0 0 28px rgba(44, 125, 255, 0.1); }
  50% { transform: translateY(-8px) rotate(3deg); box-shadow: inset 0 0 28px rgba(121, 231, 255, 0.12), 0 0 38px rgba(44, 125, 255, 0.28); }
}

@keyframes banner-float {
  0%, 100% { transform: translate3d(0, 0, 0); filter: brightness(0.96) saturate(1.02); }
  50% { transform: translate3d(0, -9px, 0); filter: brightness(1.08) saturate(1.14); }
}

@keyframes trust-glow {
  0%, 100% { transform: scale(0.9); opacity: 0.55; }
  50% { transform: scale(1.1); opacity: 1; }
}

@keyframes banner-frame-pulse {
  0% { transform: scale(0.9); opacity: 0; }
  45% { opacity: 0.58; }
  100% { transform: scale(1.08); opacity: 0; }
}

@keyframes core-hover {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-9px) rotate(2deg); }
}

@keyframes cta-charge {
  0%, 100% { box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.06); }
  50% { box-shadow: var(--shadow), 0 0 58px rgba(44, 125, 255, 0.18), inset 0 0 48px rgba(121, 231, 255, 0.035); }
}

@keyframes cta-energy-sweep {
  0%, 14% { transform: translateX(0) skewX(-16deg); opacity: 0; }
  32% { opacity: 0.86; }
  62%, 100% { transform: translateX(900%) skewX(-16deg); opacity: 0; }
}

@keyframes cta-strike {
  0%, 18%, 27%, 68%, 75%, 100% { opacity: 0; }
  19% { opacity: 0.82; transform: rotate(21deg) translateY(-4px) scale(1.05); }
  20% { opacity: 0.12; }
  21% { opacity: 1; transform: rotate(19deg) translateY(0) scale(0.98); }
  24% { opacity: 0.28; }
  69% { opacity: 0.62; }
  71% { opacity: 0.08; }
  73% { opacity: 0.7; }
}

@keyframes progress-scan {
  0%, 100% { width: 66%; opacity: 0.72; }
  50% { width: 92%; opacity: 1; }
}

@keyframes core-pulse {
  50% { opacity: 0.45; transform: scale(0.94); }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.82fr);
  }

  .hero-visual {
    margin-right: -28px;
  }

  .auth-readout {
    left: -4%;
  }

  .power-label-one {
    right: 0;
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 60px;
  }

  .hero-copy {
    max-width: 760px;
    margin: 0 auto;
    padding: 20px 0 0;
    text-align: center;
  }

  .hero-copy .eyebrow,
  .hero-actions {
    justify-content: center;
  }

  .hero-copy h1,
  .hero-copy .lead {
    margin-right: auto;
    margin-left: auto;
  }

  .storm-signature {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-visual {
    width: min(660px, 100%);
    min-height: 680px;
    margin: -20px auto 0;
  }

  .magic-circle {
    right: 5%;
  }

  .hero-character {
    right: 10%;
  }

  .character-aura {
    right: 10%;
  }

  .auth-readout {
    left: 2%;
  }

  .power-label-one {
    right: 2%;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card,
  .step-card.featured {
    min-height: 270px;
    transform: none;
  }

  .step-card:hover,
  .step-card.featured:hover {
    transform: translateY(-4px);
  }

  .step-icon {
    margin: 25px 0 18px;
  }

  .trust-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .trust-visual {
    width: min(600px, 100%);
    min-height: 390px;
    margin: 0 auto;
  }

  .trust-core {
    right: 2%;
  }

  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-cta .button {
    justify-self: start;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer > span {
    justify-self: center;
  }
}

@media (max-width: 680px) {
  body { background-attachment: scroll; }

  .content-section,
  .site-footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 760px;
  }

  .site-footer { contain-intrinsic-size: auto 220px; }

  .page {
    width: min(100% - 24px, var(--page-width));
  }

  .home-page {
    padding-top: 12px;
  }

  .nav {
    min-height: 62px;
    border-radius: 18px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 13px;
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .brand-copy small {
    margin-top: 6px;
    font-size: 8px;
  }

  .nav-anchor {
    display: none;
  }

  .nav-link {
    min-height: 42px;
    padding: 0 13px;
    font-size: 11px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-copy h1 {
    font-size: clamp(51px, 15.5vw, 76px);
  }

  .lead {
    margin-top: 23px;
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: min(100%, 390px);
  }

  .storm-signature {
    display: none;
  }

  .hero-visual {
    min-height: 570px;
    margin-top: -4px;
  }

  .visual-grid {
    inset: 7% 0 2%;
    transform: none;
    animation: mobile-grid-pulse 5.2s ease-in-out infinite;
  }

  .hero-character {
    --base-x: -50%;
    right: auto;
    left: 50%;
    height: 560px;
  }

  .character-aura {
    right: calc(50% - 210px);
    width: 420px;
    height: 470px;
  }

  .magic-circle {
    top: 11%;
    right: calc(50% - 240px);
    width: 480px;
  }

  .auth-readout {
    right: 3%;
    bottom: 26px;
    left: 3%;
    width: auto;
  }

  .power-label {
    display: none;
  }

  .local-bolt-one {
    right: -2%;
  }

  .content-section {
    margin-top: 18px;
    padding: 68px 0;
  }

  .section-heading h2,
  .trust-copy h2,
  .final-cta h2 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .step-card {
    min-height: 290px;
    padding: 22px;
  }

  .step-status {
    right: 22px;
    left: 22px;
  }

  .trust-visual {
    min-height: 300px;
  }

  .official-banner {
    border-radius: 21px;
    transform: none;
  }

  .trust-core {
    right: -4px;
    bottom: -12px;
    width: 138px;
  }

  .core-copy strong {
    font-size: 24px;
  }

  .final-cta {
    min-height: 320px;
    margin-bottom: 50px;
    border-radius: 24px;
  }

  .final-cta .button {
    width: 100%;
  }

  .result-card {
    padding: 30px 22px;
    border-radius: 24px;
  }

  .result-card::after {
    right: -150px;
    opacity: 0.1;
  }

  .result-card .actions {
    display: grid;
  }

  .result-card .button {
    width: 100%;
  }
}

@media (max-width: 440px) {
  .brand-copy {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-link-dot {
    display: none;
  }

  .hero-copy h1 {
    font-size: 49px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-character {
    height: 510px;
  }

  .magic-circle {
    right: calc(50% - 210px);
    width: 420px;
  }

  .character-aura {
    right: calc(50% - 180px);
    width: 360px;
  }

  .official-banner {
    width: 100%;
  }

  .trust-core {
    width: 116px;
  }
}

@media (forced-colors: active) {
  .storm-canvas,
  .atmosphere,
  .local-bolt,
  .magic-circle,
  .character-aura {
    display: none;
  }

  .button,
  .nav,
  .card,
  .step-card,
  .final-cta {
    border: 1px solid CanvasText;
  }
}
