/* ============================================================================
   SKEMI — FLAGSHIP EDITORIAL LANDING PAGE
   Obsidian Studio default (#090A0F) with Warm Alabaster Light mode toggle,
   Plus Jakarta Sans (display) + Be Vietnam Pro (native Vietnamese UI/body) +
   JetBrains Mono, Skemi Iris-Indigo signature accent, asymmetric cinema hero,
   interactive product theater, and 12-col editorial bento.
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --lp-display: 'Plus Jakarta Sans', 'Be Vietnam Pro', system-ui, sans-serif;
  --lp-body: 'Be Vietnam Pro', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --lp-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Light defaults for shared pages (Subscription / Legal) */
  --lp-bg: #f8f9fc;
  --lp-surface: #ffffff;
  --lp-surface-2: #f1f3f9;
  --lp-ink: #0f111a;
  --lp-ink-2: #4b5263;
  --lp-ink-muted: #767f94;
  --lp-line: rgba(15, 17, 26, 0.085);
  --lp-line-strong: rgba(15, 17, 26, 0.16);
  --lp-accent: #5459e8;
  --lp-accent-soft: rgba(84, 89, 232, 0.11);
  --lp-nav-bg: rgba(248, 249, 252, 0.84);
  --lp-cinema-bg: #090a0f;
  --lp-cinema-surface: #11131b;
  --lp-cinema-line: rgba(255, 255, 255, 0.09);
}

html[data-theme="dark"],
body.dark-mode {
  --lp-bg: #090a0f;
  --lp-surface: #11131b;
  --lp-surface-2: #181b26;
  --lp-ink: #f4f5f8;
  --lp-ink-2: #9ea6b8;
  --lp-ink-muted: #6c7488;
  --lp-line: rgba(255, 255, 255, 0.085);
  --lp-line-strong: rgba(255, 255, 255, 0.16);
  --lp-accent: #747aff;
  --lp-accent-soft: rgba(116, 122, 255, 0.15);
  --lp-nav-bg: rgba(9, 10, 15, 0.8);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }

