/* ── TOKENS (Sage & Sand default) ── */
:root {
  --bg-primary:           #FDFAF5;
  --bg-secondary:         #F5EFE4;
  --bg-tertiary:          #EDE4D4;
  --accent-primary:       #7D9B7A;
  --accent-light:         #A8C2A5;
  --accent-pale:          #D4E4D2;
  --accent-warm:          #C4955A;
  --accent-warm-light:    #E8C99A;
  --accent-warm-pale:     #FBF0DC;
  --text-dark:            #2D3748;
  --text-mid:             #4A5568;
  --text-soft:            #718096;
  --text-xsoft:           #A0AEC0;
  --border-color:         rgba(125,155,122,0.2);
  --border-subtle:        rgba(125,155,122,0.12);
  --card-bg:              #FFFFFF;
  --nav-bg:               rgba(253,250,245,0.92);
  --glow-color:           rgba(168,194,165,0.28);
  --btn-gradient:         linear-gradient(145deg, #7D9B7A, #5E8A5B);
  --btn-shadow:           rgba(125,155,122,0.40);
}

/* ── TOKENS (Dusk) ── */
[data-theme="dusk"] {
  --bg-primary:           #1E1A2E;
  --bg-secondary:         #2A2540;
  --bg-tertiary:          #332E4A;
  --accent-primary:       #9B8EC4;
  --accent-light:         #B5ADDA;
  --accent-pale:          #3D3660;
  --accent-warm:          #E8A87C;
  --accent-warm-light:    #F2C9A8;
  --accent-warm-pale:     #3A2E1A;
  --text-dark:            #EDE9F7;
  --text-mid:             #C5BFDB;
  --text-soft:            #8E87A8;
  --text-xsoft:           #6A6480;
  --border-color:         rgba(155,142,196,0.25);
  --border-subtle:        rgba(155,142,196,0.14);
  --card-bg:              #252038;
  --nav-bg:               rgba(30,26,46,0.94);
  --glow-color:           rgba(155,142,196,0.18);
  --btn-gradient:         linear-gradient(145deg, #9B8EC4, #7B6EA4);
  --btn-shadow:           rgba(155,142,196,0.40);
}

/* Theme transition */
body, nav, section, footer, .testimonial-card, .faq-item, .pricing-card,
.feature-visual, .problem-section, .testimonials-section,
.faq-section, .screen-main, .screen-ambient {
  transition: background 0.45s ease, color 0.45s ease,
              border-color 0.45s ease, box-shadow 0.45s ease;
}

/* ── THEME TOGGLE BUTTON ── */
.theme-toggle {
  display: flex; align-items: center; gap: 7px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  border-radius: 22px; padding: 5px 12px 5px 8px;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; color: var(--text-soft);
  letter-spacing: 0.06em;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent-light); color: var(--accent-primary); }
.toggle-swatches {
  display: flex; gap: 3px; align-items: center;
}
.t-swatch {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1.5px solid transparent; transition: transform 0.2s, border-color 0.2s;
}
.t-swatch.sage  { background: linear-gradient(135deg, #7D9B7A, #C4955A); }
.t-swatch.dusk  { background: linear-gradient(135deg, #9B8EC4, #E8A87C); }
.t-swatch.active { border-color: var(--text-mid); transform: scale(1.2); }

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

html { scroll-behavior: smooth; }

/* Keyboard focus (skip mouse-only outlines) */
a:focus-visible,
button:focus-visible,
.btn-primary:focus-visible,
.nav-cta:focus-visible,
.theme-toggle:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* subtle page-level glow */
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 8% 5%,  var(--glow-color) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 92% 88%, rgba(196,149,90,0.09) 0%, transparent 55%);
}

/* ═══════════════════════════════
   NAV (top bar only — not <nav> in footer)
═══════════════════════════════ */
/* Full-width offer above the fixed nav. --bf-h is set when the banner is shown. */
#bf-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px 16px;
  width: 100%;
  padding: max(10px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 10px max(20px, env(safe-area-inset-left));
  background: #FBF0DC;
  color: #000;
  border-bottom: 1px solid #E8C99A;
  font-size: 0.92rem; font-weight: 400; line-height: 1.45;
  text-align: center;
}
#bf-banner[hidden],
#room-banner[hidden],
.bf-banner-tip[hidden] { display: none; }
html.bf-live #room-banner { display: none; }
#bf-banner p {
  margin: 0;
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
}
.bf-banner-info-wrap {
  display: inline-flex; vertical-align: middle;
  margin-left: 6px;
}
.bf-banner-info {
  width: 16px; height: 16px; padding: 0; margin: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid #000; border-radius: 50%;
  background: transparent; color: #000;
  font-family: 'DM Sans', sans-serif;
  font-style: normal; font-weight: 600; font-size: 11px; line-height: 0;
  text-transform: none; letter-spacing: 0;
  cursor: pointer;
}
.bf-banner-info span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}
.bf-banner-info:hover { background: rgba(0,0,0,0.06); }
.bf-banner-tip {
  position: fixed; top: calc(var(--bf-h, 48px) + 8px); left: 50%;
  transform: translateX(-50%);
  width: max-content; max-width: min(280px, calc(100vw - 24px));
  padding: 10px 12px;
  background: #fff; color: #000;
  border: 1px solid rgba(0,0,0,0.12); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  font-size: 0.82rem; font-weight: 400; line-height: 1.45;
  text-align: left; text-transform: none; letter-spacing: 0;
  z-index: 2;
}
#bf-banner a {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: 22px;
  background: var(--btn-gradient);
  color: #fff;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 3px 12px var(--btn-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
#bf-banner a:hover { transform: translateY(-1px); box-shadow: 0 5px 18px var(--btn-shadow); }
html.bf-live body > nav { top: var(--bf-h, 0px); }
html.bf-live .hero { padding-top: calc(120px + var(--bf-h, 0px)); }
html.bf-live { scroll-padding-top: calc(88px + var(--bf-h, 0px)); }
html.bf-live #watch,
html.bf-live .setup-help-section { scroll-margin-top: calc(88px + var(--bf-h, 0px)); }
@media (max-width: 1439px) {
  html.bf-live body > nav { padding-top: 10px; }
  html.bf-live .nav-collapse {
    top: calc(env(safe-area-inset-top) + 4.6rem + var(--bf-h, 0px));
  }
}
@media (max-width: 900px) {
  html.bf-live .hero { padding-top: calc(88px + var(--bf-h, 0px)); }
}

body > nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 60px;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem; font-weight: 300; letter-spacing: 0.05em;
  color: var(--text-mid); text-decoration: none;
}
.logo span { color: var(--accent-primary); }
.nav-links {
  display: flex; gap: 36px; align-items: center; list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--text-soft);
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--accent-primary); }
.nav-cta {
  padding: 8px 22px;
  background: var(--btn-gradient);
  color: white; border: none; border-radius: 22px;
  font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 500;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 3px 12px var(--btn-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 5px 18px var(--btn-shadow); }

/* Nav layout: [burger] [logo] [links or drawer] */
.nav-top-right {
  display: flex; flex: 1; align-items: center; justify-content: space-between;
  min-width: 0; margin-left: 32px; gap: 20px;
}
.nav-collapse {
  display: flex; flex: 1; align-items: center; justify-content: space-between;
  min-width: 0; gap: 20px;
}
/* Eight links, the theme toggle, and the account button. Sign in still
   wraps until 1440px, so the drawer covers 1024 portrait, 1366 landscape,
   and everything up through 1439px. */
@media (min-width: 1440px) {
  .nav-collapse { justify-content: flex-end; }
  .nav-links {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
.nav-actions {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 44px; height: 44px; padding: 0; flex-shrink: 0;
  background: transparent; border: none; border-radius: 10px; cursor: pointer;
  color: var(--text-mid);
  transition: background 0.2s, color 0.2s;
}
.nav-burger:hover { background: var(--bg-secondary); color: var(--text-dark); }
.nav-burger-line {
  display: block; width: 22px; height: 2px; border-radius: 1px;
  background: currentColor; transition: transform 0.3s ease, opacity 0.2s;
}
body.nav-menu-open .nav-burger .nav-burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-menu-open .nav-burger .nav-burger-line:nth-child(2) { opacity: 0; }
body.nav-menu-open .nav-burger .nav-burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  text-align: center;
  padding: 120px 40px 80px;
}
.beta-banner {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  margin-bottom: 14px;
  border: 1px solid var(--accent-warm-light);
  border-radius: 999px;
  background: var(--accent-warm-pale);
  color: var(--accent-warm);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.beta-banner:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(196,149,90,0.18);
}
.beta-banner:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-primary); margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  max-width: 100%; text-align: center;
}
.hero-eyebrow span { max-width: 34rem; min-width: 0; }
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: ''; display: block; width: 28px; height: 1px; flex-shrink: 0;
  background: var(--accent-light);
}
.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  font-weight: 300; line-height: 1.18;
  color: var(--text-dark);
  max-width: 820px;
  margin-bottom: 26px;
}
#watch { scroll-margin-top: 88px; }
.hero-headline-lead { font-size: calc(1em + 4pt); }
.hero-headline em { font-style: italic; color: var(--accent-primary); }
@media (min-width: 760px) {
  .hero-headline-lead,
  .hero-headline-rest,
  .hero-headline em { display: block; }
}
.hero-sub {
  font-size: calc(1.02rem + 4pt); color: var(--text-soft);
  max-width: 760px; line-height: 1.72;
  margin-bottom: 44px;
}
.hero-cta-group {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.btn-primary {
  padding: 14px 38px;
  background: var(--btn-gradient);
  color: white; border: none; border-radius: 30px;
  font-family: 'DM Sans', sans-serif; font-size: 0.92rem; font-weight: 500;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 20px var(--btn-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--btn-shadow); }
.hero-trial-note {
  font-size: 0.72rem; color: var(--text-xsoft); letter-spacing: 0.04em;
}

/* ── Hero two-screen image ── */
.hero-visual {
  position: relative; margin-top: 70px;
  width: 100%; max-width: 1000px;
}
.hero-screens {
  display: grid;
  grid-template-columns: 2.27fr 1fr;
  column-gap: 20px;
  align-items: end;
}
.screen-col-main,
.screen-col-side { display: contents; }
.screen-main { grid-column: 1; grid-row: 1; }
.screen-ambient { grid-column: 2; grid-row: 1; }
.hero-screens .shot-continue {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
  align-self: center;
  margin-top: 28px;
}
.hero-screens .beta-banner {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  align-self: center;
  margin: 28px 0 0;
  width: max-content;
  max-width: none;
  white-space: nowrap;
}
.hero-progress {
  width: 100%;
  max-width: 1040px;
  margin-top: 72px;
  text-align: left;
}
.hero-progress .feature-row {
  padding: 0;
  border-bottom: none;
  gap: 64px;
  grid-template-columns: 0.9fr 1.15fr;
}
.session-pair {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 72px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.session-pair-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
}
.screen-main {
  border-radius: 14px;
  border: 2px solid var(--border-color);
  box-shadow: 0 20px 60px rgba(45,55,72,0.12), 0 4px 16px rgba(45,55,72,0.07);
  overflow: hidden; background: var(--bg-secondary);
  aspect-ratio: 16/9; position: relative;
}
.screen-ambient {
  border-radius: 10px;
  border: 2px solid var(--border-color);
  box-shadow: 0 12px 40px rgba(45,55,72,0.10), 0 2px 8px rgba(45,55,72,0.06);
  overflow: hidden;
  aspect-ratio: 16/9; position: relative;
}
.screen-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* Image placeholder styling */
.img-placeholder {
  width: 100%; height: 100%;
  background: var(--bg-tertiary);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: var(--text-xsoft);
  font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.img-placeholder svg { opacity: 0.3; }
.img-placeholder .img-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem; color: var(--text-xsoft);
  background: var(--bg-secondary);
  padding: 3px 10px; border-radius: 6px;
  border: 1px dashed var(--border-color);
}

/* Screen labels */
.screen-label {
  position: absolute; bottom: 12px; left: 50%;
  transform: translateX(-50%);
  background: rgba(253,250,245,0.88); backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px; padding: 4px 14px;
  font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-soft); white-space: nowrap;
}

