:root {
  color-scheme: dark;
  --bg: #050506;
  --panel: #111114;
  --panel-2: #18181d;
  --line: rgba(255,255,255,.12);
  --soft-line: rgba(255,255,255,.07);
  --text: #f7f7f8;
  --muted: #b7b7c2;
  --red: #ff1f2f;
  --red-2: #c80c18;
  --green: #2bd277;
  --yellow: #ffce4a;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 85% 0%, rgba(255,31,47,.18), transparent 28%), linear-gradient(180deg, #070708, #050506 50%, #09090b);
  color: var(--text);
}
body, main, section, header, div, article, form {
  min-width: 0;
}
h1, h2, h3, p, a, button, input, select, span, strong {
  overflow-wrap: normal;
  word-break: normal;
}
button, input, select, textarea { font: inherit; min-width: 0; max-width: 100%; }
a { color: inherit; }
button, .button {
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(180deg, var(--red), var(--red-2));
  box-shadow: 0 16px 34px rgba(255,31,47,.22);
  cursor: pointer;
  font-weight: 850;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button:hover, .button:hover { filter: brightness(1.07); }
button:disabled { opacity: .55; cursor: not-allowed; }
.ghost, a.ghost {
  background: rgba(255,255,255,.04);
  box-shadow: none;
  border-color: rgba(255,255,255,.14);
}
.danger { background: linear-gradient(180deg, #7d111a, #4a070c); box-shadow: none; }
.small { min-height: 34px; padding: 0 12px; font-size: .9rem; }
.link-button { border: 0; background: transparent; box-shadow: none; min-height: 0; padding: 0; text-decoration: underline; color: #fff; }

input, select, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: #1e1e23;
  color: #fff;
  padding: 14px 16px;
  outline: none;
}
select, select option { background: #1e1e23; color: #fff; }
input:focus, select:focus, textarea:focus { border-color: rgba(255,31,47,.85); box-shadow: 0 0 0 3px rgba(255,31,47,.16); }
textarea { min-height: 280px; resize: vertical; line-height: 1.5; overflow-wrap: anywhere; }
label { display: grid; gap: 8px; font-weight: 800; color: #fff; min-width: 0; }
.check { display: flex; align-items: center; gap: 10px; }
.check input { width: auto; }

.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--soft-line);
}
.topbar.public { width: min(1480px, calc(100% - 48px)); margin: 0 auto; }
.top-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 176px; height: 54px; object-fit: contain; object-position: left center; }
.language-select { min-width: 170px; padding: 10px 12px; }
.avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,31,47,.28), rgba(255,255,255,.08));
  color: #fff;
  font-size: .86rem;
  font-weight: 900;
  line-height: 1;
}
.avatar::before { content: attr(data-initials); }
.avatar img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.dashboard-topbar {
  min-height: 72px;
  padding: 0;
}
.dashboard-topbar > div:first-child {
  display: grid;
  gap: 3px;
}
.dashboard-topbar > div:first-child strong {
  font-size: .98rem;
}
.dashboard-topbar > div:first-child span {
  color: var(--muted);
  font-size: .84rem;
}
.dashboard-actions {
  flex-wrap: nowrap;
}
.dashboard-actions .language-select {
  width: auto;
  min-width: 150px;
  max-width: 180px;
  padding: 9px 11px;
}
.plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255,255,255,.045);
  color: #fff;
  font-size: .86rem;
  font-weight: 850;
  white-space: nowrap;
}
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 10px; color: var(--red); text-transform: uppercase; font-size: .78rem; font-weight: 950; }

