:root {
  --cyan: #00E5FF;
  --magenta: #FF2BD6;
  --gold: #FFD166;
  --black: #05050A;
  --text: #F2F4F8;
  --muted: #9AA3B2;
  --glass: rgba(8, 10, 18, 0.82);
  --border: rgba(0, 229, 255, 0.28);
  --font: "Segoe UI", system-ui, -apple-system, Inter, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse at 12% -10%, rgba(0, 229, 255, 0.14), transparent 46%),
    radial-gradient(ellipse at 100% 0%, rgba(255, 43, 214, 0.12), transparent 42%),
    radial-gradient(ellipse at 50% 120%, rgba(255, 209, 102, 0.06), transparent 40%);
}
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::selection { background: rgba(0, 229, 255, 0.28); color: var(--text); }
.skip {
  position: absolute; left: 12px; top: 8px; z-index: 5;
  transform: translateY(-140%);
  background: var(--black); color: var(--text);
  padding: 8px 12px; border-radius: 8px;
}
.skip:focus { transform: none; }
.wrap { max-width: 920px; margin: 0 auto; padding: 24px 16px 72px; }
.nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 22px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.18);
}
.brand {
  font-weight: 800; letter-spacing: 0.14em; display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; min-height: 44px;
}
.brand img {
  width: 40px; height: 40px; border-radius: 10px;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.35);
}
.lang-switch {
  display: inline-flex; align-items: center; gap: 1px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; line-height: 1;
}
.lang-switch a {
  color: var(--muted); text-decoration: none;
  min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
}
.lang-switch a[aria-current="page"] { color: var(--cyan); }
.lang-switch a:hover { color: var(--text); }
.lang-switch .sep { color: rgba(242, 244, 248, 0.28); user-select: none; }
html.i18n-boot body { visibility: hidden; }

.sheet {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px 18px 28px;
  backdrop-filter: blur(16px);
  box-shadow: 0 0 48px rgba(0, 229, 255, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.kicker {
  color: var(--cyan); font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.22em; text-transform: uppercase;
}
h1 {
  margin-top: 8px; font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: 1.02; letter-spacing: -0.03em; font-weight: 800;
}
.glitch { position: relative; display: inline-block; }
.glitch__layer {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0;
}
.glitch__layer--c { color: var(--cyan); }
.glitch__layer--m { color: var(--magenta); }
.title-crack { display: block; width: min(100%, 420px); height: 28px; margin: 6px 0 8px; }
.title-crack path {
  fill: none; stroke: url(#crack-stroke); stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.65));
}
.lede { color: var(--text); font-size: 1.02rem; max-width: 62ch; }
.meta { color: var(--muted); font-size: 0.92rem; margin: 12px 0 0; }
.meta strong { color: var(--gold); font-weight: 650; }
.identity {
  display: grid; gap: 8px; margin: 18px 0 0; padding: 0;
}
.identity div {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 5, 10, 0.45);
  border-radius: 12px; padding: 10px 12px; min-width: 0;
}
.identity dt { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.identity dd { color: var(--text); font-weight: 700; overflow-wrap: break-word; }

.callout {
  margin-top: 18px; padding: 14px 14px 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 209, 102, 0.45);
  background: linear-gradient(90deg, rgba(255, 209, 102, 0.12), rgba(5, 5, 10, 0.2));
  box-shadow: inset 3px 0 0 var(--gold);
}
.callout strong { color: var(--gold); display: block; margin-bottom: 4px; letter-spacing: 0.04em; }

h2 {
  margin: 28px 0 12px; font-size: 1.15rem; color: var(--cyan);
  letter-spacing: 0.02em;
}
.rail {
  list-style: none; position: relative;
  display: grid; gap: 16px; margin: 8px 0 0; padding: 0;
}
.rail > li {
  position: relative;
  margin-left: 18px;
  padding: 16px 16px 16px 38px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--accent, var(--cyan)) 42%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent, var(--cyan)) 12%, transparent), transparent 42%),
    rgba(5, 5, 10, 0.55);
}
.rail > li::before {
  content: ""; position: absolute; left: -1px; top: 54px; bottom: -36px; width: 2px;
  background: linear-gradient(var(--gold), rgba(255, 43, 214, 0.05));
  box-shadow: 0 0 10px rgba(255, 209, 102, 0.4);
}
.rail > li:last-child::before { display: none; }
.rail__n {
  position: absolute; left: -20px; top: 14px;
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; font-weight: 800; letter-spacing: 0.04em;
  background: #05050A; border: 1px solid var(--accent, var(--cyan));
  color: var(--accent, var(--cyan));
  box-shadow: 0 0 16px var(--glow, rgba(0, 229, 255, 0.55)), inset 0 0 10px rgba(255, 255, 255, 0.04);
  z-index: 1;
}
.step--1 { --accent: var(--cyan); --glow: rgba(0, 229, 255, 0.6); }
.step--2 { --accent: var(--magenta); --glow: rgba(255, 43, 214, 0.55); }
.step--3 { --accent: var(--gold); --glow: rgba(255, 209, 102, 0.55); }
.rail h3 { font-size: 1.05rem; line-height: 1.25; margin-bottom: 6px; }
.rail p + p { margin-top: 8px; }
.rail p { color: var(--text); font-size: 0.96rem; }

