/* ════════════════════════════════════════════════════════════════════
   Collared — landing page styles
   Two palettes by design:
   1. Site chrome  → soft brand lavender (matches the logo tiles)
   2. App demos    → the real app palette (#F6F0FF / #7444FF), so the
      recreated UI reads as authentic product inside a calmer shell
   ════════════════════════════════════════════════════════════════════ */

:root {
  /* site chrome */
  --lavender: #A9A4C9;
  --lavender-deep: #8B85B0;
  --lavender-deeper: #6E6890;
  --lavender-mist: #E6E3F2;
  --porcelain: #FAFAFC;
  --ink: #1E1E24;
  --stone: #8A8A93;

  --radius: 20px;
  --radius-sm: 14px;
  --shadow-soft: 0 10px 40px rgba(110, 104, 144, 0.16);
  --shadow-lift: 0 16px 48px rgba(110, 104, 144, 0.22);

  --font-display: "Jost", "Avenir Next", "Century Gothic", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

/* app demo palette — light (default) */
.app-ui {
  --a-bg: #F6F0FF;
  --a-card: #FFFFFF;
  --a-card-2: #FBF8FF;
  --a-ink: #2A2733;
  --a-sub: #6F6B7A;
  --a-violet: #7444FF;
  --a-violet-2: #8B61FF;
  --a-violet-soft: #EDE7FF;
  --a-green: #2E9E5B;
  --a-green-soft: #DFF3E7;
  --a-red: #D44A5E;
  --a-red-soft: #FBE7EB;
  --a-amber: #8F6510;
  --a-amber-soft: #FBF0D2;
  --a-border: rgba(116, 68, 255, 0.10);
  --a-shadow: 0 4px 18px rgba(116, 68, 255, 0.08);
}

/* app demo palette — dark (recreates the app's built-in dark mode) */
body.demos-dark .app-ui {
  --a-bg: #1A1820;
  --a-card: #26232E;
  --a-card-2: #211E29;
  --a-ink: #F2F0F7;
  --a-sub: #A7A2B3;
  --a-violet: #8B61FF;
  --a-violet-2: #A07FFF;
  --a-violet-soft: #383052;
  --a-green: #4CC380;
  --a-green-soft: #233B2E;
  --a-red: #E76A7C;
  --a-red-soft: #43242B;
  --a-amber: #E2B45A;
  --a-amber-soft: #3D3322;
  --a-border: rgba(139, 97, 255, 0.16);
  --a-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

/* ── reset-ish ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--porcelain);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.18; margin: 0 0 0.5em; }
h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); letter-spacing: 0.01em; }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
a { color: var(--lavender-deeper); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section[id] { scroll-margin-top: 76px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender-deeper);
  margin-bottom: 12px;
}
.section-lede { max-width: 620px; color: #55525e; font-size: 18px; }

/* visible keyboard focus everywhere */
:focus-visible {
  outline: 3px solid var(--lavender-deep);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 13px 26px; border-radius: 999px; text-decoration: none;
  border: none; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.55); color: var(--ink);
  border: 1px solid rgba(30, 30, 36, 0.18);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.85); transform: translateY(-2px); }
.btn-pill {
  background: var(--lavender); color: #fff; padding: 9px 20px; font-size: 15px;
}
.btn-pill:hover { background: var(--lavender-deep); }
.btn-big { font-size: 17px; padding: 16px 34px; }