.landing { width: min(1480px, calc(100% - 48px)); margin: 0 auto; }
.landing-v2 { width: 100%; margin: 0; overflow: hidden; }
.landing-nav {
  width: min(1580px, calc(100% - 40px));
  min-height: 68px;
  padding: 10px 0;
  border-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5,5,6,.74);
  backdrop-filter: blur(16px);
}
.landing-nav .brand img { width: 220px; height: 56px; }
.landing-nav .top-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.landing-nav .top-actions .ghost {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: rgba(255,255,255,.72);
}
.landing-nav .small {
  min-height: 42px;
  padding: 0 18px;
  white-space: nowrap;
}
.landing-nav .light-button {
  min-width: max-content;
}
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 36px);
  color: rgba(255,255,255,.55);
  font-size: .92rem;
  font-weight: 850;
  white-space: nowrap;
}
.nav-menu a {
  text-decoration: none;
}
.nav-menu a:hover { color: #fff; }
.light-button {
  background: #f4f4f5;
  color: #050506;
  border-color: #f4f4f5;
  box-shadow: 0 14px 34px rgba(255,255,255,.14);
}
.outline-pill {
  border-radius: 999px;
  min-height: 58px;
  background: rgba(0,0,0,.42);
  box-shadow: none;
  border-color: rgba(255,255,255,.18);
}
.center { text-align: center; }
.hero-v2 {
  min-height: calc(100vh - 88px);
  display: grid;
  justify-items: center;
  align-content: start;
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 4vw, 48px) 70px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,31,47,.18), transparent 24rem),
    radial-gradient(circle at 78% 30%, rgba(85,96,255,.12), transparent 22rem),
    #000;
}
.hero-v2 h1 {
  width: min(1040px, 100%);
  margin: 0;
  text-align: center;
  font-size: clamp(3.1rem, 6.1vw, 6.25rem);
  line-height: .96;
  letter-spacing: 0;
  text-wrap: balance;
}
.hero-subtitle {
  width: min(920px, 100%);
  margin: 0;
  text-align: center;
  color: rgba(255,255,255,.68);
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  line-height: 1.55;
}
.hero-input-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}
.link-entry {
  display: grid;
  grid-template-columns: auto minmax(220px, 360px) auto;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: rgba(255,255,255,.66);
  font-weight: 850;
}
.link-entry input {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.link-entry input:focus {
  box-shadow: none;
}
.link-entry button {
  min-height: 56px;
  border-radius: 999px;
  padding: 0 28px;
}
.or-text {
  color: #fff;
  font-weight: 900;
}
.feature-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.feature-pills span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(0,0,0,.5);
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  font-weight: 850;
}
.product-showcase {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.product-showcase article {
  min-height: 150px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  padding: 22px;
  background:
    radial-gradient(circle at 24% 12%, rgba(255,31,47,.18), transparent 13rem),
    rgba(255,255,255,.045);
}
.product-showcase strong,
.product-showcase span {
  display: block;
}
.product-showcase strong { font-size: 1.1rem; }
.product-showcase span { margin-top: 8px; color: var(--muted); line-height: 1.5; }
.landing-section {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
  text-align: center;
}
.landing-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.landing-section p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.landing-premium {
  width: min(1640px, calc(100% - 56px));
  margin: 0 auto;
  padding: 56px 0 86px;
}
.premium-nav {
  position: sticky;
}
.premium-nav .brand img {
  width: 236px;
  height: 58px;
}
.premium-nav .nav-menu a:first-child {
  color: var(--red);
  border-bottom: 2px solid var(--red);
  padding-bottom: 10px;
}
.premium-hero {
  min-height: calc(100vh - 180px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
}
.premium-copy {
  display: grid;
  gap: 24px;
  align-content: center;
}
.premium-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  border: 1px solid rgba(255,31,47,.55);
  border-radius: 12px;
  padding: 12px 18px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: .02em;
}
.premium-kicker span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}
.premium-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 6.4rem);
  line-height: .98;
  letter-spacing: 0;
}
.premium-copy h1 strong,
.premium-copy h1 em {
  color: var(--red);
  font-style: normal;
}
.premium-copy p:not(.premium-kicker) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.55;
}
.premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.premium-actions button {
  min-height: 58px;
  border-radius: 10px;
  padding: 0 24px;
}
.virzo-cta {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  box-shadow: none;
}
.virzo-cta img {
  width: 72px;
  height: 24px;
  object-fit: contain;
}
.virzo-cta small,
.virzo-side-link span,
.virzo-card em {
  border-radius: 999px;
  padding: 3px 8px;
  background: var(--red);
  color: #fff;
  font-size: .68rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}
