:root {
  --bg-top: #08111B;
  --bg-bottom: #0E1B2A;
  --card: #1A2A3F;
  --card-elevated: #203148;
  --card-soft: #2A3C55;
  --text: #F8FAFC;
  --text-muted: #B8C5D8;
  --text-subtle: #7F90A8;
  --accent: #92CEFB;
  --accent-soft: rgba(146, 206, 251, 0.16);
  --accent-stroke: rgba(146, 206, 251, 0.32);
  --gold: #AD966D;
  --gold-soft: rgba(173, 150, 109, 0.18);
  --outline: rgba(255, 255, 255, 0.08);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1100px;
  --content-pad: 24px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-top);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background:
    radial-gradient(1100px 600px at 70% -10%, rgba(146, 206, 251, 0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(173, 150, 109, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3 { color: var(--text); margin: 0 0 0.5em; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--content-pad);
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.wordmark {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.3));
}
.brand-tag {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-left: 1px solid var(--outline);
  padding-left: 14px;
}
.topbar-cta {
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-stroke);
}
.topbar-cta:hover { background: rgba(146, 206, 251, 0.24); text-decoration: none; }

/* Hero */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px var(--content-pad) 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 14px;
}
.lede {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 56ch;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 12px;
}
.fine {
  font-size: 0.86rem;
  color: var(--text-subtle);
}
.hero-media { display: flex; justify-content: center; }

/* Video overlay */
.video-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.hero-video {
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--outline);
  box-shadow: var(--shadow);
  background: black;
  display: block;
}
.video-overlay {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  background: linear-gradient(
    160deg,
    rgba(8, 17, 27, 0.45) 0%,
    rgba(8, 17, 27, 0.20) 40%,
    rgba(8, 17, 27, 0.55) 100%
  );
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  transition: opacity 0.25s ease;
}
.video-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.video-overlay-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.video-play-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  padding: 0;
}
.video-overlay:hover .video-play-btn {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.06);
}
.video-play-btn svg { margin-left: 4px; }
.video-overlay-hint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.05s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #0E1B2A;
  border-color: var(--accent);
}
.btn-primary:hover { background: #B7DEFC; }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--outline);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.04); }
.btn-large {
  padding: 16px 28px;
  font-size: 1.08rem;
  border-radius: 14px;
}

/* Sections */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px var(--content-pad);
}
.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  border-top: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
  max-width: none;
}
.section-alt > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}
.section-head { margin-bottom: 28px; max-width: 64ch; }
.section-head p { color: var(--text-muted); margin: 0; }
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(173, 150, 109, 0.4);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 12px;
}
.prose { max-width: 64ch; color: var(--text-muted); }

/* Two-column layouts */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col.reverse { grid-template-columns: 1fr 1fr; }
.two-col.reverse .col-media { order: -1; }
.col-media {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.col-text { color: var(--text-muted); }
.col-text p { color: var(--text-muted); }
.col-text strong, .col-text code { color: var(--text); }
.col-text code {
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.92em;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 1em 0 0;
}
.checks li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
  color: var(--text-muted);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.phone-shot {
  width: 100%;
  max-width: 240px;
  border-radius: 28px;
  border: 1px solid var(--outline);
  box-shadow: var(--shadow);
}
.phone-shot-tall { max-width: 280px; }

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-stroke);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
}
.step-body h3 { margin-bottom: 6px; }
.step-body p { color: var(--text-muted); }

/* Credentials */
.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0;
}
.cred {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cred-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  font-weight: 600;
}
.cred-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--card-elevated);
  border: 1px solid var(--outline);
  color: var(--text);
  font: inherit;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.cred-chip:hover {
  background: var(--card-soft);
  border-color: var(--accent-stroke);
}
.cred-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.cred-value { font-weight: 500; }
.cred-action {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
  padding-left: 12px;
  border-left: 1px solid var(--outline);
}
.cred-chip.is-copied {
  background: var(--accent-soft);
  border-color: var(--accent-stroke);
}
.cred-chip.is-copied .cred-action { color: var(--accent); }

/* Contact card (in feedback section) */
.contact-card {
  margin-top: 14px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--outline);
  border-radius: var(--radius-sm);
}
.contact-name {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--text);
}
.contact-line {
  margin: 0;
  line-height: 1.7;
  color: var(--text-muted);
}
.contact-line a { color: var(--accent); }

/* Final CTA */
.section-cta {
  text-align: center;
  padding: 64px var(--content-pad);
}
.section-cta h2 { margin: 0 0 12px; }
.section-cta > p { color: var(--text-muted); margin: 0 auto 28px; max-width: 56ch; }
.section-cta .btn { margin: 0 0 28px; }
.section-cta .fine { margin: 0 auto; max-width: 56ch; }

/* Footer */
.footer {
  background: #060D15;
  border-top: 1px solid var(--outline);
  padding: 28px var(--content-pad);
  margin-top: 0;
  text-align: center;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer .wordmark-footer {
  height: 22px;
  opacity: 0.7;
  margin: 0 auto 8px;
}
.footer-tag {
  margin: 0;
  color: var(--text-subtle);
  font-size: 0.88rem;
}

/* Responsive */
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 32px var(--content-pad) 24px;
    gap: 32px;
  }
  .video-wrap { max-width: 320px; }
  .two-col, .two-col.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .two-col.reverse .col-media { order: 0; }
  .col-media { gap: 14px; }
  .phone-shot { max-width: 180px; }
  .phone-shot-tall { max-width: 220px; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; }
}

@media (max-width: 460px) {
  .topbar { gap: 8px; }
  .wordmark { height: 22px; }
  .brand-tag { font-size: 0.85rem; padding-left: 10px; }
  .topbar-cta { padding: 6px 10px; font-size: 0.85rem; }
  .creds { flex-direction: column; }
  .cred-chip { width: 100%; justify-content: space-between; }
}
