/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40; background: rgba(10,21,37,0.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245,183,49,0.14);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 16.5px; color: #fff; letter-spacing: -0.01em; }
.brand-logo { height: 26px; width: auto; display: block; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  display: flex; align-items: center; justify-content: center; color: var(--navy-900);
  box-shadow: 0 4px 14px rgba(234,166,17,0.35);
}
.brand-mark svg { width: 17px; height: 17px; }
.topbar .btn { padding: 10px 20px; font-size: 13.5px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 64px 0 48px;
  background: radial-gradient(ellipse 90% 60% at 15% 0%, rgba(245,183,49,0.16), transparent 55%),
              linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: #fff;
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.35; pointer-events: none;
  background-image: radial-gradient(rgba(245,183,49,0.35) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero-inner { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12.5px;
  font-weight: 600; color: var(--gold-300); background: rgba(245,183,49,0.12);
  border: 1px solid rgba(245,183,49,0.25);
  padding: 7px 14px; border-radius: 999px; letter-spacing: 0.02em;
}
.pulse-ring { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); flex-shrink: 0; }
.pulse-ring::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--gold-400);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.4); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }

.hero h1 {
  font-size: clamp(34px, 7vw, 58px); line-height: 1.03; margin: 20px 0 14px; font-weight: 800;
  max-width: 15ch; color: #fff;
}
.hero-lede { font-size: 17px; color: rgba(255,255,255,0.72); max-width: 46ch; margin-bottom: 28px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); overflow: hidden; margin: 28px 0 26px;
}
.hero-stat { background: rgba(255,255,255,0.04); padding: 18px 14px; display: flex; flex-direction: column; gap: 8px; }
.hero-stat .stat-ico {
  width: 26px; height: 26px; border-radius: 8px; background: rgba(245,183,49,0.14); color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
}
.hero-stat .stat-ico svg { width: 14px; height: 14px; }
.hero-stat .num { font-family: var(--font-mono); font-size: 19px; font-weight: 700; color: #fff; display: block; }
.hero-stat .lbl { font-size: 12px; color: rgba(255,255,255,0.55); display: block; }

.hero-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-cta-note { font-size: 13px; color: rgba(255,255,255,0.5); font-family: var(--font-mono); }

/* ---------- Sections ---------- */
.section { padding: 48px 0; border-top: 1px solid var(--border); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.section-head-left { display: flex; align-items: center; gap: 12px; }
.section-ico {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: var(--navy-900); color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
}
.section-ico svg { width: 18px; height: 18px; }
.section-head h2 { font-size: 24px; font-weight: 800; }
.section-tag {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--gold-600); text-transform: uppercase;
  letter-spacing: 0.07em; background: var(--gold-tint); padding: 5px 11px; border-radius: 999px;
  border: 1px solid rgba(202,138,4,0.15);
}

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.check-list .ico {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy-900); color: var(--gold-400);
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.check-list .ico svg { width: 12px; height: 12px; }

.comp-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .comp-grid { grid-template-columns: 1fr; } }
.comp-card {
  background: var(--surface); border-radius: var(--radius-lg); padding: 26px;
  border: 1px solid var(--border); position: relative; overflow: hidden;
}
.comp-card.dark {
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700));
  color: #fff; border-color: var(--navy-900);
}
.comp-card.dark::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 100% 0%, rgba(245,183,49,0.18), transparent 60%);
  pointer-events: none;
}
.comp-icon-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.comp-icon-row .ico-badge {
  width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.comp-card.dark .ico-badge { background: rgba(245,183,49,0.16); color: var(--gold-300); }
.comp-card:not(.dark) .ico-badge { background: var(--navy-900); color: var(--gold-400); }
.comp-icon-row .ico-badge svg { width: 16px; height: 16px; }
.comp-label { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.65; }
.comp-value { font-family: var(--font-display); font-size: 32px; font-weight: 800; margin: 8px 0 10px; position: relative; }
.comp-card:not(.dark) .comp-value { color: var(--navy-800); }
.comp-desc { font-size: 14.5px; opacity: 0.85; line-height: 1.55; position: relative; }
.comp-primary { font-size: 16.5px; font-weight: 600; line-height: 1.6; color: var(--navy-800); margin: 14px 0 0; position: relative; }

.terms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 720px) { .terms-grid { grid-template-columns: repeat(2, 1fr); } }
.term-item {
  padding: 17px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--base);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.term-item:hover { border-color: var(--gold-400); box-shadow: 0 6px 18px rgba(234,166,17,0.12); }
