:root {
  --bg: #0b1020;
  --bg-accent: #111933;
  --panel: rgba(12, 19, 39, 0.86);
  --panel-border: rgba(255, 255, 255, 0.12);
  --text: #f6f8fc;
  --muted: rgba(246, 248, 252, 0.72);
  --line: rgba(255, 255, 255, 0.14);
  --brand: #7dd3fc;
  --brand-strong: #38bdf8;
  --danger: #ef4444;
  --danger-strong: #dc2626;
  --success: #22c55e;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --max-width: 860px;
}

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

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 34%),
    linear-gradient(180deg, #0b1020 0%, #090d18 100%);
  color: var(--text);
}

a {
  color: var(--brand);
}

a:hover {
  color: var(--brand-strong);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header,
.site-footer,
.page-main {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px 0 20px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.28), rgba(14, 165, 233, 0.52));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.brand-mark img {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.page-main {
  flex: 1;
  padding: 20px 0 48px;
}

.hero {
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.08);
  border: 1px solid rgba(125, 211, 252, 0.18);
  color: var(--brand);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.08;
}

.lead {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 40px);
  backdrop-filter: blur(18px);
}

.stack {
  display: grid;
  gap: 22px;
}

.section + .section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.section p,
.section li {
  color: var(--muted);
  line-height: 1.78;
}

.section ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.notice {
  border-left: 4px solid var(--danger);
  background: rgba(239, 68, 68, 0.08);
  border-radius: var(--radius-md);
  padding: 18px 18px 18px 16px;
}

.notice strong {
  display: inline-block;
  margin-bottom: 6px;
}

.status-list {
  margin: 0;
  padding-left: 20px;
}

.status-list li + li {
  margin-top: 8px;
}

.form-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

.field span {
  font-size: 0.96rem;
  font-weight: 600;
}

.field input[type="email"] {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

.field input[type="email"]::placeholder {
  color: rgba(246, 248, 252, 0.42);
}

.field input[type="email"]:focus {
  outline: 2px solid rgba(56, 189, 248, 0.4);
  border-color: rgba(56, 189, 248, 0.5);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.checkbox-row label {
  color: var(--muted);
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  font: inherit;
  cursor: pointer;
}

.button:hover {
  background: rgba(255, 255, 255, 0.09);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand-strong), #0284c7);
  border-color: rgba(56, 189, 248, 0.5);
}

.button-primary:hover {
  background: linear-gradient(135deg, #22b9f7, #0369a1);
}

.button-danger {
  background: linear-gradient(135deg, var(--danger), var(--danger-strong));
  border-color: rgba(239, 68, 68, 0.5);
}

.button-danger:hover {
  background: linear-gradient(135deg, #f43f5e, #b91c1c);
}

.small-note,
.muted {
  color: var(--muted);
}

.small-note {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.status-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 700;
}

.status-icon.success {
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
}

.status-icon.danger {
  background: rgba(239, 68, 68, 0.12);
  color: var(--danger);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0 32px;
  color: rgba(246, 248, 252, 0.55);
  font-size: 0.9rem;
}

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

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .button-row {
    width: 100%;
  }

  .button {
    width: 100%;
  }
}
