/* Live Producer product page. Dark, a film set: warm blacks, one amber spotlight colour, the
   red and green of program and preview. System fonts only (no third-party font requests). */

:root {
  color-scheme: dark;
  --bg: #0b0a09;
  --bg-2: #121009;
  --surface: rgba(255, 243, 224, 0.045);
  --surface-strong: rgba(255, 243, 224, 0.08);
  --line: rgba(255, 243, 224, 0.12);
  --text: #f3ede4;
  --muted: #a69c8f;
  --amber: #f0b35a;
  --amber-deep: #c9862a;
  --live: #ff3b30;
  --preview: #34c759;
  --radius: 16px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--font);
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(40px, 7vw, 84px); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4.6vw, 56px); }
h3 { font-size: 22px; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--amber); color: #1a1104; box-shadow: 0 0 0 0 rgba(240, 179, 90, 0); }
.btn-primary:hover { background: #f7c372; box-shadow: 0 10px 40px -10px rgba(240, 179, 90, 0.55); }
.btn-outline { border-color: rgba(255, 243, 224, 0.35); color: var(--text); backdrop-filter: blur(10px); background: rgba(11, 10, 9, 0.25); }
.btn-outline:hover { border-color: rgba(255, 243, 224, 0.7); background: rgba(255, 243, 224, 0.06); }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { background: rgba(255, 243, 224, 0.08); }
.btn-lg { padding: 14px 24px; font-size: 17px; }
.link { color: var(--amber); font-weight: 500; display: inline-block; margin-top: 18px; }
.link::after { content: " →"; transition: margin-left 0.2s; }
.link:hover::after { margin-left: 4px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(11, 10, 9, 0.72); backdrop-filter: saturate(140%) blur(18px); -webkit-backdrop-filter: saturate(140%) blur(18px); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255, 243, 224, 0.07); }
.nav-actions { margin-left: auto; display: flex; gap: 8px; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: end start; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 116%; object-fit: cover; object-position: 50% 38%; will-change: transform; transform: translate3d(0, 0, 0) scale(1.04); filter: saturate(0.92) contrast(1.04); }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: 0; transition: opacity 1.4s ease; filter: saturate(0.92) contrast(1.04); }
.hero-media video.playing { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(11, 10, 9, 1) 0%, rgba(11, 10, 9, 0.85) 18%, rgba(11, 10, 9, 0.25) 55%, rgba(11, 10, 9, 0.35) 100%),
    linear-gradient(to right, rgba(11, 10, 9, 0.6) 0%, rgba(11, 10, 9, 0) 60%);
}
.hero-flare {
  position: absolute; left: -10%; right: -10%; top: 36%; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 200, 120, 0.0) 20%, rgba(255, 214, 150, 0.55) 50%, rgba(255, 200, 120, 0) 80%, transparent);
  filter: blur(2px); opacity: 0; transform: translateX(-30%);
  animation: flare 2.6s var(--ease) 0.6s forwards;
}
@keyframes flare { 0% { opacity: 0; transform: translateX(-30%); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateX(30%); } }
.hero-content { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 140px 24px 96px; }
.hero-content > * { opacity: 0; transform: translateY(24px); animation: rise 1s var(--ease) forwards; }
.hero-content > :nth-child(1) { animation-delay: 0.25s; }
.hero-content > :nth-child(2) { animation-delay: 0.4s; }
.hero-content > :nth-child(3) { animation-delay: 0.58s; }
.hero-content > :nth-child(4) { animation-delay: 0.74s; }
.hero-content > :nth-child(5) { animation-delay: 0.9s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero h1 { max-width: 14ch; text-shadow: 0 10px 60px rgba(0, 0, 0, 0.6); }
.lead { max-width: 56ch; font-size: clamp(18px, 2vw, 21px); color: rgba(243, 237, 228, 0.86); margin-top: 22px; text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 22px; }
.tally { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 12px 2px rgba(255, 59, 48, 0.6); animation: tally 1.6s ease-in-out infinite; }
@keyframes tally { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fineprint { font-size: 13px; color: var(--muted); margin-top: 18px; font-family: var(--mono); letter-spacing: 0.02em; }
.scroll-cue { position: absolute; right: 28px; bottom: 28px; width: 26px; height: 42px; border: 1.5px solid rgba(255, 243, 224, 0.4); border-radius: 13px; opacity: 0; animation: rise 1s var(--ease) 1.3s forwards; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--amber); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* Sections */
.section { position: relative; padding: clamp(88px, 11vw, 150px) 0; }
.section-dark { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-dark::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 30%, var(--line) 70%, transparent); }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.intro { max-width: 62ch; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); margin-top: 20px; text-wrap: pretty; }
.note { max-width: 70ch; font-size: 15px; color: var(--muted); margin-top: 28px; text-wrap: pretty; }
.note a { color: var(--amber); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }

