/* ============================================
   Before — Shared Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
  /* Surfaces (per brand constraints) */
  --bg:            #000000;
  --bg-elevated:   #121212;          /* warmer-than-black, sourced from in-app home */
  --bg-card:       #1C1C1C;
  --bg-hover:      #222222;
  --border:        #2E2E2E;
  --border-soft:   rgba(46, 46, 46, 0.55);

  /* Text */
  --text:          #EDEDED;
  --text-muted:    #808080;
  --text-subtle:   rgba(237, 237, 237, 0.4);

  /* Accent */
  --primary:       #F97316;
  --primary-hover: #ea6c0c;
  --primary-dim:   rgba(249, 115, 22, 0.10);
  --primary-mid:   rgba(249, 115, 22, 0.18);
  --primary-border:rgba(249, 115, 22, 0.25);

  /* Shape */
  --radius:        1rem;
  --radius-lg:     1.5rem;
  --radius-pill:   9999px;

  /* Layout */
  --max-w:         1080px;
  --max-w-prose:   640px;

  /* Vertical rhythm scale (sections) */
  --space-section:  5.5rem;          /* canonical top-and-bottom for major sections */
  --space-section-lg: 7rem;           /* bottoms only, where we want extra air */
  --space-section-sm: 3.5rem;         /* between connected blocks (hero → mechanic) */

  /* Typography scale (body) */
  --fs-body:        0.95rem;
  --fs-body-sm:     0.85rem;
  --fs-eyebrow:     0.7rem;
  --tracking-eyebrow: 0.2em;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Top accent bar */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
  opacity: 0.5;
  z-index: 1000;
  pointer-events: none;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in  { animation: fadeIn  0.55s ease-out both; }
.slide-up { animation: slideUp 0.55s ease-out both; }

/* ============ NAV ============ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 2rem;
  position: sticky;
  top: 1px; /* clear the accent bar */
  z-index: 100;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-wordmark {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nav-wordmark:hover { opacity: 0.78; }

.nav-cta,
.nav-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.nav-cta.is-disabled,
.nav-badge {
  border: 1px solid var(--primary-border);
  color: rgba(249, 115, 22, 0.55);
  background: transparent;
  cursor: default;
  user-select: none;
}

.nav-cta:not(.is-disabled) {
  border: none;
  background: var(--primary);
  color: #121212;
  cursor: pointer;
}

.nav-cta:not(.is-disabled):hover {
  background: var(--primary-hover);
}

.nav-cta:not(.is-disabled):active {
  transform: scale(0.98);
}

/* ============ DESIGN SYSTEM: EYEBROW + DISPLAY ============ */
/* Shared "eyebrow" used by .section-eyebrow, .showcase-eyebrow, .page-eyebrow */
.section-eyebrow,
.showcase-eyebrow,
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-eyebrow::before,
.showcase-eyebrow::before,
.page-eyebrow::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--primary);
  opacity: 0.65;
  flex-shrink: 0;
}

/* Editorial section titles (Lora) */
.section-title {
  font-family: 'Lora', serif;
  font-size: clamp(1.6rem, 3.4vw, 2.125rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.005em;
}

/* ============ FOOTER ============ */
.footer-wrap {
  border-top: 1px solid var(--border);
}

.footer {
  padding: 2.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'Lora', serif;
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--text); }

/* ============ BUTTONS ============ */
.btn-primary,
.btn-app-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.015em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* Disabled: confident restraint, not greyed-out brokenness */
.btn-primary.is-disabled,
.btn-app-store.is-disabled {
  border: 1px solid var(--primary-border);
  background: transparent;
  color: rgba(249, 115, 22, 0.6);
  cursor: default;
  box-shadow: none;
}

.btn-primary.is-disabled:hover,
.btn-app-store.is-disabled:hover {
  border-color: rgba(249, 115, 22, 0.35);
  color: rgba(249, 115, 22, 0.75);
}

.btn-app-store:not(.is-disabled),
.btn-primary:not(.is-disabled) {
  border: 1px solid transparent;
  background: var(--primary);
  color: #121212;
  cursor: pointer;
  /* Subtle elevation only — no loud glow */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 1px 0 rgba(0, 0, 0, 0.6),
    0 8px 24px rgba(249, 115, 22, 0.12);
}

