/* ============================================================
   OffBook — Marketing Site Styles
   Mobile-first. Dark cinematic. Electric blue + warm orange.
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --bg:           #06090f;
  --bg-surface:   #0b1020;
  --bg-card:      #101726;
  --bg-card-alt:  #0d1423;

  --blue:         #4f8eff;
  --blue-dim:     #3a6fd8;
  --blue-glow:    rgba(79, 142, 255, 0.18);
  --blue-glow-sm: rgba(79, 142, 255, 0.10);

  --orange:       #ff7a35;
  --orange-dim:   #d4601e;
  --orange-glow:  rgba(255, 122, 53, 0.16);

  --text:         #eef2fa;
  --text-muted:   #7b8ba8;
  --text-faint:   #3e4d66;

  --border:       rgba(255, 255, 255, 0.06);
  --border-blue:  rgba(79, 142, 255, 0.22);

  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    22px;
  --radius-pill:  999px;

  --font:         'Inter', system-ui, -apple-system, sans-serif;

  --shadow-card:  0 2px 24px rgba(0,0,0,0.45), 0 1px 0 rgba(255,255,255,0.04) inset;
  --shadow-phone: 0 32px 80px rgba(0,0,0,0.7), 0 2px 0 rgba(255,255,255,0.05) inset;

  --nav-h:        64px;
  --section-pad:  96px;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ── Utility ───────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── Reveal Animations ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay   { transition-delay: 0.12s; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, opacity 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(79,142,255,0.3), 0 4px 20px rgba(79,142,255,0.35);
}
.btn-primary:hover {
  background: #5e99ff;
  box-shadow: 0 0 0 1px rgba(79,142,255,0.5), 0 6px 28px rgba(79,142,255,0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-blue);
  box-shadow: inset 0 0 16px rgba(79,142,255,0.05);
}
.btn-secondary:hover {
  border-color: rgba(79,142,255,0.5);
  background: rgba(79,142,255,0.08);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text-muted);
  padding: 9px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-blue);
  background: rgba(79,142,255,0.07);
}

/* ── Badge / Label ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(79,142,255,0.1);
  border: 1px solid rgba(79,142,255,0.25);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 6px var(--blue);
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

/* ── NAV ───────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6,9,15,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Logo ──────────────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  user-select: none;
}
.logo-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange), 0 0 20px rgba(255,122,53,0.4);
  flex-shrink: 0;
}
.logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,142,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,142,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-grid-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, transparent 50%, var(--bg) 100%);
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.hero-text {
  text-align: center;
  max-width: 600px;
  z-index: 1;
}

.hero-text h1 {
  font-size: clamp(38px, 9vw, 68px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--text);
  margin-bottom: 22px;
}

.hero-br { display: none; }

.hero-sub {
  font-size: clamp(16px, 2.5vw, 18px);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ── Phone Mockup ──────────────────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.phone-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.phone-glow-blue {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(79,142,255,0.35), transparent 70%);
  top: -30px; left: 50%;
  transform: translateX(-50%);
}
.phone-glow-orange {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,122,53,0.28), transparent 70%);
  bottom: -20px; right: calc(50% - 130px);
}

.phone-frame {
  width: 234px;
  height: 472px;
  background: linear-gradient(165deg, #192038 0%, #0c1220 60%, #090e1a 100%);
  border-radius: 40px;
  border: 1.5px solid rgba(79,142,255,0.2);
  padding: 16px 12px 20px;
  box-shadow: var(--shadow-phone);
  position: relative;
  flex-shrink: 0;
}

.phone-island {
  width: 76px; height: 22px;
  background: #000;
  border-radius: 11px;
  margin: 0 auto 14px;
}

.phone-screen {
  background: #080c18;
  border-radius: 22px;
  height: calc(100% - 52px);
  overflow: hidden;
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Mock UI inside phone */
.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-scene-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(79,142,255,0.15);
  color: var(--blue);
  border: 1px solid rgba(79,142,255,0.25);
  padding: 3px 7px;
  border-radius: var(--radius-pill);
}
.mock-dot-menu {
  font-size: 14px;
  color: var(--text-faint);
  letter-spacing: 1px;
}