.premium-demo {
  min-height: 420px;
  display: grid;
  grid-template-columns: 170px 1fr;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(circle at 78% 18%, rgba(255,31,47,.22), transparent 22rem), rgba(255,255,255,.035);
  box-shadow: 0 32px 90px rgba(0,0,0,.42);
}
.demo-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px 18px;
  border-right: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.24);
}
.demo-sidebar img {
  width: 118px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 18px;
}
.demo-sidebar span {
  border-radius: 9px;
  padding: 12px;
  color: var(--muted);
  font-weight: 850;
}
.demo-sidebar span.active {
  background: rgba(255,31,47,.18);
  color: #fff;
  border-left: 3px solid var(--red);
}
.demo-panel {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: clamp(28px, 5vw, 56px);
}
.demo-panel h2,
.demo-panel p {
  margin: 0;
}
.demo-panel p {
  color: var(--muted);
}
.demo-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 10px;
  background: rgba(0,0,0,.28);
}
.demo-input span {
  color: rgba(255,255,255,.45);
  padding-left: 12px;
}
.demo-input button {
  min-height: 52px;
}
.demo-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.demo-options span {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 12px 18px;
  color: var(--muted);
  font-weight: 850;
}
.premium-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.025);
}
.premium-feature-grid button {
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 10px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.08);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  padding: 26px;
}
.premium-feature-grid button:last-child {
  border-right: 0;
}
.premium-feature-grid strong {
  font-size: 1.08rem;
}
.premium-feature-grid span {
  color: var(--muted);
  line-height: 1.45;
  font-weight: 650;
}
.premium-feature-grid img {
  width: 98px;
  height: 32px;
  object-fit: contain;
}
.premium-section {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 88px 0 0;
  text-align: center;
}
.premium-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}
.premium-section p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}
.virzo-page .premium-hero {
  min-height: calc(100vh - 170px);
}
.virzo-hero-logo {
  width: min(420px, 100%);
  height: auto;
  object-fit: contain;
}
.virzo-preview {
  grid-template-columns: 1fr;
}
.virzo-side-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.signup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(14px);
}
.signup-backdrop[hidden] { display: none; }
.signup-modal {
  position: relative;
  width: min(430px, 100%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 26px;
  background: rgba(35,35,38,.96);
  box-shadow: 0 28px 90px rgba(0,0,0,.58);
  padding: 28px;
  text-align: center;
}
.signup-modal h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.18;
}
.signup-modal p {
  color: var(--muted);
  line-height: 1.45;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  box-shadow: none;
}
.oauth-button {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  background: rgba(255,255,255,.1);
  box-shadow: none;
  border-color: rgba(255,255,255,.08);
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: .85rem;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.12);
}
.signup-modal form {
  display: grid;
  gap: 10px;
}
.signup-modal .light-button {
  width: 100%;
}
.legal-copy {
  font-size: .78rem;
}
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(17,17,20,.94);
  box-shadow: 0 20px 70px rgba(0,0,0,.42);
  padding: 16px;
}
.cookie-banner strong { display: block; margin-bottom: 4px; }
.cookie-banner p { margin: 0; color: var(--muted); line-height: 1.45; }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.legal-page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 90px;
}
.legal-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  box-shadow: 0 26px 70px rgba(0,0,0,.35);
  padding: clamp(24px, 5vw, 48px);
}
.legal-card h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: .95;
  letter-spacing: -0.04em;
}
.legal-card h2 {
  margin: 32px 0 10px;
}
.legal-card p {
  color: var(--muted);
  line-height: 1.65;
}
.legal-copy a {
  color: #fff;
  font-weight: 850;
}
.hero { min-height: calc(100vh - 78px); display: grid; grid-template-columns: minmax(300px, .95fr) minmax(360px, .75fr); gap: clamp(32px, 6vw, 86px); align-items: center; }
.hero h1 { margin: 0; max-width: 780px; font-size: clamp(3rem, 5.4vw, 5.8rem); line-height: .98; letter-spacing: 0; text-wrap: balance; }
.hero p { max-width: 680px; color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.35rem); line-height: 1.55; }
.hero-card, .panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  box-shadow: 0 26px 70px rgba(0,0,0,.35);
  min-width: 0;
}
.hero-card { padding: clamp(24px, 3vw, 38px); display: grid; gap: 16px; }
.auth-page { min-height: calc(100vh - 78px); display: grid; place-items: center; padding: 28px; }
.auth-card { width: min(520px, 100%); padding: 32px; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 240px 1fr; }
.sidebar { border-right: 1px solid var(--soft-line); background: rgba(255,255,255,.025); padding: 24px 16px; position: sticky; top: 0; height: 100vh; }
.sidebar nav { margin-top: 26px; display: grid; gap: 8px; }
.sidebar a { text-decoration: none; color: var(--muted); font-weight: 850; padding: 12px 14px; border-radius: 8px; }
.sidebar a.active, .sidebar a:hover { color: #fff; background: rgba(255,31,47,.22); }
.main { min-width: 0; padding: 0 32px 48px; overflow-x: hidden; }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 34px 0 22px; }
.page-head h1 { margin: 0; font-size: clamp(2.1rem, 4vw, 4.4rem); line-height: 1; }
.page-head p { margin: 10px 0 0; }
.panel { padding: 24px; }
.stack { display: grid; gap: 18px; min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.small-note { font-size: 0.92rem; }
.two-col { display: grid; grid-template-columns: minmax(340px, .7fr) minmax(420px, 1fr); gap: 22px; align-items: start; }
.two-col > * { min-width: 0; }
.metrics, .action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.metrics article, .action-card { border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.035); padding: 20px; }
.metrics span { color: var(--muted); font-weight: 800; }
.metrics strong { display: block; margin-top: 8px; font-size: 2rem; }
.action-grid { grid-template-columns: repeat(2, minmax(260px, 1fr)); margin-top: 22px; }
.action-card p { color: var(--muted); line-height: 1.5; }
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.account-card {
  display: grid;
  align-content: start;
  gap: 14px;
}
.account-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}
.account-card p {
  margin: 0;
  line-height: 1.6;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.admin-grid > article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  padding: 18px;
}
.admin-grid h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}
.chart-list {
  list-style: none;
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.chart-list li,
.admin-user summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}
.admin-user {
  border: 0;
  margin-bottom: 8px;
}
.admin-user summary {
  cursor: pointer;
  flex-wrap: wrap;
}
.admin-user summary span,
.admin-user summary small {
  color: var(--muted);
}
.studio-home {
  display: grid;
  gap: 22px;
  padding: 34px 0 0;
}
.imports-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.import-card {
  display: grid;
  align-content: space-between;
  gap: 22px;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
}
.import-card h2,
.import-card p {
  margin: 0;
}
.import-card p {
  color: var(--muted);
  line-height: 1.5;
}
.import-card.planned {
  opacity: .72;
}
.import-form {
  display: grid;
  gap: 18px;
  max-width: 980px;
}
.drop-zone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 260px;
  padding: 28px;
  text-align: center;
  border: 1px dashed rgba(255,255,255,.28);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}
.drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.drop-zone button {
  position: relative;
  z-index: 1;
}
.import-file-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  margin: 0;
}
.import-file-meta dt {
  color: var(--muted);
  font-weight: 800;
}
.youtube-video-grid {
  display: grid;
  gap: 12px;
}
.youtube-video-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.03);
}
.youtube-video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}
.youtube-video-card h3,
.youtube-video-card p {
  margin: 0 0 8px;
}
.project-detail {
  display: grid;
  gap: 18px;
}
.project-summary {
  display: grid;
  gap: 8px;
}
.studio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 22px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 46px);
  background:
    radial-gradient(circle at 12% 0%, rgba(255,31,47,.2), transparent 22rem),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  box-shadow: 0 26px 70px rgba(0,0,0,.35);
}
.studio-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 5.4rem);
  line-height: .95;
  letter-spacing: -0.04em;
}
.studio-hero p:not(.eyebrow) {
  max-width: 680px;
  line-height: 1.6;
}
.studio-stats {
  display: grid;
  gap: 10px;
}
.studio-stats article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 16px;
  background: rgba(0,0,0,.24);
}
.studio-stats span {
  color: var(--muted);
  font-weight: 850;
}
.studio-stats strong {
  font-size: 2rem;
}
.studio-command {
  width: 100%;
}
.studio-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.studio-tools article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  padding: 20px;
}
.studio-tools span {
  color: var(--red);
  font-weight: 950;
}
.studio-tools strong {
  display: block;
  margin: 8px 0;
  font-size: 1.1rem;
}
.studio-tools p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.compact-head {
  margin-top: 24px;
}
.workflow-panel {
  align-items: stretch;
}
.result-panel {
  min-height: 100%;
}

.dashboard-start {
  min-height: calc(100vh - 124px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 34px;
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vw, 70px) 0;
}
.starter-watermark {
  position: absolute;
  inset: 6% 0 auto;
  text-align: center;
  font-size: clamp(7rem, 22vw, 21rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  color: rgba(255,255,255,.045);
  line-height: .8;
  pointer-events: none;
  user-select: none;
}
.starter-panel {
  width: min(720px, 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(17,17,20,.92);
  box-shadow: 0 32px 90px rgba(0,0,0,.5);
  padding: 22px;
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.starter-panel input[type=file] { display: none; }
.starter-link { gap: 8px; }
.starter-upload-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: .95rem;
  min-width: 0;
}
.starter-upload-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.starter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.starter-tools {
  display: none;
}
.starter-tools article {
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  color: var(--muted);
}
.starter-tools article::before {
  display: none;
  content: none;
}
.starter-tools strong { color: #fff; font-size: .95rem; }
.starter-tools span { font-size: .82rem; }

.upload-box { border: 1px dashed rgba(255,255,255,.22); border-radius: 10px; padding: 20px; display: grid; gap: 10px; background: rgba(255,255,255,.025); min-width: 0; }
.upload-box input[type=file] { display: none; }
.progress { height: 9px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.09); }
.progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--red), #ff6a76); transition: width .2s ease; }
.form-status, [data-upload-status], [data-status] {
  color: var(--muted);
  min-height: 22px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.notice {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  padding: 14px 16px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  line-height: 1.45;
}
.notice h3 { margin: 0; color: #fff; font-size: 1.05rem; }
.notice p { margin: 0; }
.notice.warning { border-color: rgba(255,206,74,.45); background: rgba(255,206,74,.08); }
.notice.success { border-color: rgba(43,210,119,.42); background: rgba(43,210,119,.08); }
.notice.compact { gap: 6px; }
.notice.compact strong { color: #fff; }
.empty, .thumb { min-height: 220px; border: 1px solid rgba(255,31,47,.18); border-radius: 10px; display: grid; place-items: center; color: var(--muted); background: radial-gradient(circle at 50% 20%, rgba(255,31,47,.18), transparent 42%), #0b0b0d; text-align: center; padding: 24px; }
.thumb img { max-width: 100%; max-height: 280px; object-fit: contain; }
.details { display: grid; grid-template-columns: 140px 1fr; gap: 10px; margin: 18px 0; }
.details dt { color: var(--muted); font-weight: 800; }
.details dd { margin: 0; }
.profile-result { display: grid; gap: 20px; }
.profile-head { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; }
.profile-head h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.6rem); }
.profile-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,31,47,.95), rgba(48,151,255,.8));
  font-weight: 950;
  font-size: 1.7rem;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .78rem;
}
.profile-tabs span { padding: 14px 6px; text-align: center; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.media-card {
  min-width: 0;
  border: 1px solid var(--soft-line);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  padding: 12px;
  display: grid;
  gap: 10px;
}
.media-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(255,31,47,.22), transparent 44%), #0b0b0d;
}
.media-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-card h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
.media-card p { margin: 0; }
.media-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; min-width: 0; }
.actions > * { max-width: 100%; }
.download-link { display: inline-flex; margin-top: 12px; color: #fff; font-weight: 900; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
[data-transcript-files] a,
[data-job-result] a {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: left;
  justify-content: flex-start;
}

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 10px; border-bottom: 1px solid var(--soft-line); text-align: left; vertical-align: middle; }
th { color: var(--muted); font-size: .9rem; }
td { max-width: 360px; overflow-wrap: anywhere; word-break: break-word; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.list li { border: 1px solid var(--soft-line); border-radius: 8px; padding: 14px; display: grid; gap: 6px; }
.list small { color: var(--muted); }

@media (max-width: 1240px) {
  .resource-grid, .audience-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-nav {
    width: calc(100% - 28px);
    gap: 14px;
  }
  .landing-nav .brand img {
    width: 150px;
  }
  .nav-menu {
    gap: 18px;
    font-size: .84rem;
  }
  .landing-nav .language-select {
    min-width: 138px;
    max-width: 150px;
  }
  .landing-nav .small {
    padding: 0 14px;
  }
  .hero-v2 {
    min-height: auto;
    padding-top: clamp(38px, 6vw, 70px);
  }
  .hero-v2 h1 {
    width: min(900px, 100%);
    font-size: clamp(3rem, 5.4vw, 5rem);
  }
  .hero-subtitle {
    width: min(760px, 100%);
  }
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr);
  }
  .hero h1 {
    font-size: clamp(3rem, 5vw, 5rem);
  }
  .premium-hero {
    grid-template-columns: 1fr;
  }
  .premium-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .landing-nav {
    min-height: auto;
    align-items: center;
  }
  .nav-menu {
    display: none;
  }
  .landing-nav .top-actions {
    gap: 8px;
  }
  .landing-nav .top-actions .ghost {
    display: none;
  }
}