/* ═══════════════════════════════
   PROMO VIDEO
═══════════════════════════════ */
.promo-section {
  text-align: center;
  padding-top: 8px;
  padding-bottom: 72px;
}
.promo-section .section-heading { margin-bottom: 28px; }
.promo-frame {
  position: relative;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  background: #1a1a1a;
  box-shadow: 0 20px 60px rgba(45,55,72,0.12), 0 4px 16px rgba(45,55,72,0.07);
}
.promo-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ═══════════════════════════════
   SECTION WRAPPER
═══════════════════════════════ */
section {
  position: relative; z-index: 1;
  padding: 100px 60px;
}
.section-inner {
  max-width: 1040px; margin: 0 auto;
}
.section-label {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-primary); margin-bottom: 14px;
}
.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.15; color: var(--text-dark);
  margin-bottom: 18px;
}
.section-heading em { font-style: italic; color: var(--accent-primary); }
.section-sub {
  font-size: 0.93rem; color: var(--text-soft); line-height: 1.72;
  max-width: 520px;
}

/* ═══════════════════════════════
   FEATURE STRIP (problem framing)
═══════════════════════════════ */
.problem-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.problem-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px;
  margin-top: 60px;
}
.problem-item {
  display: flex; flex-direction: column; gap: 12px;
}
.problem-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-pale); border: 1px solid var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.problem-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem; font-weight: 400; color: var(--text-dark);
}
.problem-body {
  font-size: 0.84rem; color: var(--text-soft); line-height: 1.7;
}

