/* ── Landing page ─────────────────────────── */
.landing {
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  font-family: var(--font-body);
}

/* ── Nav ──────────────────────────────────── */
.lnav {
  position: sticky; top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--divider);
}
.lnav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.lnav-brand {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--fg);
}
.lnav-wordmark { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.lnav-links { display: flex; gap: 24px; flex: 1; margin-left: 12px; }
.lnav-links a { font-size: 13.5px; color: var(--fg-muted); cursor: pointer; }
.lnav-links a:hover { color: var(--fg); }
.lnav-right { display: flex; align-items: center; gap: 14px; }
.lnav-login { font-size: 13.5px; color: var(--fg-muted); cursor: pointer; }
.lnav-login:hover { color: var(--fg); }

.btn-download {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--fg); color: var(--bg);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 140ms, background 140ms;
}
[data-theme="dark"] .btn-download { background: var(--accent); color: #fff; }
.btn-download:hover { transform: translateY(-1px); }
.btn-download--lg { padding: 14px 24px; font-size: 15px; border-radius: 999px; }

/* ── Hero ─────────────────────────────────── */
.lhero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 32px 40px;
  text-align: center;
}
.lhero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 28px;
}
.lhero-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  animation: pulse-accent 2s var(--ease-inout) infinite;
}
.lhero-title {
  font-size: 84px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 auto 24px;
  max-width: 900px;
  text-wrap: balance;
}
.lhero-title em { font-style: italic; color: var(--accent); }

.lhero-lead {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.45;
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto 32px;
  text-wrap: pretty;
}
.lhero-lead strong { color: var(--fg); font-weight: 500; font-style: italic; }

.lhero-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 60px;
}
.lhero-cta-meta { font-size: 12.5px; color: var(--fg-subtle); font-family: var(--font-display); font-style: italic; }
.lhero-cta-meta .strike { text-decoration: line-through; opacity: 0.55; margin-right: 4px; }
.lhero-cta-meta strong { color: var(--accent); font-weight: 600; }

/* ── Demo ─────────────────────────────────── */
.ldemo { max-width: 1000px; margin: 0 auto 32px; }
.ldemo-frame {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.ldemo-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--divider);
  background: var(--bg-sunken);
}
.ldemo-topbar .caps {
  display: inline-flex; align-items: center; gap: 7px;
}
.ldemo-live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,107,53, 0.65);
  animation: ldemo-live-pulse 1.4s ease-out infinite;
}
@keyframes ldemo-live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,107,53, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(255,107,53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,53, 0); }
}
.ldemo-modeswitch {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}
.ldemo-mode {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--fg-muted);
}
.ldemo-mode--active {
  background: var(--fg); color: var(--bg);
}
[data-theme="dark"] .ldemo-mode--active { background: var(--accent); color: #fff; }

.ldemo-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  padding: 28px;
  align-items: stretch;
}
.ldemo-col { min-height: 140px; text-align: left; }
.ldemo-col-label { margin-bottom: 12px; display: inline-flex; align-items: center; gap: 6px; }
.dotcol { width: 8px; height: 8px; border-radius: 999px; }
.dotcol--raw { background: var(--fg-faint); }
.dotcol--polished { background: var(--accent); }

.ldemo-raw {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.55;
  min-height: 100px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.ldemo-polished {
  font-size: 19px;
  line-height: 1.5;
  min-height: 100px;
  color: var(--fg);
}
.ldemo-placeholder { color: var(--fg-faint); font-style: italic; font-family: var(--font-display); font-size: 14px; }

.ldemo-divider {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 28px;
  gap: 8px;
}
.ldemo-divider-line { flex: 1; width: 1px; background: var(--border); }
.ldemo-divider-arrow {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--bg-sunken);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}

.ldemo-footer {
  padding: 20px;
  border-top: 1px solid var(--divider);
  background: var(--bg-sunken);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  min-height: 88px;
}
.ldemo-pill-wrap { display: flex; align-items: center; min-width: 260px; }
.ldemo-actions { display: flex; gap: 8px; align-items: center; }

