/* Landing page (/). Loaded after style.css; reuses its tokens. */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.lp { overflow-x: clip; }
.lp-wrap { max-width: 1120px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.lp-narrow { max-width: 800px; }
.lp-center { text-align: center; }
.lp-center .lead { margin-left: auto; margin-right: auto; }

/* Sticky header */
.lp-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 18, 0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.lp-header-inner {
  max-width: 1120px; margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; gap: 16px;
}
.lp-header .brand { margin-right: auto; white-space: nowrap; }
.lp-nav { display: flex; gap: 22px; font-size: 15px; }
.lp-nav a { color: var(--muted); }
.lp-nav a:hover { color: var(--text); text-decoration: none; }
.lp-header .button { white-space: nowrap; }
@media (max-width: 720px) { .lp-nav { display: none; } }
@media (max-width: 400px) {
  .lp-header-inner { gap: 10px; padding: 10px 12px; }
  .lp-header .brand { gap: 8px; font-size: 15px; }
  .lp-header .button { padding: 7px 10px; font-size: 13px; }
}

/* Shared */
.lp-section { padding-top: 88px; padding-bottom: 8px; }
.lp-section-head { max-width: 720px; margin-bottom: 32px; }
.lp-section-head.lp-center { margin-left: auto; margin-right: auto; }
.lp h2 { font-size: clamp(28px, 4.4vw, 40px); line-height: 1.15; letter-spacing: -0.02em; margin: 8px 0 12px; }
.lp .lead { max-width: 640px; }
.eyebrow-danger { color: var(--danger); }
.lp-grad {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-reassure { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.lp-block { display: block; text-align: center; }

/* Hero */
.lp-hero {
  display: grid; gap: 40px; align-items: center;
  grid-template-columns: minmax(0, 1fr);
  padding-top: 56px;
}
@media (min-width: 980px) {
  .lp-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); padding-top: 80px; }
}
.lp-hero h1 {
  font-size: clamp(36px, 6.2vw, 60px); line-height: 1.05; letter-spacing: -0.03em; margin: 12px 0 16px;
}
.lp-hero .lead { font-size: 19px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Code sample */
.lp-code {
  margin: 0; min-width: 0;
  background: linear-gradient(180deg, var(--surface), #10131b);
  border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 30px 80px -30px rgba(124, 140, 255, 0.35);
  overflow: hidden;
}
.lp-code-bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.lp-code-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-2); }
.lp-code-label { color: var(--muted); font-size: 13px; margin: 0; padding: 12px 16px 0; font-family: var(--mono); }
.lp-code-resp { color: var(--accent-2); border-top: 1px solid var(--border); margin-top: 4px; }
.lp-pre {
  margin: 0; border: 0; border-radius: 0; background: transparent;
  padding: 10px 16px 16px; font-size: 12.5px; line-height: 1.6;
  max-width: 100%; overflow-x: auto;
}
.lp-pre-resp { max-height: 300px; overflow-y: auto; }
.lp-pre:focus-visible { outline: 2px solid var(--accent-2); outline-offset: -2px; }
.c-cmd { color: var(--accent-2); font-weight: 700; }
.c-str { color: #f3c98b; }
.c-key { color: #9fb0ff; }
.c-lit { color: #e59ef0; }

/* Problem tally */
.lp-tally { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.lp-tally-col {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px;
}
.lp-tally-col h3 { margin: 0 0 8px; font-size: 17px; }
.lp-tally-list { list-style: none; margin: 0; padding: 0; }
.lp-tally-list li {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  padding: 12px 0; border-top: 1px solid var(--border); color: var(--muted);
}
.lp-tally-list li:first-child { border-top: 0; }
.lp-tally-list strong { color: var(--text); }
.lp-tag {
  flex: none; font-family: var(--mono); font-size: 12.5px; font-weight: 700;
  color: var(--danger); background: rgba(255, 107, 129, 0.1);
  border: 1px solid rgba(255, 107, 129, 0.35); border-radius: 999px; padding: 2px 10px; white-space: nowrap;
}
.lp-total {
  margin: 20px 0 0; padding: 16px 20px; border-radius: var(--radius);
  border: 1px dashed rgba(255, 107, 129, 0.5); font-size: 18px;
}
.lp-total span { color: var(--danger); font-weight: 700; margin-right: 6px; }
.lp-easier { text-align: center; margin: 36px 0 0; font-size: 20px; font-weight: 650; }
.lp-easier a { color: var(--accent-2); }

/* Features accordion */
.lp-features { display: grid; gap: 10px; }
.lp-feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.15s;
}
.lp-feature[open] { border-color: rgba(124, 140, 255, 0.55); background: linear-gradient(180deg, #171c2b, var(--surface)); }
.lp-feature summary {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; list-style: none;
}
.lp-feature summary::-webkit-details-marker { display: none; }
.lp-feature summary::after {
  content: "+"; margin-left: auto; color: var(--muted); font-size: 22px; line-height: 1; flex: none;
}
.lp-feature[open] summary::after { content: "−"; color: var(--accent); }
.lp-feature summary > span { display: grid; gap: 2px; min-width: 0; }
.lp-feature summary strong { font-size: 17px; }
.lp-benefit { color: var(--muted); font-size: 15px; }
.lp-feature-body { padding: 0 20px 6px 64px; color: #c9cfdd; }
.lp-feature-body p { margin: 0 0 14px; }
@media (max-width: 520px) { .lp-feature-body { padding-left: 20px; } }
.lp-icon {
  width: 30px; height: 30px; flex: none; padding: 5px; border-radius: 9px;
  fill: none; stroke: var(--accent-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  background: rgba(61, 214, 181, 0.1);
}

/* What you get */
.lp-facts {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.lp-facts li {
  display: grid; gap: 4px; padding: 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
}
.lp-fact-num { font-size: 36px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.lp-facts-more { color: var(--muted); margin-top: 16px; }

/* Pricing */
.lp-price-card {
  max-width: 460px; margin: 0 auto; padding: 28px;
  background: linear-gradient(180deg, #171c2b, var(--surface));
  border: 1px solid rgba(124, 140, 255, 0.55); border-radius: 20px;
  box-shadow: 0 30px 80px -40px rgba(61, 214, 181, 0.4);
}
.lp-plan { margin: 0; color: var(--accent-2); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; }
.lp-price { margin: 4px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.lp-amount { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.lp-per { color: var(--muted); font-size: 18px; }
.lp-includes { margin: 20px 0; }
.lp-fair { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.lp-fair strong { color: var(--text); }

/* FAQ */
.lp-faq details { border-top: 1px solid var(--border); }
.lp-faq details:last-child { border-bottom: 1px solid var(--border); }
.lp-faq summary {
  cursor: pointer; padding: 18px 4px; font-weight: 600; font-size: 17px;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; flex: none; }
.lp-faq details[open] summary::after { content: "−"; color: var(--accent); }
.lp-faq details p { margin: 0 4px 18px; color: #c9cfdd; }

/* Final CTA */
.lp-final {
  margin-top: 96px; margin-bottom: 24px; text-align: center;
  padding-top: 56px; padding-bottom: 56px; border-radius: 24px;
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(124, 140, 255, 0.28), transparent 70%),
    linear-gradient(180deg, #151a29, var(--surface));
  border: 1px solid var(--border);
  max-width: 1088px; /* the wrap width minus its gutters */
}
@media (max-width: 1120px) { .lp-final { margin-left: 16px; margin-right: 16px; } }
.lp-final h2 { font-size: clamp(32px, 5.4vw, 52px); margin-top: 0; }
.lp-final .lead { margin: 0 auto 24px; }
