/* vidlasso.com: Sunrise (light) and Sunset (dark), same tokens as the app (web/app/globals.css).
   Static CSS, no build step. Served by vidlasso-web (deploy/prd/web.nginx.conf). */
:root {
  --bg: #fff6f1;
  --card: #ffffff;
  --card-2: #ffede5;
  --line: #f1ddd4;
  --line-strong: #e3c9be;
  --text: #24161c;
  --muted: #7a5f63;
  --link: #b93a17;
  --accent: #f2542d;
  --accent-hover: #ff6b4a;
  --on-accent: #1a0b08;
  --mint: #7eebdd;
  --on-mint: #082320;
  --ai: #0e9384;
  --ai-bg: #e6faf6;
  --ai-border: #a8e6dc;
  --ai-text: #0b4a43;
  --up: #12873f;
  --warn-bg: #fff4dc;
  --warn: #7a4800;
  --glow: #ffe1d6;
  --ink: #24161c;
  --on-ink: #ffffff;
  --shadow: 0 1px 2px rgba(36, 22, 28, .05), 0 12px 32px rgba(36, 22, 28, .07);
  --header-bg: rgba(255, 246, 241, .86);
  --radius: 24px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Space Grotesk", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #150e15;
    --card: #20161f;
    --card-2: #2a1e2a;
    --line: #3a2a38;
    --line-strong: #4a3646;
    --text: #fff1ec;
    --muted: #c2a6a6;
    --link: #ffb09c;
    --accent: #ff6b4a;
    --accent-hover: #ff8a6e;
    --mint: #5fe3d2;
    --ai: #5fe3d2;
    --ai-bg: #102624;
    --ai-border: #24564f;
    --ai-text: #c8fff6;
    --up: #8fe07a;
    --warn-bg: #3a2a10;
    --warn: #ffc56b;
    --glow: #3a1c18;
    --ink: #fff1ec;
    --on-ink: #150e15;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px rgba(0, 0, 0, .35);
    --header-bg: rgba(21, 14, 21, .82);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.02em; line-height: 1.12; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 12px; z-index: 100; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--on-accent); text-decoration: none;
  padding: 12px 22px; border-radius: 999px; font-weight: 650; border: 1px solid var(--accent);
  font-size: 16px; line-height: 1.2; cursor: pointer; transition: background .15s, transform .15s, border-color .15s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--card-2); color: var(--text); }
.btn.small { padding: 8px 16px; font-size: 14px; }
.btn[aria-disabled="true"] { background: var(--card-2); border-color: var(--line); color: var(--muted); cursor: default; transform: none; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-head.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px var(--font-head); color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav > nav { margin-left: auto; }
.menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.menu a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 550; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--card-2); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--card); color: var(--text); cursor: pointer; align-items: center; justify-content: center; padding: 0; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .close { display: none; }
.menu-toggle[aria-expanded="true"] .open { display: none; }
.menu-toggle[aria-expanded="true"] .close { display: block; }
.mobile-only { display: none; }