/* ═══════════════════════════════
   FEATURES — alternating rows
═══════════════════════════════ */
.features-section { padding: 80px 60px; }
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-shot { order: 1; }
.feature-shot {
  display: flex; flex-direction: column; align-items: center;
  min-width: 0;
}
.feature-shot .feature-visual { width: 100%; }
.feature-text { display: flex; flex-direction: column; gap: 16px; }
.feature-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-primary);
  background: var(--accent-pale); border: 1px solid var(--accent-light);
  border-radius: 20px; padding: 3px 12px; width: fit-content;
}
.feature-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; line-height: 1.2; color: var(--text-dark);
}
.feature-title em { font-style: italic; color: var(--accent-primary); }
.feature-body {
  font-size: 0.87rem; color: var(--text-soft); line-height: 1.78;
}
.feature-points { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feature-points li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 0.83rem; color: var(--text-mid); line-height: 1.55;
}
.feature-points li::before {
  content: '';
  display: block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-primary); flex-shrink: 0; margin-top: 6px;
}
.feature-visual {
  border-radius: 14px; overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: 0 12px 40px rgba(45,55,72,0.09), 0 3px 10px rgba(45,55,72,0.05);
  aspect-ratio: 16/9; background: var(--bg-secondary);
}
/* ═══════════════════════════════
   PUBLIC PROFILE BANNER
═══════════════════════════════ */
.profile-banner {
  padding: 110px 60px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.profile-banner-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 72px;
  row-gap: 18px;
  align-items: start;
}
/* The pill is its own row. The heading starts on the same row as the bullets. */
.profile-banner-copy { display: contents; }
.profile-banner .feature-tag {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
}
.profile-banner .section-heading {
  grid-column: 1;
  grid-row: 2;
  margin-bottom: 0;
}
.profile-banner-lead { grid-column: 1; grid-row: 3; }
.profile-banner-aside {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: start;
}
.profile-banner-lead {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text-soft);
  line-height: 1.72;
}
.profile-banner-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 28px;
}
.profile-banner-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  margin: 0;
}
.profile-banner-points li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 380px;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.55;
  text-align: left;
}
.profile-banner-points li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  flex-shrink: 0;
  margin-top: 7px;
}
.profile-banner-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  border-radius: 30px;
  border: 1.5px solid var(--accent-primary);
  color: var(--accent-primary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.profile-banner-link:hover {
  background: var(--accent-primary);
  color: #fff;
  transform: translateY(-1px);
}

.shot-continue {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 36px;
  padding: 13px 32px;
  border: none; border-radius: 4px;
  background: var(--btn-gradient);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 3px 14px var(--btn-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.shot-continue:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--btn-shadow);
}

/* ═══════════════════════════════
   TESTIMONIALS
═══════════════════════════════ */
.testimonials-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px; margin-top: 52px;
}
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px; padding: 28px 26px;
  display: flex; flex-direction: column; gap: 18px;
  transition: box-shadow 0.25s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(125,155,122,0.12);
}
.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.28rem; font-weight: 300; font-style: normal;
  color: var(--text-mid); line-height: 1.45;
}
/* Shorter quotes are set larger so the words fill the card above the name. */
@media (min-width: 901px) {
  .testimonial-card:nth-child(2) .testimonial-quote {
    font-size: 1.85rem;
    line-height: 1.4;
  }
}
.testimonial-quote p + p { margin-top: 0.9em; }
.testimonial-attribution {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
}
.t-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 500; color: var(--accent-primary);
  border: 1.5px solid var(--accent-light); flex-shrink: 0;
}
.t-name { font-size: 0.8rem; font-weight: 500; color: var(--text-dark); }
.t-title { font-size: 0.7rem; color: var(--text-xsoft); }