.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--fg); color: var(--bg);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
}
[data-theme="dark"] .btn-dark { background: var(--accent); color: #fff; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--fg-muted);
}
.btn-ghost:hover { background: var(--bg-inline); color: var(--fg); }

.ldemo-caption {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--fg-subtle);
  font-family: var(--font-display);
  font-style: italic;
}

/* ── Marquee ──────────────────────────────── */
.lmarquee { margin-top: 56px; overflow: hidden; }
.lmarquee-label { color: var(--fg-subtle); margin-bottom: 14px; }
.lmarquee-track {
  display: flex;
  gap: 56px;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.lmarquee-item {
  font-size: 26px;
  color: var(--fg-faint);
  font-style: italic;
  white-space: nowrap;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ── Before / After ───────────────────────── */
.lba {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
}
.lba-head { text-align: center; margin-bottom: 36px; }
.lba-eyebrow { color: var(--accent); margin-bottom: 10px; }
.lba-title {
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
.lba-title em { font-style: italic; color: var(--accent); }

.lba-tabs {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 24px;
}
.lba-tab {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.lba-tab--active { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.lba-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
}
.lba-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  min-height: 180px;
}
.lba-col--polished { background: var(--bg-raised); border-color: var(--fg); box-shadow: var(--shadow-md); }
.lba-col-label { margin-bottom: 12px; color: var(--fg-subtle); }
.lba-text { font-size: 17px; line-height: 1.55; color: var(--fg); }
.lba-col--raw .lba-text { font-family: var(--font-mono); font-size: 14px; color: var(--fg-muted); }

.lba-arrow {
  display: flex; align-items: center;
  color: var(--accent);
}

/* ── Differentiators ──────────────────────── */
.ldiff {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 32px;
}
.ldiff-head { text-align: center; margin-bottom: 48px; }
.ldiff-eyebrow { color: var(--accent); margin-bottom: 10px; }
.ldiff-title {
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
.ldiff-title em { font-style: italic; color: var(--accent); }

.ldiff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 64px;
}
.ldiff-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  position: relative;
  transition: transform 200ms, border-color 200ms;
}
.ldiff-card:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.ldiff-card--accent {
  background: linear-gradient(180deg, var(--bg-raised), var(--bg-card));
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.ldiff-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.ldiff-card-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  line-height: 1.15;
}
.ldiff-card-title em { font-style: italic; color: var(--accent); }
.ldiff-card-body {
  font-size: 13.5px;
  color: var(--fg-muted);
  line-height: 1.55;
  margin: 0 0 18px;
}
.ldiff-meta {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-inline);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg);
  font-weight: 500;
}

/* ── Comparison table ─────────────────────── */
.lcompare {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.lcompare-head, .lcompare-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  align-items: center;
}
.lcompare-head {
  background: var(--bg-sunken);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.lcompare-h {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fg-muted);
  text-align: center;
}
.lcompare-h--us { color: var(--accent); }
.lcompare-h--us .serif { font-size: 18px; font-weight: 500; font-style: italic; }
.lcompare-row {
  padding: 14px 20px;
  border-bottom: 1px solid var(--divider);
  font-size: 13.5px;
}
.lcompare-row:last-child { border-bottom: none; }
.lcompare-f { color: var(--fg); font-weight: 500; }
.lcompare-v { text-align: center; color: var(--fg-muted); }
.lcompare-v--us { color: var(--fg); }
.lcompare-v--us strong { color: var(--accent); font-weight: 600; }

/* ── App shot ─────────────────────────────── */
.lshot {
  padding: 80px 32px;
  background: var(--bg-sunken);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.lshot-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.lshot-eyebrow { color: var(--accent); margin-bottom: 10px; }
.lshot-title {
  font-size: 48px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.05;
  margin: 0 0 14px;
}
.lshot-title em { font-style: italic; color: var(--accent); }
.lshot-sub { font-family: var(--font-display); font-size: 18px; color: var(--fg-muted); line-height: 1.45; margin: 0; }

.lshot-stage { max-width: 900px; margin: 0 auto; }
.lshot-desktop {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #5d4638, #3d2b1e);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.15);
}
.lshot-menubar {
  display: flex; justify-content: space-between;
  padding: 6px 14px;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,0.9);
  font-size: 11px;
}
.lshot-menubar-items { display: flex; gap: 10px; align-items: center; }
.lshot-menubar-dot { display: inline-flex; padding: 0 2px; }
.lshot-pill-placement {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
}