/* Two parts */
.two-parts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.part { position: relative; padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.part::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 240px at 20% -20%, rgba(240, 179, 90, 0.14), transparent 70%); pointer-events: none; }
.part-head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.part h3 { font-size: 26px; }
.part p { color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--line); }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip-live { color: #ff7a72; }
.chip-preview { color: #6fdc8a; }
.chip-pub { color: var(--amber); }
.ticks { margin-top: 20px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--surface-strong); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23f0b35a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 13px; background-position: center; background-repeat: no-repeat; }

/* Monitors (decorative preview and program) */
.monitors { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin: 56px 0 24px; }
.monitor { border-radius: 12px; border: 1px solid var(--line); background: #060605; overflow: hidden; }
.monitor-label { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.monitor-label .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.monitor-preview .monitor-label { color: var(--preview); }
.monitor-program .monitor-label { color: var(--live); }
.monitor-program .monitor-label .dot { box-shadow: 0 0 10px 2px rgba(255, 59, 48, 0.5); animation: tally 1.6s ease-in-out infinite; }
.monitor-screen { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(120% 90% at 50% 110%, #2a2217, #0e0c09 60%); overflow: hidden; }
.bars { position: absolute; inset: 0 0 35% 0; display: grid; grid-template-columns: repeat(7, 1fr); opacity: 0.55; }
.bars i { display: block; }
.bars i:nth-child(1) { background: #c7c2b4; } .bars i:nth-child(2) { background: #d8c24f; } .bars i:nth-child(3) { background: #4fc7b6; }
.bars i:nth-child(4) { background: #4fb85a; } .bars i:nth-child(5) { background: #c257b6; } .bars i:nth-child(6) { background: #d4524a; } .bars i:nth-child(7) { background: #4a66d4; }
.lower-third { position: absolute; left: 6%; bottom: 10%; padding: 8px 14px; border-left: 3px solid var(--amber); background: rgba(11, 10, 9, 0.82); backdrop-filter: blur(6px); }
.lower-third b { display: block; font-size: 14px; } .lower-third span { font-size: 12px; color: var(--muted); }
.pip { position: absolute; right: 5%; bottom: 8%; width: 32%; aspect-ratio: 16 / 9; border: 1px solid rgba(255, 243, 224, 0.4); border-radius: 4px; background: linear-gradient(135deg, #3a2f1f, #1a150e); }
.monitor-take { display: grid; place-items: center; }
.monitor-take span { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); box-shadow: inset 0 0 0 6px var(--bg); }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.feature { padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.feature:hover { background: var(--surface-strong); border-color: rgba(240, 179, 90, 0.35); transform: translateY(-3px); }
.feature svg { width: 28px; height: 28px; fill: none; stroke: var(--amber); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); text-wrap: pretty; }

/* Steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; padding-top: 36px; }
.steps-line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 2px; }
.steps-line path { stroke: var(--amber); stroke-width: 2; fill: none; stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.steps-line path.draw { transition: stroke-dashoffset 1.6s var(--ease); stroke-dashoffset: 0; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--amber); color: #1a1104; font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); text-wrap: pretty; }

/* Readiness card */
.readiness { max-width: 560px; margin: 44px 0 0; padding: 22px 24px; border-radius: var(--radius); background: #060605; border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(240, 179, 90, 0.35); }
.readiness-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.readiness-head b { font-size: 17px; }
.readiness-head .muted { font-size: 13px; font-family: var(--mono); }
.readiness li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.readiness li span { margin-left: auto; font-size: 13px; color: var(--muted); }
.readiness li i { width: 16px; height: 16px; border-radius: 50%; flex: none; background-size: 11px; background-position: center; background-repeat: no-repeat; }
.readiness li.ok i { background-color: rgba(52, 199, 89, 0.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2334c759' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.readiness li.warn i { background-color: rgba(240, 179, 90, 0.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v6m0 4h.01' fill='none' stroke='%23f0b35a' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* Free list */
.free-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; margin-top: 36px; }
.free-list li { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.free-list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px 1px rgba(240, 179, 90, 0.6); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; align-items: start; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); min-height: 100%; }
.plan-featured { background: linear-gradient(180deg, rgba(240, 179, 90, 0.14), rgba(240, 179, 90, 0.04)); border-color: rgba(240, 179, 90, 0.45); box-shadow: 0 40px 100px -50px rgba(240, 179, 90, 0.6); }
.plan-tag { position: absolute; top: -12px; left: 24px; padding: 4px 10px; border-radius: 999px; background: var(--amber); color: #1a1104; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.plan h3 { font-size: 20px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.price b { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price span { font-size: 14px; color: var(--muted); }
.plan-for { margin-top: 10px; font-size: 15px; color: var(--muted); min-height: 2.6em; }
.plan ul { margin: 22px 0 26px; display: grid; gap: 9px; flex: 1; }
.plan li { font-size: 14.5px; padding-left: 20px; position: relative; color: rgba(243, 237, 228, 0.9); }
.plan li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 2px; background: var(--amber); }
.plan .btn { justify-content: center; }
.compare { margin-top: 36px; border-top: 1px solid var(--line); }
.compare summary { cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--amber); list-style: none; display: flex; align-items: center; gap: 10px; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::before { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 0.25s; }
.compare[open] summary::before { transform: rotate(45deg); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 720px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); }
tbody th { font-weight: 500; color: var(--muted); width: 26%; }
tr.group th { padding-top: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); border-bottom-color: rgba(240, 179, 90, 0.4); }
td:nth-child(3) { background: rgba(240, 179, 90, 0.05); }

/* Closing */
.closing { position: relative; min-height: 80svh; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; }
.closing-media { position: absolute; inset: 0; z-index: -1; }
.closing-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(0.8) brightness(0.75); will-change: transform; transform: scale(1.1); }
.closing-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--bg) 0%, rgba(11, 10, 9, 0.35) 35%, rgba(11, 10, 9, 0.35) 70%, var(--bg) 100%); }
.closing-content { padding: 120px 24px; }
.closing .cta-row { justify-content: center; }
.closing h2 { font-size: clamp(36px, 6vw, 72px); font-weight: 700; letter-spacing: -0.035em; text-shadow: 0 10px 60px rgba(0, 0, 0, 0.7); }

/* Footer */
.footer { padding: 56px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.footer-grid p { margin-top: 10px; font-size: 14px; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer nav a:hover { color: var(--text); }
.legal { margin-top: 36px; font-size: 12.5px; }

/* Responsive */
@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
}
@media (max-width: 699px) {
  body { font-size: 16px; }
  .nav { padding: 12px 16px; gap: 12px; }
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .wrap { padding: 0 16px; }
  .hero { min-height: 92svh; }
  .hero-content { padding: 120px 16px 72px; }
  .hero-media img { object-position: 52% 40%; height: 112%; }
  .scroll-cue { display: none; }
  .two-parts, .features, .plans, .free-list, .steps { grid-template-columns: 1fr; }
  .part { padding: 24px 20px; }
  .monitors { grid-template-columns: 1fr; gap: 12px; }
  .monitor-take span { width: 56px; height: 56px; }
  .steps { padding-top: 28px; row-gap: 28px; }
  .plan-featured { order: -1; }
  .closing-content { padding: 96px 16px; }
  .footer-grid { flex-direction: column; }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content > *, .scroll-cue { animation: none; opacity: 1; transform: none; }
  .hero-flare, .tally, .monitor-program .monitor-label .dot, .scroll-cue span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .steps-line path { stroke-dashoffset: 0; transition: none; }
  .hero-media img, .closing-media img { transform: none !important; }
}

/* Teaser (index.html until launch): the hero alone, a "Live soon" badge in place of Download. */
.teaser .hero { min-height: 100svh; }
.teaser .nav { pointer-events: none; }
.btn-soon { cursor: default; gap: 12px; }
.btn-soon:hover { transform: none; background: var(--amber); box-shadow: none; }
.btn-soon .tally { background: #b3200f; box-shadow: 0 0 10px 1px rgba(179, 32, 15, 0.5); }