@media (max-width: 980px) {
  .resource-grid, .audience-panel { grid-template-columns: 1fr; }
  .resource-grid button, .audience-panel div { min-height: auto; }
  .hero, .two-col, .app-shell { grid-template-columns: 1fr; }
  .hero {
    min-height: auto;
    padding: 42px 0 56px;
  }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 11vw, 4.6rem);
    line-height: 1;
  }
  .hero-card {
    width: 100%;
  }
  .app-shell { display: block; width: 100%; max-width: 100vw; overflow-x: hidden; }
  .sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--soft-line); padding: 14px; }
  .sidebar .brand img { width: 154px; height: 44px; }
  .sidebar nav { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sidebar a { min-width: 0; padding: 11px 10px; text-align: center; white-space: normal; overflow-wrap: normal; word-break: normal; }
  .main { width: 100%; max-width: 100vw; padding: 0 18px 32px; overflow-x: hidden; }
  .metrics, .action-grid, .account-grid, .admin-grid { grid-template-columns: 1fr; }
  .imports-grid { grid-template-columns: 1fr; }
  .youtube-video-card { grid-template-columns: 1fr; }
  .starter-actions, .starter-tools { grid-template-columns: 1fr; }
  .starter-upload-row { align-items: flex-start; flex-direction: column; }
  .topbar.public { width: min(100% - 28px, 1480px); }
  .landing-nav { width: calc(100% - 24px); gap: 12px; padding: 8px 0; }
  .nav-menu { display: none; }
  .landing-nav .language-select { display: none; }
  .hero-v2 { min-height: auto; padding: 44px 14px 46px; }
  .hero-v2 h1 { font-size: clamp(2.45rem, 12vw, 4.2rem); line-height: 1; }
  .hero-input-card, .link-entry { width: 100%; }
  .link-entry { grid-template-columns: auto 1fr; border-radius: 28px; padding: 14px; }
  .link-entry button { grid-column: 1 / -1; width: 100%; }
  .outline-pill { width: 100%; }
  .product-showcase { grid-template-columns: 1fr; }
  .cookie-banner { align-items: stretch; flex-direction: column; }
  .cookie-actions { flex-direction: column; }
  .dashboard-topbar {
    min-height: auto;
    align-items: flex-start;
    padding: 16px 0;
    flex-direction: column;
    gap: 12px;
  }
  .dashboard-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 8px;
  }
  .dashboard-actions .language-select {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .plan-badge {
    justify-content: center;
    padding: 0 10px;
  }
  .avatar {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }
  .studio-home { padding-top: 18px; }
  .studio-hero, .studio-tools { grid-template-columns: 1fr; }
  .studio-hero {
    padding: 22px;
    border-radius: 16px;
  }
  .studio-hero h1 {
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 4.1rem);
    line-height: 1.02;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: normal;
  }
  .studio-stats article {
    min-height: auto;
    padding: 14px;
  }
  .studio-tools article {
    padding: 16px;
  }
  .starter-panel {
    width: 100%;
  }
  .landing-premium {
    width: min(100% - 28px, 1640px);
    padding: 34px 0 58px;
  }
  .premium-nav .brand img {
    width: 172px;
    height: 46px;
  }
  .premium-copy h1 {
    font-size: clamp(2.6rem, 10vw, 4.5rem);
  }
  .premium-demo {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .demo-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .demo-sidebar img {
    grid-column: 1 / -1;
  }
  .premium-feature-grid {
    grid-template-columns: 1fr;
  }
  .premium-feature-grid button {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .premium-feature-grid button:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .resource-suite { padding-top: 42px; }
  .resource-intro h2 { font-size: clamp(2rem, 11vw, 3.2rem); }
  .resource-grid button, .audience-panel div { padding: 18px; }
  .nav-virzo img { width: 68px; }
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  #app {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .landing {
    width: min(100% - 28px, 1480px);
  }
  .landing-nav {
    width: calc(100% - 20px);
  }
  .landing-nav .brand img {
    width: 132px;
    height: 36px;
  }
  .landing-nav .light-button {
    min-height: 38px;
    padding: 0 12px;
    font-size: .86rem;
  }
  .hero-v2 {
    padding: 34px 10px 40px;
    gap: 14px;
  }
  .hero-v2 .eyebrow {
    font-size: .68rem;
  }
  .hero-v2 h1 {
    font-size: clamp(2.15rem, 13vw, 3.45rem);
    line-height: 1.02;
  }
  .hero-subtitle {
    font-size: .98rem;
  }
  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.6rem);
  }
  .hero p {
    font-size: 1rem;
  }
  .link-entry {
    min-height: 0;
  }
  .dashboard-actions {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
  .dashboard-actions .language-select {
    grid-column: 1 / -1;
  }
  .plan-badge {
    width: fit-content;
  }
  .sidebar {
    padding: 12px 10px;
  }
  .sidebar nav {
    grid-template-columns: 1fr 1fr;
  }
  .sidebar a {
    font-size: .9rem;
    line-height: 1.2;
  }
  .main {
    padding: 0 12px 28px;
  }
  .dashboard-topbar > div:first-child span {
    line-height: 1.35;
  }
  .dashboard-actions {
    grid-template-columns: 1fr;
  }
  .dashboard-actions .language-select,
  .plan-badge {
    width: 100%;
  }
  .studio-hero {
    padding: 18px;
  }
  .studio-hero h1 {
    font-size: clamp(2rem, 12vw, 3.25rem);
  }
  .starter-actions {
    grid-template-columns: 1fr;
  }
  .starter-upload-row {
    width: 100%;
  }
  .studio-tools {
    grid-template-columns: 1fr;
  }
  .studio-tools strong,
  .studio-tools p {
    overflow-wrap: normal;
    word-break: normal;
  }
  .premium-nav {
    align-items: center;
  }
  .premium-nav .brand img {
    width: 148px;
    height: 40px;
  }
  .premium-copy {
    gap: 18px;
  }
  .premium-kicker {
    padding: 10px 12px;
    font-size: .74rem;
  }
  .premium-copy h1 {
    font-size: clamp(2.3rem, 13vw, 3.5rem);
  }
  .premium-copy p:not(.premium-kicker) {
    font-size: 1rem;
  }
  .premium-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .premium-actions button {
    width: 100%;
  }
  .demo-sidebar {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .demo-panel {
    padding: 22px;
  }
  .demo-input {
    grid-template-columns: 1fr;
  }
  .demo-input button {
    width: 100%;
  }
  .premium-feature-grid button {
    min-height: auto;
    padding: 20px;
  }
  .virzo-hero-logo {
    width: min(320px, 100%);
  }
}

.nav-virzo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.86) !important;
}
.nav-virzo img {
  width: 76px;
  height: 22px;
  object-fit: contain;
}
.nav-virzo span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  border-radius: 999px;
  padding: 2px 7px;
  background: #ffba38;
  color: #08080a;
  font-size: .68rem;
  font-weight: 900;
}
.premium-nav .nav-menu a.nav-virzo {
  border-bottom: 0;
  padding-bottom: 0;
}
.resource-suite {
  display: grid;
  gap: 28px;
  padding: 72px 0 0;
}
.resource-intro {
  max-width: 980px;
}
.resource-intro h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1;
}
.resource-intro p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.resource-grid button,
.audience-panel div {
  min-height: 168px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  text-align: left;
  box-shadow: none;
}
.resource-grid button:hover {
  border-color: rgba(255,31,47,.55);
  transform: translateY(-1px);
}
.resource-grid strong,
.audience-panel strong {
  color: #fff;
  font-size: 1.08rem;
}
.resource-grid span,
.audience-panel span {
  color: var(--muted);
  line-height: 1.5;
  font-weight: 650;
}
.resource-grid .virzo-card img {
  width: 104px;
  height: 28px;
  object-fit: contain;
}
.audience-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.audience-panel div {
  min-height: 132px;
}
/* Resource section overrides must stay after the desktop rules. */
@media (max-width: 1240px) {
  .resource-grid,
  .audience-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .resource-grid,
  .audience-panel {
    grid-template-columns: 1fr;
  }
  .resource-grid button,
  .audience-panel div {
    min-height: auto;
  }
}
@media (max-width: 520px) {
  .resource-suite {
    padding-top: 42px;
  }
  .resource-intro h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }
  .resource-grid button,
  .audience-panel div {
    padding: 18px;
  }
  .nav-virzo img {
    width: 68px;
  }
}
.virzo-integrated-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #050506;
}
.virzo-integrated-topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 16px clamp(16px, 3vw, 34px);
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: radial-gradient(circle at 80% 0%, rgba(255,31,47,.16), transparent 28rem), rgba(5,5,6,.96);
}
.virzo-integrated-topbar .brand img {
  width: 150px;
  max-width: 28vw;
}
.virzo-integrated-topbar div {
  display: grid;
  gap: 2px;
}
.virzo-integrated-topbar strong {
  color: #fff;
  font-size: 1.08rem;
}
.virzo-integrated-topbar span {
  color: var(--muted);
  font-size: .92rem;
}
.virzo-home-button {
  white-space: nowrap;
}
.virzo-app-frame {
  width: 100%;
  height: calc(100vh - 82px);
  border: 0;
  background: #050506;
}
@media (max-width: 760px) {
  .form-grid { grid-template-columns: 1fr; }
  .virzo-integrated-topbar {
    grid-template-columns: 1fr;
  }
  .virzo-integrated-topbar .brand img {
    width: 130px;
    max-width: 60vw;
  }
  .virzo-app-frame {
    height: calc(100vh - 150px);
  }
}
/* Commercial landing refresh */
.commercial-landing {
  padding-bottom: 0;
}
.premium-nav .nav-menu a:first-child {
  color: rgba(255,255,255,.62);
  border-bottom: 0;
  padding-bottom: 0;
}
.nav-login {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(255,255,255,.66);
  font: inherit;
}
.nav-login:hover,
.premium-nav .nav-menu a:hover {
  color: #fff;
}
.commercial-hero {
  min-height: auto;
  grid-template-columns: minmax(420px, .82fr) minmax(520px, 1.18fr);
  align-items: start;
  gap: clamp(26px, 4vw, 60px);
  padding-top: clamp(34px, 4vw, 70px);
}
.commercial-hero .premium-copy h1 {
  max-width: 720px;
  font-size: clamp(3.1rem, 5.2vw, 5.85rem);
  line-height: .97;
  text-wrap: balance;
  overflow-wrap: normal;
}
.commercial-hero .premium-copy p:not(.premium-kicker) {
  max-width: 680px;
}
.commercial-hero .premium-kicker {
  text-transform: none;
  letter-spacing: 0;
  max-width: 100%;
}
.hero-microcopy {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,.68);
  font-weight: 750;
}
.hero-microcopy span {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,.035);
}
.ai-demo-card {
  position: relative;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  padding: clamp(18px, 3vw, 30px);
  background: radial-gradient(circle at 80% 10%, rgba(255,31,47,.28), transparent 20rem), linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  box-shadow: 0 34px 100px rgba(0,0,0,.5);
  overflow: hidden;
  align-self: start;
}
.landing-tool-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(5,5,7,.82), rgba(255,31,47,.08));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.landing-tool-card h2,
.landing-tool-card p {
  margin: 0;
}
.landing-tool-card h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}
.landing-tool-card p,
.landing-tool-card small,
.landing-upload-row span {
  color: rgba(255,255,255,.68);
  line-height: 1.45;
}
.landing-tool-card label {
  gap: 7px;
}
.tool-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(255,31,47,.42);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,31,47,.12);
  font-size: .78rem;
  font-weight: 900;
}
.landing-upload-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}
.landing-upload-row input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.landing-tool-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.demo-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  overflow: hidden;
  background: #0b0b0d;
}
.commercial-hero .demo-video-frame {
  max-height: min(52vh, 560px);
}
.demo-video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.demo-video-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255,31,47,.22), rgba(0,0,0,.55));
}
.demo-video-fallback span {
  color: var(--muted);
  font-weight: 850;
}
.demo-video-fallback strong {
  font-size: clamp(1.2rem, 2vw, 2rem);
}
.demo-flow-label {
  width: fit-content;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255,31,47,.13);
  color: #fff;
  font-weight: 950;
  max-width: 100%;
  overflow-wrap: normal;
}
.clip-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.clip-row div {
  min-height: 150px;
  display: grid;
  align-content: end;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255,31,47,.12), rgba(255,255,255,.035));
}
.clip-row span,
.steps-grid span {
  color: var(--red);
  font-weight: 950;
}
.clip-row small {
  color: var(--muted);
  font-weight: 750;
}
.benefit-strip,
.steps-grid,
.pricing-grid,
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.benefit-strip {
  padding: 26px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.026);
}
.benefit-strip div,
.steps-grid article,
.tool-showcase article,
.repurpose-card,
.comparison-grid article,
.proof-board div,
.pricing-grid article,
.faq-section details {
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
}
.benefit-strip div {
  display: grid;
  gap: 8px;
  padding: 20px;
}
.benefit-strip strong,
.repurpose-card strong {
  color: #fff;
}
.benefit-strip span,
.repurpose-card span {
  color: var(--muted);
  line-height: 1.45;
  font-weight: 650;
}
.commercial-section,
.plans-section,
.faq-section,
.comparison-section,
.proof-section,
.repurpose-section,
.tool-showcase,
.final-cta,
.landing-footer {
  padding: clamp(70px, 9vw, 120px) 0 0;
}
.commercial-section > h2,
.plans-section > h2,
.faq-section > h2,
.comparison-section > h2,
.proof-section h2,
.repurpose-section h2,
.final-cta h2 {
  max-width: 980px;
  margin: 0 auto 16px;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: .98;
  text-align: center;
}
.commercial-section > p:not(.eyebrow),
.plans-section > p,
.final-cta p {
  max-width: 760px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
  text-align: center;
}
.steps-grid {
  margin: 34px 0;
}
.steps-grid article,
.pricing-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
}
.steps-grid h3,
.steps-grid p,
.tool-showcase h2,
.tool-showcase p,
.tool-showcase ul,
.pricing-grid h3,
.pricing-grid p,
.pricing-grid ul {
  margin: 0;
}
.steps-grid p,
.tool-showcase p,
.tool-showcase li,
.comparison-grid p,
.pricing-grid p,
.pricing-grid li,
.faq-section p,
.legal-note {
  color: var(--muted);
  line-height: 1.55;
}
.tool-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.tool-showcase article {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(24px, 4vw, 44px);
}
.tool-showcase article:first-child {
  grid-column: 1 / -1;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
}
.feature-with-visual > div:first-child {
  display: grid;
  gap: 18px;
}
.real-feature-video {
  position: relative;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  overflow: hidden;
  background: #070708;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 28px 80px rgba(0,0,0,.32);
}
.real-feature-video video,
.real-feature-video img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.real-feature-video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.82));
}
.real-feature-video > div {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: grid;
  gap: 6px;
}
.real-feature-video strong {
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
}
.real-feature-video span {
  color: var(--muted);
  font-weight: 800;
}
.tool-showcase h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}
.tool-showcase ul,
.pricing-grid ul {
  padding-left: 18px;
}
.format-pills,
.repurpose-card {
  display: grid;
  gap: 10px;
}
.format-pills span,
.repurpose-card span {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 12px;
  background: rgba(0,0,0,.22);
}
.repurpose-section,
.proof-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
}
.repurpose-section h2,
.proof-section h2 {
  text-align: left;
  margin-left: 0;
}
.repurpose-section p,
.proof-section p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.1rem;
}
.repurpose-card {
  padding: 28px;
}
.commercial-audience {
  margin-top: 28px;
}
.comparison-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0;
}
.comparison-grid article {
  padding: 28px;
}
.proof-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.proof-board div {
  min-height: 140px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 950;
  text-align: center;
}
.plans-section {
  text-align: center;
}
.pricing-grid {
  margin-top: 30px;
}
.pricing-grid article {
  text-align: left;
}
.pricing-grid strong {
  font-size: 2rem;
  color: #fff;
}
.pricing-grid small {
  color: var(--muted);
}
.featured-plan {
  border-color: rgba(255,31,47,.58) !important;
  box-shadow: 0 22px 70px rgba(255,31,47,.13);
}
.featured-plan > span {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--red);
  color: #fff;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}