/* ════════════════ NAV ════════════════ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 252, 0.85);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(110, 104, 144, 0.10);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 28px;
}
.nav-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-mark { width: 30px; height: 30px; color: var(--lavender-deep); }
.nav-wordmark { height: 20px; width: auto; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500;
  padding: 6px 2px; border-bottom: 2px solid transparent;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.nav-links a:hover { color: var(--lavender-deeper); border-bottom-color: var(--lavender); }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 10px; cursor: pointer; margin-left: auto;
}
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu {
  display: flex; flex-direction: column; gap: 4px; padding: 8px 24px 20px;
  border-top: 1px solid rgba(110, 104, 144, 0.10);
}
.mobile-menu a {
  text-decoration: none; color: var(--ink); font-weight: 500; padding: 12px 4px;
  border-bottom: 1px solid rgba(110, 104, 144, 0.08);
}
.mobile-menu .btn { margin-top: 14px; justify-content: center; border-bottom: none; }

/* ════════════════ HERO ════════════════ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #C5C1DD 0%, var(--lavender) 45%, #9893BD 100%);
  color: #fff;
}
.hero-geometry {
  position: absolute; width: 1100px; height: 1100px;
  top: -320px; right: -280px; color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.hero-geometry-2 {
  width: 700px; height: 700px; top: auto; right: auto;
  bottom: -380px; left: -260px; color: rgba(255, 255, 255, 0.05);
}
.hero-inner {
  position: relative; max-width: 1120px; margin: 0 auto; padding: 84px 24px 96px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.hero-wordmark {
  width: min(360px, 74%);
  filter: drop-shadow(0 6px 22px rgba(110, 104, 144, 0.55));
  opacity: 0; animation: hero-in 0.7s ease 0.1s forwards;
}
.hero-tagline {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem); font-weight: 300;
  letter-spacing: 0.015em; margin: 36px 0 16px;
  color: #2E2A3F;
  opacity: 0; animation: hero-in 0.7s ease 0.28s forwards;
}
.hero-subline {
  font-size: 19px; max-width: 480px; color: #36324A;
  opacity: 0; animation: hero-in 0.7s ease 0.46s forwards;
}
.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px;
  opacity: 0; animation: hero-in 0.7s ease 0.64s forwards;
}
.hero-phone-wrap {
  justify-self: center;
  opacity: 0; animation: hero-in 0.9s ease 0.5s forwards;
}
.hero-phone-hint {
  text-align: center; font-size: 14px; color: #36324A;
  margin-top: 16px; letter-spacing: 0.02em;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── the phone frame ── */
.phone {
  width: 340px; max-width: 88vw; height: 690px;
  border-radius: 48px; padding: 12px;
  background: linear-gradient(180deg, #2c2a33, #1c1b22);
  box-shadow: 0 30px 80px rgba(40, 36, 66, 0.45), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  position: relative;
}
.phone-notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px; border-radius: 14px; background: #17161d; z-index: 3;
}
.phone-screen {
  background: var(--a-bg); border-radius: 38px; height: 100%;
  overflow: hidden; display: flex; flex-direction: column;
  padding-top: 54px;
  transition: background 0.4s ease;
}
.phone-screen .task-demo { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.phone-screen .task-list { flex: 1; overflow-y: auto; }
.phone-screen .task-list > * { flex: none; }
.phone-screen .task-header, .phone-screen .task-filters, .phone-screen [data-overdue-slot] { flex: none; }

/* ════════════════ APP UI (shared demo styles) ════════════════ */
.app-ui { font-size: 14px; color: var(--a-ink); }
.app-ui h4 { font-family: var(--font-body); font-weight: 600; }

.app-panel {
  background: var(--a-bg); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow-soft); border: 1px solid var(--a-border);
  transition: background 0.4s ease;
}

/* task demo */
.task-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 16px 10px;
}
.app-panel .task-header { padding: 0 0 10px; }
.task-title { font-weight: 600; font-size: 16px; color: var(--a-ink); }
.task-points-pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--a-card); color: var(--a-violet);
  font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px;
  box-shadow: var(--a-shadow); transition: transform 0.2s ease;
}
.task-points-pill.tick { transform: scale(1.12); }
.task-points-pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

.task-filters {
  display: flex; background: var(--a-card); border-radius: 999px;
  padding: 4px; margin: 0 16px 10px; box-shadow: var(--a-shadow);
}
.app-panel .task-filters { margin: 0 0 10px; }
.task-filter {
  flex: 1; border: none; background: none; font-family: var(--font-body);
  font-size: 13px; font-weight: 600; color: var(--a-sub);
  padding: 8px 0; border-radius: 999px; cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.task-filter[aria-pressed="true"] { background: var(--a-violet); color: #fff; }

.task-overdue {
  display: flex; align-items: center; gap: 8px;
  background: var(--a-red-soft); color: var(--a-red);
  font-size: 13px; font-weight: 600;
  border-radius: 12px; padding: 9px 14px; margin: 0 16px 12px;
}
.app-panel .task-overdue { margin: 0 0 12px; }
.task-overdue svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }

.task-list { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.app-panel .task-list { padding: 0; }

.task-card {
  position: relative; background: var(--a-card); border-radius: var(--radius-sm);
  padding: 14px 14px 14px 18px; box-shadow: var(--a-shadow);
  overflow: hidden;
  transition: background 0.3s ease, opacity 0.3s ease;
}
.task-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--a-violet-2); transition: background 0.3s ease;
}
.task-card.is-overdue::before { background: var(--a-red); }
.task-card.is-done::before { background: var(--a-green); }
.task-card h4 { margin: 0 0 3px; font-size: 14.5px; color: var(--a-ink); }
.task-card .task-desc { margin: 0 0 9px; font-size: 12.5px; color: var(--a-sub); }
.task-card.is-done h4, .task-card.is-done .task-desc { text-decoration: line-through; color: var(--a-sub); }