@media (max-width: 880px) {
  .nav { gap: 10px; }
  .nav > nav { margin-left: 0; }
  .nav-cta { margin-left: auto; }
  .nav-cta .ghost { display: none; }
  .menu-toggle { display: inline-flex; order: 3; }
  .menu {
    position: absolute; left: 0; right: 0; top: 68px; margin: 0; padding: 12px 20px 20px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .no-js .menu, .menu.open { display: flex; }
  .no-js .menu { position: static; box-shadow: none; }
  .menu a { padding: 12px 14px; font-size: 17px; border-radius: 14px; }
  .mobile-only { display: block; }
}
@media (max-width: 380px) { .nav-cta .btn { padding: 8px 12px; } }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 56px 20px 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--link); font-weight: 650; font-size: 14px; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: var(--card-2); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); margin: 0 0 18px; }
.hero h1 .hl { color: var(--accent); }
.lead { font-size: 19px; color: var(--muted); max-width: 580px; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { color: var(--muted); font-size: 14px; margin: 16px 0 0; }

/* Hero visual: an illustration of the app with sample text, not real data */
.demo { position: relative; min-height: 440px; }
.demo::before { content: ""; position: absolute; inset: 8% 4% 4% 10%; background: radial-gradient(closest-side, var(--glow), transparent); z-index: 0; }
.tile { position: relative; z-index: 1; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.tile-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.tile-head .badge { margin-left: auto; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: var(--card-2); color: var(--text); white-space: nowrap; }
.badge.ai, .badge.live { background: var(--ai-bg); color: var(--ai-text); border: 1px solid var(--ai-border); }
.badge.soon { background: var(--warn-bg); color: var(--warn); }
.demo-inbox { margin-right: 12%; }
.comment { display: flex; gap: 10px; align-items: flex-start; }
.avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--font); background: #ede7ff; color: #4b2fa8; }
@media (prefers-color-scheme: dark) { .avatar { background: #3a2a55; color: #e3dcff; } }
.comment p { margin: 0; font-size: 15px; }
.comment .who { font-size: 13px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.glyph { width: 16px; height: 16px; flex: none; }
.draft { margin-top: 14px; border-radius: 16px; background: var(--ai-bg); border: 1px solid var(--ai-border); padding: 12px 14px; }
.draft-label { font-size: 12px; font-weight: 700; color: var(--ai-text); display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.draft-text { color: var(--ai-text); font-size: 15px; min-height: 4.8em; margin: 0; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--ai); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.draft-actions { display: flex; gap: 8px; margin-top: 12px; }
.chip { font-size: 13px; font-weight: 650; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); background: var(--card); }
.chip.send { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip.send.pulse { animation: pulse 1.2s ease-out 1; }
.demo-title { margin: 16px 0 0 18%; }
.title-swap { position: relative; height: 3.3em; font-weight: 650; font-size: 15px; }
.title-swap span { position: absolute; inset: 0; transition: opacity .6s, transform .6s; }
.title-swap .old { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--accent); }
.title-swap .new { opacity: 0; transform: translateY(8px); }
.demo-title.after .old { opacity: 0; transform: translateY(-8px); }
.demo-title.after .new { opacity: 1; transform: none; }
.checks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.check { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--card-2); color: var(--muted); transition: background .4s, color .4s; }
.check.ok { background: var(--ai-bg); color: var(--ai-text); }
.demo-note { position: relative; z-index: 1; font-size: 12px; color: var(--muted); margin: 12px 0 0 18%; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 74, .6); } 100% { box-shadow: 0 0 0 14px rgba(255, 107, 74, 0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.demo-inbox { animation: floaty 7s ease-in-out infinite; }
.demo-title { animation: floaty 8s ease-in-out -3s infinite; }

/* Platform strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 36px; padding-top: 22px; padding-bottom: 22px; }
.strip p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.platform { display: inline-flex; align-items: center; gap: 10px; font: 650 18px var(--font-head); color: var(--text); }
.platform svg { height: 26px; width: auto; }

/* Sections */
section { scroll-margin-top: 84px; }
.section { padding: 88px 0; }
.section-head { max-width: 720px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 14px; font-weight: 700; color: var(--link); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; }
.section h2 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* Feature bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.feature { grid-column: span 2; display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature.wide { grid-column: span 3; }
.feature.full { grid-column: 1 / -1; }
.feature.hot { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.feature.hot p, .feature.hot li { color: var(--on-accent); }
.feature.hot .badge, .feature.hot .ficon { background: rgba(26, 11, 8, .12); color: var(--on-accent); border-color: transparent; }
.feature h3 { font-size: 21px; margin: 0; }
.feature p { margin: 0; color: var(--muted); }
.feature ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); }
.feature li { margin: 2px 0; }
.feature-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ficon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--card-2); color: var(--accent); }
.ficon svg { width: 22px; height: 22px; }
.ficon.ai { background: var(--ai-bg); color: var(--ai); }
.status-note { font-size: 14px; color: var(--muted); margin: 18px 0 0; }

/* Reveal on scroll (only when JS runs and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Trust */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-grid > div { min-width: 0; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); padding: 22px; }
.trust-grid .can { background: var(--ai-bg); border-color: var(--ai-border); color: var(--ai-text); }
.trust-grid h3 { font-size: 18px; margin: 0 0 8px; }
.trust-grid ul { margin: 0; padding-left: 20px; }
.trust-grid li { margin: 6px 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 700 18px var(--font-head); margin-bottom: 14px; }
.steps h3 { margin: 0 0 8px; font-size: 21px; }
.steps p { margin: 0; color: var(--muted); }

/* Pricing */
.section-head .pricing-note { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; font-size: 16px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { display: flex; flex-direction: column; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.plan.featured { border: 2px solid var(--accent); }
.plan h3 { margin: 0; font-size: 20px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price { font: 700 40px/1 var(--font-head); margin: 0; }
.price small { font: 500 15px var(--font); color: var(--muted); }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); flex: 1; }
.plan li { margin: 4px 0; }
.plan .btn { width: 100%; }
.topup { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--card-2); border-radius: var(--radius); padding: 20px 24px; }
.topup p { margin: 0; }
.costs { margin-top: 32px; }
.costs h3 { font-size: 20px; margin: 0 0 12px; }
table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 15px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
th, td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--card-2); font-weight: 650; }
tr:last-child td { border-bottom: 0; }
td.num { white-space: nowrap; font-weight: 650; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; margin: 0 0 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 650; font-size: 17px; position: relative; border-radius: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 22px 18px; color: var(--muted); }
.faq .answer p { margin: 0 0 8px; }