.mock-scene-header {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 10px;
}
.mock-scene-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.mock-roles-row {
  display: flex;
  gap: 5px;
}
.mock-role {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
}
.mock-role.you {
  background: rgba(79,142,255,0.18);
  color: var(--blue);
  border: 1px solid rgba(79,142,255,0.3);
}
.mock-role.partner {
  background: rgba(255,122,53,0.15);
  color: var(--orange);
  border: 1px solid rgba(255,122,53,0.3);
}

.mock-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow: hidden;
}
.mock-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ml-speaker {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.ml-text {
  font-size: 10px;
  line-height: 1.45;
  padding: 6px 8px;
  border-radius: 8px;
  max-width: 85%;
}
.ml-partner .ml-text {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.ml-you .ml-text {
  background: rgba(79,142,255,0.12);
  color: #a8c8ff;
  border: 1px solid rgba(79,142,255,0.2);
  align-self: flex-end;
  max-width: 90%;
}
.ml-partner .ml-speaker { color: rgba(255,122,53,0.6); }
.ml-you .ml-speaker { color: rgba(79,142,255,0.6); text-align: right; }
.ml-you { align-items: flex-end; }

.mock-cue-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 600;
  color: #a8c8ff;
  background: rgba(79,142,255,0.12);
  border: 1px solid rgba(79,142,255,0.25);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  animation: pulse-cue 1.8s ease-in-out infinite;
}
@keyframes pulse-cue {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1; }
}

.mock-controls {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}
.mock-record-ring {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,122,53,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(255,122,53,0.25);
}
.mock-record-btn {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(255,122,53,0.6);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll-hint span {
  display: block;
  width: 1.5px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--text-faint));
  margin-inline: auto;
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ── SECTION SHARED ────────────────────────────────────────── */
.section {
  padding-block: var(--section-pad);
}
.how-it-works { background: var(--bg-surface); }
.why          { background: var(--bg); }
.preview      { background: var(--bg-surface); overflow: hidden; }
.faq          { background: var(--bg); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 14px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 420px;
  margin-inline: auto;
}

/* ── HOW IT WORKS ──────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.step-card:hover {
  border-color: var(--border-blue);
  box-shadow: 0 0 0 1px rgba(79,142,255,0.08), 0 8px 32px rgba(0,0,0,0.3);
}

.step-number {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.step-icon {
  color: var(--blue);
  margin-bottom: 14px;
}
.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.25;
}
.step-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── WHY OFFBOOK ───────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.why-card {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.why-card:hover {
  border-color: var(--border-blue);
  box-shadow: 0 0 0 1px rgba(79,142,255,0.08), 0 12px 40px rgba(0,0,0,0.35);
  transform: translateY(-2px);
}
.why-icon {
  color: var(--blue);
  margin-bottom: 18px;
  opacity: 0.85;
}
.why-card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.why-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── PREVIEW STRIP ─────────────────────────────────────────── */
.preview-scroll-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-block: 8px;
}
.preview-scroll-container::-webkit-scrollbar { display: none; }

.preview-track {
  display: flex;
  gap: 20px;
  padding-inline: 20px;
  width: max-content;
}

.preview-card {
  width: 280px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.preview-phone {
  background: #0a0f1c;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.preview-phone-screen {
  background: #080c18;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* Preview phone placeholder blocks */
.pp-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  width: 60%;
}
.pp-line { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.05); }
.pp-line-wide  { width: 90%; }
.pp-line-med   { width: 70%; }
.pp-line-short { width: 45%; }

.pp-block {
  height: 26px;
  border-radius: 6px;
}
.pp-block-blue        { background: rgba(79,142,255,0.18); border: 1px solid rgba(79,142,255,0.22); }
.pp-block-orange-sm   { height: 20px; width: 60%; background: rgba(255,122,53,0.15); border-radius: 10px; }

