/* ── Liminal marketing landing (design handoff 09-marketing / turn 21) ──
   Namespaced .lp-* so it never collides with style.css (legal + guides pages).
   Same forest-dark palette, same type (Space Grotesk / IBM Plex Sans), same
   orb language as the app. */

.lp {
  --bg: #0a0e0d;
  --surface: #111918;
  --surface-2: #0d1211;
  --control: #161f1b;
  --border: #22302b;
  --border-soft: #1b2621;
  --accent: #52c896;
  --accent-deep: #3e8f72;
  --accent-surface: #16241e;
  --gold: #c9a94a;
  --gold-bright: #e8b84b;
  --text: #edf5ef;
  --text-2: #a8bfb2;
  --text-3: #8aa89a;
  --muted: #6b8c7a;
  --delta: #7b68ee;
  --theta: #5b9bd5;
  --alpha: #3e8f72;
  --beta: #e8b84b;
  --gamma: #e05a3a;

  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.lp * { box-sizing: border-box; }

.lp h1, .lp h2, .lp h3 { font-family: 'Space Grotesk', system-ui, sans-serif; margin: 0; }
.lp a { color: inherit; text-decoration: none; }

.lp-container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.lp-kicker {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 14px;
}
.lp-h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
}
.lp-section { padding: clamp(64px, 9vw, 108px) 0; position: relative; }
.lp-section--tint { background: linear-gradient(180deg, var(--surface-2), var(--bg)); }

/* ── Buttons ── */
.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 26px;
  border-radius: 26px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn--primary { background: var(--accent); color: #06110c; }
.lp-btn--primary:hover { background: #62d6a4; }
.lp-btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.lp-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.lp-btn--gold { background: var(--gold); color: #1a1405; }
.lp-btn--gold:hover { background: var(--gold-bright); }
.lp-btn--outline { background: transparent; color: var(--text); border-color: var(--border); }
.lp-btn--outline:hover { border-color: var(--accent); }
.lp-btn--gold-outline { background: transparent; color: var(--gold); border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.lp-btn--gold-outline:hover { background: color-mix(in srgb, var(--gold) 10%, transparent); }

/* ── Nav ── */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.lp-nav-inner {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-logo img { height: 26px; width: auto; display: block; }
.lp-nav-links { display: flex; align-items: center; gap: 30px; }
.lp-nav-links a { font-size: 14px; color: var(--text-2); transition: color 0.15s; }
.lp-nav-links a:hover { color: var(--text); }
.lp-nav-cta {
  height: 38px;
  padding: 0 18px;
  border-radius: 20px;
  background: var(--accent);
  color: #06110c !important;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
}
.lp-nav-cta:hover { background: #62d6a4; }

/* ── Hero ── */
.lp-hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}
.lp-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
}
.lp-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, var(--bg) 34%, color-mix(in srgb, var(--bg) 55%, transparent) 58%, transparent 92%),
    linear-gradient(0deg, var(--bg), transparent 40%);
}
.lp-hero-inner { position: relative; z-index: 1; padding: 60px 0; }
.lp-hero-copy { max-width: 640px; }
.lp-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}
.lp-h1 {
  font-size: clamp(33px, 4.6vw, 50px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 20px;
}
.lp-lead {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 460px;
  margin: 0 0 30px;
}
.lp-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.lp-hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
}

/* ── Mechanism ── */
.lp-mech-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}
.lp-mech-head p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
}
.lp-ears { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-bottom: 16px; }
.lp-ear {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-ear-label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}
.lp-ear-hz { font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 600; color: var(--text); }
.lp-ear-hz small { font-size: 14px; color: var(--text-3); font-weight: 500; margin-left: 3px; }
.lp-ear-bars { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.lp-ear-bars i { width: 4px; border-radius: 2px; background: color-mix(in srgb, var(--accent) 60%, transparent); }
.lp-ear-bars i:nth-child(1) { height: 40%; }
.lp-ear-bars i:nth-child(2) { height: 80%; }
.lp-ear-bars i:nth-child(3) { height: 55%; }
.lp-ear-bars i:nth-child(4) { height: 100%; }
.lp-ear-bars i:nth-child(5) { height: 65%; }
.lp-plus { font-family: 'Space Grotesk', sans-serif; font-size: 22px; color: var(--text-3); text-align: center; }

.lp-beat {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--accent-surface);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 26px;
}
.lp-beat-hz { text-align: center; flex: none; }
.lp-beat-hz b { font-family: 'Space Grotesk', sans-serif; font-size: 34px; font-weight: 600; color: var(--accent); display: block; line-height: 1; }
.lp-beat-hz span { font-family: ui-monospace, Menlo, monospace; font-size: 10px; color: var(--text-3); }
.lp-beat-body strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.lp-beat-body p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--text-2); }

.lp-bands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.lp-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--band, var(--accent));
  border-radius: 12px;
  padding: 16px;
}
.lp-band b { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; color: var(--band, var(--text)); }
.lp-band .lp-band-hz { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--text-3); margin: 4px 0 8px; }
.lp-band p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--text-2); }

/* ── Inside Liminal — feature cards ── */
.lp-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.lp-feat-grid--wide { grid-template-columns: 1fr 1fr; margin-bottom: 0; }
.lp-feat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lp-feat-art {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}
.lp-feat-body { padding: 18px 20px 22px; }
.lp-feat-body h3 { font-size: 16px; font-weight: 600; color: var(--text); margin: 0 0 7px; }
.lp-feat-body p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--text-2); }

