/* ============================================================
   landing — vertical stack of alternating left/right value-prop
   sections, centered demo band, pricing card, final CTA.
   Design tokens come from globals.css.
   ============================================================ */

:root {
  --col-max: 1320px;
}

html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { width: 28px; height: 28px; }
.nav-brand .word {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--text);
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  flex-wrap: nowrap; white-space: nowrap;
}
.nav-links a {
  font-family: var(--font-inter);
  font-size: 0.92rem; font-weight: 500; color: var(--text-muted);
  white-space: nowrap;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav .nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  padding: 0.5rem 1rem;
  font-family: var(--font-inter);
  font-size: 0.88rem; font-weight: 500;
  border: none; border-radius: 0;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav .nav-cta:hover { background: color-mix(in oklab, var(--accent), black 15%); color: #fff; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-inter);
  font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em;
  border: none; border-radius: 0;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary {
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: color-mix(in oklab, var(--accent), black 15%); border-color: color-mix(in oklab, var(--accent), black 15%); color: #fff; }
.btn-secondary {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ===== HERO ===== */
.hero-b {
  position: relative;
  padding: 112px 48px 0;
  overflow: hidden;
}
.hero-b-inner {
  max-width: var(--col-max);
  margin: 0 auto;
  text-align: center;
}
.hero-b-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.hero-b-eyebrow::before, .hero-b-eyebrow::after {
  content: ''; width: 32px; height: 1px; background: var(--accent);
}
.hero-b h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 116px);
  font-weight: 380;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 auto 28px;
  max-width: 16ch;
  text-wrap: balance;
}
.hero-b h1 em {
  font-style: italic; font-weight: 400; color: var(--accent);
}
.hero-b-sub {
  font-family: var(--font-display);
  font-size: 21px; line-height: 1.55;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 40px;
}
.hero-b-ctas {
  display: flex; gap: 12px; justify-content: center;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.hero-b-art {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,0.25);
  overflow: hidden;
}
.hero-b-art video {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: center bottom;
}

/* ===== SECTION COMMON ===== */
.sec {
  padding: 140px 48px;
  border-top: 1px solid var(--border-light);
  position: relative;
}
.sec-inner {
  max-width: var(--col-max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.sec-inner.flip > .sec-text { order: 2; }
.sec-inner.flip > .sec-visual { order: 1; }

.sec-num {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
}
.sec-num::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
.sec h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 380;
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0 0 24px;
  color: var(--text);
  text-wrap: balance;
}
.sec h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.sec p {
  font-family: var(--font-display);
  font-size: 18px; line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
  max-width: 50ch;
}
.sec p + p { margin-top: 14px; }

.sec-visual {
  position: relative;
}
.sec-visual video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center bottom;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.22);
}
.sec-visual.sec-visual-top video { object-position: center top; }

/* ===== DEMO BAND ===== */
.demo-band {
  background: var(--bg-alt);
  color: var(--text);
  padding: 120px 48px;
  border-top: 1px solid var(--border-light);
}
.demo-inner { max-width: var(--col-max); margin: 0 auto; }
.demo-head { text-align: center; margin-bottom: 48px; }
.demo-head h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 380;
  letter-spacing: -0.022em;
  line-height: 1.04;
  color: var(--text);
  margin: 0 auto;
  max-width: 22ch;
  text-wrap: balance;
}
.demo-head h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.demo-head .duration {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.demo-head .duration::before, .demo-head .duration::after {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}
.demo-frame {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 50px 100px -40px rgba(0,0,0,0.25);
}
.demo-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

/* ===== PRICING ===== */
.pricing-b { padding: 140px 48px; }
.pricing-inner { max-width: var(--col-max); margin: 0 auto; }
.pricing-head {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  margin-bottom: 64px;
}
.pricing-head .sec-num { margin-bottom: 24px; }
.pricing-head h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 380;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--text);
}
.pricing-head h2 em { font-style: italic; color: var(--accent); font-weight: 400; }

.pricing-card {
  border: 1px solid var(--border);
  background: var(--bg-alt);
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}
.pricing-card::before,
.pricing-card::after {
  content: ''; position: absolute;
  width: 9px; height: 9px;
  border: 1px solid var(--accent);
  background: var(--bg-alt);
}
.pricing-card::before { top: -5px; left: -5px; }
.pricing-card::after  { bottom: -5px; right: -5px; }