/* Final CTA */
.final { background: var(--ink); color: var(--on-ink); border-radius: 32px; padding: 56px 32px; text-align: center; }
.final h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 44px); }
.final p { margin: 0 auto 26px; max-width: 560px; font-size: 18px; }
.final .cta { justify-content: center; }
.final .btn.ghost { color: var(--on-ink); border-color: currentColor; }
.final .btn.ghost:hover { background: transparent; color: var(--on-ink); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); margin-top: 88px; padding: 48px 0 32px; color: var(--muted); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.foot-grid h2 { font: 650 14px var(--font); color: var(--text); margin: 0 0 10px; letter-spacing: 0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin: 6px 0; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--text); text-decoration: underline; }
.foot-grid .about p { margin: 10px 0 0; max-width: 320px; }
.copy { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.copy p { margin: 0; }

/* Docs */
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; padding-top: 40px; padding-bottom: 40px; }
.toc { position: sticky; top: 92px; align-self: start; }
.toc h2 { font: 650 13px var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 6px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 15px; }
.toc a:hover, .toc a.active { background: var(--card-2); }
.doc { max-width: 760px; min-width: 0; }
.doc h1 { font-size: clamp(34px, 4.5vw, 48px); margin: 0 0 12px; }
.doc h2 { font-size: 28px; margin: 56px 0 12px; padding-top: 8px; }
.doc h3 { font-size: 19px; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc .lead { font-size: 18px; color: var(--muted); }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
code { font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--card-2); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
pre { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; overflow-x: auto; }
pre code { background: none; padding: 0; overflow-wrap: normal; }
.callout { border-radius: 16px; padding: 14px 18px; background: var(--card-2); margin: 16px 0; }
.callout.ai { background: var(--ai-bg); color: var(--ai-text); border: 1px solid var(--ai-border); }
.callout p { margin: 0; color: inherit; }

/* Legal pages (privacy.html, terms.html) */
.legal { padding: 24px 20px 64px; max-width: 760px; }
.legal h1 { font-size: 36px; }
.legal h2 { font-size: 20px; margin-top: 32px; }
.legal p, .legal li { color: var(--text); }
.legal .muted { color: var(--muted); }

/* See it in action: walkthrough video, loads only when played */
.watch { padding-top: 8px; padding-bottom: 72px; }
.watch-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 18px; }
.watch-head h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0; }
.watch-head p { margin: 0; color: var(--muted); }
.player { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); background: #150e15; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.player video { display: block; width: 100%; height: 100%; object-fit: contain; background: #150e15; }
.player .play { position: absolute; left: 50%; bottom: 7%; translate: -50% 0; display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px 16px 20px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 700 18px/1 var(--font-head); white-space: nowrap; cursor: pointer; box-shadow: 0 12px 32px rgba(0, 0, 0, .35); transition: background .15s, scale .15s; }
.player .play svg { flex: none; width: 26px; height: 26px; }
.player .play:hover { background: var(--accent-hover); scale: 1.04; }
.player .play:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }
.player .play[hidden] { display: none; }
.watch-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .demo { min-height: 0; max-width: 560px; }
  .feature, .feature.wide { grid-column: span 3; }
  .feature.full { grid-column: 1 / -1; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-grid .about { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .feature, .feature.wide { grid-column: 1 / -1; }
  .steps, .trust-grid { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; gap: 16px; padding-top: 24px; }
  .toc { position: static; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
  .doc h2 { margin-top: 44px; }
}
@media (max-width: 560px) {
  .plans { grid-template-columns: 1fr; }
  .lead { font-size: 17px; }
  .demo-inbox { margin-right: 0; }
  .demo-title { margin: 12px 0 0 0; }
  .demo-note { margin-left: 0; }
  .final { padding: 40px 20px; border-radius: 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta .btn { flex: 1 1 auto; }
  .watch { padding-bottom: 56px; }
  .player { border-radius: 18px; }
  .player .play { bottom: 5%; padding: 9px 16px 9px 12px; font-size: 14px; gap: 6px; }
  .player .play svg { width: 18px; height: 18px; }
}

/* Reduced motion: no animation, no smooth scroll, content shown at once */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* early access form note */
p.small { font-size: 14px; color: var(--muted); max-width: 560px; margin-left: auto; margin-right: auto; }

/* 029 Early access request form (posts to the VidLasso API) */
.ea-form, .ea-done { max-width: 760px; margin: 0 auto 48px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.ea-form .ea-note, .ea-form .small { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.ea-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.ea-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.ea-field label, .ea-field legend { font-weight: 650; font-size: 15px; color: var(--text); padding: 0; }
.ea-field legend { margin-bottom: 8px; }
.ea-hint, .ea-hint-inline { color: var(--muted); font-size: 13px; font-weight: 400; margin: 0; }
.ea-form input[type="email"], .ea-form input[type="text"], .ea-form textarea {
  font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: 12px; padding: 10px 14px; width: 100%; box-sizing: border-box;
}
.ea-form textarea { resize: vertical; }
.ea-form input:focus-visible, .ea-form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.ea-options { display: flex; flex-wrap: wrap; gap: 10px; }
.ea-options label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.ea-options label:has(input:checked) { border-color: var(--accent); background: var(--card-2); }
.ea-options input { accent-color: var(--accent); margin: 0; }
.ea-field[aria-invalid="true"] input[type="email"], .ea-field[aria-invalid="true"] .ea-options label { border-color: #c62828; }
.ea-err { color: #c62828; font-size: 13px; font-weight: 600; margin: 0; }
.ea-suggest { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.ea-suggest:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 2px; }
.ea-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ea-actions { margin: 0; }
.ea-status { margin: 12px 0 0; font-size: 14px; font-weight: 600; }
.ea-status.error { color: #c62828; }
.ea-done { text-align: center; }
.ea-done h3 { margin: 0 0 8px; font-family: var(--font-head); font-size: 24px; }
.ea-done p { margin: 0; color: var(--muted); }
@media (prefers-color-scheme: dark) {
  .ea-err, .ea-status.error { color: #ff8a80; }
  .ea-field[aria-invalid="true"] input[type="email"], .ea-field[aria-invalid="true"] .ea-options label { border-color: #ff8a80; }
}
@media (max-width: 720px) {
  .ea-form, .ea-done { padding: 20px; }
  .ea-grid { grid-template-columns: 1fr; }
}
.ea-done:focus { outline: none; }

/* early access dialog */
.ea-dialog { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--line, rgba(127,127,127,.25)); border-radius: 24px; background: var(--card); color: var(--text); overflow: auto; }
.ea-dialog::backdrop { background: rgba(10, 8, 12, .6); backdrop-filter: blur(2px); }
.ea-dialog-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; background: var(--card); border-bottom: 1px solid var(--line, rgba(127,127,127,.2)); z-index: 1; }
.ea-dialog-head h2 { margin: 0; font-size: 20px; }
.ea-close { display: inline-flex; padding: 8px; border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; }
.ea-close:hover, .ea-close:focus-visible { background: rgba(127,127,127,.15); }
.ea-dialog .ea-form, .ea-dialog .ea-done { margin: 0; padding: 20px 24px 24px; box-shadow: none; border: 0; }
@media (max-width: 600px) { .ea-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; } .ea-dialog-head, .ea-dialog .ea-form, .ea-dialog .ea-done { padding-left: 16px; padding-right: 16px; } }
@media (prefers-reduced-motion: no-preference) { .ea-dialog[open] { animation: ea-in .18s ease-out; } @keyframes ea-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } }

/* 040: Instagram usernames list on the early access form. */
.ea-ig-list { display: flex; flex-direction: column; gap: 8px; }
.ea-ig-more { margin: 6px 0 0; }
.ea-add { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--link); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