/* Wide cards: text overlaid on the art */
.lp-feat--overlay { position: relative; min-height: 230px; justify-content: flex-end; }
.lp-feat--overlay .lp-feat-art { position: absolute; inset: 0; aspect-ratio: auto; }
.lp-feat--overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--bg) 88%, transparent));
}
.lp-feat--overlay .lp-feat-body { position: relative; z-index: 1; padding: 26px; }
.lp-feat--overlay h3 { font-size: 22px; line-height: 1.15; margin-bottom: 10px; }
.lp-feat--overlay p { max-width: 300px; font-size: 13.5px; }

/* ── Pricing ── */
.lp-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; align-items: start; }
.lp-price {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.lp-price--gold { border-color: color-mix(in srgb, var(--gold) 55%, transparent); background: color-mix(in srgb, var(--gold) 6%, var(--surface)); }
.lp-price-badge {
  position: absolute;
  top: -11px;
  left: 24px;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1405;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lp-price-tier { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; color: var(--text-2); }
.lp-price-tier b { color: var(--text); }
.lp-price-amt { font-family: 'Space Grotesk', sans-serif; font-size: 40px; font-weight: 600; color: var(--text); line-height: 1; }
.lp-price-amt span { font-size: 14px; font-weight: 500; color: var(--text-3); margin-left: 4px; }
.lp-price-note { font-size: 12px; color: var(--text-3); margin: -8px 0 0; }
.lp-price-note--gold { color: var(--gold); }
.lp-price-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.lp-price-list li { font-size: 13px; color: var(--text-2); display: flex; gap: 9px; align-items: flex-start; line-height: 1.4; }
.lp-price-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex: none; }
.lp-price .lp-btn { width: 100%; justify-content: center; margin-top: auto; }
.lp-price-blurb { font-size: 12.5px; color: var(--text-2); line-height: 1.5; margin: 0; }

/* Everything in Pro grid */
.lp-pro {
  border: 1px solid color-mix(in srgb, var(--gold) 30%, var(--border));
  border-radius: 18px;
  padding: 26px 28px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 4%, var(--surface)), var(--surface));
}
.lp-pro-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.lp-pro-head b { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; color: var(--gold); }
.lp-pro-head span { font-size: 12px; color: var(--text-3); }
.lp-pro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; }
.lp-pro-item { display: flex; gap: 11px; align-items: flex-start; }
.lp-pro-item::before { content: '✓'; color: var(--gold); font-weight: 700; margin-top: 1px; flex: none; }
.lp-pro-item b { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--gold); margin-bottom: 2px; }
.lp-pro-item p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--text-2); }

/* ── Closing CTA — layered multi-ring orb ── */
.lp-cta { text-align: center; position: relative; overflow: hidden; }
.lp-cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.lp-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -72%);
  z-index: 0;
  pointer-events: none;
}
.lp-orb span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.lp-orb span:nth-child(1) { width: 100%; height: 100%; }
.lp-orb span:nth-child(2) { width: 72%; height: 72%; border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.lp-orb span:nth-child(3) { width: 46%; height: 46%; border-color: color-mix(in srgb, var(--accent) 42%, transparent); }
.lp-orb span:nth-child(4) {
  width: 26%; height: 26%;
  border: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%);
  box-shadow: 0 0 80px 20px color-mix(in srgb, var(--accent) 30%, transparent);
}
.lp-cta-h { font-size: clamp(30px, 5vw, 46px); font-weight: 600; letter-spacing: -0.01em; color: var(--text); margin: 0 0 14px; }
.lp-cta-sub { font-size: 14.5px; color: var(--text-2); margin: 0 0 34px; }

/* ── Footer ── */
.lp-footer { border-top: 1px solid var(--border-soft); padding: 34px 0; }
.lp-footer-inner {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.lp-footer img { height: 20px; opacity: 0.9; }
.lp-footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.lp-footer-links a { font-size: 13px; color: var(--text-3); }
.lp-footer-links a:hover { color: var(--text); }
.lp-footer-copy { font-size: 12px; color: var(--muted); }
.lp-footer-disclaimer { width: min(1120px, 100% - 40px); margin: 18px auto 0; font-size: 11px; line-height: 1.5; color: var(--muted); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .lp-bands { grid-template-columns: repeat(2, 1fr); }
  .lp-feat-grid { grid-template-columns: 1fr 1fr; }
  .lp-pro-grid { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 720px) {
  .lp-nav-links a:not(.lp-nav-cta) { display: none; }
  .lp-hero { min-height: 620px; }
  .lp-hero-scrim { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 30%, transparent), var(--bg) 62%); }
  .lp-hero-media { background-position: center top; }
  .lp-mech-head { grid-template-columns: 1fr; gap: 14px; }
  .lp-ears { grid-template-columns: 1fr; }
  .lp-plus { display: none; }
  .lp-bands { grid-template-columns: 1fr; }
  .lp-feat-grid, .lp-feat-grid--wide { grid-template-columns: 1fr; }
  .lp-price-grid { grid-template-columns: 1fr; }
  .lp-price-badge { left: 50%; transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .lp-btn:hover { transform: none; }
}