.pricing-card-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
}
.pricing-card-main {
  padding: 56px 56px 48px;
  border-right: 1px solid var(--border-light);
}
.pricing-plan-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.pricing-plan {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.pricing-billing-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 3px;
  gap: 0;
}
.pricing-billing-btn {
  background: transparent;
  border: 0;
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s, color .15s;
}
.pricing-billing-btn:hover { color: var(--text); }
.pricing-billing-btn.is-active {
  background: var(--text);
  color: var(--bg);
}
.pricing-billing-btn .save {
  font-size: 9px; letter-spacing: 0.08em;
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  padding: 1px 5px;
}
.pricing-billing-btn.is-active .save {
  color: var(--bg);
  background: color-mix(in oklab, var(--bg) 22%, transparent);
}
.pricing-plan-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.pricing-amount {
  display: flex; align-items: baseline; gap: 2px;
  margin-bottom: 32px;
  color: var(--text);
}
.pricing-currency {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 380;
  line-height: 1;
  color: var(--text-muted);
  align-self: flex-start;
  margin-top: 14px;
}
.pricing-figure {
  font-family: var(--font-display);
  font-size: clamp(120px, 14vw, 180px);
  font-weight: 380;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-feature-settings: "tnum";
}
.pricing-period {
  display: flex; flex-direction: column;
  align-self: flex-end;
  margin-bottom: 14px;
  margin-left: 10px;
  line-height: 1.2;
}
.pricing-period > span:first-child {
  font-size: 22px;
  color: var(--text);
}
.pricing-period-sub {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}
.pricing-b .pricing-lede {
  font-family: var(--font-display);
  font-size: 19px; line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 14px;
  max-width: 46ch;
}
.pricing-b .pricing-lede em { font-style: italic; color: var(--text); font-weight: 400; }
.pricing-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.pricing-card-meta {
  padding: 56px 48px;
  background: var(--bg);
  display: flex; flex-direction: column;
  gap: 0;
}
.pricing-meta-row {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px dashed var(--border-light);
  gap: 16px;
}
.pricing-meta-row:first-child { padding-top: 0; }
.pricing-meta-row:last-child { border-bottom: none; padding-bottom: 0; }
.pricing-meta-key {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: lowercase;
}
.pricing-meta-val {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text);
  font-feature-settings: "tnum";
  white-space: nowrap;
}
.pricing-meta-unit {
  color: var(--text-muted);
  font-size: 11px;
  margin-left: 2px;
}
.pricing-meta-zero { color: var(--accent); }

.pricing-foot {
  display: flex; align-items: flex-start; gap: 14px;
  margin: 36px auto 0;
  max-width: 1080px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  line-height: 1.65;
}
.pricing-foot-num { color: var(--accent); }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 40px 48px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-inter);
  font-size: 12px; color: var(--text-muted);
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 920px) {
  .nav { padding: 16px 24px; }
  .nav-links { gap: 16px; }
  .hero-b { padding: 72px 24px 0; }
  .hero-b-ctas { margin-bottom: 56px; }
  .sec { padding: 96px 24px; }
  .sec-inner { grid-template-columns: 1fr; gap: 40px; }
  .sec-inner.flip > .sec-text { order: 1; }
  .sec-inner.flip > .sec-visual { order: 2; }
  .demo-band { padding: 96px 24px; }
  .pricing-b { padding: 96px 24px; }
  .pricing-card-grid { grid-template-columns: 1fr; }
  .pricing-card-main { padding: 40px 28px 32px; border-right: none; border-bottom: 1px solid var(--border-light); }
  .pricing-card-meta { padding: 32px 28px; }
  .pricing-figure { font-size: 104px; }
  .pricing-foot { padding: 0 4px; }
  .footer { padding: 32px 24px; }
}

@media (max-width: 540px) {
  .nav-links { gap: 12px; }
  .nav-links a:not(.nav-cta) { font-size: 12px; }
  .hero-b-ctas .btn { width: 100%; justify-content: center; }
}