body.landing-body {
  margin: 0;
  background: var(--lp-bg);
  color: var(--lp-ink);
  font-family: var(--lp-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Shared Top Navigation (Landing, Pricing, Legal) ─────────────────────── */
.lp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 68px;
  background: var(--lp-nav-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--lp-line);
  transition: background-color 220ms ease, border-color 220ms ease;
}

.lp-nav-inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--lp-ink);
  font-family: var(--lp-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.lp-brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #5459e8 0%, #7c3aed 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(84, 89, 232, 0.3);
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-nav-links a {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--lp-ink-2);
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.lp-nav-links a:hover,
.lp-nav-links a.active {
  color: var(--lp-ink);
  background: var(--lp-surface-2);
}

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lp-icon-btn {
  height: 36px;
  min-width: 36px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--lp-line-strong);
  background: transparent;
  color: var(--lp-ink-2);
  font-family: var(--lp-body);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.lp-icon-btn:hover {
  color: var(--lp-ink);
  background: var(--lp-surface-2);
  border-color: var(--lp-line-strong);
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: var(--lp-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 140ms cubic-bezier(0.2, 0.7, 0.2, 1), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.lp-btn:active {
  transform: translateY(1px) scale(0.985);
}

.lp-btn-lg {
  height: 48px;
  padding: 0 26px;
  font-size: 0.94rem;
}

.lp-btn-primary {
  background: var(--lp-ink);
  color: var(--lp-bg);
}

.lp-btn-primary:hover {
  opacity: 0.9;
}

.lp-btn-accent {
  background: var(--lp-accent);
  color: #ffffff;
}

.lp-btn-accent:hover {
  filter: brightness(1.08);
}

.lp-btn-ghost {
  background: transparent;
  color: var(--lp-ink-2);
  padding: 0 12px;
}

.lp-btn-ghost:hover {
  color: var(--lp-ink);
}

.lp-btn-outline {
  background: transparent;
  color: var(--lp-ink);
  border-color: var(--lp-line-strong);
}

.lp-btn-outline:hover {
  background: var(--lp-surface-2);
}

.lp-mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--lp-line-strong);
  background: transparent;
  color: var(--lp-ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lp-mobile-drawer {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--lp-surface);
  border-bottom: 1px solid var(--lp-line-strong);
  padding: 16px 24px 22px;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.lp-mobile-drawer.open {
  display: flex;
}

.lp-mobile-drawer a {
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--lp-ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.lp-mobile-drawer a:hover {
  background: var(--lp-surface-2);
}

.lp-mobile-drawer-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--lp-line);
}

/* ── Shared Container & Reveal Motion ────────────────────────────────────── */
.lp-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.lp-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 550ms cubic-bezier(0.22, 1, 0.36, 1), transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-reveal.is-pending {
  opacity: 0;
  transform: translateY(18px);
}

.lp-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── SECTION 1: ASYMMETRIC CINEMA HERO ───────────────────────────────────── */
.lp-hero {
  position: relative;
  min-height: min(92dvh, 860px);
  padding: 118px 0 72px;
  display: flex;
  align-items: center;
  background: var(--lp-cinema-bg);
  color: #f4f5f7;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Interactive Antigravity-style living vector field */
.lp-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.72;
}

/* Full-bleed right-composed studio hardware visual */
.lp-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.lp-hero-media img {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: min(76vw, 1140px);
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.96;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Seamless dark obsidian vignette so left headline stays razor-readable */
.lp-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #090a0d 0%, rgba(9, 10, 13, 0.94) 36%, rgba(9, 10, 13, 0.32) 64%, rgba(9, 10, 13, 0.08) 100%),
    linear-gradient(180deg, rgba(9, 10, 13, 0.55) 0%, transparent 18%, transparent 82%, #090a0d 100%);
}

.lp-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.lp-hero-copy {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--lp-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #cfd5e2;
}

.lp-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b82f6;
}

.lp-hero h1 {
  margin: 0;
  font-family: var(--lp-display);
  font-size: clamp(2.65rem, 5.1vw, 4.45rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #f6f7f9;
}

.lp-hero-sub {
  margin: 0;
  max-width: 49ch;
  font-size: 1.06rem;
  line-height: 1.65;
  color: #a3acb9;
}

.lp-hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.lp-hero-cta .lp-btn-hero {
  background: #f5f6f8;
  color: #090a0d;
  height: 48px;
  padding: 0 24px;
  font-size: 0.94rem;
  font-weight: 600;
}

.lp-hero-cta .lp-btn-hero:hover {
  background: #ffffff;
}

.lp-hero-cta .lp-btn-hero-sec {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e6ee;
  border: 1px solid rgba(255, 255, 255, 0.16);
  height: 48px;
  padding: 0 22px;
  font-size: 0.92rem;
}

.lp-hero-cta .lp-btn-hero-sec:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.lp-hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.lp-hero-pillar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #9ba3b2;
}

.lp-hero-pillar svg {
  width: 15px;
  height: 15px;
  color: #60a5fa;
  flex-shrink: 0;
}

/* ── SECTION 2: INTERACTIVE PRODUCT THEATER ──────────────────────────────── */
.lp-section {
  padding: clamp(72px, 8vw, 118px) 0;
}

.lp-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.lp-kicker {
  display: block;
  font-family: var(--lp-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lp-accent);
  margin-bottom: 10px;
}

.lp-section-head h2 {
  margin: 0;
  font-family: var(--lp-display);
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 19ch;
}

.lp-section-head p {
  margin: 0;
  max-width: 44ch;
  color: var(--lp-ink-2);
  font-size: 0.98rem;
}

/* Chapter selector rail */
.lp-chapters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.lp-chapter {
  text-align: left;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid var(--lp-line);
  background: var(--lp-surface);
  color: var(--lp-ink-2);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.lp-chapter:hover {
  border-color: var(--lp-line-strong);
  color: var(--lp-ink);
}

.lp-chapter.active {
  border-color: var(--lp-accent);
  background: var(--lp-surface);
  color: var(--lp-ink);
  box-shadow: inset 0 0 0 1px var(--lp-accent-soft);
}

.lp-chapter-num {
  font-family: var(--lp-mono);
  font-size: 0.7rem;
  color: var(--lp-ink-muted);
}

.lp-chapter.active .lp-chapter-num {
  color: var(--lp-accent);
}

.lp-chapter strong {
  font-family: var(--lp-display);
  font-size: 0.96rem;
  font-weight: 600;
  color: inherit;
}

.lp-chapter span {
  font-size: 0.8rem;
  color: var(--lp-ink-muted);
  line-height: 1.4;
}

/* Cinema interactive stage */
.lp-stage-frame {
  border-radius: 22px;
  border: 1px solid var(--lp-line-strong);
  background: #0c0e13;
  color: #f3f5f8;
  overflow: hidden;
  box-shadow: 0 30px 90px -30px rgba(0, 0, 0, 0.45);
}

.lp-stage-chrome {
  height: 44px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #10131a;
}

.lp-stage-dots {
  display: inline-flex;
  gap: 7px;
}

.lp-stage-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: block;
}

.lp-stage-url {
  font-family: var(--lp-mono);
  font-size: 0.75rem;
  color: #8b94a5;
}

.lp-stage-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--lp-mono);
  font-size: 0.72rem;
  color: #a8b2c4;
}

