/* Landing v2 — software-friendly motion (no GPU / compositor required).
   Ignores prefers-reduced-motion so Windows “reduce animations” still shows
   basic landing motion. Prefer left/width/height/opacity/display over transform. */

html:has(.tv),
html.tv-page,
html:has(.tv) body,
html.tv-page body {
  height: auto !important;
  min-height: 100% !important;
  font-size: 16px !important;
  background: #0e1210 !important;
  overflow: visible !important;
}

.tv {
  --ink: #0e1210;
  --fog: #e8ece6;
  --paper: #f3f5f0;
  --panel: #161c18;
  --line: rgba(232, 236, 230, 0.12);
  --line-strong: rgba(232, 236, 230, 0.28);
  --volt: #c6f000;
  --volt-deep: #9bc000;
  --mint: #2ee6a6;
  --muted: #6b756c;
  --nav-h: 68px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Figtree", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.tv *,
.tv *::before,
.tv *::after { box-sizing: border-box; }

.tv a { color: inherit; text-decoration: none; }

.tv h1,
.tv h2,
.tv h3 {
  outline: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  font-family: "Sora", "Figtree", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-weight: 700;
}

/* ── Nav ─────────────────────────────────────────── */
.tv-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.tv-nav.is-solid {
  background: #121814;
  border-bottom-color: var(--line);
}

.tv-nav-brand {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.05em;
  color: var(--fog);
}

.tv-nav-end {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tv .lp-theme {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line-strong);
  background: rgba(14, 18, 16, 0.5);
  border-radius: 2px;
}

.tv .lp-theme-opt {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(232, 236, 230, 0.5);
  border-radius: 1px;
}

.tv .lp-theme-opt:hover { color: var(--fog); }

.tv .lp-theme-opt.is-active {
  background: var(--volt);
  color: var(--ink);
}

.tv-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: var(--volt);
  color: var(--ink) !important;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 2px;
}

.tv-nav-cta:hover { background: #d6ff33; }

@media (max-width: 520px) {
  .tv .lp-theme-opt { padding: 7px 9px; font-size: 0.7rem; }
  .tv-nav-cta { padding: 10px 14px; }
}

/* ── Hero ────────────────────────────────────────── */
.tv-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 32px) clamp(20px, 5vw, 72px) clamp(40px, 8vh, 88px);
  color: var(--fog);
  overflow: hidden;
  background: var(--ink);
}

.tv-hero-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.tv-field-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(198, 240, 0, 0.08) 0%, transparent 42%),
    linear-gradient(180deg, #121814 0%, #0e1210 55%, #0a0e0c 100%);
}

/* Full-bleed sticky-note kanban behind hero copy */
.tv-kanban {
  position: absolute;
  inset: 8% 2% 6% 28%;
  min-height: 280px;
  border: 1px solid var(--line);
  background:
    linear-gradient(#1a221c, #1a221c) padding-box,
    linear-gradient(180deg, rgba(232, 236, 230, 0.08), transparent) border-box;
  background-color: #151c17;
  overflow: hidden;
}

.tv-kcol {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 33.333%;
  border-right: 1px solid var(--line);
  pointer-events: none;
}

.tv-kcol:last-of-type { border-right: 0; }
.tv-kcol[data-col="todo"] { left: 0; }
.tv-kcol[data-col="doing"] { left: 33.333%; }
.tv-kcol[data-col="done"] { left: 66.666%; }

.tv-kcol span {
  display: block;
  padding: 12px 14px 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 236, 230, 0.4);
}

.tv-note {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: clamp(92px, 11vw, 128px);
  min-height: 72px;
  padding: 12px 12px 14px;
  margin: 0;
  font-family: "Figtree", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #1a1f18;
  border: 1px solid rgba(14, 18, 16, 0.12);
  border-radius: 1px;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.22);
  /* left/top driven by JS */
}