/* ═══════════════════════════════
   PRICING
═══════════════════════════════ */
.pricing-section { text-align: center; }
.pricing-card {
  max-width: 440px; margin: 52px auto 0;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px; padding: 40px 40px 36px;
  box-shadow: 0 8px 32px rgba(125,155,122,0.10);
}
.pricing-plan-name {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-primary); margin-bottom: 18px;
}
.pricing-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.8rem; font-weight: 300; color: var(--text-dark);
  line-height: 1; margin-bottom: 4px;
}
.pricing-amount sup {
  font-size: 1.6rem; vertical-align: super; line-height: 0;
}
.pricing-interval {
  font-size: 0.8rem; color: var(--text-xsoft); margin-bottom: 6px;
}
.pricing-annual {
  font-size: 0.77rem; color: var(--accent-warm);
  background: var(--accent-warm-pale);
  border: 1px solid var(--accent-warm-light);
  border-radius: 20px; padding: 3px 12px;
  display: inline-block; margin-bottom: 32px;
}
.pricing-features {
  list-style: none; display: flex; flex-direction: column;
  gap: 11px; margin-bottom: 32px; text-align: left;
}
.pricing-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.84rem; color: var(--text-mid);
}
.pricing-check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-pale); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.pricing-check svg { display: block; }
.pricing-divider { height: 1px; background: var(--border-subtle); margin: 24px 0; }
.pricing-cta {
  display: block; width: 100%; padding: 13px;
  background: var(--btn-gradient);
  color: white; border: none; border-radius: 12px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 500;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 3px 14px var(--btn-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 10px;
}
.pricing-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--btn-shadow); }
.pricing-note {
  font-size: 0.71rem; color: var(--text-xsoft); text-align: center;
}