/* ── Pricing ──────────────────────────────── */
.lprice {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 32px;
}
.lprice-head { text-align: center; margin-bottom: 44px; }
.lprice-eyebrow { color: var(--accent); margin-bottom: 10px; }
.lprice-title {
  font-size: 52px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; margin: 0;
  text-wrap: balance;
}
.lprice-title em { font-style: italic; color: var(--accent); }

.lprice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.lprice-grid--single {
  grid-template-columns: minmax(0, 440px);
  justify-content: center;
}
.pcard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  position: relative;
}
.pcard--featured {
  background: linear-gradient(180deg, #1a1a1a, #0f0f0f);
  border-color: #1a1a1a;
  color: var(--pill-fg);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.pcard-ribbon {
  position: absolute; top: -12px; right: 24px;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}
.pcard-tier { margin-bottom: 14px; color: var(--fg-subtle); }
.pcard--featured .pcard-tier { color: rgba(245, 243, 236, 0.55); }
.pcard-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.pcard-price { font-size: 56px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.pcard-strike { font-size: 18px; color: var(--fg-subtle); text-decoration: line-through; }
.pcard--featured .pcard-strike { color: rgba(245, 243, 236, 0.4); }
.pcard-period { font-size: 13px; color: var(--fg-muted); }
.pcard--featured .pcard-period { color: rgba(245, 243, 236, 0.55); }
.pcard-pitch {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--fg-muted);
  margin: 0 0 20px;
  font-size: 14px;
}
.pcard--featured .pcard-pitch { color: rgba(245, 243, 236, 0.7); }
.pcard-features {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.pcard-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px;
  color: var(--fg);
}
.pcard-features li svg { color: var(--accent); flex-shrink: 0; }
.pcard--featured .pcard-features li { color: var(--pill-fg); }
.pcard-cta {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  background: var(--bg-inline);
  color: var(--fg);
  width: 100%;
}
.pcard--featured .pcard-cta {
  background: rgba(245, 243, 236, 0.1);
  color: var(--pill-fg);
}
.pcard-cta--primary {
  background: var(--accent) !important;
  color: #fff !important;
}

/* ── Footer ───────────────────────────────── */
.lfoot {
  border-top: 1px solid var(--divider);
  padding: 80px 32px 40px;
  background: var(--bg-sunken);
}
.lfoot-hero {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.lfoot-cta-title {
  font-size: 64px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin: 0 0 8px;
}
.lfoot-cta-title em { font-style: italic; color: var(--accent); }
.lfoot-meta { font-size: 12.5px; color: var(--fg-subtle); font-family: var(--font-display); font-style: italic; }

.lfoot-links {
  max-width: 1180px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--divider);
}
.lfoot-col-label { margin-bottom: 14px; color: var(--fg-subtle); }
.lfoot-links a {
  display: block;
  font-size: 13px;
  color: var(--fg-muted);
  padding: 4px 0;
  cursor: pointer;
}
.lfoot-links a:hover { color: var(--accent); }

.lfoot-bottom {
  max-width: 1180px; margin: 0 auto;
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px;
  color: var(--fg-subtle);
}
.lfoot-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); }
.lfoot-brand .serif { font-size: 16px; }
.lfoot-tag { font-family: var(--font-display); font-style: italic; color: var(--fg-subtle); margin-left: 8px; }
.lfoot-socials { display: flex; gap: 18px; }
.lfoot-socials a { color: var(--fg-muted); cursor: pointer; }
.lfoot-socials a:hover { color: var(--accent); }