.panel {
  margin-top: 16px; padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: rgba(5, 5, 10, 0.55);
}
.fields { display: grid; gap: 14px; }
label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; }
.req { color: var(--magenta); }
.help { display: block; color: var(--muted); font-weight: 450; font-size: 0.84rem; margin-top: 2px; }
input[type="text"], input[type="email"] {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border-radius: 12px; border: 1px solid rgba(0, 229, 255, 0.28);
  background: #090b12; color: var(--text); font: inherit; font-size: 1rem;
}
input::placeholder { color: #7e8796; }
input:focus-visible { border-color: var(--cyan); }
.check {
  display: flex; gap: 12px; align-items: flex-start;
  font-weight: 450; font-size: 0.95rem; line-height: 1.45;
}
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--magenta); }
.form-error, .form-status {
  margin-top: 12px; padding: 10px 12px; border-radius: 12px; font-size: 0.92rem;
}
.form-error { color: #ffd0ea; background: rgba(255, 43, 214, 0.12); border: 1px solid rgba(255, 43, 214, 0.4); }
.form-status { color: #d8fbff; background: rgba(0, 229, 255, 0.08); border: 1px solid rgba(0, 229, 255, 0.35); }
[hidden] { display: none !important; }

.send {
  position: relative; overflow: hidden; isolation: isolate;
  width: 100%; min-height: 52px; margin-top: 16px;
  border-radius: 14px; cursor: pointer;
  border: 1px solid rgba(255, 43, 214, 0.72);
  background: linear-gradient(180deg, rgba(255, 43, 214, 0.2), rgba(5, 5, 10, 0.9));
  color: var(--text); font: inherit; font-weight: 800; letter-spacing: 0.04em;
  box-shadow: 0 0 22px rgba(255, 43, 214, 0.28);
}
.send__label { position: relative; z-index: 1; }
.send__shine {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.22), transparent 70%);
  transform: translateX(-120%);
}
.send:hover, .send:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 28px rgba(255, 209, 102, 0.35), 0 0 24px rgba(255, 43, 214, 0.35);
}
.send:active { transform: translateY(1px); }
.form-foot { color: var(--muted); font-size: 0.86rem; margin-top: 10px; }

.data-list { margin: 8px 0 0 1.1rem; }
.data-list li { margin: 6px 0; }
.keep { margin-top: 8px; }
.keep li { margin: 8px 0; }
.pay {
  margin-top: 8px; color: var(--text);
}

.links-row { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer {
  margin-top: 22px; text-align: center; color: #5a6270; font-size: 0.8rem;
}

@media (min-width: 720px) {
  .wrap { padding: 32px 24px 80px; }
  .sheet { padding: 32px 32px 36px; }
  .identity { grid-template-columns: repeat(3, 1fr); }
  .rail > li { padding: 18px 20px 18px 42px; }
}

@media (prefers-reduced-motion: no-preference) {
  .sheet { animation: sheetIn 0.7s cubic-bezier(.16, .84, .32, 1) both; }
  .rail > li { animation: sheetIn 0.7s cubic-bezier(.16, .84, .32, 1) both; }
  .step--2 { animation-delay: 0.1s; }
  .step--3 { animation-delay: 0.2s; }
  .rail__n { animation: pulse 2.8s ease-in-out infinite; }
  .step--2 .rail__n { animation-delay: 0.45s; }
  .step--3 .rail__n { animation-delay: 0.9s; }
  .glitch__layer--c { animation: glitchC 4.6s infinite linear; }
  .glitch__layer--m { animation: glitchM 4.2s infinite linear; }
  .title-crack path {
    stroke-dasharray: 8 6;
    animation: crackRun 2.8s linear infinite;
  }
  .send__shine { animation: shine 3.6s ease-in-out infinite; }
  .send { animation: btnGlow 2.8s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .send:active { transform: none; }
}

@keyframes sheetIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 10px var(--glow); filter: brightness(1); }
  50% { box-shadow: 0 0 22px var(--glow), 0 0 36px var(--glow); filter: brightness(1.18); }
}
@keyframes glitchC {
  0%, 82%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 55% 0); }
  86% { opacity: 0.9; transform: translate(-2px, 0); clip-path: inset(0 0 58% 0); }
  90% { opacity: 0.55; transform: translate(2px, -1px); }
}
@keyframes glitchM {
  0%, 84%, 100% { opacity: 0; transform: none; clip-path: inset(60% 0 0 0); }
  88% { opacity: 0.85; transform: translate(2px, 1px); clip-path: inset(48% 0 0 0); }
  93% { opacity: 0; transform: none; }
}
@keyframes crackRun { to { stroke-dashoffset: -56; } }
@keyframes shine {
  0%, 62% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 16px rgba(255, 43, 214, 0.22); }
  50% { box-shadow: 0 0 28px rgba(255, 43, 214, 0.42), 0 0 18px rgba(0, 229, 255, 0.18); }
}