.lp-stage-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.lp-stage-body {
  min-height: 420px;
  padding: 28px;
  display: flex;
  align-items: stretch;
}

.lp-pane {
  display: none;
  width: 100%;
  animation: lpPaneIn 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-pane.active {
  display: grid;
}

@keyframes lpPaneIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pane 1: Dual Desktop Interactive Simulation */
.lp-sim-dual {
  grid-template-columns: 1fr 1.25fr;
  gap: 18px;
  align-items: stretch;
}

.lp-sim-screen {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #131620;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.lp-sim-screen.is-ai {
  border-color: rgba(59, 130, 246, 0.45);
  background: linear-gradient(160deg, #121725 0%, #0d1018 100%);
}

.lp-sim-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.lp-sim-head strong {
  font-family: var(--lp-display);
  font-size: 0.94rem;
  color: #f3f5f8;
}

.lp-sim-tag {
  font-family: var(--lp-mono);
  font-size: 0.7rem;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #b8c1d1;
}

.lp-sim-tag.live {
  background: rgba(59, 130, 246, 0.16);
  color: #60a5fa;
}

.lp-sim-tag.safe {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
}

.lp-sim-window {
  flex: 1;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(9, 10, 13, 0.65);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.lp-sim-lines span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.09);
  margin-bottom: 9px;
}

.lp-sim-action-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.lp-sim-chip {
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #cfd6e3;
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.lp-sim-chip:hover,
.lp-sim-chip.active {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.14);
  color: #ffffff;
}

/* Animated Claude-style click ripple cursor */
.lp-sim-ripple {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.24);
  left: 66%;
  top: 48%;
  transform: translate(-50%, -50%);
  transition: left 620ms cubic-bezier(0.22, 1, 0.36, 1), top 620ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.lp-sim-ripple::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1.5px solid rgba(96, 165, 250, 0.55);
  animation: lpRipplePulse 2s ease-out infinite;
}

