/* landing.css — public marketing page.
 *
 * One stylesheet, two designs. Everything visual is driven by custom
 * properties on [data-landing="a|b"], so switching variant cannot change
 * the markup or the content — only the palette, shadows and rhythm.
 *
 *   A (light) — white space, soft teal gradient, soft shadows.
 *   B (dark)  — deep slate, high contrast, glow accents.
 *
 * The page is self-contained and loads no dashboard CSS.
 */

:root {
  --ln-max: 1120px;
  --ln-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

[data-landing="a"] {
  --bg: #f6f8fb;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-faint: #94a3b8;
  --line: #e2e8f0;
  --brand: #0d9488;
  --brand-ink: #0f766e;
  --brand-soft: #ccfbf1;
  --accent: #f59e0b;
  --glow-1: rgba(13, 148, 136, .16);
  --glow-2: rgba(56, 189, 248, .14);
  --shadow: 0 12px 32px rgba(15, 23, 42, .07);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .12);
  --nav-bg: rgba(255, 255, 255, .82);
}

[data-landing="b"] {
  --bg: #070b14;
  --bg-alt: #0b1220;
  --surface: #111a2b;
  --ink: #f1f5f9;
  --ink-soft: #a8b6c9;
  --ink-faint: #6b7a90;
  --line: #1e2a40;
  --brand: #2dd4bf;
  --brand-ink: #5eead4;
  --brand-soft: #113b3a;
  --accent: #fbbf24;
  --glow-1: rgba(45, 212, 191, .22);
  --glow-2: rgba(99, 102, 241, .22);
  --shadow: 0 14px 40px rgba(0, 0, 0, .45);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, .55);
  --nav-bg: rgba(7, 11, 20, .8);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--ln-font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: var(--brand-ink); }

.ln-wrap { width: 100%; max-width: var(--ln-max); margin: 0 auto; padding: 0 24px; }
.ln-narrow { max-width: 780px; }

/* ── Nav ─────────────────────────────────────────────────────────── */

.ln-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.ln-nav-in { display: flex; align-items: center; gap: 20px; height: 68px; }
/* Tap targets: every link/button on this page is at least 40x40 (the house
   rule — scripts/tap-target-check.mjs, docs/tap-target-audit.md). A bare
   text link is 14px tall on the page, which is why the nav links, the
   footer links and the contact links all carry an explicit min-height and
   an inline-flex box instead of being padded by hand. */
.ln-brand { display: flex; align-items: center; gap: 10px; min-height: 40px; text-decoration: none; color: var(--ink); font-weight: 800; }
.ln-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex: none;
}
.ln-mark img { width: 22px; height: 22px; display: block; }
.ln-brand-name { font-size: 17px; letter-spacing: -.2px; }
.ln-links { display: flex; gap: 22px; margin-left: auto; }
.ln-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 40px; color: var(--ink-soft); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.ln-links a:hover { color: var(--brand-ink); }
.ln-nav-cta { display: flex; gap: 10px; }

/* ── Buttons ─────────────────────────────────────────────────────── */

