/* ============================================================
   Passport landing — passport.audio
   Brand tokens lifted from the app UI (scene-renamer/web/index.html).
   Amber accent #EF9F27. Dark ground. Mono for anything technical.
   ============================================================ */

:root {
  --bg: #0E1217;
  --bg-raised: #12181f;
  --card: #161C23;
  --border: #1e2630;
  --border-strong: #2a333e;
  --text: #E6EDF3;
  --text-2: #8a95a1;
  --text-3: #5f6a76;
  --accent: #EF9F27;
  --accent-dim: #ba7517;
  --accent-faint: #2a2113;
  --on-accent: #412402;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.accent { color: var(--accent); }
.hl { color: var(--accent); font-weight: 400; }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 24px;
}

.hero__center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 72px;
}

.hero__wordmark {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(44px, 8vw, 76px);
  font-weight: 300;
  letter-spacing: 0.04em;
  animation: fadeUp 0.9s ease-out both;
}

.hero__dot {
  width: 0.32em;
  height: 0.32em;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.hero__tagline {
  color: var(--text-2);
  font-size: clamp(15px, 2.4vw, 19px);
  letter-spacing: 0.06em;
  animation: fadeUp 0.9s ease-out 0.25s both;
}

.hero__line {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
  animation: fadeUp 0.9s ease-out 0.4s both;
}

/* The scene strip — Passport's signature visual */
.strip {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  max-width: min(920px, 92vw);
  overflow: hidden;
  animation: fadeUp 1s ease-out 0.6s both;
}

.clip {
  flex: 0 0 auto;
  min-width: 56px;
  background: var(--card);
  border-left: 2px solid #2f3946;
  border-radius: 0 6px 6px 0;
  padding: 8px 11px;
  white-space: nowrap;
  overflow: hidden;
  transition: background 0.5s ease, border-color 0.5s ease;
}

.clip .num {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  color: #7d8894;
  transition: color 0.5s ease;
}

.clip .loc {
  display: block;
  font-size: 10.5px;
  color: transparent;
  max-width: 0;
  transition: max-width 0.7s ease, color 0.5s ease;
}

.clip.matched {
  background: var(--accent-faint);
  border-left-color: var(--accent);
}

.clip.matched .num { color: var(--accent); font-weight: 500; }
.clip.matched .loc { color: #b9a074; max-width: 200px; }

.hero__cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.6;
}

.hero__cue-line {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, transparent, var(--text-3));
  animation: cue 2.2s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(8px); opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Sections
   ============================================================ */

.section {
  padding: clamp(88px, 14vh, 150px) 24px;
  position: relative;
}

.section__inner {
  max-width: 760px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 22px;
  text-align: center;
}

/* Delicate flanking hairlines, echoing the hero line */
.section-label--lined {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.section-label--lined::before,
.section-label--lined::after {
  content: "";
  height: 1px;
  width: 48px;
  flex: 0 0 auto;
}

.section-label--lined::before {
  background: linear-gradient(90deg, transparent, var(--accent-dim));
}

.section-label--lined::after {
  background: linear-gradient(90deg, var(--accent-dim), transparent);
}


.section__h {
  font-size: clamp(28px, 4.6vw, 42px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 30px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   Pitch
   ============================================================ */

.pitch { text-align: center; }

.pitch__h {
  text-align: left;
  text-wrap: balance;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 300;
  line-height: 1.22;
  margin-bottom: 26px;
}

.pitch__sub {
  color: var(--text-2);
  font-size: clamp(15px, 2.2vw, 18px);
  margin-bottom: 40px;
}

.pitch__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn--solid {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--solid:hover { background: #ffb23a; transform: translateY(-1px); }

.btn--ghost {
  border: 1px solid var(--border-strong);
  color: var(--text-2);
}

.btn--ghost:hover { border-color: var(--accent-dim); color: var(--text); }

.btn--big { padding: 16px 42px; font-size: 17px; }

/* ============================================================
   Story / prose sections
   ============================================================ */

.story__body p {
  color: var(--text-2);
  font-size: clamp(16px, 2.2vw, 18px);
  margin-bottom: 22px;
}

.story__body p:last-child { margin-bottom: 0; }

.vs__punch {
  font-size: clamp(18px, 2.6vw, 22px) !important;
  color: var(--text) !important;
}

/* ============================================================
   How it works
   ============================================================ */

.how__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 34px;
  margin-bottom: 52px;
}

.how__step {
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  column-gap: 22px;
}

.how__num {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how__step h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  align-self: center;
}

.how__step p {
  color: var(--text-2);
  font-size: 15.5px;
}

.how__relabel {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
}

.how__relabel-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 8px;
}

.how__tracks {
  margin-bottom: 14px;
}

.how__relabel p.how__tracknames:last-child {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent-dim);
  margin-top: 12px;
}

.how__relabel p:last-child {
  color: var(--text-2);
  font-size: 16px;
}

/* ============================================================
   Demo video
   ============================================================ */

.demo__frame {
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-raised);
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo__frame video { width: 100%; height: 100%; display: block; }

.demo__placeholder {
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.demo__play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  position: relative;
}

.demo__play::after {
  content: "";
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-left: 16px solid var(--text-3);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

/* ============================================================
   Buy
   ============================================================ */

.buy { text-align: center; }

.buy__card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 44px 40px 38px;
}

.buy__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  margin-bottom: 10px;
}

.buy__was {
  font-size: 26px;
  color: var(--text-3);
  text-decoration: line-through;
  font-weight: 300;
}

.buy__now {
  font-size: 62px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.buy__offer {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--text-2);
  margin-bottom: 30px;
}

.buy__math {
  font-size: 13px;
  color: var(--text-3);
  font-style: italic;
  margin-top: -14px;
  margin-bottom: 26px;
}

.buy__list {
  list-style: none;
  text-align: left;
  margin: 0 auto 34px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.buy__list li {
  color: var(--text-2);
  font-size: 14.5px;
  padding-left: 24px;
  position: relative;
}

.buy__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.buy__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-3);
  min-height: 20px;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faq__item dt {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
}

.faq__item dd {
  color: var(--text-2);
  font-size: 15.5px;
}

/* ============================================================
   Final CTA + footer
   ============================================================ */

.cta { text-align: center; }

.cta__h { margin-bottom: 40px; }

.footer {
  border-top: 1px solid var(--border);
  padding: 56px 24px 48px;
}

.footer__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.wordmark__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.footer__line { color: var(--text-2); font-size: 14px; }

.footer__contact a { font-size: 13px; color: var(--text-3); }

.footer__contact a:hover { color: var(--accent); }

.footer__year { color: var(--text-3); font-size: 12.5px; }

/* ============================================================
   Small screens
   ============================================================ */

@media (max-width: 560px) {
  .how__step { grid-template-columns: 40px 1fr; column-gap: 14px; }
  .how__num { width: 34px; height: 34px; font-size: 14px; }
  .buy__card { padding: 34px 22px 30px; }
  .clip { min-width: 44px; padding: 6px 8px; }
  .clip .loc { display: none; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__wordmark, .hero__tagline, .hero__line, .strip { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__cue-line { animation: none; }
}
