:root {
  --bg: #070b10;
  --bg-deep: #04070b;
  --surface: rgba(13, 19, 26, 0.88);
  --surface-strong: #0f1720;
  --surface-soft: rgba(18, 26, 35, 0.72);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(110, 231, 183, 0.3);
  --text: #edf4f1;
  --muted: #98a6af;
  --muted-strong: #b8c4cb;
  --accent: #6ee7b7;
  --accent-strong: #34d399;
  --accent-ink: #032117;
  --danger: #fca5a5;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(110, 231, 183, 0.1), transparent 32%),
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.08), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 36h72M36 0v72' stroke='white' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 72px 72px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select {
  font: inherit;
}

.page-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 11, 16, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 231, 183, 0.2), transparent);
}

.site-header .page-shell,
.site-footer .page-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #93f7d0);
  color: var(--accent-ink);
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 10px 30px rgba(110, 231, 183, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-eyebrow,
.eyebrow {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 700;
}

.brand-name,
.legal-header h1,
.hero h1,
.section-card h2,
.stat-value,
.success-card h2 {
  letter-spacing: -0.03em;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
}

.header-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero {
  padding-top: 56px;
  padding-bottom: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.section-card,
.legal-card,
.success-card {
  background: linear-gradient(180deg, rgba(19, 27, 36, 0.92) 0%, rgba(11, 17, 24, 0.96) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 36px;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(110, 231, 183, 0.16), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(110, 231, 183, 0.12), transparent 20%);
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(110, 231, 183, 0.2);
  background: rgba(110, 231, 183, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.3rem, 5vw, 4.15rem);
  line-height: 1.02;
}

.hero-lead {
  margin: 0 0 22px;
  max-width: 44rem;
  font-size: 1.08rem;
  color: var(--muted-strong);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.hero-point {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-point strong,
.stat-value,
.success-referral-label {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 1rem;
}

.hero-point span,
.meta-copy,
.fine-print,
.footer-copy,
.list-copy,
.legal-card p,
.legal-card li,
.success-card p,
.stats-strip p {
  color: var(--muted);
}

.hero-panel {
  padding: 26px;
}

.panel-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.panel-title {
  margin: 0;
  font-size: 1.35rem;
}

.stats-strip {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(110, 231, 183, 0.16);
  background: rgba(110, 231, 183, 0.07);
}

.stats-strip p {
  margin: 0;
  font-size: 0.95rem;
}

.stat-value-inline {
  color: var(--accent);
  font-weight: 800;
}

.entry-form {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field,
.field-full {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field-full label {
  font-size: 0.93rem;
  font-weight: 600;
}

.field input,
.field select,
.field-full input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(6, 11, 16, 0.96);
  color: var(--text);
  padding: 13px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.field input:focus,
.field select:focus,
.field-full input:focus {
  outline: none;
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 4px rgba(110, 231, 183, 0.12);
}

.checkbox-row {
  display: grid;
  gap: 10px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.checkbox input {
  margin-top: 2px;
  accent-color: var(--accent-strong);
}

.checkbox label {
  color: var(--muted-strong);
  font-size: 0.93rem;
}

.primary-button,
.secondary-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  border-radius: 12px;
  font-weight: 700;
}

.primary-button {
  border: none;
  background: linear-gradient(135deg, var(--accent), #94f4d0);
  color: var(--accent-ink);
  padding: 0 18px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(110, 231, 183, 0.18);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.status-message {
  min-height: 1.35rem;
  font-size: 0.92rem;
}

.status-message.error {
  color: var(--danger);
}

.status-message.success {
  color: var(--accent);
}

.success-card {
  display: none;
  margin-top: 18px;
  padding: 20px;
}

.success-card.is-visible {
  display: grid;
  gap: 12px;
}

.success-card h2 {
  margin: 0;
  font-size: 1.2rem;
}

.referral-box {
  padding: 14px;
  border-radius: 14px;
  background: rgba(110, 231, 183, 0.08);
  border: 1px solid rgba(110, 231, 183, 0.2);
}

.referral-link {
  display: block;
  overflow-wrap: anywhere;
  color: var(--text);
  font-weight: 700;
}

.referral-note {
  margin: 0;
  color: var(--accent);
  font-weight: 600;
}

.section-stack {
  padding-bottom: 72px;
  display: grid;
  gap: 24px;
}

.section-card {
  padding: 28px;
}

.section-card h2,
.legal-card h2 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.section-card p,
.section-card li,
.legal-card p,
.legal-card li {
  font-size: 1rem;
}

.section-card ul,
.legal-card ul,
.legal-card ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.feature-grid,
.info-grid,
.legal-grid {
  display: grid;
  gap: 18px;
}

.feature-grid,
.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.info-card h3,
.legal-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.legal-shell {
  padding-top: 48px;
  padding-bottom: 72px;
}

.legal-header {
  margin-bottom: 22px;
}

.legal-header h1 {
  margin: 10px 0 12px;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.04;
}

.legal-header p {
  margin: 0;
  max-width: 54rem;
  color: var(--muted-strong);
}

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

.legal-card {
  padding: 28px;
}

.legal-card h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 12, 0.8);
}

.site-footer .page-shell {
  padding-top: 20px;
  padding-bottom: 20px;
}

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

.footer-nav a {
  color: var(--muted-strong);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--accent);
}

.sr-only {
  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: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .info-grid,
  .hero-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header .page-shell,
  .site-footer .page-shell,
  .panel-topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .hero-panel,
  .section-card,
  .legal-card {
    padding: 22px;
  }

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