.ln-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 18px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.ln-btn:active { transform: translateY(1px); }
.ln-btn-solid { background: var(--brand); color: #fff; box-shadow: 0 8px 20px var(--glow-1); }
[data-landing="b"] .ln-btn-solid { color: #06231f; }
.ln-btn-solid:hover { box-shadow: 0 12px 26px var(--glow-1); }
.ln-btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.ln-btn-outline:hover { border-color: var(--brand); color: var(--brand-ink); }
.ln-btn-ghost { color: var(--ink-soft); }
.ln-btn-ghost:hover { color: var(--ink); }
.ln-btn-lg { min-height: 50px; padding: 0 26px; font-size: 16px; border-radius: 12px; }

/* ── Variant switch ──────────────────────────────────────────────── */

.ln-variants {
  max-width: var(--ln-max); margin: 18px auto 0; padding: 0 24px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.ln-variants-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.ln-variant {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px;
  font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; background: var(--surface);
}
.ln-variant.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
[data-landing="b"] .ln-variant.is-on { color: #06231f; }

/* ── Hero ────────────────────────────────────────────────────────── */

.ln-hero { position: relative; padding: 84px 0 64px; overflow: hidden; }
.ln-glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.ln-glow-a { width: 420px; height: 420px; background: var(--glow-1); top: -140px; right: -80px; }
.ln-glow-b { width: 360px; height: 360px; background: var(--glow-2); bottom: -160px; left: -100px; }
.ln-hero-in { position: relative; text-align: center; }

.ln-badge {
  display: inline-block; margin: 0 0 20px; padding: 7px 16px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-ink);
  font-size: 13px; font-weight: 700; letter-spacing: .01em;
}
.ln-h1 {
  margin: 0 auto 18px; max-width: 15ch;
  font-size: clamp(38px, 6.4vw, 66px); line-height: 1.05; font-weight: 900; letter-spacing: -.035em;
}
.ln-sub { margin: 0 auto 30px; max-width: 62ch; font-size: clamp(16px, 2vw, 19px); color: var(--ink-soft); }
.ln-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.ln-stats {
  list-style: none; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin: 52px 0 0; padding: 0;
}
.ln-stats li {
  min-width: 180px; padding: 18px 22px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.ln-stats b { display: block; font-size: 30px; font-weight: 900; letter-spacing: -.02em; color: var(--brand-ink); }
.ln-stats span { font-size: 13.5px; color: var(--ink-soft); }

/* ── Sections ────────────────────────────────────────────────────── */

.ln-sec { padding: 72px 0; }
.ln-sec:nth-of-type(even) { background: var(--bg-alt); }
.ln-about { padding-top: 20px; }

.ln-eyebrow {
  margin: 0 0 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-ink);
}
.ln-h2 {
  margin: 0 0 16px; font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15;
}
.ln-lead { margin: 0; max-width: 72ch; font-size: 17px; color: var(--ink-soft); }

/* ── Feature cards ───────────────────────────────────────────────── */

.ln-grid { display: grid; gap: 20px; }
.ln-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ln-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 24px 24px; box-shadow: var(--shadow);
  transition: transform .14s ease, box-shadow .14s ease;
}
.ln-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ln-ico {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); font-size: 22px; margin-bottom: 14px;
}
.ln-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.ln-card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

/* ── Trial + plans ───────────────────────────────────────────────── */

.ln-trial-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.ln-ticks { list-style: none; margin: 22px 0 26px; padding: 0; }
.ln-ticks li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 15px; color: var(--ink-soft); }
.ln-tick {
  flex: none; width: 21px; height: 21px; margin-top: 2px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
[data-landing="b"] .ln-tick { color: #06231f; }
.ln-fine { margin: 16px 0 0; font-size: 13px; color: var(--ink-faint); max-width: 58ch; }

.ln-plans { display: grid; gap: 18px; }
.ln-plan {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 26px 24px; box-shadow: var(--shadow);
}
.ln-plan.is-featured { border-color: var(--brand); box-shadow: var(--shadow-lg); }
.ln-plan-tag {
  position: absolute; top: -11px; left: 24px; margin: 0; padding: 4px 12px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
[data-landing="b"] .ln-plan-tag { color: #06231f; }
.ln-plan h3 { margin: 0; font-size: 19px; font-weight: 800; }
.ln-price { margin: 6px 0 0; font-size: 30px; font-weight: 900; letter-spacing: -.02em; color: var(--brand-ink); }
.ln-period { margin: 2px 0 0; font-size: 13.5px; color: var(--ink-faint); }
.ln-plan .ln-ticks { margin: 18px 0 20px; }
.ln-plan .ln-ticks li { font-size: 14px; margin-bottom: 8px; }

/* ── FAQ ─────────────────────────────────────────────────────────── */

.ln-faqs { display: grid; gap: 12px; }
.ln-faq {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 4px 20px; box-shadow: var(--shadow);
}
.ln-faq summary {
  cursor: pointer; list-style: none; padding: 16px 30px 16px 0; position: relative;
  font-size: 16px; font-weight: 700;
}
.ln-faq summary::-webkit-details-marker { display: none; }
.ln-faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--brand-ink);
}
.ln-faq[open] summary::after { content: '−'; }
.ln-faq p { margin: 0; padding: 0 0 18px; font-size: 15px; color: var(--ink-soft); }

/* ── Contact ─────────────────────────────────────────────────────── */

.ln-contact-card {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 40px 36px; box-shadow: var(--shadow-lg);
}
.ln-contact-list { list-style: none; margin: 0; padding: 0; }
.ln-contact-list li { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ln-contact-list li:last-child { border-bottom: 0; }
.ln-contact-list a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); text-decoration: none; font-weight: 600; }
.ln-contact-list a:hover { color: var(--brand-ink); }
.ln-ico-sm { font-size: 18px; width: 26px; text-align: center; flex: none; }

/* ── Footer ──────────────────────────────────────────────────────── */

.ln-foot { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 34px 0; }
.ln-foot-in { text-align: center; }
.ln-foot-note { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-soft); }
.ln-foot-links { margin: 0 0 10px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.ln-foot-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 6px; color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 600; }
.ln-foot-links a:hover { color: var(--brand-ink); }
.ln-copy { margin: 0; font-size: 12.5px; color: var(--ink-faint); }

/* ── Small screens ───────────────────────────────────────────────── */

@media (max-width: 900px) {
  .ln-links { display: none; }
  .ln-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ln-trial-grid, .ln-contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .ln-hero { padding: 56px 0 44px; }
  .ln-sec { padding: 52px 0; }
  .ln-grid-3 { grid-template-columns: 1fr; }
  .ln-stats li { min-width: 0; flex: 1 1 100%; }
  .ln-nav-cta .ln-btn-ghost { display: none; }
  .ln-cta-row .ln-btn { width: 100%; }
  .ln-contact-card { padding: 28px 22px; }
}