.tv-note[data-tone="butter"] { background: #f3e27a; }
.tv-note[data-tone="mint"] { background: #9fe8c4; }
.tv-note[data-tone="fog"] { background: #e4e9e2; }
.tv-note[data-tone="peach"] { background: #f0c4a0; }

.tv-note.is-stuck {
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.28);
  outline: 2px solid rgba(198, 240, 0, 0.55);
  outline-offset: 1px;
}

.tv-note.is-moving {
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.18);
}

.tv-note.is-done {
  outline: 2px solid var(--volt);
  outline-offset: 0;
  box-shadow: 2px 2px 0 rgba(198, 240, 0, 0.25);
}

.tv-note.is-done::after {
  content: "✓";
  position: absolute;
  right: 8px;
  bottom: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #3a5a00;
}

.tv-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 16ch;
}

.tv-brand {
  margin: 0 0 12px;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--volt);
}

.tv-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  font-weight: 700;
  color: var(--fog);
  max-width: 14ch;
}

.tv-hero-lead {
  margin: 0 0 28px;
  max-width: 28ch;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.4;
  color: rgba(232, 236, 230, 0.72);
  font-weight: 500;
}

.tv-hero-actions { display: flex; gap: 12px; }

.tv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  background: var(--volt);
  color: var(--ink) !important;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border-radius: 2px;
}

.tv-btn:hover { background: #d6ff33; }

/* ── Run (copy under hero board) ─────────────────── */
.tv-run {
  background: var(--ink);
  color: var(--fog);
  padding: clamp(48px, 8vh, 80px) clamp(20px, 5vw, 72px);
}

.tv-run-copy {
  max-width: 36ch;
}

.tv-run-copy--solo {
  max-width: 42ch;
}

.tv-run-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  color: var(--fog);
}

.tv-run-copy p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.45;
  color: rgba(232, 236, 230, 0.68);
}

/* ── Why ─────────────────────────────────────────── */
.tv-why {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(72px, 12vh, 120px) clamp(20px, 5vw, 72px);
}

.tv-why-inner { max-width: 920px; }

.tv-kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--volt-deep);
}

.tv-section-title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 16ch;
}

.tv-section-lead {
  margin: 0 0 48px;
  max-width: 36ch;
  font-size: 1.15rem;
  color: var(--muted);
}

.tv-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(14, 18, 16, 0.12);
}

.tv-point {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(14, 18, 16, 0.12);
}

.tv-point-mark {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  background: var(--volt);
  border-radius: 1px;
  box-shadow: 8px 8px 0 rgba(46, 230, 166, 0.55);
}

.tv-point h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.tv-point p {
  margin: 0;
  max-width: 48ch;
  color: var(--muted);
}

/* ── CTA ─────────────────────────────────────────── */
.tv-cta {
  background: var(--ink);
  color: var(--fog);
  padding: clamp(80px, 14vh, 140px) clamp(20px, 5vw, 72px);
}

.tv-cta-inner {
  max-width: 640px;
}

.tv-brand--cta {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  margin-bottom: 8px;
}

.tv-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.tv-cta p {
  margin: 0 0 28px;
  max-width: 32ch;
  color: rgba(232, 236, 230, 0.68);
  font-size: 1.1rem;
}

/* ── Footer ──────────────────────────────────────── */
.tv-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 72px);
  background: #0a0e0c;
  color: rgba(232, 236, 230, 0.45);
  font-size: 0.85rem;
}

.tv-footer strong { color: var(--fog); font-weight: 700; }

/* ── Reveal (opacity only) ───────────────────────── */
.tv-reveal { opacity: 0; }
.tv.is-enhanced .tv-reveal.is-in { opacity: 1; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .tv-kanban {
    inset: auto 4% 4% 4%;
    top: 42%;
    opacity: 0.92;
  }

  .tv-hero-copy { max-width: 20ch; }

  .tv-run-copy { max-width: none; }
}

@media (max-width: 560px) {
  .tv-hero { padding-bottom: 48px; min-height: 100svh; }

  .tv-kanban {
    top: 48%;
  }

  .tv-note {
    width: 78px;
    min-height: 58px;
    padding: 8px;
    font-size: 0.65rem;
  }
}