.btn-app-store:not(.is-disabled):hover,
.btn-primary:not(.is-disabled):hover {
  background: var(--primary-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 1px 0 rgba(0, 0, 0, 0.6),
    0 10px 28px rgba(249, 115, 22, 0.18);
}

.btn-app-store:not(.is-disabled):active,
.btn-primary:not(.is-disabled):active {
  transform: scale(0.985);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 2rem 2.5rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 38%,
    rgba(249, 115, 22, 0.08) 0%,
    transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Editorial serif headline — quieter, more confident than uppercase Inter */
.hero-headline {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 8.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
  width: 100%;
  max-width: 880px;
  margin: 0 auto 2.5rem;
  animation: slideUp 0.6s ease-out 0.08s both;
}

.hero-headline .accent {
  color: var(--primary);
  font-style: italic;
  font-weight: 500;
}

.hero-tagline {
  font-size: var(--fs-body);
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.65;
  max-width: 26rem;
  animation: fadeIn 0.5s ease-out 0.35s both;
}

.hero-cta-wrap {
  animation: slideUp 0.55s ease-out 0.65s both;
}

.hero-phone {
  animation: slideUp 0.65s ease-out 0.35s both;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}

.hero-layout .hero-tagline {
  text-align: left;
}

/* ============ MECHANIC (one-liner under hero) ============ */
.mechanic {
  text-align: center;
  padding: 0 2rem var(--space-section-sm);
  max-width: 560px;
  margin: 0 auto;
}

.mechanic p {
  font-size: var(--fs-body-sm);
  color: var(--text-muted);
  line-height: 1.8;
}

.mechanic strong { color: var(--text); font-weight: 500; }

/* ============ SECTION RULE (single source for hairline dividers) ============ */
.section-rule {
  display: block;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  height: 1px;
  background: var(--border);
  opacity: 0.9;
}

/* ============ SHOWCASE ============ */
.showcase {
  padding: var(--space-section) 2rem var(--space-section);
  max-width: var(--max-w);
  margin: 0 auto;
}

.showcase-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* eyebrow inside centered headers needs the bar centered */
.showcase-header .section-eyebrow,
.how-header .section-eyebrow,
.cta-band .section-eyebrow {
  margin-inline: auto;
}

.showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 5.5rem;
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.showcase-row.reverse .showcase-copy { order: 2; }
.showcase-row.reverse .showcase-visual { order: 1; }

.showcase-copy {
  max-width: 26rem;
}

.showcase-row.reverse .showcase-copy {
  justify-self: end;
}

.showcase-eyebrow {
  margin-bottom: 0.85rem;
}

.showcase-title {
  font-family: 'Lora', serif;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin-bottom: 0.85rem;
}

.showcase-title .accent {
  color: var(--primary);
  font-style: italic;
  font-weight: 500;
}

.showcase-desc {
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============ SCREENSHOTS ============ */
/* The phone PNGs already include the device chrome. */
.screenshot {
  position: relative;
  display: block;
  width: min(300px, 78vw);
  margin: 0 auto;
  aspect-ratio: 390 / 800;
  overflow: visible;
  border-radius: 2rem;
}

.screenshot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: inherit;
  position: relative;
  z-index: 1;
}

/* Subtle warm glow behind the device — reads as light spilling from the screen,
   not as fog. Pairs with the brand orange without screaming. */
.screenshot::before {
  content: '';
  position: absolute;
  inset: -8% -12%;
  background: radial-gradient(ellipse 60% 55% at 50% 50%,
    rgba(249, 115, 22, 0.10) 0%,
    rgba(249, 115, 22, 0.02) 45%,
    transparent 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

/* A faint dark base shadow grounds the device on dark backgrounds */
.screenshot::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -2%;
  height: 24px;
  background: rgba(0, 0, 0, 0.6);
  filter: blur(22px);
  z-index: 0;
  pointer-events: none;
}

.hero-phone .screenshot {
  width: min(260px, 68vw);
}

/* ============ HOW IT WORKS ============ */
.how {
  padding: var(--space-section) 2rem var(--space-section-lg);
  max-width: var(--max-w);
  margin: 0 auto;
}

.how-header {
  text-align: center;
  margin-bottom: 4rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  position: relative;
}

/* Hairline connecting the step icons — only visible at desktop where 5 columns line up */
.steps::before {
  content: '';
  position: absolute;
  top: 2.85rem; /* aligns to the vertical center of the 42px icon at top of card */
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--border) 20%,
    var(--border) 80%,
    transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.step-card {
  position: relative;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem 1.75rem;
  transition: background 0.25s ease, border-color 0.25s ease;
  z-index: 1;
}

.step-card:hover {
  background: var(--bg-card);
  border-color: var(--border);
}

.step-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 0.875rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.step-card:hover .step-icon-wrap {
  background: var(--primary-dim);
  border-color: var(--primary-border);
}

.step-icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
}

.step-num {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 0.4rem;
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
}

.step-desc {
  font-size: var(--fs-body-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============ CTA BAND ============ */
.cta-band {
  text-align: center;
  padding: var(--space-section) 2rem var(--space-section);
  max-width: 640px;
  margin: 0 auto;
}

.cta-band .section-eyebrow {
  display: inline-flex;
  margin-bottom: 1.25rem;
}

.cta-band h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.6rem, 3.4vw, 2.125rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--text);
}

.cta-band h2 em {
  color: var(--primary);
  font-style: italic;
  font-weight: 500;
}

.cta-band p {
  font-size: var(--fs-body);
  color: var(--text-muted);
  margin: 0 auto 2.25rem;
  max-width: 28rem;
  line-height: 1.7;
}

/* ============ CONTENT PAGES (privacy / support) ============ */
.content-wrap {
  max-width: var(--max-w-prose);
  margin: 0 auto;
  padding: 5rem 2rem var(--space-section);
}

.page-eyebrow {
  margin-bottom: 1.1rem;
  animation: fadeIn 0.5s ease-out both;
}

.page-title {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 0.85rem;
  animation: slideUp 0.55s ease-out 0.05s both;
}

.page-meta,
.page-sub {
  font-size: var(--fs-body-sm);
  color: var(--text-muted);
  margin-bottom: 3rem;
  animation: fadeIn 0.5s ease-out 0.15s both;
}

.page-sub {
  font-size: var(--fs-body);
  margin-bottom: 3.5rem;
  line-height: 1.7;
  max-width: 32rem;
}

/* ============ POLICY (privacy page) ============ */
.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 3.5rem;
  animation: slideUp 0.55s ease-out 0.1s both;
}

.highlight-card p {
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: 1.75;
}

.highlight-card strong {
  color: var(--text);
  font-weight: 600;
}

.policy-section {
  margin-bottom: 2.75rem;
  animation: fadeIn 0.5s ease-out 0.2s both;
}

.policy-section h2 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text);
  margin-bottom: 1rem;
}