.faq-section {
  max-width: 980px;
  margin: 0 auto;
}
.faq-section details {
  margin-top: 12px;
  padding: 20px 24px;
}
.faq-section summary {
  cursor: pointer;
  color: #fff;
  font-weight: 950;
}
.final-cta {
  text-align: center;
  padding-bottom: 80px;
}
.final-cta .hero-microcopy {
  justify-content: center;
  margin-top: 18px;
}
.landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-bottom: 40px;
  color: var(--muted);
}
.landing-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.landing-footer a {
  color: var(--muted);
  text-decoration: none;
}
.landing-footer a:hover {
  color: #fff;
}
[data-scroll-target] {
  cursor: pointer;
}
@media (max-width: 1120px) {
  .benefit-strip,
  .steps-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tool-showcase,
  .tool-showcase article:first-child,
  .repurpose-section,
  .proof-section {
    grid-template-columns: 1fr;
  }
  .real-feature-video video,
  .real-feature-video img {
    min-height: 360px;
  }
}
@media (max-width: 760px) {
  .commercial-hero {
    min-height: auto;
  }
  .commercial-hero .ai-demo-card {
    order: -1;
  }
  .commercial-hero .premium-copy {
    order: 2;
  }
  .commercial-hero .premium-actions {
    display: none;
  }
  .commercial-hero .hero-microcopy {
    display: none;
  }
  .landing-tool-card {
    padding: 16px;
  }
  .landing-tool-actions,
  .landing-upload-row {
    grid-template-columns: 1fr;
  }
  .clip-row,
  .benefit-strip,
  .steps-grid,
  .pricing-grid,
  .comparison-grid,
  .proof-board {
    grid-template-columns: 1fr;
  }
  .landing-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .commercial-section > h2,
  .plans-section > h2,
  .faq-section > h2,
  .comparison-section > h2,
  .proof-section h2,
  .repurpose-section h2,
  .final-cta h2 {
    text-align: left;
  }
  .commercial-section > p:not(.eyebrow),
  .plans-section > p,
  .final-cta p {
    text-align: left;
    margin-left: 0;
  }
  .final-cta {
    text-align: left;
  }
  .final-cta .hero-microcopy {
    justify-content: flex-start;
  }
  .real-feature-video video,
  .real-feature-video img {
    min-height: 260px;
  }
  .real-feature-video > div {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}
/* Real video previews */
.demo-video-frame video + .demo-video-fallback {
  display: none;
}
.mobile-demo-shell {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 14px;
  background: rgba(0,0,0,.24);
}
.phone-bezel {
  position: relative;
  width: 150px;
  aspect-ratio: 9 / 16;
  border: 8px solid #08080a;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 50px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.14);
}
.phone-bezel::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 7px;
  width: 46px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(0,0,0,.78);
}
.phone-bezel video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.phone-caption {
  display: grid;
  gap: 8px;
}
.phone-caption strong {
  color: #fff;
  font-size: 1.15rem;
}
.phone-caption span {
  color: var(--muted);
  line-height: 1.45;
  font-weight: 700;
}
@media (max-width: 760px) {
  .mobile-demo-shell {
    grid-template-columns: 118px 1fr;
    padding: 12px;
  }
  .phone-bezel {
    width: 108px;
    border-width: 6px;
    border-radius: 22px;
  }
}