.task-meta {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  font-size: 12px; color: var(--a-sub); margin-bottom: 9px;
}
.task-meta span { display: inline-flex; align-items: center; gap: 4px; }
.task-meta svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.task-meta .meta-due-overdue { color: var(--a-red); font-weight: 600; }

.task-footer { display: flex; align-items: center; justify-content: space-between; }
.task-pts { display: inline-flex; align-items: center; gap: 4px; color: var(--a-violet); font-weight: 700; font-size: 13px; }
.task-pts svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

.btn-complete {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--a-violet-soft); color: var(--a-violet);
  border: none; font-family: var(--font-body); font-weight: 600; font-size: 12.5px;
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  transition: transform 0.12s ease, background 0.18s ease;
}
.btn-complete svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn-complete:hover { background: var(--a-violet); color: #fff; }
.btn-complete:active, .btn-complete.pressing { transform: scale(0.92); }

.badge-done {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--a-green-soft); color: var(--a-green);
  font-weight: 600; font-size: 12.5px; padding: 7px 14px; border-radius: 999px;
  animation: pop-in 0.3s ease;
}
.badge-done svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
@keyframes pop-in {
  0% { transform: scale(0.6); opacity: 0; }
  70% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
.task-empty { text-align: center; color: var(--a-sub); font-size: 13px; padding: 28px 10px; }

/* tab bar */
.app-tabbar {
  display: flex; justify-content: space-around; align-items: center;
  background: var(--a-card); border-top: 1px solid var(--a-border);
  padding: 10px 6px 18px; transition: background 0.4s ease;
}
.app-tabbar .tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10px; color: var(--a-sub);
}
.app-tabbar .tab svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.app-tabbar .tab-active { color: var(--a-violet); font-weight: 600; }