.pp-roles-row {
  display: flex;
  gap: 6px;
}
.pp-role-chip {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}
.pp-chip-you     { background: rgba(79,142,255,0.2); color: var(--blue); border: 1px solid rgba(79,142,255,0.3); }
.pp-chip-partner { background: rgba(255,122,53,0.15); color: var(--orange); border: 1px solid rgba(255,122,53,0.3); }

.pp-voice-card {
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}

.pp-dialogue {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pp-line-d {
  height: 10px;
  border-radius: 5px;
}
.pp-d-partner { width: 75%; background: rgba(255,255,255,0.07); }
.pp-d-you     { width: 65%; background: rgba(79,142,255,0.15); align-self: flex-end; margin-left: auto; }

.pp-cue-pill {
  font-size: 9px;
  font-weight: 600;
  color: #a8c8ff;
  background: rgba(79,142,255,0.12);
  border: 1px solid rgba(79,142,255,0.22);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

.preview-caption {
  padding: 24px 12px 8px;
  text-align: center;
}
.preview-caption h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 7px;
}
.preview-caption p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 240px;
  margin-inline: auto;
}

/* ── Preview screenshot container — full-frame iPhone screenshots ── */
.preview-screenshot {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-inline: 12px;
}

.preview-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  /* drop-shadow respects device frame transparency — no box border needed */
  filter:
    drop-shadow(0 28px 48px rgba(0,0,0,0.65))
    drop-shadow(0 4px 16px rgba(0,0,0,0.4))
    drop-shadow(0 0 32px rgba(79,142,255,0.07));
}

/* ── WORKFLOW (EXPANDED HOW IT WORKS) ──────────────────────── */
.workflow { background: var(--bg); }

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.wf-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.wf-card:hover {
  border-color: var(--border-blue);
  box-shadow: 0 0 0 1px rgba(79,142,255,0.06), 0 6px 24px rgba(0,0,0,0.28);
}

.wf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  min-width: 36px;
  padding-top: 1px;
}

.wf-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--blue);
  line-height: 1;
}

.wf-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}

.wf-content { flex: 1; }

.wf-card h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 5px;
  line-height: 1.3;
}

.wf-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.workflow-close {
  text-align: center;
  font-size: 15px;
  color: var(--text-faint);
  font-style: italic;
  margin-top: 44px;
  letter-spacing: 0.005em;
}

@media (min-width: 640px) {
  .workflow-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (min-width: 900px) {
  .wf-card {
    padding: 26px 24px;
    gap: 22px;
  }
  .wf-step {
    min-width: 40px;
  }
  .wf-card h3 {
    font-size: 17px;
  }
}

/* ── FEATURES (MORE WAYS TO WORK) ──────────────────────────── */
.features { background: var(--bg-surface); }

.feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid rgba(79,142,255,0.18);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.feat-card:hover {
  border-top-color: var(--blue-dim);
  border-color: var(--border-blue);
  box-shadow: 0 0 0 1px rgba(79,142,255,0.07), 0 10px 32px rgba(0,0,0,0.32);
  transform: translateY(-2px);
}

.feat-icon {
  color: var(--blue);
  opacity: 0.75;
  margin-bottom: 16px;
}

.feat-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.feat-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Recording options sub-section */
.rec-options {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.rec-options-header {
  margin-bottom: 28px;
}

.rec-options-headline {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.rec-options-intro {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.rec-options-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.rec-option-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-radius: var(--radius);
  padding: 24px 22px;
  border: 1px solid var(--border);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.rec-option-blue {
  background: rgba(79,142,255,0.05);
  border-color: rgba(79,142,255,0.16);
}
.rec-option-blue:hover {
  border-color: rgba(79,142,255,0.32);
  box-shadow: 0 0 0 1px rgba(79,142,255,0.06), 0 8px 28px rgba(0,0,0,0.25);
}

.rec-option-orange {
  background: rgba(255,122,53,0.04);
  border-color: rgba(255,122,53,0.14);
}
.rec-option-orange:hover {
  border-color: rgba(255,122,53,0.28);
  box-shadow: 0 0 0 1px rgba(255,122,53,0.05), 0 8px 28px rgba(0,0,0,0.25);
}

.rec-option-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.rec-option-blue  .rec-option-icon { color: var(--blue); }
.rec-option-orange .rec-option-icon { color: var(--orange); }

.rec-option-card h4 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 5px;
  line-height: 1.3;
}

.rec-option-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.rec-polish {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0 4px;
}

.rec-polish-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.rec-polish-divider {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--text-faint);
  flex-shrink: 0;
}

.rec-polish-body {
  font-size: 14px;
  color: var(--text-faint);
  line-height: 1.55;
}

@media (min-width: 640px) {
  .feat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .rec-options-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .feat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .feat-card {
    padding: 32px 28px;
  }
  .feat-card h3 {
    font-size: 18px;
  }
  .rec-option-card {
    padding: 28px 24px;
  }
}

/* ── WAITLIST SECTION ──────────────────────────────────────── */
.waitlist-section { background: var(--bg); }

.waitlist-container {
  max-width: 560px;
}

.waitlist-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-card), 0 0 60px rgba(79,142,255,0.07);
}