/* ═══════════════════════════════
   SETUP HELP
═══════════════════════════════ */
.setup-help-section {
  padding: 72px 60px;
  border-top: 1px solid var(--border-subtle);
  scroll-margin-top: 88px;
}
.setup-help {
  max-width: 640px;
}
.setup-help-section .section-heading {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  margin-bottom: 10px;
}
.setup-help-section .section-sub { margin-bottom: 8px; }
.setup-help-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 400; color: var(--text-dark);
  margin: 26px 0 10px;
}
.setup-help-note {
  font-size: 0.83rem; color: var(--text-soft); line-height: 1.65;
  margin-top: 18px;
}
.setup-help .profile-banner-link { margin-top: 22px; }

/* ═══════════════════════════════
   FAQ
═══════════════════════════════ */
.faq-section { background: var(--bg-secondary); border-top: 1px solid var(--border-subtle); }
.faq-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-top: 52px;
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px; padding: 24px 26px;
}
.faq-q {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 400; color: var(--text-dark);
  margin-bottom: 10px;
}
.faq-a {
  font-size: 0.83rem; color: var(--text-soft); line-height: 1.72;
}
.faq-a a { color: var(--accent-primary); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }

/* ═══════════════════════════════
   FINAL CTA
═══════════════════════════════ */
.final-cta-section {
  text-align: center; padding: 120px 60px;
}
.final-cta-section .section-heading { max-width: 640px; margin: 0 auto 18px; }
.final-cta-section .section-sub { margin: 0 auto 44px; text-align: center; }

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
footer {
  position: relative; z-index: 1;
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-subtle);
  padding: 40px 60px;
}
.footer-inner {
  max-width: 1040px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 300; color: var(--text-soft);
  text-decoration: none;
}
.footer-logo span { color: var(--accent-primary); }
.footer-tagline {
  font-size: 0.72rem; color: var(--text-xsoft);
  letter-spacing: 0.06em; margin-top: 3px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}