@keyframes lpRipplePulse {
  0% { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* Pane 2: Remote Control */
.lp-sim-remote {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
}

.lp-sim-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #131620;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-sim-code {
  font-family: var(--lp-mono);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #f4f6f9;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.lp-sim-device-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.84rem;
}

/* Pane 3: Interactive Mindmap */
.lp-sim-mindmap {
  grid-template-columns: 1.35fr 0.85fr;
  gap: 18px;
}

.lp-mm-canvas {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #12151f;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.lp-mm-root {
  align-self: flex-start;
  padding: 9px 16px;
  border-radius: 10px;
  background: #f5f6f8;
  color: #090a0d;
  font-family: var(--lp-display);
  font-weight: 700;
  font-size: 0.92rem;
}

.lp-mm-branches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lp-mm-node {
  text-align: left;
  padding: 12px 13px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #dbe1ec;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.lp-mm-node:hover,
.lp-mm-node.active {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.14);
}

.lp-mm-node strong {
  display: block;
  font-size: 0.84rem;
  margin-bottom: 4px;
  color: #ffffff;
}

.lp-mm-node span {
  font-size: 0.75rem;
  color: #939cad;
  line-height: 1.4;
}

/* Pane 4: Web IDE + Arena */
.lp-sim-ide {
  grid-template-columns: 1.25fr 0.9fr;
  gap: 18px;
}

.lp-code-box {
  margin: 0;
  font-family: var(--lp-mono);
  font-size: 0.82rem;
  line-height: 1.65;
  color: #d6deeb;
  max-width: 100%;
  overflow-x: clip;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.lp-code-k { color: #60a5fa; }
.lp-code-s { color: #34d399; }
.lp-code-c { color: #6c778b; }

/* ── SECTION 3: ASYMMETRIC 12-COLUMN EDITORIAL BENTO ─────────────────────── */
.lp-bento-section {
  padding: clamp(64px, 7vw, 108px) 0;
  border-top: 1px solid var(--lp-line);
}

.lp-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.lp-bento-card {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--lp-line);
  background: var(--lp-surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 200ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-bento-card:hover {
  border-color: var(--lp-line-strong);
  transform: translateY(-2px);
}

.lp-bento-card.col-7 { grid-column: span 7; }
.lp-bento-card.col-5 { grid-column: span 5; }
.lp-bento-card.col-6 { grid-column: span 6; }

/* Visual-first dark studio cards inside bento */
.lp-bento-card.is-visual {
  background: #0c0e13;
  color: #f4f5f7;
  border-color: rgba(255, 255, 255, 0.09);
  min-height: 410px;
}

.lp-bento-art {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #090a0d;
  position: relative;
}

.lp-bento-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-bento-card:hover .lp-bento-art img {
  transform: scale(1.03);
}

.lp-bento-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-bento-card.is-visual .lp-bento-body p {
  color: #9ba3b2;
}

.lp-bento-tag {
  font-family: var(--lp-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--lp-accent);
}

.lp-bento-body h3 {
  margin: 0;
  font-family: var(--lp-display);
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.lp-bento-body p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--lp-ink-2);
  max-width: 52ch;
}

/* Tactile micro-UI diagrams inside editorial non-photo bento cards */
.lp-bento-diagram {
  margin: 22px 24px 0;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--lp-line);
  background: var(--lp-surface-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-diagram-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  font-size: 0.82rem;
}

.lp-diagram-pill {
  font-family: var(--lp-mono);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--lp-accent-soft);
  color: var(--lp-accent);
  font-weight: 600;
}

/* ── SECTION 4: EDITORIAL CONTROL PRINCIPLES (NO CARD CLUTTER) ───────────── */
.lp-principles-section {
  padding: clamp(72px, 8vw, 114px) 0;
  border-top: 1px solid var(--lp-line);
}

.lp-principles-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.lp-principles-lead {
  position: sticky;
  top: 96px;
}

.lp-principles-lead h2 {
  margin: 0 0 16px;
  font-family: var(--lp-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.lp-principles-lead p {
  margin: 0 0 24px;
  color: var(--lp-ink-2);
  font-size: 0.98rem;
  max-width: 42ch;
}

.lp-principle-list {
  display: flex;
  flex-direction: column;
}

.lp-principle-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--lp-line);
}

.lp-principle-item:last-child {
  border-bottom: 1px solid var(--lp-line);
}

.lp-principle-num {
  font-family: var(--lp-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lp-accent);
  padding-top: 4px;
}

.lp-principle-item h3 {
  margin: 0 0 8px;
  font-family: var(--lp-display);
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lp-principle-item p {
  margin: 0;
  color: var(--lp-ink-2);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ── SECTION 5: PRICING BAND & CLOSING CTA ───────────────────────────────── */
.lp-pricing-band {
  padding: clamp(64px, 7vw, 100px) 0;
  border-top: 1px solid var(--lp-line);
}

.lp-price-tracks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lp-track {
  padding: 32px;
  border-radius: 22px;
  border: 1px solid var(--lp-line);
  background: var(--lp-surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.lp-track.is-dark {
  background: #0e1016;
  color: #f4f5f7;
  border-color: rgba(255, 255, 255, 0.12);
}

.lp-track.is-dark p,
.lp-track.is-dark li {
  color: #9ba3b2;
}

.lp-track h3 {
  margin: 8px 0 8px;
  font-family: var(--lp-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.lp-track p {
  margin: 0;
  color: var(--lp-ink-2);
  font-size: 0.94rem;
}

.lp-track-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--lp-ink-2);
}

.lp-track-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-track-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-accent);
  flex-shrink: 0;
}

.lp-closing {
  margin: 24px 0 88px;
  padding: clamp(44px, 6vw, 76px) clamp(24px, 5vw, 64px);
  border-radius: 28px;
  background: #0c0e13;
  color: #f5f6f8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.lp-closing h2 {
  margin: 0 0 10px;
  font-family: var(--lp-display);
  font-size: clamp(1.85rem, 3.4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  max-width: 18ch;
}

.lp-closing p {
  margin: 0;
  color: #9ba3b2;
  max-width: 44ch;
}

.lp-closing-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Shared Footer ───────────────────────────────────────────────────────── */
.lp-footer {
  border-top: 1px solid var(--lp-line);
  padding: 52px 28px 36px;
  background: var(--lp-bg);
  color: var(--lp-ink-2);
}

.lp-footer-grid {
  max-width: 1280px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.lp-footer-col h4 {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lp-ink);
}

.lp-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-footer-col a {
  color: var(--lp-ink-2);
  text-decoration: none;
  font-size: 0.86rem;
  transition: color 150ms ease;
}

.lp-footer-col a:hover {
  color: var(--lp-ink);
}

.lp-footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--lp-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--lp-ink-muted);
}

.lp-footer-bottom a {
  color: var(--lp-ink-muted);
  text-decoration: none;
}

.lp-footer-bottom a:hover {
  color: var(--lp-ink);
}

/* ── Responsive Breakpoints ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .lp-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-sim-dual,
  .lp-sim-remote,
  .lp-sim-mindmap,
  .lp-sim-ide,
  .lp-principles-grid,
  .lp-price-tracks {
    grid-template-columns: 1fr;
  }
  .lp-principles-lead { position: static; }
  .lp-bento-card.col-7,
  .lp-bento-card.col-5,
  .lp-bento-card.col-6 {
    grid-column: span 12;
  }
  .lp-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .lp-nav-links,
  .lp-nav-auth-desktop { display: none !important; }
  .lp-mobile-toggle { display: inline-flex; }
  .lp-nav-inner,
  .lp-wrap { padding: 0 18px; }
  .lp-hero {
    min-height: auto;
    padding: 96px 0 56px;
  }
  .lp-hero-media img {
    width: 135vw;
    right: -25%;
    opacity: 0.42;
  }
  .lp-hero-media::after {
    background: linear-gradient(180deg, rgba(9, 10, 13, 0.72) 0%, rgba(9, 10, 13, 0.88) 70%, #090a0d 100%);
  }
  .lp-chapters { grid-template-columns: 1fr; }
  .lp-mm-branches { grid-template-columns: 1fr; }
  .lp-stage-body { padding: 16px; min-height: 300px; }
  .lp-footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-reveal { opacity: 1; transform: none; transition: none; }
  .lp-sim-ripple::after { animation: none; }
}
