:root {
  color-scheme: dark;
  --background: #071006;
  --surface: #121b10;
  --surface-strong: #192316;
  --border: rgba(168, 255, 36, 0.2);
  --primary: #a8ff24;
  --primary-dark: #132008;
  --text: #f3f6ec;
  --muted: #aab4a0;
  --danger: #ff5f6d;
  --danger-soft: rgba(255, 95, 109, 0.12);
  --success-soft: rgba(168, 255, 36, 0.1);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.16;
  background: var(--primary);
}

.ambient-one { top: -24rem; left: -10rem; }
.ambient-two { right: -22rem; top: 20rem; opacity: 0.1; }

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

.site-header {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--primary-dark);
  background: var(--primary);
  box-shadow: 0 0 28px rgba(168,255,36,0.22);
}

.language-picker select {
  min-height: 42px;
  padding: 0 38px 0 14px;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: var(--surface);
  font: inherit;
}

.hero { padding: 82px 0 54px; max-width: 840px; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

#page-subtitle {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.75;
}

.hero .product-identity {
  display: inline-flex;
  max-width: none;
  margin-top: 22px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: rgba(168,255,36,0.07);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.steps-card {
  margin-bottom: 28px;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(168,255,36,0.3);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(168,255,36,0.1), rgba(18,27,16,0.94) 48%);
  box-shadow: var(--shadow);
}

.steps-card .eyebrow { margin-bottom: 12px; }

.steps-card ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: deletion-step;
}

.steps-card li {
  position: relative;
  min-height: 144px;
  padding: 54px 18px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(7,16,6,0.58);
  line-height: 1.55;
  counter-increment: deletion-step;
}

.steps-card li::before {
  content: "0" counter(deletion-step);
  position: absolute;
  top: 16px;
  left: 18px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: start;
}

.card,
.detail-block,
.notice-block {
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  background: rgba(18,27,16,0.92);
  box-shadow: var(--shadow);
}

.form-card { padding: clamp(26px, 5vw, 50px); }
.step-badge,
.detail-number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -0.035em; }
.muted { margin: 12px 0 32px; color: var(--muted); line-height: 1.65; }

form { display: grid; gap: 14px; }
form > label:not(.confirmation-row) { margin-top: 7px; font-size: 0.9rem; font-weight: 700; }

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

input[type="email"],
input[type="text"] {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  outline: none;
  color: var(--text);
  background: #0c140b;
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus {
  border-color: rgba(168,255,36,0.72);
  box-shadow: 0 0 0 4px rgba(168,255,36,0.08);
}

#code { font-size: 1.2rem; letter-spacing: 0.32em; }

button {
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
  transition: transform 150ms ease, opacity 150ms ease, background 150ms ease;
}

button:hover:not(:disabled) { transform: translateY(-1px); }
button:disabled { cursor: not-allowed; opacity: 0.48; }

.secondary-button {
  min-width: 126px;
  padding: 0 18px;
  color: var(--primary-dark);
  background: var(--primary);
}

.danger-button {
  min-height: 58px;
  margin-top: 10px;
  color: white;
  background: #d94352;
}

.danger-button:hover:not(:disabled) { background: #ed5262; }

.confirmation-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 10px 0 2px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
}

.confirmation-row input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--danger);
}

.status {
  padding: 13px 15px;
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  font-size: 0.9rem;
  line-height: 1.5;
}

.status.error { color: #ffabb3; background: var(--danger-soft); }
.status.success { color: var(--primary); background: var(--success-soft); }

.details { display: grid; gap: 20px; }
.detail-block,
.notice-block { padding: 32px; }
.detail-block ul { margin: 20px 0 0; padding-left: 1.25rem; color: var(--muted); line-height: 1.7; }
.detail-block li + li { margin-top: 9px; }
.retention-block p,
.notice-block p { margin: 17px 0 0; color: var(--muted); line-height: 1.7; }
.notice-block { border-color: rgba(255,198,86,0.2); background: rgba(43,34,13,0.72); }
.notice-block h2 { color: #ffd27a; font-size: 1.1rem; }

.success-panel { padding: 32px 0 10px; text-align: center; }
.success-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  color: var(--primary-dark);
  background: var(--primary);
  font-size: 1.8rem;
  font-weight: 850;
}
.success-panel p { color: var(--muted); line-height: 1.7; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 52px 0 44px;
  color: var(--muted);
  font-size: 0.86rem;
}
footer p { margin: 0; }
footer a { color: var(--primary); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 820px) {
  .hero { padding-top: 58px; }
  .steps-card ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}

@media (max-width: 560px) {
  .site-header, main, footer { width: min(100% - 24px, 1160px); }
  .site-header { min-height: 74px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero { padding: 48px 4px 38px; }
  .hero .product-identity { border-radius: 16px; }
  .steps-card ol { grid-template-columns: 1fr; }
  .steps-card li { min-height: 0; }
  .input-row { grid-template-columns: 1fr; }
  .secondary-button { min-height: 50px; }
  .form-card, .detail-block, .notice-block { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