.footer-social svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: currentColor;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  width: 100%;
  margin-top: 4px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-mid);
}
.footer-legal a {
  color: var(--text-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal a:hover { color: var(--accent-primary); }
.footer-legal a:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
  border-radius: 2px;
}
.footer-copy {
  font-size: 0.9rem; color: var(--text-mid);
  letter-spacing: 0.01em; width: 100%;
}

/* ═══════════════════════════════
   THEMED SCREEN IMAGES
═══════════════════════════════ */
.screen-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: opacity 0.35s ease;
}
.screen-img.fading { opacity: 0; }

/* ═══════════════════════════════
   SCROLL REVEAL ANIMATION
═══════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── LIGHTBOX ── */
.lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; cursor: zoom-out;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img {
  max-width: 90vw; max-height: 90vh;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.22);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  object-fit: contain;
}
.screen-img { cursor: zoom-in; }

/* Mobile drawer backdrop — hidden on desktop */
.nav-backdrop { display: none; }

/* ═══════════════════════════════
   NAV DRAWER (≤1439px)
   Eight links plus the theme toggle and account button wrap until 1440px.
═══════════════════════════════ */
@media (max-width: 1439px) {
  html { scroll-padding-top: 72px; }

  /* blur creates a containing block — would trap fixed .nav-collapse in the short header = scrollbar there */
  body > nav {
    justify-content: flex-start;
    gap: 22px;
    padding: 10px max(22px, env(safe-area-inset-right)) 10px max(22px, env(safe-area-inset-left));
    padding-top: max(10px, env(safe-area-inset-top));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
  }
  .logo { font-size: 1.45rem; }

  .nav-top-right {
    margin-left: 0; flex: 1; justify-content: flex-end; min-width: 0; overflow: visible;
  }
  .nav-burger { display: flex; z-index: 120; position: relative; }
  .nav-backdrop {
    display: block;
    position: fixed; z-index: 98; inset: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s;
  }
  body.nav-menu-open .nav-backdrop {
    opacity: 1; visibility: visible; pointer-events: auto;
  }

  /* Fixed width so a longer future label does not force the panel wider. */
  .nav-collapse {
    position: fixed;
    z-index: 99;
    left: max(22px, env(safe-area-inset-left));
    right: auto;
    top: calc(env(safe-area-inset-top) + 4.6rem);
    bottom: auto;
    width: 20rem;
    max-width: calc(100vw - 44px);
    margin: 0;
    flex: none; flex-direction: column;
    align-items: stretch; justify-content: flex-start; gap: 0;
    max-height: 0;
    min-height: 0;
    padding: 0 20px;
    overflow: hidden;
    background: var(--bg-primary);
    border: 1px solid transparent;
    border-radius: 14px;
    box-shadow: none;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: none;
    transition: max-height 0.4s ease, padding 0.4s ease, box-shadow 0.35s ease, opacity 0.25s ease, visibility 0.25s;
  }
  body.nav-menu-open .nav-collapse {
    max-height: min(75vh, calc(100vh - env(safe-area-inset-top) - 4.6rem - env(safe-area-inset-bottom) - 16px));
    padding: 8px 20px 16px;
    overflow-y: auto;
    overflow-x: hidden;
    border-color: var(--border-color);
    box-shadow: 0 16px 40px rgba(0,0,0,0.14);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column; align-items: stretch; gap: 0; width: 100%;
  }
  .nav-links li { border-bottom: 1px solid var(--border-subtle); }
  .nav-links a {
    display: block; padding: 16px 6px; font-size: 0.85rem;
  }

  .nav-actions {
    flex-direction: column; align-items: stretch; width: 100%;
    margin-top: 12px; gap: 16px; padding-top: 8px;
    border-top: 1px solid var(--border-subtle);
  }
  .nav-actions .theme-toggle {
    justify-content: center; min-height: 48px; padding: 10px 16px; font-size: 0.78rem;
  }
  .nav-actions .t-swatch { width: 14px; height: 14px; }
  .nav-actions .nav-cta {
    text-align: center; padding: 14px 20px; font-size: 0.85rem;
  }

  body.nav-menu-open {
    overflow: hidden;
    touch-action: none;
  }
}

