/* get-app.html — onboarding / "how to create an account" guidance.
   Reuses the canonical dark tokens from the rest of the site
   (see base.css). Fully dark treatment. Static page, no page-specific JS. */

:root {
  --bg: #050607;
  --bg-2: #0b0d0f;
  --bg-3: #101214;
  --accent: #B6F500;
  --accent-dim: #8bc000;
  --text: #f4f5f6;
  --dim: rgba(255,255,255,.64);
  --dim-2: rgba(255,255,255,.46);
  --hair: rgba(255,255,255,.10);
  --hair-strong: rgba(255,255,255,.20);
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  /* Inherit --max: 1440px from base.css so the shared nav/footer and this
     page's content all use the same page frame as the rest of the site
     (was overridden to 1100px, which shifted the nav inward on this page). */
  --nav-h: 60px;
}

.display {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.014em;
  line-height: .98;
}
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* =====================================================================
   PAGE SHELL
   ===================================================================== */
.guide {
  margin-top: var(--nav-h);
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding: clamp(40px, 7vh, 88px) min(5vw, 72px) clamp(56px, 9vh, 104px);
}

/* HERO ----------------------------------------------------------------
   Full-bleed headline: spans the same width as the cards below rather
   than wrapping in a narrow column. Sized large so it fills the width
   and breaks to ~2 balanced lines. */
.guide-hero {
  margin-bottom: clamp(32px, 5vh, 56px);
}
.guide-eyebrow {
  color: var(--accent);
  margin-bottom: 18px;
}
.guide-title {
  font-size: clamp(40px, 5vw, 72px);
  color: var(--text);
  margin-bottom: 22px;
  text-wrap: balance;
}

/* =====================================================================
   PATHS — heading used inside each device-framed row.
   ===================================================================== */
.path-head {
  font-size: clamp(26px, 2.6vw, 36px);
  margin-bottom: clamp(36px, 4.6vh, 56px);
  color: var(--text);
}

/* Numbered steps ------------------------------------------------------ */
.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.4vh, 26px);
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}
.step-num {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--accent);
  color: #0F0F0F;
  flex-shrink: 0;
}
.step-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -.006em;
  font-size: 17px;
  line-height: 1.1;
  margin-bottom: 5px;
  color: var(--text);
}
.step-line {
  font-size: 15px;
  line-height: 1.5;
  color: var(--dim);
  max-width: 44ch;
}

/* App store badges */
.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.app-badges a {
  display: inline-block;
  opacity: .94;
  transition: opacity .2s var(--ease);
}
.app-badges a:hover { opacity: 1; }
.app-badges img { height: 44px; width: auto; display: block; }

/* HELP CARD ----------------------------------------------------------- */
.help-line {
  font-size: 15px;
  line-height: 1.55;
  color: var(--dim);
  margin-bottom: 24px;
}
.help-line strong { color: var(--text); font-weight: 600; }
/* Callout: the "start from the email, not the app" warning. */
.help-note {
  margin-top: clamp(36px, 4.6vh, 56px);
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  background: rgba(182,245,0,.06);
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--dim);
}
.help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* =====================================================================
   EXPLORE — alternating device-framed rows (design option). Same copy as
   the cards; phone alternates right (row 1) / left (row 2).
   ===================================================================== */
.explore {
  margin-top: clamp(48px, 8vh, 96px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vh, 40px);
}

/* Each row is a card (matches the cards above). The phone bleeds off the
   bottom edge — the card clips it via overflow:hidden. */
.explore-row {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--hair);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(32px, 4vw, 56px);
  min-height: clamp(400px, 34vw, 540px);
}
.explore-copy { grid-column: 1; position: relative; z-index: 2; }
.explore-row.is-reversed .explore-copy { grid-column: 2; }

/* Phone column — absolutely placed in one half so it can bleed past the
   card's bottom edge (anchored near the top, clipped at the bottom). */
.explore-device {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 50%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(36px, 4vw, 56px);
  z-index: 1;
}
.explore-row.is-reversed .explore-device { right: auto; left: 0; }
.explore-device::before {
  content: "";
  position: absolute;
  left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  width: min(88%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.05), transparent 68%);
  z-index: 0;
}
/* On a cream (light) row, the white glow vanishes — use a faint field-green
   tint behind the (dark) phone instead. */
.explore-row.section-light .explore-device::before {
  background: radial-gradient(circle, rgba(121,152,45,.12), transparent 68%);
}

/* CSS phone mockup wrapping the 375x812 screen SVG. */
.device {
  position: relative;
  z-index: 1;
  width: clamp(220px, 20vw, 282px);
  background: #0c0d0f;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 30px 72px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.025);
}
/* Subtle side buttons (left edge). */
.device::before,
.device::after {
  content: "";
  position: absolute;
  left: -2px;
  width: 2px;
  border-radius: 2px 0 0 2px;
  background: rgba(255,255,255,.12);
}
.device::before { top: 118px; height: 26px; }
.device::after  { top: 156px; height: 48px; }
.device-screen {
  border-radius: 34px;
  overflow: hidden;
  aspect-ratio: 375 / 812;
  background: #000;
}
.device-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================================
   RESPONSIVE — stack grids on narrow screens.
   ===================================================================== */
@media (max-width: 860px) {
  /* Stack explore rows: phone on top (in flow, full height), copy below. */
  .explore-row {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-height: 0;
  }
  .explore-device,
  .explore-row.is-reversed .explore-device {
    position: static;
    width: 100%;
    order: 1;
    padding-top: 0;
  }
  .explore-copy,
  .explore-row.is-reversed .explore-copy { grid-column: auto; order: 2; }
  .device { margin: 0 auto; }
}
@media (max-width: 620px) {
  .help-actions .btn { width: 100%; justify-content: center; }
}
