:root {
  --navy: #143358;
  --navy-deep: #0d2645;
  --cream: #F5EFE0;
  --cream-dim: rgba(245,239,224,0.60);
  --cream-faint: rgba(245,239,224,0.07);
  --cream-border: rgba(245,239,224,0.12);
  --coral: #F26B5E;
  --coral-glow: rgba(242,107,94,0.22);
  --teal: #5DA8A3;
  --teal-glow: rgba(93,168,163,0.20);
  --green-soft: #8DD49C;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--navy-deep);
  color: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── Background ─────────────────────────────────── */
.bg-video {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.52;
  pointer-events: none;
}
.bg-layer {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 85% 15%, rgba(242,107,94,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 15% 85%, rgba(93,168,163,0.07) 0%, transparent 55%),
    linear-gradient(160deg, rgba(20,51,88,0.48) 0%, rgba(13,38,69,0.55) 55%, rgba(10,29,53,0.60) 100%);
}

/* ─── Layout ─────────────────────────────────────── */
.container {
  position: relative; z-index: 2;
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

/* ─── Hero ───────────────────────────────────────── */
.hero {
  text-align: center;
  margin-bottom: 48px;
}
.hero-logo {
  height: 88px;
  width: auto;
  margin: 0 auto 20px;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.40));
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--cream-faint);
  border: 1px solid var(--cream-border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.hero-pill-play {
  background: rgba(93,168,163,0.12);
  border-color: rgba(93,168,163,0.30);
  color: #7dc8c3;
}
.hero-hl {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.12;
  color: var(--cream);
  margin-bottom: 20px;
}
.hero-hl-grad {
  background: linear-gradient(110deg, #F5EFE0 10%, var(--coral) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 16px;
  color: rgba(245,239,224,0.72);
  line-height: 1.65;
  max-width: 400px;
  margin: 0 auto;
  font-weight: 400;
}

/* ─── Feature grid ───────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.feat-card {
  background: var(--cream-faint);
  border: 1px solid var(--cream-border);
  border-radius: 20px;
  padding: 22px 18px;
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  transition: border-color 0.2s, background 0.2s;
}
.feat-card:hover {
  background: rgba(245,239,224,0.10);
  border-color: rgba(245,239,224,0.18);
}
.feat-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feat-icon.coral {
  background: var(--coral-glow);
  border: 1px solid rgba(242,107,94,0.30);
  color: #f4917f;
}
.feat-icon.teal {
  background: var(--teal-glow);
  border: 1px solid rgba(93,168,163,0.30);
  color: #7dc8c3;
}
.feat-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -0.2px;
  margin-bottom: 6px;
  line-height: 1.2;
}
.feat-body {
  font-size: 12px;
  color: var(--cream-dim);
  line-height: 1.55;
}

/* ─── Glass card ─────────────────────────────────── */
.glass {
  background: var(--cream-faint);
  border: 1px solid var(--cream-border);
  border-radius: 24px;
  padding: 32px 24px;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 28px 64px rgba(0,0,0,0.32);
  margin-bottom: 16px;
}
.glass-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--coral);
  opacity: 0.75;
  margin-bottom: 10px;
}
.glass h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -0.4px;
  line-height: 1.25;
  margin-bottom: 8px;
}
.glass > p {
  font-size: 14px;
  color: var(--cream-dim);
  line-height: 1.55;
}

/* ─── Form ───────────────────────────────────────── */
.form-group { margin-top: 20px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 7px;
  letter-spacing: 0.1px;
}
.form-input {
  width: 100%;
  padding: 14px 15px;
  background: rgba(245,239,224,0.05);
  border: 1px solid var(--cream-border);
  border-radius: 13px;
  color: var(--cream);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.form-input::placeholder { color: rgba(245,239,224,0.30); }
.form-input:focus {
  outline: none;
  border-color: rgba(242,107,94,0.60);
  background: rgba(245,239,224,0.08);
}
.cargo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 7px;
}
.cargo-opt {
  position: relative;
  padding: 13px 10px;
  background: rgba(245,239,224,0.05);
  border: 1px solid var(--cream-border);
  border-radius: 13px;
  color: var(--cream-dim);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
}
.cargo-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cargo-opt.sel {
  background: var(--coral-glow);
  border-color: rgba(242,107,94,0.50);
  color: #f4917f;
}
.cargo-opt:hover { background: rgba(245,239,224,0.09); }

/* ─── CTA button ─────────────────────────────────── */
.cta {
  width: 100%;
  padding: 17px;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
  cursor: pointer;
  margin-top: 24px;
  box-shadow: 0 12px 32px rgba(242,107,94,0.38), 0 2px 8px rgba(0,0,0,0.20);
  transition: transform 0.12s, box-shadow 0.12s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}
.cta:active { transform: translateY(1px); box-shadow: 0 8px 20px rgba(242,107,94,0.30); }
.cta:disabled {
  background: rgba(245,239,224,0.10);
  color: var(--cream-dim);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ─── Steps grid ─────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.step-card {
  background: rgba(245,239,224,0.05);
  border: 1px solid rgba(245,239,224,0.10);
  border-radius: 16px;
  padding: 16px;
}
.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.step-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--coral);
  line-height: 1;
  letter-spacing: -1px;
}
.step-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(242,107,94,0.12);
  border: 1px solid rgba(242,107,94,0.22);
  color: #f4917f;
  display: flex; align-items: center; justify-content: center;
}
.step-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 5px;
  line-height: 1.2;
}
.step-desc {
  font-size: 12px;
  color: var(--cream-dim);
  line-height: 1.5;
}
.step-desc strong { color: var(--cream); }

/* ─── Trust block ────────────────────────────────── */
.trust {
  margin-top: 28px;
  padding: 18px;
  background: rgba(245,239,224,0.03);
  border: 1px solid rgba(245,239,224,0.07);
  border-radius: 16px;
}
.trust-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.trust-row:last-child { margin-bottom: 0; }
.trust-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(46,125,50,0.18);
  color: var(--green-soft);
  display: flex; align-items: center; justify-content: center;
}
.trust-txt {
  font-size: 12.5px;
  color: var(--cream-dim);
  line-height: 1.55;
  flex: 1;
}
.trust-txt strong { color: var(--cream); }
.hash {
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 10px;
  color: rgba(245,239,224,0.40);
  word-break: break-all;
  margin-top: 6px;
  padding: 6px 8px;
  background: rgba(0,0,0,0.22);
  border-radius: 6px;
  display: block;
}

/* ─── Misc ───────────────────────────────────────── */
.reveal { display: none; }
.reveal.show { display: block; animation: fadeUp 0.4s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

a { color: rgba(242,107,94,0.80); text-decoration: none; }
a:hover { color: var(--coral); }

.err {
  color: #FF8E7A;
  font-size: 12.5px;
  margin-top: 8px;
  display: none;
}
.err.show { display: block; }

.login-link {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--cream-dim);
}
.login-link a { font-weight: 700; }
.login-link-help { margin-top: 18px; }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 360px) {
  .hero-hl { font-size: 28px; }
  .feat-grid { grid-template-columns: 1fr; }
}