/* ═══════════════════════════════
   MOBILE & TABLET (≤900px)
═══════════════════════════════ */
@media (max-width: 900px) {
  /* Section & layout density */
  section {
    padding: 48px max(20px, env(safe-area-inset-left)) 56px max(20px, env(safe-area-inset-right));
  }
  .hero {
    min-height: min(100dvh, 100vh);
    padding: 88px max(20px, env(safe-area-inset-left)) 48px max(20px, env(safe-area-inset-right));
  }
  .hero-progress { margin-top: 40px; }
  .hero-progress .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .session-pair { padding: 44px 0; gap: 28px; }
  .promo-section { padding-top: 4px; padding-bottom: 40px; }

  .hero-screens {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }
  .screen-col-main,
  .screen-col-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .screen-main,
  .screen-ambient,
  .hero-screens .shot-continue,
  .hero-screens .beta-banner {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }
  .hero-screens .shot-continue,
  .hero-screens .beta-banner { width: auto; max-width: 100%; }
  .hero-screens .beta-banner { align-self: center; }

  .problem-grid {
    grid-template-columns: 1fr; gap: 36px; margin-top: 40px;
  }

  .features-section { padding: 40px max(20px, env(safe-area-inset-left)) 40px max(20px, env(safe-area-inset-right)) !important; }
  .profile-banner {
    padding: 56px max(20px, env(safe-area-inset-left)) 64px max(20px, env(safe-area-inset-right));
  }
  .profile-banner-inner { grid-template-columns: 1fr; gap: 36px; }
  .profile-banner-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .profile-banner .feature-tag,
  .profile-banner .section-heading,
  .profile-banner-lead,
  .profile-banner-aside {
    grid-column: auto;
    grid-row: auto;
  }
  .feature-row {
    grid-template-columns: 1fr; gap: 32px; padding: 44px 0; align-items: start;
  }
  .feature-row .feature-text { order: 1 !important; }
  .feature-row .feature-shot { order: 2 !important; }

  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }

  .setup-help-section {
    padding: 48px max(20px, env(safe-area-inset-left)) 56px max(20px, env(safe-area-inset-right));
  }

  .faq-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }

  .final-cta-section { padding: 64px max(20px, env(safe-area-inset-left)) 64px max(20px, env(safe-area-inset-right)) !important; }

  footer {
    padding: 32px max(20px, env(safe-area-inset-left)) 36px max(20px, env(safe-area-inset-right));
  }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Small phones (≤480px) */
@media (max-width: 480px) {
  .hero-headline { font-size: clamp(2.2rem, 8vw, 2.8rem); }
  .hero-eyebrow::before, .hero-eyebrow::after { width: 18px; }
  .pricing-amount { font-size: clamp(2.4rem, 12vw, 3.2rem); }
}

/* Reduced motion (keep theme color transitions on body) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.visible,
  .nav-collapse, .nav-burger-line, .nav-backdrop {
    transition: none !important; animation: none !important;
  }
}