.policy-section p,
.policy-section li {
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: 1.8;
}

.policy-section p + p {
  margin-top: 0.85rem;
}

.policy-section ul {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

.policy-section ul li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.45rem;
}

.policy-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.65;
}

.policy-section a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid var(--primary-border);
  padding-bottom: 1px;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.9;
}

.policy-section a:hover {
  opacity: 1;
  border-bottom-color: var(--primary);
}

/* ============ SUPPORT FORM ============ */
.contact-form {
  animation: slideUp 0.55s ease-out 0.2s both;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  padding: 0.9rem 1.1rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.55;
}

.form-input:hover,
.form-textarea:hover {
  border-color: #3a3a3a;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary-border);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.08);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit-wrap {
  margin-top: 1.75rem;
}

/* ── Success State ── */
.success-msg {
  display: none;
  text-align: center;
  padding: 4rem 0;
  animation: slideUp 0.55s ease-out both;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
}

.success-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.75;
}

.success-title {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.success-body {
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: 1.7;
}

.success-back {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.04em;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.success-back:hover { opacity: 1; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: var(--primary);
  color: #121212;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.015em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 1px 0 rgba(0, 0, 0, 0.6),
    0 8px 24px rgba(249, 115, 22, 0.12);
}

.btn-submit:hover {
  background: var(--primary-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 1px 0 rgba(0, 0, 0, 0.6),
    0 10px 28px rgba(249, 115, 22, 0.18);
}

.btn-submit:active { transform: scale(0.985); }

/* ============ CUSTOM SCROLLBAR ============ */
::-webkit-scrollbar       { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps::before { display: none; }
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-layout .hero-tagline {
    text-align: center;
    margin-inline: auto;
  }

  .showcase-row,
  .showcase-row.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .showcase-copy,
  .showcase-row.reverse .showcase-copy {
    order: unset;
    margin: 0 auto;
    text-align: center;
  }

  .showcase-row.reverse .showcase-visual { order: unset; }

  .showcase-eyebrow {
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 3.5rem 1.25rem 2rem; }
  .showcase { padding: 4.5rem 1.25rem 4.5rem; }
  .how { padding: 4.5rem 1.25rem 5rem; }
  .cta-band { padding: 4.5rem 1.25rem 4.5rem; }
}

@media (max-width: 600px) {
  .nav { padding: 1rem 1.25rem; }
  .footer { padding: 1.75rem 1.25rem; }
  .content-wrap { padding: 3.5rem 1.25rem 5rem; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* ============ EXIT INTENT ============ */
body.exit-intent-open {
  overflow: hidden;
}

.exit-intent {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.exit-intent[hidden] {
  display: none;
}

.exit-intent-dialog {
  position: relative;
  width: min(100%, 420px);
  padding: 2rem 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  text-align: center;
}

.exit-intent-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
}

.exit-intent-close:hover {
  color: var(--text);
}

.exit-intent-eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.exit-intent-title {
  font-family: 'Lora', serif;
  font-size: clamp(1.75rem, 5vw, 2.1rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
}

.exit-intent-title .accent {
  color: var(--primary);
  font-style: italic;
}

.exit-intent-body {
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.35rem;
}

.exit-intent-cta {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.exit-intent-skip {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
}

.exit-intent-skip:hover {
  color: var(--text);
}