/* journal panel */
.app-date-header { color: var(--a-violet); font-weight: 700; font-size: 13px; margin: 4px 0 10px; }
.journal-card {
  background: var(--a-card); border-radius: var(--radius-sm); padding: 16px;
  box-shadow: var(--a-shadow); margin-bottom: 16px;
}
.journal-card-dim { opacity: 0.85; margin-bottom: 0; }
.journal-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.journal-date { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--a-sub); }
.journal-date svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.journal-badge {
  background: var(--a-violet-soft); color: var(--a-violet);
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.journal-badge-muted { background: var(--a-card-2); color: var(--a-sub); border: 1px solid var(--a-border); }
.journal-card h4 { margin: 0 0 6px; font-size: 15px; }
.journal-card p { font-size: 13px; color: var(--a-sub); margin: 0 0 12px; }
.journal-foot { display: flex; align-items: center; justify-content: space-between; }
.journal-words { font-size: 12px; color: var(--a-sub); }
.journal-actions { display: flex; gap: 8px; }
.app-chip-btn {
  background: var(--a-violet-soft); color: var(--a-violet); border: none;
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.app-chip-btn:hover { background: var(--a-violet); color: #fff; }

/* rewards panel */
.rewards-balance {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--a-card); color: var(--a-violet);
  font-weight: 700; font-size: 16px; border-radius: var(--radius-sm);
  padding: 12px; margin-bottom: 16px; box-shadow: var(--a-shadow);
}
.rewards-balance svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.reward-card {
  background: var(--a-card); border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--a-shadow); margin-bottom: 16px;
}
.reward-card:last-child { margin-bottom: 0; }
.reward-art {
  height: 110px; display: flex; align-items: center; justify-content: center;
  font-size: 44px;
}
.reward-art-1 { background: linear-gradient(135deg, #B9A6F2, #8B61FF); }
.reward-art-2 { background: linear-gradient(135deg, #6E6890, #2A2733); }
.reward-body { padding: 14px 16px 16px; position: relative; }
.reward-body h4 { margin: 0 0 4px; font-size: 15px; }
.reward-body > p { font-size: 12.5px; color: var(--a-sub); margin: 0 0 8px; }
.reward-cost {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--a-violet); font-weight: 700; font-size: 13px !important; margin-bottom: 10px !important;
}
.reward-cost svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.reward-expires {
  position: absolute; top: -14px; left: 16px;
  display: inline-block;
  background: var(--a-amber-soft); color: var(--a-amber);
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  box-shadow: var(--a-shadow);
}
.app-btn-redeem {
  display: block; width: 100%;
  background: var(--a-violet); color: #fff; border: none;
  font-family: var(--font-body); font-weight: 600; font-size: 13.5px;
  padding: 10px; border-radius: 999px; cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, opacity 0.2s ease;
}
.app-btn-redeem:hover:not(:disabled):not(.is-redeemed) { background: var(--a-violet-2); }
.app-btn-redeem:active:not(:disabled) { transform: scale(0.97); }
.app-btn-redeem:disabled { background: var(--a-card-2); color: var(--a-sub); border: 1px solid var(--a-border); cursor: not-allowed; }
.app-btn-redeem.is-redeemed { background: var(--a-green-soft); color: var(--a-green); cursor: default; }
.reward-no-points { color: var(--a-red); font-size: 12px !important; font-weight: 600; margin: 8px 0 0 !important; text-align: center; }

/* profile panel */
.profile-stats {
  display: flex; background: var(--a-card); border-radius: var(--radius-sm);
  box-shadow: var(--a-shadow); padding: 14px 6px; margin-bottom: 12px;
}
.pstat {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  border-right: 1px solid var(--a-border);
}
.pstat:last-child { border-right: none; }
.pstat svg { width: 18px; height: 18px; fill: none; stroke: var(--a-violet); stroke-width: 2; margin-bottom: 3px; }
.pstat strong { font-size: 18px; color: var(--a-ink); }
.pstat span { font-size: 11px; color: var(--a-sub); }
.profile-streak {
  display: table; margin: 0 auto 16px;
  background: var(--a-amber-soft); color: var(--a-amber);
  font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px;
}
.profile-group {
  background: var(--a-card); border-radius: var(--radius-sm);
  box-shadow: var(--a-shadow); padding: 14px 16px; margin-bottom: 12px;
}
.profile-group:last-child { margin-bottom: 0; }
.profile-label { font-size: 13px; font-weight: 600; color: var(--a-ink); margin: 0 0 10px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.app-pill {
  background: var(--a-card); color: var(--a-ink);
  border: 1px solid var(--a-border);
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}
.app-pill:hover { border-color: var(--a-violet-2); }
.app-pill:active { transform: scale(0.95); }
.app-pill[aria-pressed="true"] { background: var(--a-violet); color: #fff; border-color: var(--a-violet); }

/* theme micro-demo */
.theme-demo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  margin: 90px 0 0;
}
.theme-demo-copy p:last-child { color: #55525e; }
.theme-panel { max-width: 420px; }
.theme-row { display: flex; gap: 12px; }
.theme-card {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--a-card); border: 1.5px solid var(--a-border);
  border-radius: var(--radius-sm); padding: 14px 8px;
  font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--a-sub);
  cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease, background 0.4s ease;
}
.theme-card[aria-pressed="true"] { border-color: var(--a-violet); color: var(--a-violet); font-weight: 600; }
.theme-swatch { width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--a-border); }
.theme-swatch-light { background: #F6F0FF; }
.theme-swatch-dark { background: #211E29; }
.theme-swatch-system { background: linear-gradient(115deg, #F6F0FF 50%, #211E29 50%); }

/* ════════════════ PILLARS ════════════════ */
.pillars { padding: 96px 0; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.pillar-card {
  display: block; background: #fff; border-radius: var(--radius); padding: 32px 28px;
  text-decoration: none; color: var(--ink);
  border: 1px solid rgba(110, 104, 144, 0.10);
  box-shadow: 0 6px 26px rgba(110, 104, 144, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pillar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.pillar-glyph { width: 44px; height: 44px; color: var(--lavender); margin-bottom: 18px; }
.pillar-card p { color: #55525e; font-size: 15.5px; }
.pillar-more { color: var(--lavender-deeper); font-weight: 600; font-size: 14.5px; }

/* ════════════════ APP SECTION ════════════════ */
.app-section { padding: 30px 0 110px; }

.waitlist-block {
  background: #fff; border-radius: var(--radius); padding: 34px 36px;
  border: 1px solid rgba(110, 104, 144, 0.10);
  box-shadow: 0 6px 26px rgba(110, 104, 144, 0.10);
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center;
  margin: 44px 0 80px;
  scroll-margin-top: 90px;
}
.store-badges { display: flex; flex-direction: column; gap: 10px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--lavender-mist); color: var(--lavender-deeper);
  border-radius: 12px; padding: 9px 18px; font-weight: 600; font-size: 15px;
  opacity: 0.8;
}
.store-badge svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.store-badge small { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.75; }
.waitlist-row { display: flex; gap: 10px; }
.waitlist-row input {
  flex: 1; min-width: 0; font-family: var(--font-body); font-size: 16px;
  padding: 13px 18px; border-radius: 999px;
  border: 1.5px solid rgba(110, 104, 144, 0.25); background: var(--porcelain);
}
.waitlist-row input:focus-visible { outline-offset: 0; }
.waitlist-merch {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 14px;
  font-size: 14.5px; color: #55525e; cursor: pointer;
}
.waitlist-merch input { width: 17px; height: 17px; accent-color: var(--lavender-deep); }
.waitlist-success { color: #2E7D4F; font-weight: 600; margin: 14px 0 0; }

.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  margin-bottom: 90px;
}
.feature-flip .feature-copy { order: 2; }
.feature-flip .feature-panel { order: 1; }
.feature-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.feature-copy p { color: #55525e; }
.feature-panel .app-panel { max-width: 430px; margin: 0 auto; }

.soon-eyebrow { margin-top: 100px; text-align: center; }
.soon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin: 24px auto 0; }
.soon-card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  border: 1px solid rgba(110, 104, 144, 0.10);
  box-shadow: 0 6px 26px rgba(110, 104, 144, 0.08);
}
.soon-glyph { width: 34px; height: 34px; color: var(--lavender); margin-bottom: 12px; }
.soon-card h4 { font-size: 1.2rem; }
.soon-card p { color: #55525e; font-size: 15px; margin: 0; }

/* ════════════════ COMMUNITY ════════════════ */
.community { background: var(--lavender-mist); padding: 96px 0; }
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.community-tile {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  box-shadow: 0 6px 26px rgba(110, 104, 144, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.community-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.tile-glyph { width: 36px; height: 36px; color: var(--lavender); margin-bottom: 14px; }
.community-tile h3 { font-size: 1.25rem; }
.community-tile p { color: #55525e; font-size: 15px; margin: 0; }
.community-cta { text-align: center; margin-top: 48px; }

/* ════════════════ PODCAST ════════════════ */
.podcast { padding: 100px 0; }
.podcast-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.podcast-ctas { margin: 26px 0; }
.podcast-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.platform-badge {
  background: var(--lavender-mist); color: var(--lavender-deeper);
  font-size: 13.5px; font-weight: 600; padding: 7px 16px; border-radius: 999px;
  opacity: 0.85;
}
.episode-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lift); max-width: 380px; justify-self: center;
  border: 1px solid rgba(110, 104, 144, 0.10);
}
.episode-cover {
  background: linear-gradient(150deg, #C5C1DD, var(--lavender) 60%, #9893BD);
  display: flex; align-items: center; justify-content: center;
  height: 240px;
}
.episode-cover svg { width: 130px; height: 130px; color: rgba(255, 255, 255, 0.92); filter: drop-shadow(0 4px 18px rgba(110, 104, 144, 0.5)); }
.episode-meta { padding: 22px 24px 26px; }
.episode-label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lavender-deep); margin-bottom: 6px; }
.episode-meta h3 { font-size: 1.3rem; margin-bottom: 4px; }
.episode-sub { color: var(--stone); font-size: 14px; margin-bottom: 16px; }
.episode-bar { height: 5px; border-radius: 99px; background: var(--lavender-mist); overflow: hidden; }
.episode-bar span { display: block; height: 100%; width: 22%; border-radius: 99px; background: var(--lavender-deep); }

/* ════════════════ MERCH ════════════════ */
.merch { background: linear-gradient(160deg, #C5C1DD, var(--lavender)); padding: 56px 0; }
.merch-inner { display: flex; align-items: center; gap: 36px; }
.merch-wordmark { width: 220px; filter: drop-shadow(0 4px 16px rgba(110, 104, 144, 0.45)); flex: none; }
.merch-inner p { color: #2E2A3F; font-size: 18px; margin: 0; }
.merch-inner a { color: #2E2A3F; font-weight: 700; }

/* ════════════════ EVENTS ════════════════ */
.events { padding: 96px 0; }
.events-empty {
  text-align: center; background: #fff; border-radius: var(--radius);
  border: 1px dashed rgba(110, 104, 144, 0.30);
  padding: 56px 24px; margin-top: 36px;
}
.events-empty svg { width: 52px; height: 52px; color: var(--lavender); margin: 0 auto 16px; display: block; }
.events-empty p { color: #55525e; max-width: 420px; margin: 0 auto; }
.events-empty a { font-weight: 600; }
.event-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  background: #fff; border-radius: var(--radius); padding: 24px 28px; margin-top: 20px;
  border: 1px solid rgba(110, 104, 144, 0.10);
  box-shadow: 0 6px 26px rgba(110, 104, 144, 0.08);
}
.event-date {
  text-align: center; background: var(--lavender-mist); border-radius: 14px;
  padding: 10px 16px; color: var(--lavender-deeper); min-width: 76px;
}
.event-date strong { display: block; font-size: 22px; font-family: var(--font-display); }
.event-date span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.event-info h3 { font-size: 1.2rem; margin-bottom: 2px; }
.event-info p { margin: 0; color: #55525e; font-size: 15px; }
.event-loc { color: var(--stone); font-size: 13.5px !important; margin-top: 3px !important; }
.events-past { margin-top: 36px; }
.events-past summary {
  cursor: pointer; font-weight: 600; color: var(--lavender-deeper);
  padding: 10px 4px; font-size: 15.5px;
}
.events-past .event-card { opacity: 0.75; }

/* ════════════════ JOIN ════════════════ */
.join { background: linear-gradient(160deg, #7A739F, #615B85); padding: 96px 0; }
.join-inner { text-align: center; color: #fff; }
.join-glyph { width: 56px; height: 56px; color: rgba(255, 255, 255, 0.9); margin-bottom: 18px; }
.join-inner p { color: #fff; max-width: 480px; margin: 0 auto 30px; font-size: 18px; }

/* ════════════════ FOOTER ════════════════ */
.footer { background: var(--ink); color: #C9C7D1; padding: 64px 0 36px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-wordmark { width: 190px; margin-bottom: 18px; }
.footer-contact { font-size: 15px; }
.footer-contact a, .footer-socials a { color: #C9C7D1; }
.footer-socials { display: flex; gap: 18px; font-size: 14.5px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #C9C7D1; text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: #fff; }
.footer-disclaimer { color: var(--stone); font-size: 13.5px; margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 24px; }

/* ════════════════ SCROLL REVEALS ════════════════ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-wordmark, .hero-tagline, .hero-subline, .hero-ctas, .hero-phone-wrap {
    animation: none; opacity: 1;
  }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ════════════════ RESPONSIVE ════════════════ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 24px 72px; }
  .hero-phone-wrap { margin-top: 12px; }
  .pillar-grid, .community-grid { grid-template-columns: 1fr; }
  .feature, .theme-demo, .podcast-inner { grid-template-columns: 1fr; gap: 36px; }
  .feature-flip .feature-copy { order: 1; }
  .feature-flip .feature-panel { order: 2; }
  .waitlist-block { grid-template-columns: 1fr; gap: 24px; }
  .store-badges { flex-direction: row; flex-wrap: wrap; }
  .soon-grid { grid-template-columns: 1fr; }
  .merch-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}
@media (min-width: 761px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .phone { height: 640px; }
  .waitlist-row { flex-direction: column; }
  .waitlist-row .btn { width: 100%; }
  .event-card { grid-template-columns: 1fr; gap: 12px; }
}