/* MailerLite dark-theme overrides ────────────────────────────
   MailerLite uses !important throughout, so we match that weight
   where needed. All selectors scoped to #mlb2-38888310.        */

/* Strip default light wrapper */
#mlb2-38888310.ml-form-embedContainer .ml-form-embedWrapper {
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Body padding → handled by wrapper */
#mlb2-38888310.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody,
#mlb2-38888310.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody {
  padding: 0 !important;
}

/* Labels */
.ml-field-label {
  display: block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* Inputs */
#mlb2-38888310.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input {
  background-color: var(--bg) !important;
  color: var(--text) !important;
  border-color: rgba(255,255,255,0.08) !important;
  border-radius: var(--radius-sm) !important;
  border-style: solid !important;
  border-width: 1px !important;
  font-family: var(--font) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  padding: 12px 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#mlb2-38888310.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input:focus {
  border-color: var(--blue) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(79,142,255,0.13) !important;
}

/* Placeholder text */
#mlb2-38888310 .ml-form-fieldRow input::placeholder              { color: var(--text-faint) !important; opacity: 1 !important; }
#mlb2-38888310 .ml-form-fieldRow input::-webkit-input-placeholder { color: var(--text-faint) !important; }
#mlb2-38888310 .ml-form-fieldRow input::-moz-placeholder          { color: var(--text-faint) !important; }
#mlb2-38888310 .ml-form-fieldRow input:-ms-input-placeholder       { color: var(--text-faint) !important; }

/* Field-row spacing */
#mlb2-38888310.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow {
  margin-bottom: 14px !important;
}
#mlb2-38888310.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow.ml-last-item {
  margin-bottom: 0 !important;
}
#mlb2-38888310.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-formContent {
  margin-bottom: 0 !important;
}

/* Submit wrapper */
#mlb2-38888310.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit {
  margin: 20px 0 0 0 !important;
  float: none !important;
  width: 100% !important;
}

/* Submit button — site blue, pill, site font */
#mlb2-38888310.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary {
  background-color: var(--blue) !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: 0 0 0 1px rgba(79,142,255,0.3), 0 4px 20px rgba(79,142,255,0.35) !important;
  color: #ffffff !important;
  cursor: pointer;
  font-family: var(--font) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.4 !important;
  padding: 13px 24px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: background-color 0.18s, box-shadow 0.18s, transform 0.18s !important;
}
#mlb2-38888310.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary:hover {
  background-color: #5e99ff !important;
  box-shadow: 0 0 0 1px rgba(79,142,255,0.5), 0 6px 28px rgba(79,142,255,0.5) !important;
  transform: translateY(-1px) !important;
}
#mlb2-38888310.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary:active {
  transform: scale(0.97) !important;
}

/* Loading spinner button */
#mlb2-38888310.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.loading {
  background-color: var(--blue-dim) !important;
  border-radius: var(--radius-pill) !important;
}

/* Success state */
#mlb2-38888310.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent h4 {
  color: var(--text) !important;
  font-family: var(--font) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.2 !important;
  margin-bottom: 10px !important;
}
#mlb2-38888310.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent p {
  color: var(--text-muted) !important;
  font-family: var(--font) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

