:root {
  color-scheme: dark;
  --bg: #06111f;
  --panel: #101b2d;
  --panel-2: #14233a;
  --text: #f7fbff;
  --muted: #9fb2ca;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #28d17c;
  --accent-2: #5aa7ff;
  --warn: #ffd166;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 10%, rgba(40, 209, 124, 0.14), transparent 28rem),
    radial-gradient(circle at 82% 2%, rgba(90, 167, 255, 0.20), transparent 30rem),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  padding: 28px;
}

.wrap {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0 44px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  overflow: hidden;
  background: #071426;
  box-shadow: 0 0 24px rgba(90, 167, 255, 0.18);
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong {
  display: block;
  font-size: 17px;
}

.brand span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.back {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d7e6f8;
  text-decoration: none;
}

.hero {
  max-width: 780px;
  padding: 18px 0 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: #c8f8dc;
  font-size: 15px;
  font-weight: 750;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(40, 209, 124, 0.14);
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.99;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #c5d4e8;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.52;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.platform {
  min-height: 212px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 27, 45, 0.74);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.platform:hover {
  transform: translateY(-2px);
  border-color: rgba(90, 167, 255, 0.46);
  background: rgba(20, 35, 58, 0.88);
}

.mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #dcf8ff;
  font-size: 20px;
  font-weight: 850;
}

.platform strong {
  display: block;
  font-size: 22px;
}

.platform span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.notice,
.callout {
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 27, 45, 0.70);
  color: #d5e3f5;
  line-height: 1.55;
}

.callout {
  border-color: rgba(255, 209, 102, 0.34);
  background: rgba(255, 209, 102, 0.08);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 27, 45, 0.72);
}

.num {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(90, 167, 255, 0.16);
  color: #cfe5ff;
  font-weight: 850;
}

.step h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

.step p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.step ul {
  margin: 10px 0 0;
  padding-left: 19px;
  color: var(--muted);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.form-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 27, 45, 0.72);
}

.field {
  display: grid;
  gap: 8px;
}

.field label,
.check label {
  color: #e9f3ff;
  font-weight: 750;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 9, 18, 0.72);
  color: var(--text);
  font: inherit;
}

.field input {
  min-height: 48px;
  padding: 0 14px;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
  padding: 13px 14px;
}

.hint {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.check span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.48;
}

.status {
  min-height: 24px;
  color: #c5d4e8;
  line-height: 1.45;
}

.status.ok {
  color: #b9ffd5;
}

.status.error {
  color: #ffb8bd;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #d9e9fb;
  text-decoration: none;
  font-weight: 750;
}

.button.primary {
  border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04111e;
}

.side {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 14px;
}

.side-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 35, 58, 0.66);
}

.side-card strong {
  display: block;
  margin-bottom: 8px;
}

.side-card p,
.side-card li {
  color: var(--muted);
  line-height: 1.5;
}

.side-card p {
  margin: 0;
}

.side-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

footer {
  margin-top: 54px;
  padding: 24px 0 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 12px;
}

.footer-links a {
  color: #a9d0ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 920px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .side {
    position: static;
  }
}

@media (max-width: 560px) {
  .page {
    padding: 18px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 28px;
  }

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

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