.term-item .t-label { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; }
.term-item .t-value { font-size: 14.5px; font-weight: 700; margin-top: 5px; color: var(--navy-800); }

/* ---------- Closing CTA ---------- */
.cta-band {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: #fff; text-align: center; padding: 52px 0 60px; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(245,183,49,0.14), transparent 60%);
}
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; font-size: 28px; margin-bottom: 10px; }
.cta-band .hero-lede { color: rgba(255,255,255,0.65); margin: 0 auto 24px; }

/* ---------- Sticky mobile apply bar ---------- */
.apply-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10,21,37,0.92); backdrop-filter: blur(12px); border-top: 1px solid rgba(245,183,49,0.15);
  display: none;
}
@media (max-width: 720px) { .apply-bar { display: block; } .hero-cta-row .btn-primary { display: none; } }

/* ---------- Form drawer ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(6,13,24,0.55); z-index: 90; opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; z-index: 91; background: var(--base); right: 0; top: 0; bottom: 0; width: min(560px, 100%);
  transform: translateX(100%); transition: transform .28s cubic-bezier(.32,.72,0,1); display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,0.2);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; flex-shrink: 0;
  background: var(--navy-900); color: #fff;
}
.drawer-head strong { color: #fff; }
.drawer-close {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06);
  color: #fff; display: flex; align-items: center; justify-content: center; transition: background .15s ease;
}
.drawer-close:hover { background: rgba(255,255,255,0.14); }
.drawer-close svg { width: 14px; height: 14px; }
.drawer-body { padding: 22px; overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; }
.drawer-foot { padding: 16px 22px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); display: flex; gap: 10px; flex-shrink: 0; }

/* Stepper */
.stepper { display: flex; gap: 6px; margin-bottom: 22px; }
.stepper i { flex: 1; height: 4px; border-radius: 4px; background: var(--border); font-style: normal; }
.stepper i.active { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); }
.step-label { font-family: var(--font-mono); font-size: 12px; color: var(--gold-600); margin-bottom: 4px; display: block; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }
.step-title { font-size: 21px; margin-bottom: 20px; font-weight: 800; color: var(--navy-900); }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; color: var(--ink-soft); }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date],
.field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--base); color: var(--ink); transition: border-color .12s ease, box-shadow .12s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold-500); outline: none; box-shadow: 0 0 0 4px rgba(234,166,17,0.12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; } }

.choice-row { display: flex; gap: 10px; flex-wrap: wrap; }
.choice {
  flex: 1; min-width: 90px; text-align: center; padding: 12px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-weight: 700; font-size: 14px; color: var(--ink-soft);
  transition: all .12s ease; position: relative;
}
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.choice.selected { border-color: var(--gold-500); background: var(--gold-tint); color: var(--gold-600); }

.file-drop {
  border: 1.5px dashed var(--border); border-radius: var(--radius-sm); padding: 22px; text-align: center;
  font-size: 13.5px; color: var(--muted); position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.file-drop svg { width: 20px; height: 20px; color: var(--navy-500); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop.has-file { border-color: var(--gold-500); background: var(--gold-tint); color: var(--gold-600); }
.file-drop.has-file svg { color: var(--gold-600); }

.review-block { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 10px; }
.review-block h4 {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-600);
  font-family: var(--font-mono); margin-bottom: 8px; font-weight: 700;
}
.review-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 4px 0; }
.review-row span:first-child { color: var(--muted); }
.review-row span:last-child { font-weight: 700; text-align: right; color: var(--navy-800); }

.error-text { color: var(--danger); font-size: 13px; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .error-text { display: block; }

/* ---------- Confirmation ---------- */
.confirm-wrap { text-align: center; padding: 30px 10px; }
.confirm-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--navy-900);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
  box-shadow: var(--shadow-gold);
}
.confirm-icon svg { width: 28px; height: 28px; }
.app-id-chip {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 16px; font-weight: 700; letter-spacing: 0.03em;
  background: var(--navy-900); color: #fff; padding: 11px 20px; border-radius: 12px; margin: 16px 0;
}

/* ---------- Duplicate banner ---------- */
.banner {
  display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; border-radius: var(--radius-sm);
  background: var(--gold-tint); color: #7a5308; font-size: 13.5px; margin-bottom: 16px; border: 1px solid rgba(202,138,4,0.18);
}
.banner svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 1px; color: var(--gold-600); }

footer.site-footer { padding: 36px 0 60px; text-align: center; font-size: 13px; color: var(--muted); }
footer.site-footer a { color: var(--navy-700); }