/* Error state — keep red for visibility/accessibility */
#mlb2-38888310 .ml-error input {
  border-color: #e85555 !important;
  box-shadow: 0 0 0 3px rgba(232,85,85,0.12) !important;
}

/* Interest groups row — hidden (checkbox pre-checked, value still submits) */
#mlb2-38888310 .ml-form-interestGroupsRow {
  display: none !important;
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-container {
  max-width: 680px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 4px;
  text-align: left;
  gap: 16px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  transition: color 0.2s;
}
.faq-question:hover { color: #fff; }

.faq-icon {
  flex-shrink: 0;
  color: var(--text-faint);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), color 0.2s;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.22,1,0.36,1);
}
.faq-item.open .faq-answer {
  max-height: 200px;
}
.faq-answer p {
  padding: 0 4px 22px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding-block: 52px 40px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.footer-logo .logo-text { font-size: 16px; }
.footer-tagline {
  font-size: 13px;
  color: var(--text-faint);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  justify-content: center;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.18s;
}
.footer-links a:hover { color: var(--text); }
.footer-legal {
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 8px;
}

/* ── TOAST ─────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(79,142,255,0.12);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  z-index: 200;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast span { color: var(--orange); }

/* ── TABLET ────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-card:last-child {
    grid-column: 1 / -1;
    max-width: 540px;
    margin-inline: auto;
    width: 100%;
  }
  .preview-track {
    padding-inline: max(20px, calc((100vw - 1120px) / 2 + 20px));
  }
}

/* ── DESKTOP ───────────────────────────────────────────────── */
@media (min-width: 900px) {
  .hero-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  .hero-text {
    text-align: left;
    max-width: 520px;
  }
  .hero-br { display: inline; }
  .hero-sub { margin-inline: 0; }
  .hero-ctas { justify-content: flex-start; }

  .hero-visual {
    flex-shrink: 0;
  }
  .phone-frame {
    width: 260px;
    height: 520px;
  }
  .phone-glow-blue {
    width: 340px; height: 340px;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-card:last-child {
    grid-column: auto;
    max-width: none;
    margin-inline: 0;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .preview-scroll-container {
    overflow-x: visible;
  }
  .preview-track {
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: auto;
  }
  .preview-card { width: auto; }
}

/* ── Logo icon (app icon image, replaces orange dot in nav/footer) ── */
.logo-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
}

/* ── Hero supporting line ───────────────────────────────────── */
.hero-support {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: -12px;
  margin-bottom: 32px;
  letter-spacing: 0.01em;
  font-style: italic;
}

/* ── Screenshot card (hero visual) ─────────────────────────── */
.screenshot-card {
  position: relative;
  z-index: 1;
}

.screenshot-img-wrap {
  border-radius: 26px;
  overflow: hidden;
  border: 1.5px solid rgba(79, 142, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 32px 80px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  max-width: 260px;
}

.screenshot-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
}

@media (min-width: 900px) {
  .screenshot-img-wrap {
    max-width: 290px;
  }
}

/* ── RECORD FEATURE ─────────────────────────────────────────── */
.record { background: var(--bg-surface); }

.record-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.record-text .section-label {
  margin-bottom: 12px;
}

.record-text h2 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 18px;
  margin-top: 0;
}

.record-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 28px;
}

.record-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.record-bullets li {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  background: rgba(79,142,255,0.07);
  border: 1px solid rgba(79,142,255,0.18);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}

.record-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid rgba(79,142,255,0.18);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 24px 60px rgba(0,0,0,0.6),
    0 0 60px rgba(79,142,255,0.07);
}

.record-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.record-tape-line {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-faint);
  font-style: italic;
  text-align: center;
}

@media (min-width: 900px) {
  .record-inner {
    flex-direction: row;
    align-items: center;
    gap: 72px;
  }
  .record-text {
    flex: 0 0 320px;
  }
  .record-visual {
    flex: 1;
    min-width: 0;
  }
  .record-tape-line {
    text-align: left;
  }
}
