:root {
  color-scheme: dark;
  --bg: #080808;
  --ink: #f8f3ea;
  --muted: #b6aea1;
  --soft: rgba(248, 243, 234, 0.74);
  --line: rgba(248, 243, 234, 0.16);
  --line-strong: rgba(248, 243, 234, 0.28);
  --panel: rgba(18, 18, 18, 0.76);
  --panel-solid: #141414;
  --panel-soft: #1b1917;
  --brand: #f25545;
  --brand-dark: #b9362d;
  --gold: #f2b84b;
  --teal: #37c7b2;
  --blue: #6e9be8;
  --success: #4fd487;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke-width: 2;
}

.site-shell,
.studio-shell {
  min-height: 100vh;
}

.studio-body {
  --bg: #090909;
  --ink: #f4f1ea;
  --muted: #a9a39a;
  --soft: rgba(244, 241, 234, 0.72);
  --line: rgba(244, 241, 234, 0.13);
  --line-strong: rgba(244, 241, 234, 0.22);
  --panel: rgba(18, 18, 18, 0.86);
  --panel-solid: #151515;
  --panel-soft: #1b1a18;
  --brand: #ef6358;
  --gold: #d9b86d;
  --teal: #8ccfc4;
  --blue: #8da7d8;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
}

.mobile-tabbar,
.mobile-notice-card {
  display: none;
}

.site-header,
.studio-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  min-height: 76px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(18px);
}

.studio-topbar {
  position: sticky;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 108, 82, 0.38);
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0) 42%),
    #f85845;
  color: #ffffff;
  box-shadow:
    0 14px 34px rgba(248, 82, 62, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.brand-logo-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 8px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a.is-active,
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  transform: translateY(-1px);
}

.header-actions,
.topbar-actions,
.button-row,
.feed-meta,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-select {
  height: 44px;
  min-width: 172px;
  max-width: 190px;
  padding: 0 38px 0 16px;
  border: 1px solid rgba(242, 184, 75, 0.7);
  border-radius: 8px;
  appearance: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 14px no-repeat,
    linear-gradient(180deg, #fff8df, #f2d991);
  color: #111;
  font-size: 14px;
  font-weight: 900;
  outline: none;
  line-height: normal;
  text-align: center;
  text-align-last: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38), 0 12px 28px rgba(0, 0, 0, 0.22);
}

.language-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 184, 75, 0.16);
}

.language-select option,
select option {
  background: #fff8df;
  color: #111;
  font-weight: 750;
}

.primary-action,
.secondary-action {
  min-height: 40px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.14;
  text-align: center;
  white-space: normal;
}

.primary-action span,
.secondary-action span {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.primary-action {
  border: 1px solid rgba(242, 85, 69, 0.88);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 36px rgba(242, 85, 69, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.secondary-action {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.secondary-action:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.13);
}

.large-action {
  min-height: 48px;
  padding: 12px 18px;
}

.full-width {
  width: 100%;
}

.home-page {
  background:
    linear-gradient(180deg, #060606 0%, #0a0908 44%, #080808 100%);
}

.home-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(620px, 1080px) minmax(150px, 220px);
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-content: center;
  gap: 26px;
  overflow: hidden;
  padding: 110px 30px 28px;
  background-image: url("https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=2400&q=88");
  background-position: center;
  background-size: cover;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, rgba(242, 85, 69, 0.36), transparent 27%),
    linear-gradient(250deg, rgba(55, 199, 178, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.66) 72%, rgba(0, 0, 0, 0.9));
}

.home-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.74)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 76px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.82));
}

.hero-scrim {
  position: absolute;
  inset: 76px 0 0;
  background:
    linear-gradient(100deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 48%, transparent 56%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.42));
  opacity: 0.88;
  pointer-events: none;
}

.hero-control,
.home-reel,
.home-reel-stack,
.hero-copy,
.hero-proof {
  position: relative;
  z-index: 1;
}

.hero-control {
  align-self: center;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.hero-control p,
.section-kicker,
.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.home-filter {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(8, 8, 8, 0.42);
  color: rgba(255, 255, 255, 0.76);
  text-align: left;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.home-filter span {
  font-size: 14px;
  font-weight: 850;
}

.home-filter.is-selected {
  border-color: color-mix(in srgb, var(--reel-accent, var(--gold)) 64%, #fff);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--reel-accent, var(--gold)) 20%, transparent), rgba(242, 184, 75, 0.08)),
    rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.home-reel-stack {
  position: relative;
  display: grid;
  gap: 12px;
}

.home-reel-stack::before,
.home-reel-stack::after {
  position: absolute;
  top: 44px;
  bottom: 86px;
  z-index: 0;
  width: 56px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0 18px, transparent 18px 38px),
    rgba(0, 0, 0, 0.32);
  opacity: 0.64;
  filter: blur(0.1px);
  pointer-events: none;
}

.home-reel-stack::before {
  left: -72px;
  transform: perspective(700px) rotateY(24deg);
}

.home-reel-stack::after {
  right: -72px;
  transform: perspective(700px) rotateY(-24deg);
}

.home-reel {
  z-index: 1;
  min-height: min(68vh, 660px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.28)),
    var(--home-reel-image, url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=1600&q=88"));
  background-position: center;
  background-size: cover;
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.66),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 80px color-mix(in srgb, var(--reel-accent, var(--brand)) 26%, transparent);
  animation: reelFloat 9s ease-in-out infinite;
}

.reel-under-cta {
  position: relative;
  z-index: 1;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 22px;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid rgba(242, 184, 75, 0.32);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(242, 85, 69, 0.16), rgba(55, 199, 178, 0.08)),
    rgba(0, 0, 0, 0.6);
  color: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.reel-under-cta:hover {
  border-color: rgba(242, 184, 75, 0.7);
  background: rgba(242, 85, 69, 0.18);
  transform: translateY(-2px);
}

.reel-under-cta span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.reel-under-cta strong {
  font-size: 16px;
  white-space: nowrap;
}

.home-reel::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 28%),
    radial-gradient(circle at 72% 36%, color-mix(in srgb, var(--reel-accent, var(--gold)) 30%, transparent), transparent 24%),
    linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.82));
  pointer-events: none;
}

.home-reel::after {
  position: absolute;
  inset: 16px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.46);
  pointer-events: none;
}

.reel-status,
.video-status {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(79, 212, 135, 0.16);
}

.reel-caption,
.presenter-copy {
  position: absolute;
  left: clamp(28px, 4vw, 54px);
  bottom: clamp(44px, 7vh, 70px);
  z-index: 2;
  width: min(660px, calc(100% - 96px));
}

.reel-caption span,
.presenter-copy span {
  display: inline-block;
  margin-bottom: 11px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.reel-caption h2,
.presenter-copy h1 {
  margin: 0;
  max-width: 13ch;
  color: #fff;
  font-size: clamp(48px, 5.2vw, 76px);
  line-height: 1;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.62);
}

.reel-caption p,
.presenter-copy p {
  max-width: 560px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.55;
}

.reel-interface {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(14px);
}

.reel-interface span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.reel-interface strong {
  color: #fff;
  font-size: 14px;
}

.play-button {
  position: absolute;
  right: 26px;
  bottom: 28px;
  z-index: 3;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #101010;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.36),
    0 0 42px rgba(255, 255, 255, 0.16);
}

.play-button.is-playing {
  color: var(--brand);
}

.reel-direct-cta {
  position: absolute;
  right: 112px;
  bottom: 40px;
  z-index: 3;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, background 180ms ease;
}

.reel-direct-cta:hover {
  background: rgba(242, 85, 69, 0.86);
  transform: translateY(-2px);
}

.video-progress {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 22px;
  z-index: 3;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.video-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  transition: width 0.18s linear;
}

.reel-cinema-shell {
  position: absolute;
  inset: 12px;
  z-index: 4;
  pointer-events: none;
}

.reel-cinema-shell span {
  position: absolute;
  width: 44px;
  height: 44px;
  border-color: rgba(255, 255, 255, 0.34);
  border-style: solid;
}

.reel-cinema-shell span:nth-child(1) {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}

.reel-cinema-shell span:nth-child(2) {
  top: 0;
  right: 0;
  border-width: 1px 1px 0 0;
}

.reel-cinema-shell span:nth-child(3) {
  right: 0;
  bottom: 0;
  border-width: 0 1px 1px 0;
}

.reel-cinema-shell span:nth-child(4) {
  bottom: 0;
  left: 0;
  border-width: 0 0 1px 1px;
}

.sample-video-surface {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(112deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 48%, transparent 56%),
    radial-gradient(circle at 70% 32%, color-mix(in srgb, var(--reel-accent, var(--brand)) 46%, transparent), transparent 24%),
    linear-gradient(120deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.82));
  pointer-events: none;
}

.sample-video-surface::before,
.sample-video-surface::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.sample-video-surface::before {
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 5px);
  opacity: 0.42;
  mix-blend-mode: screen;
}

.sample-video-surface::after {
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
}

.sample-layer {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent),
    color-mix(in srgb, var(--reel-accent, var(--brand)) 42%, #111);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  opacity: 0.92;
}

.layer-a {
  top: 18%;
  right: 8%;
  width: 42%;
  height: 46%;
  border-radius: 24px;
  transform: rotate(-4deg);
}

.layer-b {
  top: 33%;
  right: 28%;
  width: 22%;
  height: 28%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 32%, rgba(255, 255, 255, 0.78), transparent 18%),
    linear-gradient(135deg, color-mix(in srgb, var(--reel-accent, var(--brand)) 70%, #fff), rgba(0, 0, 0, 0.2));
}

.home-reel.is-playing .layer-a {
  animation: sampleCardMove 5s ease-in-out infinite;
}

.home-reel.is-playing .layer-b {
  animation: sampleBubbleMove 4.6s ease-in-out infinite;
}

.sample-product-card {
  position: absolute;
  top: 41%;
  right: 8%;
  z-index: 2;
  width: min(260px, 30%);
  min-height: 128px;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--reel-accent, var(--brand)) 22%, transparent), transparent),
    rgba(10, 10, 10, 0.62);
  backdrop-filter: blur(16px);
}

.sample-product-card span {
  color: color-mix(in srgb, var(--reel-accent, var(--gold)) 80%, #fff);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.sample-product-card strong {
  color: #fff;
  font-size: clamp(15px, 1.8vw, 24px);
  line-height: 1.05;
}

.sample-caption-strip {
  position: absolute;
  left: 34px;
  right: 34px;
  top: 72px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.5fr 0.8fr 1.5fr;
  gap: 8px;
}

.sample-caption-strip span {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.home-reel.is-playing .sample-caption-strip span {
  animation: sampleBars 1.4s ease-in-out infinite;
}

.home-reel.is-playing .sample-caption-strip span:nth-child(2) {
  animation-delay: 0.18s;
}

.home-reel.is-playing .sample-caption-strip span:nth-child(3) {
  animation-delay: 0.34s;
}

.home-reel.is-playing .sample-caption-strip span:nth-child(4) {
  animation-delay: 0.52s;
}

.home-reel[data-reel-theme="app"] .sample-layer {
  border-radius: 26px;
}

.home-reel[data-reel-theme="app"] .layer-a {
  width: 24%;
  height: 54%;
  right: 16%;
  top: 17%;
}

.home-reel[data-reel-theme="app"] .layer-b {
  width: 34%;
  height: 18%;
  right: 32%;
  top: 43%;
  border-radius: 12px;
}

.home-reel[data-reel-theme="restaurant"] .layer-a {
  border-radius: 50%;
}

.home-reel[data-reel-theme="restaurant"] .layer-b {
  border-radius: 14px;
}

.home-reel[data-reel-theme="night"] .sample-video-surface {
  background:
    radial-gradient(circle at 70% 22%, rgba(110, 155, 232, 0.42), transparent 20%),
    radial-gradient(circle at 82% 58%, rgba(242, 85, 69, 0.32), transparent 26%),
    linear-gradient(120deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.88));
}

.reel-sample-rail {
  position: absolute;
  left: 36px;
  right: 200px;
  bottom: 34px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 7px;
}

.reel-sample-rail button {
  width: 34px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.44);
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 950;
}

.reel-sample-rail button.is-selected {
  border-color: color-mix(in srgb, var(--reel-accent, var(--gold)) 74%, #fff);
  background: color-mix(in srgb, var(--reel-accent, var(--gold)) 20%, rgba(0, 0, 0, 0.62));
  color: #fff;
}

.hero-copy {
  grid-column: 2;
  align-self: start;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(16px);
}

.hero-copy h1 {
  margin: 3px 0 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.95;
}

.hero-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.42;
}

.hero-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 0;
}

.hero-proof {
  display: none;
}

.hero-proof div {
  min-width: 180px;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-proof span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.hero-proof strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 18px;
}

.agency-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0e0e0e;
}

.agency-strip div {
  min-height: 190px;
  padding: 34px;
  border-right: 1px solid var(--line);
}

.agency-strip div:last-child {
  border-right: 0;
}

.agency-strip span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.agency-strip strong {
  display: block;
  margin-top: 26px;
  font-size: 26px;
}

.agency-strip p {
  max-width: 360px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.home-section {
  padding: 110px 34px;
}

.section-title-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.45fr);
  align-items: end;
  gap: 34px;
  max-width: 1240px;
  margin: 12px auto 36px;
}

.section-title-row h2 {
  margin: 0;
  font-size: 54px;
  line-height: 1.04;
}

.section-title-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-kicker {
  max-width: 1240px;
  margin: 0 auto;
}

.showcase-grid {
  max-width: 1240px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr 0.85fr;
  gap: 14px;
  margin: 0 auto;
  perspective: 1400px;
}

.showcase-card {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--panel-solid);
  transition: transform 220ms ease, border-color 220ms ease, filter 220ms ease;
}

.showcase-card::before {
  position: absolute;
  inset: 12px;
  z-index: 2;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  pointer-events: none;
}

.showcase-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.78)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 5px);
  pointer-events: none;
}

.showcase-card:hover {
  border-color: rgba(242, 184, 75, 0.38);
  filter: brightness(1.06);
  transform: translateY(-6px) rotateX(1deg);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.showcase-card div {
  position: relative;
  z-index: 3;
  padding: 20px;
}

.showcase-card span,
.workflow-step span,
.outsource-board span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.showcase-card h3 {
  margin: 8px 0 0;
  font-size: 24px;
}

.showcase-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.showcase-card.is-featured {
  min-height: 620px;
}

.workflow-section {
  background: #11100f;
}

.workflow-track {
  max-width: 1240px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(55, 199, 178, 0.16), rgba(242, 184, 75, 0.18)),
    var(--line);
}

.workflow-step {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    #171513;
  transition: background 180ms ease, transform 180ms ease;
}

.workflow-step::before {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 62px;
  height: 20px;
  content: "";
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0.65;
}

.workflow-step:hover {
  background: #201d19;
  transform: translateY(-4px);
}

.workflow-step svg {
  width: 30px;
  height: 30px;
  color: var(--teal);
}

.workflow-step strong {
  display: block;
  max-width: 220px;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.outsource-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.62fr);
  gap: 44px;
  padding: 110px 34px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.1)),
    url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=2200&q=86");
  background-position: center;
  background-size: cover;
}

.outsource-copy,
.outsource-board {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.outsource-copy h2 {
  margin: 12px 0 0;
  color: #fff;
  font-size: 58px;
  line-height: 1;
}

.outsource-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.65;
}

.outsource-board {
  display: grid;
  gap: 12px;
  align-self: end;
}

.outsource-board div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(12px);
}

.outsource-board strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 24px;
}

.outsource-board p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.tool-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.tool-tab {
  height: 52px;
  display: grid;
  grid-template-columns: 20px minmax(0, auto);
  grid-template-rows: auto auto;
  align-items: center;
  justify-content: center;
  column-gap: 7px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}

.tool-tab svg {
  grid-row: 1 / span 2;
}

.tool-tab span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.tool-tab small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-tab.is-active {
  border-color: rgba(242, 184, 75, 0.42);
  background: rgba(242, 184, 75, 0.1);
}

.icon-button,
.ghost-icon {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.ghost-icon {
  width: 34px;
  height: 34px;
  background: transparent;
}

.workspace {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(520px, 1fr) minmax(370px, 440px);
  align-items: start;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(217, 184, 109, 0.045), transparent 240px),
    #0b0b0b;
}

.studio-body.is-inspector-collapsed .workspace {
  grid-template-columns: minmax(220px, 270px) minmax(520px, 1fr) 0;
}

.studio-connection {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 8px;
  margin-bottom: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(217, 184, 109, 0.08), transparent 38%),
    rgba(255, 255, 255, 0.045);
  animation: fadeUp 520ms ease both;
}

.studio-connection h1 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
}

.studio-connection p:not(.eyebrow) {
  max-width: 760px;
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.42;
}

.connection-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

.connection-pills span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 850;
}

.side-panel {
  height: calc(100vh - 76px);
  padding: 16px;
  background: rgba(12, 12, 12, 0.82);
}

.material-panel {
  position: sticky;
  top: 76px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.builder-panel {
  position: sticky;
  top: 76px;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 180px),
    rgba(10, 10, 10, 0.94);
  box-shadow: -18px 0 34px rgba(0, 0, 0, 0.24);
  transition: transform 220ms ease, opacity 220ms ease, padding 220ms ease;
}

.builder-panel::-webkit-scrollbar {
  width: 10px;
}

.builder-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.builder-panel::-webkit-scrollbar-thumb {
  border: 2px solid rgba(10, 10, 10, 0.94);
  border-radius: 999px;
  background: rgba(248, 243, 234, 0.24);
}

.studio-body.is-inspector-collapsed .builder-panel {
  width: 0;
  padding: 0;
  border-left: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(18px);
}

.dock-title,
.inspector-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 0 2px 10px;
  border-bottom: 1px solid var(--line);
}

.dock-title span,
.inspector-titlebar span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.dock-title strong,
.inspector-titlebar strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
}

.inspector-titlebar {
  position: sticky;
  top: -16px;
  z-index: 8;
  margin: -16px -16px 14px;
  min-height: 64px;
  padding: 12px 14px;
  background:
    linear-gradient(180deg, rgba(22, 22, 22, 0.98), rgba(14, 14, 14, 0.94));
  backdrop-filter: blur(18px);
}

.inspector-open-button {
  background: rgba(217, 184, 109, 0.09);
  border-color: rgba(217, 184, 109, 0.26);
}

.panel-section {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.panel-section + .panel-section {
  margin-top: 14px;
}

.material-panel .panel-section + .panel-section {
  margin-top: 0;
}

.material-panel .panel-section {
  padding: 11px;
}

.material-panel .section-heading {
  margin-bottom: 8px;
}

.manual-prompt-card textarea {
  min-height: 84px;
  max-height: 84px;
  resize: none;
  font-size: 12px;
}

.compact-panel {
  display: grid;
  gap: 8px;
}

.material-panel .outsource-help {
  display: none;
}

.material-helper p,
.outsource-help p,
.builder-guidance {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.builder-guidance {
  display: none;
}

.guided-start {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid rgba(217, 184, 109, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(217, 184, 109, 0.1), transparent 42%),
    rgba(0, 0, 0, 0.2);
}

.guided-copy {
  text-align: center;
}

.guided-copy span,
.guided-summary span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.guided-copy h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 21px;
  line-height: 1.08;
}

.guided-copy p {
  max-width: 300px;
  margin: 7px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.guided-preset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.guided-preset-card {
  min-height: 64px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.guided-preset-card svg {
  justify-self: center;
  color: var(--gold);
}

.guided-preset-card span {
  display: grid;
  gap: 4px;
}

.guided-preset-card strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.18;
}

.guided-preset-card small {
  display: none;
}

.guided-preset-card:hover {
  border-color: rgba(217, 184, 109, 0.34);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.guided-preset-card.is-selected {
  border-color: rgba(217, 184, 109, 0.58);
  background:
    linear-gradient(135deg, rgba(217, 184, 109, 0.16), transparent),
    rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 0 0 1px rgba(217, 184, 109, 0.12);
}

.guided-summary {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(248, 243, 234, 0.12);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.26);
  text-align: center;
}

.guided-summary strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
}

.guided-summary p {
  display: none;
}

.guided-summary ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guided-summary li {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border: 1px solid rgba(248, 243, 234, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}

.advanced-settings {
  margin-top: 14px;
}

.advanced-settings summary {
  min-height: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(248, 243, 234, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  text-align: center;
}

.advanced-settings summary::-webkit-details-marker {
  display: none;
}

.advanced-settings summary::after {
  content: "+";
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
}

.advanced-settings[open] summary::after {
  content: "-";
}

.advanced-settings summary span,
.advanced-settings summary small {
  display: block;
}

.advanced-settings summary span {
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.advanced-settings summary small {
  display: none;
}

.section-subheading {
  margin: 13px 0 8px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.section-heading p,
.feed-toolbar p,
.stage-side p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(217, 184, 109, 0.1);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.demo-selector,
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.expanded-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brand-memory p,
.calendar-card small {
  color: var(--muted);
}

.brand-memory p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.color-choice {
  margin-top: 14px;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.color-swatch {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent),
    var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.color-swatch.is-selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 184, 75, 0.18);
  transform: translateY(-2px);
}

.selector-button,
.industry-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.selector-button:hover,
.industry-button:hover {
  border-color: rgba(217, 184, 109, 0.32);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.selector-button span,
.industry-button span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.selector-button svg,
.industry-button svg {
  flex: 0 0 auto;
}

.selector-button.is-selected,
.industry-button.is-selected {
  border-color: rgba(217, 184, 109, 0.52);
  background: rgba(217, 184, 109, 0.11);
  color: #fff;
}

.dropzone {
  min-height: 146px;
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 18px;
  border: 1.5px dashed rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
  text-align: center;
}

.material-panel .dropzone {
  min-height: 96px;
  gap: 4px;
  padding: 12px;
}

.material-panel .dropzone svg {
  width: 24px;
  height: 24px;
}

.material-panel .dropzone strong {
  font-size: 13px;
}

.material-panel .dropzone span,
.material-panel .empty-state {
  font-size: 12px;
  line-height: 1.25;
}

.dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.dropzone svg {
  width: 28px;
  height: 28px;
  color: var(--teal);
}

.dropzone strong {
  font-size: 14px;
}

.dropzone span,
.empty-state {
  color: var(--muted);
  font-size: 13px;
}

.dropzone.is-dragging {
  border-color: var(--teal);
  background: rgba(55, 199, 178, 0.1);
}

.asset-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.material-panel .asset-list {
  max-height: 68px;
  overflow: hidden;
}

.asset-chip {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto 34px;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.asset-chip span {
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-chip small {
  color: var(--muted);
  font-size: 11px;
}

textarea,
select,
input[type="text"] {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.34);
  color: var(--ink);
  outline: none;
}

select {
  appearance: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f8f3ea' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 14px no-repeat,
    rgba(0, 0, 0, 0.34);
  text-align: center;
  text-align-last: center;
}

textarea {
  display: block;
  min-height: 128px;
  padding: 12px;
  resize: vertical;
  line-height: 1.45;
}

select,
input[type="text"] {
  height: 46px;
  margin-top: 7px;
  padding: 0 36px 0 12px;
  font-weight: 800;
  line-height: normal;
}

input[type="text"] {
  padding-right: 12px;
}

.native-choice-select {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

textarea:focus,
select:focus,
input[type="text"]:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(55, 199, 178, 0.14);
}

.button-row {
  justify-content: space-between;
  margin-top: 10px;
}

.center-scroll {
  min-height: calc(100vh - 76px);
  overflow: visible;
  padding: 18px;
}

.generation-workbench {
  display: grid;
  gap: 14px;
  padding-bottom: 18px;
}

.workbench-brief {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.workbench-brief .stage-side {
  min-height: 116px;
}

.intro-stage {
  min-height: min(62vh, 640px);
  display: grid;
  grid-template-columns: minmax(132px, 0.25fr) minmax(340px, 1fr) minmax(132px, 0.25fr);
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
}

.stage-side {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.stage-side strong {
  max-width: 100%;
  overflow-wrap: normal;
  font-size: clamp(21px, 1.7vw, 27px);
  line-height: 1.05;
  word-break: keep-all;
}

.stage-side span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.32;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.generator-console {
  position: relative;
  min-height: min(46vh, 420px);
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(217, 184, 109, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    #111;
  box-shadow: var(--shadow);
}

.generator-console::before {
  position: absolute;
  inset: 14px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  pointer-events: none;
}

.generator-console::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.42));
  pointer-events: none;
}

.console-state {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 44px));
  display: none;
  text-align: center;
}

.generator-console[data-state="idle"] .console-idle,
.generator-console[data-state="loading"] .console-loading,
.generator-console[data-state="result"] .console-result {
  display: grid;
}

.console-idle,
.console-loading {
  justify-items: center;
  gap: 16px;
}

.console-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.console-state h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1;
}

.console-state p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.42;
}

.generate-main-button {
  min-height: 70px;
  width: min(390px, 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid rgba(217, 184, 109, 0.52);
  border-radius: 12px;
  background:
    linear-gradient(135deg, #dbb15e, #f0c46e);
  color: #15120e;
  box-shadow: 0 18px 46px rgba(217, 184, 109, 0.18);
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
}

.generate-main-button span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.render-meter {
  width: min(540px, 100%);
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.44);
}

.render-meter span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9fddd4, #e4c06e);
  transition: width 120ms linear;
}

.generated-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: #070707;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.generated-video-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 32%, color-mix(in srgb, var(--result-accent, var(--brand)) 46%, transparent), transparent 25%),
    linear-gradient(120deg, #171717, #050505);
}

.generated-video-scene::before,
.generated-video-scene::after {
  position: absolute;
  content: "";
}

.generated-video-scene::before {
  top: 18%;
  right: 10%;
  width: 34%;
  height: 46%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent),
    color-mix(in srgb, var(--result-accent, var(--brand)) 56%, #111);
}

.generated-video-scene::after {
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.8)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 5px);
}

.generated-video-frame.is-playing .generated-video-scene::before {
  animation: sampleCardMove 4.8s ease-in-out infinite;
}

.generated-video-scene[data-theme="app"]::before {
  width: 24%;
  height: 58%;
  right: 18%;
  top: 14%;
  border-radius: 26px;
}

.generated-video-scene[data-theme="food"]::before {
  border-radius: 50%;
}

.generated-video-scene[data-theme="night"] {
  background:
    radial-gradient(circle at 62% 24%, rgba(255, 79, 145, 0.42), transparent 22%),
    radial-gradient(circle at 82% 62%, rgba(110, 155, 232, 0.36), transparent 28%),
    linear-gradient(120deg, #171717, #050505);
}

.sample-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.46);
  color: color-mix(in srgb, var(--result-accent, var(--gold)) 82%, #fff);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.generated-video-copy {
  position: absolute;
  left: 32px;
  bottom: 42px;
  z-index: 3;
  width: min(560px, calc(100% - 150px));
  text-align: left;
}

.generated-video-copy span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.generated-video-copy h2 {
  margin: 8px 0 0;
  font-size: clamp(32px, 4.4vw, 58px);
}

.generated-video-copy p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.generated-play-button {
  right: 24px;
  bottom: 24px;
}

.latest-output {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.latest-output.has-result {
  border-style: solid;
  border-color: rgba(55, 199, 178, 0.34);
  background:
    linear-gradient(135deg, rgba(55, 199, 178, 0.12), rgba(242, 184, 75, 0.06)),
    rgba(255, 255, 255, 0.05);
}

.latest-output span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.latest-output strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}

.latest-output p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.hero-video {
  min-width: 0;
}

.hero-media {
  position: relative;
  min-height: 420px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.2)),
    var(--hero-image, url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=1400&q=85"));
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
  color: #fff;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 36%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

.presenter-copy h1 {
  font-size: 46px;
}

.feed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 12px;
  border-top: 1px solid var(--line);
}

.feed-toolbar strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.feed-meta span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.result-feed {
  display: grid;
  gap: 12px;
  padding-bottom: 24px;
}

.result-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.result-thumb {
  position: relative;
  min-height: 112px;
  overflow: hidden;
  border-radius: 6px;
  background-position: center;
  background-size: cover;
}

.result-thumb::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.64));
}

.result-thumb span {
  position: absolute;
  left: 10px;
  bottom: 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.restaurant-thumb {
  background-image: url("https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=900&q=80");
}

.fashion-thumb {
  background-image: url("https://images.unsplash.com/photo-1529139574466-a303027c1d8b?auto=format&fit=crop&w=900&q=80");
}

.commerce-thumb {
  background-image: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=80");
}

.service-thumb {
  background-image: url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=900&q=80");
}

.coffee-thumb {
  background-image: url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=900&q=80");
}

.beauty-thumb {
  background-image: url("https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?auto=format&fit=crop&w=900&q=80");
}

.fitness-thumb {
  background-image: url("https://images.unsplash.com/photo-1517838277536-f5f99be501cd?auto=format&fit=crop&w=900&q=80");
}

.education-thumb {
  background-image: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=900&q=80");
}

.realestate-thumb {
  background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=900&q=80");
}

.hotel-thumb {
  background-image: url("https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=900&q=80");
}

.product-thumb {
  background-image: url("https://images.unsplash.com/photo-1523275335684-37898b6baf30?auto=format&fit=crop&w=900&q=80");
}

.travel-thumb {
  background-image: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=900&q=80");
}

.medical-thumb {
  background-image: url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=900&q=80");
}

.finance-thumb {
  background-image: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=900&q=80");
}

.entertainment-thumb {
  background-image: url("https://images.unsplash.com/photo-1505373877841-8d25f7d46678?auto=format&fit=crop&w=900&q=80");
}

.food-thumb {
  background-image: url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=900&q=80");
}

.clinic-thumb {
  background-image: url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=900&q=80");
}

.automotive-thumb {
  background-image: url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=900&q=80");
}

.home-thumb {
  background-image: url("https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=900&q=80");
}

.legal-thumb {
  background-image: url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=900&q=80");
}

.pets-thumb {
  background-image: url("https://images.unsplash.com/photo-1450778869180-41d0601e046e?auto=format&fit=crop&w=900&q=80");
}

.result-body {
  min-width: 0;
}

.result-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.result-body h2 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 18px;
}

.result-body p {
  margin: 8px 0 12px;
  color: var(--muted);
  line-height: 1.45;
}

.status-pill {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(242, 184, 75, 0.14);
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
}

.status-pill.done {
  background: rgba(79, 212, 135, 0.14);
  color: var(--success);
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.result-meta span {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.control-stack {
  display: grid;
  gap: 12px;
}

.brief-stack {
  margin: 0 0 12px;
}

.control-stack label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.control-stack label > span {
  display: block;
  color: var(--soft);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.control-stack small {
  display: block;
  margin-top: 6px;
  color: rgba(248, 243, 234, 0.58);
  font-size: 11px;
  line-height: 1.35;
}

.choice-section {
  display: grid;
  gap: 8px;
}

.choice-section .section-subheading,
.mood-recommendation .section-subheading {
  margin-top: 0;
}

.choice-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mood-card-grid {
  grid-template-columns: 1fr;
}

.choice-card {
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.choice-card strong {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.2;
}

.choice-card small {
  display: none;
}

.choice-card:hover {
  border-color: rgba(217, 184, 109, 0.32);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.choice-card.is-selected {
  border-color: rgba(217, 184, 109, 0.52);
  background:
    linear-gradient(135deg, rgba(217, 184, 109, 0.13), transparent),
    rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 0 0 1px rgba(217, 184, 109, 0.12);
}

.mood-recommendation,
.calendar-card {
  padding: 12px;
  border: 1px solid rgba(242, 184, 75, 0.24);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(217, 184, 109, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(0, 0, 0, 0.2);
}

.mood-recommendation p {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.recommendation-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.recommendation-chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(248, 243, 234, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.recommendation-chip.is-selected {
  border-color: rgba(217, 184, 109, 0.62);
  background: rgba(217, 184, 109, 0.12);
  color: #fff;
}

.two-control-grid,
.toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.duration-control {
  padding: 12px;
  border: 1px solid rgba(217, 184, 109, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(217, 184, 109, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(0, 0, 0, 0.22);
}

.duration-head,
.duration-price,
.duration-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.duration-head span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.duration-head strong {
  min-width: 54px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242, 184, 75, 0.32);
  border-radius: 8px;
  background: rgba(242, 184, 75, 0.12);
  color: #fff;
  font-size: 15px;
}

.duration-control input[type="range"] {
  width: 100%;
  height: 24px;
  margin: 10px 0 2px;
  accent-color: var(--gold);
}

.duration-presets {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 6px 0 8px;
}

.duration-presets button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
}

.duration-presets button.is-selected {
  border-color: rgba(217, 184, 109, 0.62);
  background: rgba(217, 184, 109, 0.12);
  color: #fff;
}

.duration-meta {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.duration-price {
  min-height: 42px;
  margin-top: 8px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
}

.duration-price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.duration-price .price-copy {
  display: grid;
  gap: 2px;
}

.duration-price .price-copy small {
  margin: 0;
  color: rgba(255, 125, 115, 0.86);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-decoration: line-through;
}

.duration-price strong {
  color: #fff;
  font-size: 15px;
}

.duration-price em {
  flex: 0 0 auto;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(217, 184, 109, 0.14);
  color: #f3d58d;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.toggle-card {
  min-height: 74px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.toggle-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.toggle-card strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}

.toggle-card small {
  margin-top: 4px;
  color: var(--muted);
}

.music-warning {
  margin: -3px 0 0;
  color: #ff7d73;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
  text-align: center;
}

.compact-toggle {
  justify-content: center;
  margin-top: 8px;
  text-align: center;
}

.calendar-card {
  display: grid;
  gap: 10px;
}

.calendar-card > div {
  text-align: center;
}

.calendar-card > div > span {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.calendar-card small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.35;
}

.calendar-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.calendar-card li {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border: 1px solid rgba(248, 243, 234, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--soft);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
}

.nano-brief-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(242, 184, 75, 0.36);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(242, 184, 75, 0.14), rgba(242, 85, 69, 0.08)),
    rgba(255, 255, 255, 0.045);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease;
}

.nano-brief-link:hover {
  border-color: rgba(242, 184, 75, 0.7);
  transform: translateY(-1px);
}

.is-hidden {
  display: none !important;
}

.pricing-section {
  background: rgba(242, 184, 75, 0.07);
}

.cost-list {
  display: grid;
  gap: 8px;
}

.cost-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
}

.cost-list span {
  color: var(--muted);
  font-size: 13px;
}

.cost-list strong {
  font-size: 14px;
}

.toggle-line {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.toggle-line input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #f8f3ea;
  color: #0b0b0b;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  font-weight: 800;
}

.detail-page {
  min-height: 100vh;
  padding-top: 76px;
  background: #090909;
}

.detail-hero {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 130px 34px 70px;
  border-bottom: 1px solid var(--line);
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.pricing-firstview,
.outsourcing-firstview {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(560px, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px 24px;
}

.detail-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.25)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 5px);
}

.pricing-hero {
  background-image: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=2200&q=86");
}

.outsourcing-hero {
  background-image: url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=2200&q=86");
}

.detail-hero > * {
  position: relative;
  z-index: 1;
}

.detail-hero h1 {
  max-width: 900px;
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
}

.detail-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.6;
}

.detail-copy {
  max-width: 820px;
}

.pricing-offer-banner {
  grid-column: 1 / -1;
  align-self: start;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(1260px, 100%);
  margin: 0 auto;
  padding: 14px 18px;
  border: 1px solid rgba(255, 79, 145, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(255, 79, 145, 0.32), rgba(242, 85, 69, 0.14), rgba(55, 199, 178, 0.08)),
    rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(16px);
}

.pricing-offer-banner span,
.pricing-offer-banner a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 79, 145, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  text-align: center;
}

.pricing-offer-banner strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
}

.pricing-offer-banner a {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-transform: none;
}

.pricing-copy-block {
  align-self: center;
}

.pricing-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.pricing-controls button,
.pricing-controls span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
}

.pricing-controls button.is-selected,
.pricing-controls span {
  background: rgba(200, 255, 45, 0.16);
  border-color: rgba(200, 255, 45, 0.34);
  color: #d9ff66;
}

.token-plans,
.quick-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.token-plan,
.quick-package-grid article {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(12px);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.quick-package-grid article {
  min-height: 180px;
}

.token-plan:hover,
.quick-package-grid article:hover {
  border-color: rgba(242, 184, 75, 0.5);
  background: rgba(0, 0, 0, 0.62);
  transform: translateY(-5px);
}

.token-plan.featured,
.quick-package-grid .featured {
  border-color: rgba(200, 255, 45, 0.48);
  background:
    linear-gradient(180deg, rgba(200, 255, 45, 0.14), transparent),
    rgba(38, 50, 22, 0.72);
}

.token-plan span,
.quick-package-grid span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.token-plan em {
  padding: 3px 7px;
  border-radius: 5px;
  background: #ff0a63;
  color: #fff;
  font-size: 11px;
  font-style: normal;
}

.token-plan h2,
.quick-package-grid h2 {
  margin: 14px 0 0;
  color: #fff;
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.08;
}

.token-plan strong,
.quick-package-grid strong {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1;
}

.token-plan p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.token-plan ul {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.token-plan li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.35;
}

.token-plan li::before {
  position: absolute;
  left: 0;
  top: 0;
  content: "+";
  color: #d9ff66;
  font-weight: 950;
}

.token-plan small {
  display: block;
  margin-top: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.pricing-grid,
.managed-packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 34px;
}

.pricing-card,
.managed-packages article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.pricing-card:hover,
.managed-packages article:hover {
  border-color: rgba(242, 184, 75, 0.38);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-5px);
}

.pricing-card.featured,
.managed-packages .featured {
  border-color: rgba(242, 184, 75, 0.44);
  background: rgba(242, 184, 75, 0.1);
}

.pricing-card span,
.managed-packages span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.pricing-card h2,
.managed-packages h2 {
  margin: 18px 0 0;
  font-size: 28px;
  line-height: 1.08;
}

.pricing-card strong,
.managed-packages strong {
  display: block;
  margin-top: 16px;
  color: #fff;
  font-size: 22px;
}

.pricing-card p,
.managed-packages p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.estimate-section,
.production-flow,
.contact-section,
.outsourcing-request {
  padding: 80px 34px;
  border-top: 1px solid var(--line);
}

.estimate-section {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(340px, 0.8fr);
  gap: 34px;
  align-items: start;
}

.contact-section,
.outsourcing-request {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(380px, 0.9fr);
  gap: 34px;
  align-items: start;
  background: #11100f;
}

.contact-section h2,
.request-copy h2 {
  margin: 12px 0 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
}

.contact-section p:not(.eyebrow),
.request-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-form,
.brief-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.contact-form label,
.brief-form label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

input[type="email"] {
  width: 100%;
  height: 40px;
  margin-top: 7px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.34);
  color: var(--ink);
  outline: none;
}

.brief-upload {
  min-height: 160px;
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 18px;
  border: 1.5px dashed rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
  text-align: center;
}

.brief-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.brief-upload svg {
  width: 28px;
  height: 28px;
  color: var(--teal);
}

.brief-upload strong {
  color: #fff;
  font-size: 15px;
}

.brief-upload span {
  color: var(--muted);
  font-size: 13px;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.estimate-section h2 {
  margin: 12px 0 0;
  font-size: 48px;
  line-height: 1;
}

.estimate-table {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.estimate-table div {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  background: #141414;
}

.estimate-table span {
  color: var(--muted);
}

.estimate-table strong {
  color: #fff;
}

@keyframes reelFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sampleCardMove {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-4deg) scale(1);
  }
  50% {
    transform: translate3d(-18px, -10px, 0) rotate(2deg) scale(1.04);
  }
}

@keyframes sampleBubbleMove {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -18px, 0) scale(1.08);
  }
}

@keyframes sampleBars {
  0%,
  100% {
    opacity: 0.28;
    transform: scaleX(0.72);
  }
  50% {
    opacity: 0.92;
    transform: scaleX(1);
  }
}

@media (max-width: 1180px) {
  .site-header,
  .studio-topbar {
    grid-template-columns: 210px minmax(0, 1fr) auto;
  }

  .home-hero {
    grid-template-columns: 150px minmax(360px, 1fr) 150px;
  }

  .home-reel {
    min-height: 470px;
  }

  .reel-caption h2,
  .presenter-copy h1 {
    font-size: 42px;
  }

  .hero-copy h1 {
    font-size: 68px;
  }

  .workspace {
    grid-template-columns: 280px minmax(390px, 1fr) 340px;
  }

  .intro-stage {
    grid-template-columns: 1fr;
  }

  .stage-side {
    min-height: auto;
  }

  .stage-left,
  .stage-right {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .stage-side span {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  body {
    padding-bottom: 92px;
  }

  .mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    min-height: 78px;
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(20, 21, 22, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 -16px 34px rgba(0, 0, 0, 0.42);
  }

  .mobile-tabbar a {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 5px;
    color: rgba(248, 243, 234, 0.58);
    font-size: 11px;
    font-weight: 850;
    line-height: 1.1;
    text-align: center;
  }

  .mobile-tabbar svg {
    width: 24px;
    height: 24px;
  }

  .mobile-tabbar a.is-active {
    color: #fff;
  }

  .mobile-tabbar .mobile-create-tab {
    align-self: start;
    width: 68px;
    height: 68px;
    justify-self: center;
    margin-top: -28px;
    display: grid;
    place-items: center;
    gap: 1px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background:
      radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.24), transparent 28%),
      linear-gradient(135deg, #f25545, #ff4f91 54%, #37c7b2);
    color: #fff;
    box-shadow: 0 12px 30px rgba(242, 85, 69, 0.34);
  }

  .mobile-tabbar .mobile-create-tab span {
    font-size: 10px;
  }

  .mobile-notice-card {
    display: grid;
    gap: 12px;
    margin: 24px 16px 18px;
    padding: 16px;
    border-radius: 32px;
    background: #f7f7f3;
    color: #090909;
    box-shadow: 0 26px 90px rgba(255, 79, 145, 0.22);
    text-align: center;
  }

  .mobile-notice-media {
    position: relative;
    min-height: 160px;
    overflow: hidden;
    border-radius: 22px;
    background:
      linear-gradient(180deg, transparent 42%, rgba(255, 79, 145, 0.58)),
      url("https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=1200&q=86");
    background-position: center;
    background-size: cover;
  }

  .mobile-notice-prompt {
    position: absolute;
    left: 50%;
    bottom: 22px;
    width: min(78%, 330px);
    min-height: 50px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(-50%);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  }

  .mobile-notice-prompt button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #151515;
    color: #fff;
  }

  .mobile-notice-prompt span {
    color: #222;
    font-size: 12px;
    font-weight: 850;
  }

  .mobile-notice-card > span {
    justify-self: center;
    padding: 7px 14px;
    border-radius: 12px;
    background: rgba(255, 79, 145, 0.11);
    color: #ff2faa;
    font-size: 13px;
    font-weight: 850;
  }

  .mobile-notice-card h2 {
    margin: 0;
    font-size: clamp(34px, 9.4vw, 46px);
    line-height: 1.03;
    text-transform: uppercase;
  }

  .mobile-notice-card p {
    margin: 0;
    color: #6b6f78;
    font-size: 15px;
    line-height: 1.36;
  }

  .mobile-notice-card a {
    justify-self: center;
    min-height: 50px;
    width: min(270px, 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #050505;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
  }

  .site-header,
  .studio-topbar {
    min-height: auto;
    grid-template-columns: 1fr;
    position: sticky;
    padding: 12px;
  }

  .header-actions,
  .topbar-actions {
    justify-content: space-between;
  }

  .site-nav {
    display: none;
  }

  .header-secondary {
    display: none;
  }

  .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 22px 14px 24px;
  }

  .hero-control {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
  }

  .hero-control p {
    grid-column: 1 / -1;
  }

  .home-filter {
    min-height: 48px;
    justify-content: center;
    padding: 0 8px;
  }

  .home-filter span {
    font-size: 12px;
  }

  .home-reel {
    min-height: 490px;
    order: 0;
  }

  .hero-control-left {
    order: 2;
  }

  .hero-control-right {
    order: 3;
  }

  .hero-copy {
    grid-column: auto;
    order: 1;
    padding-top: 0;
  }

  .hero-copy h1 {
    font-size: 56px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 17px;
  }

  .hero-proof {
    grid-column: auto;
    order: 4;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .agency-strip,
  .section-title-row,
  .showcase-grid,
  .workflow-track,
  .outsource-section,
  .pricing-grid,
  .managed-packages,
  .estimate-section,
  .pricing-firstview,
  .outsourcing-firstview,
  .contact-section,
  .outsourcing-request {
    grid-template-columns: 1fr;
  }

  .agency-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-section,
  .outsource-section {
    padding: 70px 16px;
  }

  .section-title-row h2,
  .outsource-copy h2 {
    font-size: 40px;
  }

  .showcase-card,
  .showcase-card.is-featured {
    min-height: auto;
  }

  .workflow-track {
    gap: 1px;
  }

  .tool-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace {
    min-height: auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .side-panel,
  .center-scroll {
    height: auto;
    overflow: visible;
  }

  .material-panel,
  .builder-panel {
    position: static;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .center-scroll {
    order: 1;
  }

  .material-panel {
    order: 2;
  }

  .builder-panel {
    order: 3;
  }

  .inspector-titlebar {
    position: static;
    margin: 0 0 14px;
  }

  .inspector-open-button {
    display: none;
  }

  .generation-workbench {
    margin-top: 12px;
  }

  .workbench-brief {
    grid-template-columns: 1fr;
  }

  .generator-console {
    min-height: 520px;
    border-radius: 24px;
    background:
      radial-gradient(circle at 70% 92%, rgba(255, 79, 145, 0.52), transparent 34%),
      radial-gradient(circle at 24% 78%, rgba(242, 85, 69, 0.36), transparent 30%),
      #060606;
  }

  .generate-main-button {
    border-radius: 999px;
  }

  .latest-output {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 360px;
  }

  .studio-connection {
    grid-template-columns: 1fr;
  }

  .connection-pills {
    justify-content: flex-start;
  }

  .detail-page {
    padding-top: 0;
  }

  .detail-hero {
    min-height: 520px;
    padding: 58px 16px 34px;
  }

  .detail-hero h1 {
    font-size: 40px;
    line-height: 1;
  }

  .detail-hero p:not(.eyebrow) {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.45;
  }

  .pricing-firstview,
  .outsourcing-firstview {
    min-height: auto;
    align-items: end;
    gap: 16px;
    padding: 94px 16px 36px;
  }

  .pricing-offer-banner {
    grid-template-columns: 1fr;
    justify-items: start;
    margin-top: 0;
  }

  .pricing-offer-banner strong {
    font-size: 14px;
  }

  .pricing-controls {
    gap: 7px;
  }

  .pricing-grid,
  .managed-packages,
  .estimate-section,
  .production-flow,
  .contact-section,
  .outsourcing-request {
    padding: 50px 16px;
  }

  .token-plans,
  .quick-package-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 8px;
  }

  .token-plan,
  .quick-package-grid article {
    flex: 0 0 min(84vw, 360px);
    min-height: 430px;
    padding: 18px;
    scroll-snap-align: center;
  }

  .token-plan h2,
  .quick-package-grid h2 {
    margin-top: 10px;
    font-size: 24px;
  }

  .token-plan strong,
  .quick-package-grid strong {
    margin-top: 10px;
    font-size: 38px;
  }

  .token-plan p,
  .token-plan small {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.3;
  }
}

/* Final production-console polish */
.brand-logo-icon img {
  transform: scale(1.16);
  transform-origin: center;
}

.creator-mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px 18px 0 0;
  background: rgba(255, 255, 255, 0.035);
}

.creator-mode-tabs button {
  min-width: 0;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: rgba(248, 243, 234, 0.58);
  font-size: clamp(11px, 0.74vw, 14px);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.creator-mode-tabs button.is-active {
  border-bottom-color: #fff;
  color: #fff;
}

.model-preview-card {
  position: relative;
  min-height: 122px;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0 0 16px 16px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78)),
    url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=720&q=82") center / cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.model-preview-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(198, 255, 36, 0.2), transparent 28%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
  opacity: 0.85;
  pointer-events: none;
}

.model-preview-card > div,
.model-change-button {
  position: relative;
  z-index: 1;
}

.model-preview-card strong,
.model-preview-card span {
  display: block;
}

.model-preview-card strong {
  color: #c8ff2d;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 950;
  line-height: 1;
}

.model-preview-card span {
  margin-top: 4px;
  color: rgba(248, 243, 234, 0.84);
  font-size: 16px;
  font-weight: 800;
}

.model-change-button {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.model-change-button svg {
  width: 16px;
  height: 16px;
}

.material-panel {
  overflow-y: auto;
  scrollbar-width: thin;
}

.material-panel::-webkit-scrollbar {
  width: 8px;
}

.material-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.material-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(248, 243, 234, 0.18);
}

.media-upload-card .dropzone {
  min-height: 132px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(55, 199, 178, 0.16), transparent 44%),
    rgba(255, 255, 255, 0.04);
}

.manual-prompt-card textarea {
  min-height: 126px;
  max-height: 126px;
  border-radius: 16px;
  font-size: 14px;
}

.render-settings-card {
  border-color: rgba(217, 184, 109, 0.24);
  background:
    linear-gradient(135deg, rgba(217, 184, 109, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(20, 20, 20, 0.88);
}

#leftRenderSettingsSlot {
  display: grid;
  gap: 10px;
}

.material-panel .duration-control {
  padding: 13px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(217, 184, 109, 0.14), rgba(55, 199, 178, 0.045)),
    rgba(0, 0, 0, 0.3);
}

.material-panel .duration-control input[type="range"] {
  height: 30px;
}

.material-panel .duration-presets {
  gap: 7px;
}

.material-panel .duration-presets button {
  min-height: 38px;
  border-radius: 13px;
  font-size: 14px;
}

.material-panel .duration-price {
  align-items: center;
  min-height: 56px;
  padding: 8px 10px;
  border-radius: 14px;
}

.material-panel .duration-price strong {
  font-size: 18px;
  line-height: 1.05;
}

.material-panel .duration-price em {
  white-space: nowrap;
}

.material-panel .choice-section {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.26);
}

.material-panel .choice-card-grid {
  gap: 7px;
}

.material-panel .choice-card {
  min-height: 48px;
  border-radius: 13px;
  padding: 8px;
}

.material-panel .choice-card strong {
  font-size: clamp(11px, 0.8vw, 13px);
  line-height: 1.15;
}

.side-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.side-spec-grid button {
  min-width: 0;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  font-size: clamp(10px, 0.72vw, 13px);
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
}

.side-spec-grid svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--soft);
}

.side-generate-button {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #ccff00, #f4ff00 48%, #ffd23f);
  color: #0b0b0b;
  font-size: clamp(18px, 1.4vw, 24px);
  font-weight: 950;
  box-shadow:
    0 14px 34px rgba(200, 255, 45, 0.18),
    inset 0 -4px 0 rgba(0, 0, 0, 0.16);
}

.side-generate-button strong {
  color: rgba(0, 0, 0, 0.56);
  font-size: 0.82em;
}

.builder-flow-strip,
.pricing-section {
  display: none !important;
}

.agency-strip {
  position: relative;
  max-width: min(1480px, calc(100% - 48px));
  margin: -6px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(242, 85, 69, 0.16), rgba(55, 199, 178, 0.1)),
    #0b0b0b;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.agency-strip::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 85, 69, 0.22), transparent 34%),
    radial-gradient(circle at 82% 100%, rgba(55, 199, 178, 0.18), transparent 36%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 6px);
  pointer-events: none;
}

.agency-strip div {
  position: relative;
  z-index: 1;
  min-height: 138px;
  padding: 24px;
  border-right-color: rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent),
    rgba(0, 0, 0, 0.12);
}

.agency-strip div::after {
  position: absolute;
  inset: 14px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 14px;
  opacity: 0.9;
  pointer-events: none;
}

.agency-strip span {
  letter-spacing: 0;
}

.agency-strip strong {
  margin-top: 16px;
  font-size: clamp(21px, 1.9vw, 30px);
  line-height: 1.05;
}

.agency-strip p {
  max-width: 420px;
  margin-top: 10px;
  color: rgba(248, 243, 234, 0.68);
  font-size: clamp(13px, 0.95vw, 16px);
  line-height: 1.38;
}

@media (max-width: 1180px) {
  .creator-mode-tabs {
    border-radius: 16px;
  }

  .model-preview-card {
    border-radius: 16px;
  }

  .agency-strip {
    max-width: calc(100% - 28px);
  }
}

@media (max-width: 620px) {
  .brand small {
    display: none;
  }

  .site-nav a {
    min-height: 34px;
    padding: 0 9px;
    font-size: 13px;
  }

  .site-nav {
    gap: 4px;
  }

  .primary-action,
  .secondary-action {
    padding: 10px 11px;
  }

  .home-reel {
    min-height: 430px;
  }

  .reel-caption,
  .presenter-copy {
    left: 18px;
    bottom: 44px;
    width: calc(100% - 36px);
  }

  .reel-caption h2,
  .presenter-copy h1 {
    font-size: 34px;
  }

  .reel-caption p,
  .presenter-copy p {
    font-size: 14px;
  }

  .reel-interface {
    display: none;
  }

  .reel-direct-cta {
    left: 18px;
    right: auto;
    bottom: 104px;
  }

  .reel-under-cta {
    grid-template-columns: 1fr 22px;
    min-height: 70px;
  }

  .reel-under-cta span {
    grid-column: 1 / -1;
  }

  .reel-under-cta strong {
    white-space: normal;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .hero-actions,
  .header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .agency-strip strong {
    font-size: 22px;
  }

  .section-title-row h2,
  .outsource-copy h2 {
    font-size: 34px;
  }

  .workflow-step {
    min-height: 180px;
  }

  .pricing-card,
  .managed-packages article {
    min-height: 220px;
  }

  .estimate-section h2 {
    font-size: 34px;
  }

  .brief-grid {
    grid-template-columns: 1fr;
  }

  .tool-tab {
    justify-content: start;
  }

  .intro-stage {
    min-height: auto;
    gap: 10px;
  }

  .hero-media {
    min-height: 420px;
    aspect-ratio: 4 / 5;
  }

  .play-button {
    right: 18px;
    width: 52px;
    height: 52px;
  }

  .result-card {
    grid-template-columns: 1fr;
  }

  .result-thumb {
    aspect-ratio: 16 / 9;
  }

  .two-control-grid,
  .toggle-grid,
  .expanded-grid,
  .guided-preset-grid,
  .choice-card-grid {
    grid-template-columns: 1fr;
  }

  .color-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .language-select {
    max-width: none;
    width: 100%;
  }
}

/* Final design polish: stronger showreel, calmer studio, clearer pricing and outsourcing. */
.home-body .site-header {
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.92), rgba(7, 7, 7, 0.72)),
    rgba(7, 7, 7, 0.86);
}

.home-page {
  background:
    linear-gradient(180deg, #050505 0%, #0d0b09 34%, #070707 100%);
}

.home-hero {
  grid-template-columns: minmax(140px, 210px) minmax(700px, 1160px) minmax(140px, 210px);
  gap: clamp(18px, 2vw, 34px);
  padding-inline: clamp(18px, 2vw, 36px);
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62)),
    url("https://images.unsplash.com/photo-1497015289639-54688650d173?auto=format&fit=crop&w=2400&q=86");
}

.home-hero::before {
  background:
    linear-gradient(105deg, rgba(242, 85, 69, 0.42), transparent 28%),
    linear-gradient(260deg, rgba(55, 199, 178, 0.24), transparent 36%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78));
}

.home-hero::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.84)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 58px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 6px);
}

.hero-control {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    rgba(0, 0, 0, 0.42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.home-filter {
  border-radius: 8px;
}

.home-reel-stack::before,
.home-reel-stack::after {
  width: 42px;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0 12px, transparent 12px 25px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.24));
}

.home-reel {
  min-height: min(72vh, 720px);
  border-radius: 8px;
  box-shadow:
    0 42px 130px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 90px color-mix(in srgb, var(--reel-accent, var(--brand)) 30%, transparent);
}

.home-reel::after {
  inset: 12px;
  border-radius: 6px;
}

.sample-product-card,
.reel-interface,
.reel-direct-cta,
.reel-under-cta {
  border-radius: 8px;
}

.sample-product-card {
  width: min(300px, 32%);
  min-height: 150px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--reel-accent, var(--brand)) 30%, transparent), transparent),
    rgba(12, 10, 10, 0.72);
}

.sample-product-card strong {
  font-size: clamp(18px, 2vw, 28px);
}

.reel-sample-rail button {
  border-radius: 5px;
}

.hero-copy {
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(242, 85, 69, 0.14), transparent 42%),
    rgba(0, 0, 0, 0.68);
}

.hero-copy h1 {
  font-size: clamp(40px, 4.5vw, 64px);
}

.agency-strip {
  background:
    linear-gradient(90deg, rgba(242, 85, 69, 0.08), transparent 36%, rgba(55, 199, 178, 0.07)),
    #0d0c0b;
}

.agency-strip div {
  min-height: 152px;
  padding: 28px clamp(22px, 3vw, 42px);
}

.agency-strip strong {
  margin-top: 16px;
  font-size: clamp(22px, 2vw, 30px);
}

.agency-strip p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-width: 420px;
  line-height: 1.45;
}

.home-section {
  position: relative;
  padding-block: clamp(86px, 9vw, 132px);
}

.section-title-row {
  max-width: 1320px;
  margin-bottom: 42px;
}

.section-title-row h2 {
  max-width: 920px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
}

.section-title-row p {
  max-width: 460px;
  font-size: 17px;
}

.section-kicker {
  max-width: 1320px;
}

.showcase-section {
  background:
    linear-gradient(180deg, #080808, #0d0c0b 54%, #090909);
}

.showcase-grid {
  max-width: 1320px;
  gap: 18px;
}

.showcase-card {
  min-height: 560px;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.24);
}

.showcase-card.is-featured {
  min-height: 660px;
}

.showcase-card::before {
  inset: 10px;
}

.showcase-card img {
  position: absolute;
  inset: 0;
  min-height: 100%;
  transform: scale(1.02);
  transition: transform 480ms ease, filter 220ms ease;
}

.showcase-card:hover img {
  filter: saturate(1.08) contrast(1.07);
  transform: scale(1.06);
}

.showcase-card div {
  padding: clamp(20px, 2.4vw, 32px);
}

.showcase-card h3 {
  max-width: 12ch;
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1.02;
}

.showcase-card p {
  max-width: 360px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.workflow-section {
  background:
    linear-gradient(180deg, #0d0c0b, #11100f 45%, #090909);
}

.workflow-track {
  max-width: 1320px;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(217, 184, 109, 0.24), rgba(255, 255, 255, 0.1)),
    var(--line);
}

.workflow-step {
  min-height: 206px;
  padding: clamp(20px, 2.3vw, 30px);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.055), transparent 38%),
    #141311;
}

.workflow-step svg {
  color: var(--gold);
}

.workflow-step strong {
  font-size: clamp(21px, 2vw, 30px);
}

.outsource-section {
  position: relative;
  padding-block: clamp(90px, 9vw, 140px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.42) 54%, rgba(0, 0, 0, 0.72)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=2200&q=86");
  background-position: center;
  background-size: cover;
}

.outsource-section::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.outsource-copy h2 {
  max-width: 760px;
  font-size: clamp(42px, 5.6vw, 76px);
}

.outsource-copy p:not(.eyebrow) {
  max-width: 560px;
}

.outsource-board {
  max-width: 560px;
}

.outsource-board div {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(0, 0, 0, 0.58);
}

.studio-body .site-nav a,
.studio-body .section-heading p,
.studio-body .feed-toolbar p,
.studio-body .stage-side p,
.studio-body .section-subheading,
.studio-body .control-stack label > span {
  letter-spacing: 0;
}

.workspace {
  background:
    linear-gradient(180deg, rgba(217, 184, 109, 0.035), transparent 230px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 86px),
    #090909;
}

.studio-connection,
.generator-console,
.stage-side,
.panel-section,
.latest-output,
.result-card {
  border-radius: 8px;
}

.studio-connection {
  padding: 18px 20px;
  background:
    linear-gradient(135deg, rgba(217, 184, 109, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.04);
}

.studio-connection h1 {
  font-size: clamp(31px, 3vw, 46px);
}

.studio-connection p:not(.eyebrow) {
  max-width: 720px;
  font-size: 15px;
}

.stage-side {
  min-height: 104px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    rgba(255, 255, 255, 0.028);
}

.stage-side strong {
  font-size: clamp(22px, 1.8vw, 30px);
}

.generator-console {
  min-height: min(49vh, 480px);
  border-color: rgba(217, 184, 109, 0.24);
  background:
    linear-gradient(115deg, rgba(140, 207, 196, 0.12), transparent 33%),
    linear-gradient(180deg, rgba(217, 184, 109, 0.08), transparent),
    #0d0d0d;
}

.console-state h2 {
  font-size: clamp(38px, 5.4vw, 72px);
}

.generate-main-button {
  width: min(430px, 100%);
  min-height: 74px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #ef6358, #f2b84b);
  color: #080808;
}

.generated-video-frame {
  border-radius: 8px;
}

.generated-video-copy h2 {
  max-width: 12ch;
}

.latest-output {
  border-style: solid;
  background:
    linear-gradient(90deg, rgba(217, 184, 109, 0.08), transparent),
    rgba(255, 255, 255, 0.035);
}

.builder-panel {
  background:
    linear-gradient(180deg, rgba(217, 184, 109, 0.06), transparent 230px),
    rgba(10, 10, 10, 0.97);
}

.guided-start {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(140, 207, 196, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.035);
}

.guided-copy p,
.mood-recommendation p,
.calendar-card small,
.toggle-card small {
  display: none;
}

.guided-preset-card,
.choice-card,
.selector-button,
.industry-button,
.toggle-card,
.advanced-settings summary,
.duration-control,
.mood-recommendation,
.calendar-card,
.cost-list div {
  border-radius: 8px;
}

.guided-preset-card,
.selector-button,
.industry-button,
.choice-card {
  min-height: 58px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.selector-button,
.industry-button {
  padding-inline: 9px;
}

.guided-preset-card strong,
.selector-button span,
.industry-button span,
.choice-card strong,
.primary-action span,
.secondary-action span,
.generate-main-button span {
  hyphens: auto;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.pricing-section {
  background: rgba(217, 184, 109, 0.055);
}

.duration-control,
.mood-recommendation {
  background:
    linear-gradient(135deg, rgba(217, 184, 109, 0.085), transparent),
    rgba(255, 255, 255, 0.032);
}

.pricing-firstview,
.outsourcing-firstview {
  grid-template-columns: minmax(0, 0.58fr) minmax(620px, 1fr);
  gap: clamp(18px, 2vw, 32px);
  padding: 112px clamp(24px, 3vw, 44px) 48px;
}

.detail-page {
  background:
    linear-gradient(180deg, #080808, #0c0b0a 44%, #080808);
}

.detail-hero::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.34) 58%, rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 6px);
}

.detail-hero h1 {
  font-size: clamp(48px, 6.2vw, 86px);
}

.detail-hero p:not(.eyebrow) {
  max-width: 680px;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.5;
}

.pricing-offer-banner {
  width: min(1360px, 100%);
  border-color: rgba(242, 184, 75, 0.38);
  background:
    linear-gradient(100deg, rgba(242, 85, 69, 0.24), rgba(217, 184, 109, 0.18), rgba(55, 199, 178, 0.08)),
    rgba(0, 0, 0, 0.54);
}

.pricing-offer-banner span,
.pricing-offer-banner a {
  background: rgba(242, 184, 75, 0.16);
  color: #fff;
}

.pricing-controls button,
.pricing-controls span {
  border-radius: 8px;
}

.token-plans,
.quick-package-grid {
  align-self: center;
  gap: 14px;
}

.token-plan,
.quick-package-grid article,
.pricing-card,
.managed-packages article,
.contact-form,
.brief-form,
.estimate-table,
.brief-upload {
  border-radius: 8px;
}

.token-plan {
  min-height: 390px;
  padding: 22px;
}

.token-plan h2,
.quick-package-grid h2 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.token-plan strong,
.quick-package-grid strong {
  font-size: clamp(36px, 3.4vw, 52px);
}

.token-plan ul {
  margin: 14px 0 16px;
}

.token-plan li {
  font-size: 13px;
}

.quick-package-grid article {
  min-height: 210px;
  justify-content: end;
  gap: 12px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 42%),
    rgba(0, 0, 0, 0.58);
}

.quick-package-grid .featured,
.token-plan.featured {
  border-color: rgba(242, 184, 75, 0.58);
  background:
    linear-gradient(180deg, rgba(242, 184, 75, 0.16), transparent),
    rgba(37, 31, 18, 0.76);
}

.pricing-grid,
.managed-packages,
.estimate-section,
.production-flow,
.contact-section,
.outsourcing-request {
  padding-inline: clamp(20px, 4vw, 64px);
}

.pricing-grid,
.managed-packages {
  gap: 16px;
  padding-block: 46px;
}

.pricing-card,
.managed-packages article {
  min-height: 230px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), transparent 44%),
    rgba(255, 255, 255, 0.04);
}

.pricing-card h2,
.managed-packages h2 {
  font-size: clamp(22px, 2vw, 30px);
}

.pricing-card p,
.managed-packages p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.5;
}

.estimate-section {
  background:
    linear-gradient(90deg, rgba(217, 184, 109, 0.06), transparent 55%),
    #090909;
}

.estimate-section h2 {
  font-size: clamp(38px, 4.8vw, 64px);
}

.estimate-table div {
  min-height: 58px;
}

.contact-section,
.outsourcing-request {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 42%),
    #100f0d;
}

.contact-form,
.brief-form {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    rgba(255, 255, 255, 0.04);
}

.brief-upload {
  min-height: 145px;
}

.production-flow .workflow-track {
  max-width: none;
}

@media (max-width: 1180px) {
  .home-hero {
    grid-template-columns: minmax(120px, 170px) minmax(420px, 1fr) minmax(120px, 170px);
  }

  .home-reel {
    min-height: 560px;
  }

  .pricing-firstview,
  .outsourcing-firstview {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .token-plans,
  .quick-package-grid {
    max-width: 100%;
  }
}

@media (max-width: 920px) {
  .home-body .site-header {
    background: rgba(7, 7, 7, 0.92);
  }

  .home-hero {
    padding-top: 18px;
  }

  .home-reel-stack::before,
  .home-reel-stack::after {
    display: none;
  }

  .home-reel {
    min-height: 520px;
  }

  .hero-copy {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-actions {
    justify-content: stretch;
  }

  .agency-strip div {
    min-height: auto;
    padding-block: 24px;
  }

  .section-title-row h2 {
    font-size: 40px;
  }

  .section-title-row p {
    font-size: 15px;
  }

  .showcase-grid,
  .workflow-track {
    gap: 12px;
  }

  .showcase-card,
  .showcase-card.is-featured {
    min-height: 430px;
  }

  .workflow-step {
    min-height: 150px;
  }

  .pricing-firstview,
  .outsourcing-firstview {
    padding: 86px 16px 36px;
  }

  .token-plan,
  .quick-package-grid article {
    flex-basis: min(86vw, 380px);
  }

  .quick-package-grid article {
    min-height: 190px;
  }

  .studio-connection h1,
  .console-state h2 {
    line-height: 1.02;
  }

  .generator-console {
    min-height: 500px;
  }
}

@media (max-width: 620px) {
  .site-header,
  .studio-topbar {
    gap: 10px;
  }

  .header-actions,
  .topbar-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
    align-items: stretch;
    gap: 7px;
  }

  .header-actions .primary-action,
  .topbar-actions .primary-action,
  .language-select {
    min-width: 0;
    width: 100%;
    max-width: none;
    min-height: 42px;
    height: 42px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .language-select {
    padding-right: 30px;
    background-position: right 10px center, center;
  }

  .inspector-open-button {
    display: none;
  }

  .home-reel {
    min-height: 460px;
  }

  .sample-product-card {
    top: 28%;
    right: 18px;
    width: 42%;
    min-height: 110px;
    padding: 13px;
  }

  .sample-product-card strong {
    font-size: 16px;
  }

  .reel-caption h2,
  .presenter-copy h1 {
    max-width: 11ch;
    font-size: 32px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-control {
    padding: 10px;
  }

  .home-filter {
    min-height: 44px;
  }

  .showcase-card,
  .showcase-card.is-featured {
    min-height: 390px;
  }

  .outsource-board {
    max-width: none;
  }

  .pricing-firstview {
    padding-top: 68px;
    gap: 10px;
  }

  .pricing-firstview .pricing-offer-banner {
    display: none;
  }

  .pricing-firstview .detail-copy h1 {
    max-width: 11ch;
    font-size: 35px;
    line-height: 0.98;
  }

  .pricing-firstview .detail-copy p:not(.eyebrow) {
    display: none;
  }

  .pricing-controls {
    margin-top: 12px;
  }

  .pricing-controls button,
  .pricing-controls span {
    min-height: 32px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .token-plan {
    min-height: 330px;
    padding: 18px;
  }

  .token-plan ul {
    display: none;
  }

  .token-plan h2,
  .quick-package-grid h2 {
    font-size: 24px;
  }

  .token-plan strong,
  .quick-package-grid strong {
    font-size: 38px;
  }

  .token-plan p,
  .token-plan small {
    font-size: 13px;
    line-height: 1.32;
  }

  .outsourcing-firstview {
    padding-top: 68px;
  }

  .outsourcing-firstview .detail-copy h1 {
    font-size: 39px;
  }

  .outsourcing-firstview .detail-copy p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.42;
  }

  .pricing-card p,
  .managed-packages p {
    -webkit-line-clamp: 2;
  }

  .estimate-table div {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 12px;
  }

  .generated-video-copy {
    left: 20px;
    bottom: 52px;
    width: calc(100% - 104px);
  }

  .generated-video-copy h2 {
    font-size: 30px;
  }
}

/* Prompt and token polish: reduce noisy setup copy and make prompt edits explicit. */
.studio-connection,
.workbench-brief {
  display: none;
}

.center-scroll {
  padding-top: 14px;
}

.generation-workbench {
  gap: 12px;
}

.studio-body .generator-console {
  min-height: min(58vh, 560px);
}

.section-heading {
  min-width: 0;
}

.section-heading p {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: keep-all;
}

.section-heading span {
  flex: 0 1 auto;
  max-width: 48%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.material-panel .section-heading p,
.builder-panel .section-heading p {
  text-transform: none;
  letter-spacing: 0;
}

.primary-action,
.secondary-action,
.generate-main-button {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.primary-action span,
.secondary-action span,
.generate-main-button span,
.choice-card strong,
.selector-button span,
.industry-button span {
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.material-helper .secondary-action {
  min-height: 56px;
  padding: 12px;
}

.material-helper .secondary-action span {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.18;
}

.dropzone strong,
.dropzone span,
.empty-state {
  word-break: keep-all;
}

.center-token-estimate {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(217, 184, 109, 0.32);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  color: var(--soft);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

.center-token-estimate strong {
  color: #fff;
  font-size: 15px;
}

.prompt-workflow-section .button-row {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 8px;
}

.prompt-workflow-section textarea {
  word-break: keep-all;
}

.prompt-revision-card {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.compact-heading {
  margin-bottom: 0;
}

.revision-helper {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  word-break: keep-all;
}

.prompt-revision-card textarea {
  min-height: 74px;
  font-size: 12px;
  line-height: 1.45;
  resize: vertical;
}

.revised-prompt-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(55, 199, 178, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(55, 199, 178, 0.08), transparent 46%),
    rgba(255, 255, 255, 0.035);
}

.token-only-list div {
  min-height: 52px;
  background:
    linear-gradient(90deg, rgba(217, 184, 109, 0.09), transparent),
    rgba(0, 0, 0, 0.28);
}

.token-only-list strong {
  color: #fff;
  font-size: 18px;
}

.duration-price strong {
  min-width: 9ch;
}

@media (max-width: 1180px) {
  .studio-body .generator-console {
    min-height: 520px;
  }
}

@media (max-width: 720px) {
  .prompt-workflow-section .button-row {
    grid-template-columns: 1fr;
  }

  .center-token-estimate {
    width: min(320px, 100%);
  }
}

/* Final UX pass: mobile localization, showreel energy, prompt revision clarity, pricing calculator. */
html,
body {
  overflow-x: hidden;
  overflow-y: auto;
}

.home-page,
.workspace,
.detail-page {
  min-width: 0;
}

.reel-workflow-markers {
  position: absolute;
  left: 34px;
  right: 34px;
  top: 96px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  pointer-events: none;
}

.reel-workflow-markers span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.home-reel.is-playing .reel-workflow-markers span {
  animation: phaseGlow 4.8s ease-in-out infinite;
}

.home-reel.is-playing .reel-workflow-markers span:nth-child(2) {
  animation-delay: 0.8s;
}

.home-reel.is-playing .reel-workflow-markers span:nth-child(3) {
  animation-delay: 1.6s;
}

.home-reel.is-playing .reel-workflow-markers span:nth-child(4) {
  animation-delay: 2.4s;
}

.home-reel {
  isolation: isolate;
}

.home-reel .sample-video-surface {
  transform: scale(1.01);
}

.home-reel.is-playing .sample-video-surface {
  animation: showreelBreath 7s ease-in-out infinite;
}

.home-reel.is-playing .sample-product-card {
  animation: productCardCut 5.6s ease-in-out infinite;
}

.builder-flow-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 12px;
}

.builder-flow-strip span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
  border: 1px solid rgba(55, 199, 178, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(55, 199, 178, 0.11), transparent),
    rgba(255, 255, 255, 0.035);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  text-align: center;
}

.builder-flow-strip svg {
  width: 15px;
  height: 15px;
  color: var(--teal);
}

.render-phase-list {
  width: min(640px, 100%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.render-phase-list span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}

.render-phase-list span.is-active {
  border-color: rgba(217, 184, 109, 0.46);
  background:
    linear-gradient(135deg, rgba(217, 184, 109, 0.22), rgba(55, 199, 178, 0.08)),
    rgba(255, 255, 255, 0.06);
  color: #fff;
}

.revision-summary-grid {
  display: grid;
  gap: 6px;
}

.revision-summary-grid div {
  display: grid;
  grid-template-columns: minmax(82px, 0.35fr) minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.revision-summary-grid span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
}

.revision-summary-grid strong {
  min-width: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  line-height: 1.35;
  word-break: keep-all;
}

.generated-result-card {
  animation: resultSlideIn 360ms ease both;
}

.generator-console[data-state="result"] .generated-video-frame {
  animation: resultFocusIn 420ms ease both;
}

.pricing-calculator-section {
  grid-template-columns: minmax(0, 0.62fr) minmax(380px, 0.8fr);
  background:
    linear-gradient(135deg, rgba(55, 199, 178, 0.08), transparent 42%),
    linear-gradient(90deg, rgba(217, 184, 109, 0.06), transparent 55%),
    #090909;
}

.calculator-copy p:not(.eyebrow) {
  max-width: 660px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-calculator {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(217, 184, 109, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.calc-control-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.calc-control-row label {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.calc-control-row span,
.calc-toggle-row span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
}

.calc-control-row input[type="number"] {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.36);
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

.calc-control-row input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
}

.calc-control-row strong {
  justify-self: start;
  color: #fff;
  font-size: 18px;
}

.calc-toggle-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.calc-result-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(200, 255, 45, 0.34);
  border-radius: 10px;
  background:
    radial-gradient(circle at 82% 20%, rgba(200, 255, 45, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(217, 184, 109, 0.16), rgba(55, 199, 178, 0.08)),
    rgba(0, 0, 0, 0.38);
}

.calc-result-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.calc-result-card strong {
  color: #fff;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 0.95;
}

.calc-result-card p {
  margin: 0;
  color: #fff;
  font-size: 19px;
  font-weight: 950;
}

.calc-result-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

@keyframes phaseGlow {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.64);
  }
  50% {
    border-color: color-mix(in srgb, var(--reel-accent, var(--gold)) 70%, #fff);
    color: #fff;
    box-shadow: 0 0 24px color-mix(in srgb, var(--reel-accent, var(--gold)) 24%, transparent);
  }
}

@keyframes showreelBreath {
  0%,
  100% {
    transform: scale(1.01);
    filter: saturate(1);
  }
  50% {
    transform: scale(1.045);
    filter: saturate(1.16);
  }
}

@keyframes productCardCut {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-10px, -8px, 0);
  }
}

@keyframes resultSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes resultFocusIn {
  from {
    opacity: 0.72;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 1181px) {
  .home-reel-stack {
    max-width: 1080px;
  }

  .reel-caption h2,
  .presenter-copy h1 {
    max-width: 12ch;
    font-size: clamp(44px, 4.7vw, 70px);
  }

  .sample-product-card {
    right: 7%;
    width: min(250px, 28%);
  }

  .pricing-firstview {
    min-height: clamp(720px, 100svh, 920px);
  }
}

@media (max-width: 920px) {
  .home-page,
  .workspace,
  .detail-page {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .mobile-tabbar {
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }

  .home-hero {
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .home-reel-stack {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-control-left,
  .hero-control-right,
  .home-reel-stack,
  .hero-copy,
  .hero-proof {
    grid-column: 1;
  }

  .reel-workflow-markers {
    left: 18px;
    right: 18px;
    top: 76px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .render-phase-list {
    grid-template-columns: 1fr;
  }

  .studio-body .generator-console {
    min-height: 420px;
  }

  .console-state h2 {
    font-size: clamp(28px, 8vw, 42px);
  }

  .side-panel {
    height: auto;
  }

  .builder-panel {
    border-top: 1px solid rgba(55, 199, 178, 0.28);
    background:
      linear-gradient(180deg, rgba(55, 199, 178, 0.06), transparent 180px),
      rgba(10, 10, 10, 0.96);
  }

  .pricing-firstview {
    min-height: auto;
  }

  .token-plans,
  .quick-package-grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    padding-bottom: 0;
  }

  .token-plan,
  .quick-package-grid article {
    flex: none;
    min-height: auto;
  }

  .token-plan strong,
  .quick-package-grid strong {
    font-size: clamp(34px, 8vw, 42px);
  }

  .pricing-calculator-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .home-body .site-header,
  .studio-topbar,
  .site-header {
    position: static;
  }

  .mobile-notice-card {
    margin-top: 12px;
  }

  .mobile-notice-card h2 {
    font-size: clamp(28px, 8.4vw, 38px);
    line-height: 1.08;
    text-transform: none;
  }

  .home-hero {
    padding-top: 8px;
  }

  .hero-control {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-reel {
    width: 100%;
    min-height: 430px;
  }

  .sample-product-card {
    top: 26%;
    right: 14px;
    width: min(164px, 44%);
    min-height: 96px;
  }

  .reel-caption {
    bottom: 38px;
  }

  .reel-caption h2 {
    max-width: 12ch;
    font-size: clamp(28px, 8.2vw, 34px);
  }

  .reel-direct-cta {
    display: none;
  }

  .reel-sample-rail {
    right: 84px;
  }

  .builder-flow-strip {
    grid-template-columns: 1fr;
  }

  .guided-start {
    padding: 10px;
  }

  .guided-preset-grid {
    grid-template-columns: 1fr;
  }

  .advanced-settings summary {
    text-align: left;
  }

  .revision-summary-grid div {
    grid-template-columns: 1fr;
  }

  .pricing-firstview .detail-copy h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.6vw, 38px);
    line-height: 1.05;
  }

  .pricing-controls {
    display: none;
  }

  .token-plan.featured {
    order: -1;
  }

  .calc-control-row,
  .calc-toggle-row {
    grid-template-columns: 1fr;
  }

  .pricing-calculator {
    padding: 14px;
  }

  .calc-result-card strong {
    font-size: 34px;
  }

  .detail-page {
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }
}

@media (min-width: 921px) {
  .token-plan > strong {
    max-width: 100%;
    font-size: clamp(34px, 3vw, 46px);
    letter-spacing: 0;
  }
}

/* Cinematic interaction round: compact header, staged home reveal, prompt rail, and quote flow. */
.header-actions,
.topbar-actions {
  justify-content: flex-end;
}

.header-pricing-pill,
.auth-link-button,
.auth-signup-button,
.language-control {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.header-pricing-pill {
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
}

.header-pricing-pill.is-active,
.header-pricing-pill:hover {
  border-color: rgba(217, 184, 109, 0.4);
  background: rgba(217, 184, 109, 0.12);
}

.auth-link-button,
.auth-signup-button {
  border: 0;
  padding: 0 16px;
  color: #fff;
}

.auth-link-button {
  background: rgba(255, 255, 255, 0.08);
}

.auth-signup-button {
  background: #f8f3ea;
  color: #090909;
  box-shadow: 0 12px 28px rgba(248, 243, 234, 0.13);
}

.language-control {
  position: relative;
  width: 54px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  overflow: hidden;
}

.language-control svg:first-child {
  width: 21px;
  height: 21px;
}

.language-control svg:last-child {
  width: 13px;
  height: 13px;
  margin-left: 2px;
  opacity: 0.74;
}

.language-control .language-select {
  position: absolute;
  inset: 0;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 100%;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.auth-modal-backdrop,
.studio-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
}

.auth-modal-backdrop[hidden],
.studio-modal-backdrop[hidden] {
  display: none;
}

.auth-modal-card,
.studio-modal-card {
  position: relative;
  width: min(440px, 100%);
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 80% 0%, rgba(242, 85, 69, 0.2), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    #111;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.62);
  animation: modalPop 220ms ease both;
}

.auth-modal-card h2,
.studio-modal-card h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.05;
}

.auth-modal-card p,
.studio-modal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.modal-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.modal-close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.auth-provider-list {
  display: grid;
  gap: 9px;
}

.auth-provider-list button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-weight: 900;
}

.auth-provider-list button:first-child {
  background: #f8f3ea;
  color: #111;
}

.auth-modal-card small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.has-open-modal {
  overflow: hidden;
}

.home-hero {
  min-height: 88svh;
  grid-template-columns: minmax(128px, 190px) minmax(560px, 980px) minmax(128px, 190px);
  gap: 20px;
  padding-top: 94px;
}

.home-reel {
  min-height: min(56vh, 560px);
  animation: homeReelIntro 860ms cubic-bezier(0.2, 0.8, 0.2, 1) both, reelFloat 9s ease-in-out 1s infinite;
}

.hero-control-left {
  animation: slideInFromLeft 780ms cubic-bezier(0.2, 0.8, 0.2, 1) 180ms both;
}

.hero-control-right {
  animation: slideInFromRight 780ms cubic-bezier(0.2, 0.8, 0.2, 1) 280ms both;
}

.hero-copy {
  animation: fadeUp 680ms ease 700ms both;
}

.hero-copy h1 {
  font-size: clamp(40px, 5.4vw, 74px);
}

.hero-copy p:not(.eyebrow) {
  max-width: 460px;
}

.hero-copy .secondary-action {
  display: none;
}

.agency-strip {
  animation: fadeUp 720ms ease 920ms both;
}

.story-cinema-section {
  --story-progress: 0;
  --story-pull: 0;
  --story-copy: 0;
  position: relative;
  min-height: 290vh;
  background: #050505;
}

.story-stage {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.story-stage::before,
.story-stage::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.story-stage::before {
  inset: 0;
  background:
    radial-gradient(circle at 50% 52%, rgba(242, 85, 69, calc(0.05 + var(--story-progress) * 0.18)), transparent 34%),
    radial-gradient(circle at 58% 46%, rgba(55, 199, 178, calc(0.06 + var(--story-progress) * 0.2)), transparent 30%),
    linear-gradient(180deg, #050505, #080808);
}

.story-stage::after {
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 5px);
  opacity: 0.72;
}

.story-card-cloud {
  position: absolute;
  inset: 0;
  z-index: 1;
  perspective: 1200px;
  transform: scale(calc(1.06 - var(--story-pull) * 0.08));
  transition: transform 80ms linear;
}

.story-float-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(var(--card-w, 29vw), 430px);
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
  transform:
    translate3d(
      calc(-50% + var(--tx) * (1 - var(--story-pull))),
      calc(-50% + var(--ty) * (1 - var(--story-pull))),
      calc(var(--tz, 0px) * (1 - var(--story-pull)))
    )
    rotate(calc(var(--rot) * (1 - var(--story-pull))))
    rotateY(calc(var(--tilt) * (1 - var(--story-pull))))
    scale(calc(0.54 + var(--story-pull) * 0.56));
  opacity: calc(0.28 + var(--story-pull) * 0.72);
  transition: opacity 60ms linear, filter 60ms linear;
  filter: blur(calc(5px * (1 - var(--story-pull)))) saturate(1.06) contrast(1.06);
  z-index: var(--z, 1);
  will-change: transform, opacity, filter;
}

.story-float-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.05);
}

.card-one { --tx: -980px; --ty: -500px; --tz: -220px; --rot: -28deg; --tilt: 26deg; --z: 5; --card-w: 30vw; }
.card-two { --tx: 1040px; --ty: -470px; --tz: -160px; --rot: 25deg; --tilt: -25deg; --z: 4; --card-w: 28vw; }
.card-three { --tx: -1080px; --ty: 460px; --tz: -260px; --rot: 31deg; --tilt: 30deg; --z: 3; --card-w: 31vw; }
.card-four { --tx: 1100px; --ty: 520px; --tz: -240px; --rot: -32deg; --tilt: -28deg; --z: 6; --card-w: 30vw; }
.card-five { --tx: -210px; --ty: -780px; --tz: -320px; --rot: 17deg; --tilt: 16deg; --z: 7; --card-w: 27vw; }
.card-six { --tx: 260px; --ty: 790px; --tz: -310px; --rot: -19deg; --tilt: -17deg; --z: 8; --card-w: 29vw; }

.story-core-copy {
  position: relative;
  z-index: 3;
  width: min(920px, calc(100% - 36px));
  display: grid;
  justify-items: center;
  text-align: center;
  transform: translateY(calc(54px * (1 - var(--story-copy)))) scale(calc(0.96 + var(--story-copy) * 0.04));
  opacity: var(--story-copy);
}

.story-core-copy span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.story-core-copy h2 {
  max-width: 10ch;
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(54px, 9vw, 132px);
  line-height: 0.9;
  text-transform: uppercase;
}

.story-core-copy p {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.55;
}

.story-cta,
.impact-cta {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding: 0 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f25545, #f2b84b);
  color: #111;
  font-weight: 950;
  box-shadow: 0 24px 70px rgba(242, 85, 69, 0.28);
}

.impact-video-section {
  min-height: 120svh;
  display: grid;
  place-items: center;
  padding: 10vh 32px;
  background: linear-gradient(180deg, #050505 0 8%, #f4f5f7 8% 82%, #080808 82% 100%);
}

.impact-video-card {
  position: relative;
  width: min(1280px, 100%);
  min-height: min(68vh, 720px);
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.62)),
    url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=2200&q=88");
  background-position: center;
  background-size: cover;
  box-shadow: 0 44px 130px rgba(0, 0, 0, 0.34);
}

.impact-video-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 42%, rgba(242,184,75,0.22), transparent 28%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.032) 0 1px, transparent 1px 5px);
}

.impact-cta {
  position: absolute;
  top: 20%;
  left: 10%;
  z-index: 3;
  margin: 0;
  background: linear-gradient(135deg, #fff8e1, #ff49a5);
}

.popcorn-burst {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.popcorn-burst span {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 24px;
  height: 18px;
  border-radius: 50% 50% 46% 46%;
  background: #f7df9d;
  box-shadow: inset -5px -3px 0 rgba(134, 87, 22, 0.28), 0 0 18px rgba(255, 255, 255, 0.24);
  animation: popcornFly 3.2s ease-in-out infinite;
}

.popcorn-burst span:nth-child(2) { --x: -220px; --y: -180px; animation-delay: 0.1s; }
.popcorn-burst span:nth-child(3) { --x: 190px; --y: -220px; animation-delay: 0.2s; }
.popcorn-burst span:nth-child(4) { --x: -90px; --y: -260px; animation-delay: 0.35s; }
.popcorn-burst span:nth-child(5) { --x: 280px; --y: -60px; animation-delay: 0.45s; }
.popcorn-burst span:nth-child(6) { --x: -300px; --y: 40px; animation-delay: 0.55s; }
.popcorn-burst span:nth-child(7) { --x: 80px; --y: 160px; animation-delay: 0.7s; }
.popcorn-burst span:nth-child(8) { --x: -160px; --y: 190px; animation-delay: 0.82s; }
.popcorn-burst span:nth-child(9) { --x: 340px; --y: 120px; animation-delay: 0.94s; }
.popcorn-burst span:nth-child(10) { --x: -360px; --y: -80px; animation-delay: 1.05s; }
.popcorn-burst span:first-child { --x: 0px; --y: -140px; }

.partner-strip {
  display: grid;
  gap: 34px;
  padding: 92px 34px;
  background: #050505;
  text-align: center;
}

.partner-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.1;
}

.partner-strip div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 5vw, 74px);
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 950;
}

.inspector-rail-button {
  position: fixed;
  top: 94px;
  right: 12px;
  z-index: 38;
  min-height: 48px;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(217, 184, 109, 0.42);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(217, 184, 109, 0.18), transparent),
    rgba(12, 12, 12, 0.88);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.studio-body.is-inspector-collapsed .inspector-rail-button {
  display: inline-flex;
}

.studio-body.is-inspector-highlight .builder-panel {
  box-shadow:
    -18px 0 34px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(217, 184, 109, 0.3),
    0 0 56px rgba(217, 184, 109, 0.22);
}

.prompt-help-button,
.brand-memory-button {
  width: 100%;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 9px;
  border: 1px solid rgba(217, 184, 109, 0.22);
  border-radius: 10px;
  background: rgba(217, 184, 109, 0.08);
  color: var(--ink);
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
}

.brand-memory-button {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.input-route-map {
  width: min(680px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.25fr;
  align-items: center;
  gap: 10px;
  margin: 2px auto 0;
  opacity: 0.76;
}

.input-route-map > div {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 900;
}

.input-route-map > svg {
  color: var(--gold);
  opacity: 0.7;
}

.input-route-map .is-active {
  border-color: rgba(55, 199, 178, 0.42);
  background: rgba(55, 199, 178, 0.1);
  color: #fff;
}

.input-route-map .is-destination {
  border-color: rgba(217, 184, 109, 0.34);
  background: rgba(217, 184, 109, 0.1);
  color: #fff;
}

.modal-cost-row {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid rgba(217, 184, 109, 0.22);
  border-radius: 12px;
  background: rgba(217, 184, 109, 0.08);
}

.modal-cost-row span {
  color: var(--muted);
  font-weight: 900;
}

.modal-cost-row strong {
  color: #fff;
  font-size: 20px;
}

.modal-action-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.brand-memory-modal-card {
  width: min(720px, 100%);
}

.saved-reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.saved-reference-card {
  min-height: 126px;
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(180deg, transparent 10%, rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 78% 18%, rgba(55, 199, 178, 0.24), transparent 28%),
    rgba(255, 255, 255, 0.06);
  color: #fff;
  text-align: left;
}

.saved-reference-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
}

.saved-reference-card strong {
  font-size: 17px;
}

.saved-reference-card small {
  color: var(--muted);
  font-weight: 800;
}

.pricing-glow-button {
  min-height: 64px;
  width: min(380px, 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  border: 1px solid rgba(242, 184, 75, 0.72);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(242, 85, 69, 0.92), rgba(242, 184, 75, 0.96));
  color: #111;
  font-size: 18px;
  font-weight: 950;
  box-shadow: 0 0 0 5px rgba(242, 184, 75, 0.08), 0 24px 70px rgba(242, 85, 69, 0.3);
  animation: glowPulse 2.4s ease-in-out infinite;
}

.outsourcing-promise-card {
  align-self: center;
  max-width: 520px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent),
    rgba(0, 0, 0, 0.46);
  color: #fff;
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.38);
}

.outsourcing-promise-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.outsourcing-promise-card h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 0.95;
}

.outsourcing-promise-card p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.55;
}

.request-category-fieldset {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.request-category-fieldset legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.request-category-fieldset label {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  font-weight: 900;
}

.request-category-fieldset input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

@keyframes homeReelIntro {
  from {
    opacity: 0;
    transform: translateY(46px) scale(0.98);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes popcornFly {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }
  24% {
    opacity: 1;
  }
  72% {
    opacity: 0.82;
    transform: translate(calc(-50% + var(--x, 120px)), calc(-50% + var(--y, -160px))) scale(1.08) rotate(180deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x, 120px)), calc(-50% + var(--y, -160px))) scale(0.7) rotate(260deg);
  }
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 0 5px rgba(242, 184, 75, 0.08), 0 24px 70px rgba(242, 85, 69, 0.3);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(242, 184, 75, 0.16), 0 28px 90px rgba(242, 85, 69, 0.42);
  }
}

@media (max-width: 1180px) {
  .site-header,
  .studio-topbar {
    grid-template-columns: 210px minmax(0, 1fr) auto;
  }

  .auth-link-button {
    display: none;
  }

  .home-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 920px) {
  .site-header,
  .studio-topbar {
    min-height: 72px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 10px 12px;
  }

  .site-nav {
    display: none;
  }

  .header-pricing-pill {
    display: none;
  }

  .auth-signup-button {
    min-height: 38px;
    padding: 0 13px;
    font-size: 13px;
  }

  .language-control {
    width: 48px;
    min-height: 38px;
  }

  .home-hero {
    min-height: auto;
    padding-top: 84px;
  }

  .story-cinema-section {
    min-height: 220vh;
  }

  .story-float-card {
    width: min(62vw, 310px);
  }

  .card-one { --tx: -48vw; --ty: -42vh; --rot: -18deg; }
  .card-two { --tx: 52vw; --ty: -38vh; --rot: 17deg; }
  .card-three { --tx: -55vw; --ty: 34vh; --rot: 20deg; }
  .card-four { --tx: 56vw; --ty: 38vh; --rot: -20deg; }
  .card-five { --tx: -10vw; --ty: -58vh; --rot: 10deg; }
  .card-six { --tx: 14vw; --ty: 56vh; --rot: -12deg; }

  .story-core-copy h2 {
    font-size: clamp(44px, 15vw, 82px);
  }

  .impact-video-section {
    min-height: 92svh;
    padding: 8vh 16px 16vh;
  }

  .impact-video-card {
    min-height: 58vh;
    border-radius: 20px;
  }

  .partner-strip {
    padding: 70px 18px 110px;
  }

  .input-route-map {
    grid-template-columns: 1fr;
  }

  .input-route-map > svg {
    transform: rotate(90deg);
    justify-self: center;
  }

  .saved-reference-grid,
  .request-category-fieldset {
    grid-template-columns: 1fr;
  }

  .outsourcing-promise-card {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .header-actions,
  .topbar-actions {
    gap: 6px;
  }

  .auth-signup-button {
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .auth-link-button {
    display: none;
  }

  .home-reel {
    min-height: 460px;
  }

  .hero-copy {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    justify-content: stretch;
  }

  .hero-actions .primary-action {
    width: 100%;
  }

  .modal-action-row {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Final language picker polish: keep the native select hit area, show a compact premium flag display. */
.language-control {
  width: auto;
  min-width: 86px;
  min-height: 42px;
  gap: 7px;
  padding: 0 11px;
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035)),
    rgba(10, 10, 10, 0.68);
  color: #f8f3ea;
  overflow: visible;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 16px 30px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.language-control:hover,
.language-control:focus-within {
  border-color: rgba(217, 184, 109, 0.54);
  background:
    linear-gradient(180deg, rgba(217, 184, 109, 0.15), rgba(255, 255, 255, 0.045)),
    rgba(10, 10, 10, 0.76);
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    0 18px 38px rgba(0, 0, 0, 0.3),
    0 0 0 3px rgba(217, 184, 109, 0.08);
}

.language-control > svg:first-child {
  width: 17px;
  height: 17px;
  color: rgba(248, 243, 234, 0.72);
}

.language-control > svg:last-child {
  width: 12px;
  height: 12px;
  margin-left: 0;
  color: rgba(248, 243, 234, 0.78);
}

.language-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 38px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  pointer-events: none;
}

.language-flag {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 16px;
  line-height: 1;
}

.language-code {
  color: #f8f3ea;
  font-size: 12px;
}

.language-control .language-select {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  opacity: 0;
  cursor: pointer;
}

@media (max-width: 920px) {
  .language-control {
    min-width: 58px;
    width: 58px;
    gap: 4px;
    padding: 0 8px;
  }

  .language-control > svg:first-child,
  .language-code {
    display: none;
  }

  .language-current {
    min-width: 0;
  }
}

/* Pricing: plan cards first, compact copy, launch discount emphasis. */
.pricing-firstview {
  min-height: clamp(760px, 100svh, 900px);
  grid-template-columns: minmax(240px, 0.34fr) minmax(760px, 1.26fr);
  grid-template-rows: auto 1fr;
  gap: clamp(18px, 2vw, 34px);
  align-items: center;
  padding: 104px clamp(20px, 2.5vw, 40px) 42px;
}

.pricing-firstview::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.42) 44%, rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 6px);
}

.pricing-firstview .pricing-offer-banner {
  width: min(1280px, 100%);
  padding: 10px 12px;
  border-color: rgba(217, 184, 109, 0.42);
  border-radius: 14px;
  background:
    linear-gradient(100deg, rgba(242, 85, 69, 0.24), rgba(217, 184, 109, 0.14), rgba(55, 199, 178, 0.06)),
    rgba(7, 7, 7, 0.62);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
}

.pricing-offer-banner .pricing-discount-pill,
.pricing-offer-banner a {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
}

.pricing-offer-banner .pricing-discount-pill {
  background: rgba(242, 85, 69, 0.2);
  color: #fff7df;
}

.pricing-offer-banner strong {
  font-size: 14px;
}

.pricing-copy-block {
  align-self: center;
  max-width: 390px;
}

.pricing-firstview .pricing-copy-block h1 {
  max-width: 9ch;
  margin-top: 10px;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 0.98;
}

.pricing-firstview .pricing-copy-block p:not(.eyebrow) {
  max-width: 360px;
  margin-top: 14px;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.45;
}

.pricing-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pricing-facts span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
}

.pricing-firstview .pricing-controls {
  margin-top: 18px;
}

.pricing-firstview .pricing-controls button,
.pricing-firstview .pricing-controls span {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
}

.pricing-firstview .token-plans {
  align-self: center;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: clamp(12px, 1.3vw, 18px);
}

.pricing-firstview .token-plan {
  min-height: 430px;
  padding: clamp(18px, 1.7vw, 26px);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.02)),
    rgba(8, 8, 8, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 70px rgba(0, 0, 0, 0.32);
}

.pricing-firstview .token-plan.featured {
  border-color: rgba(217, 184, 109, 0.62);
  background:
    linear-gradient(180deg, rgba(217, 184, 109, 0.22), rgba(217, 184, 109, 0.035)),
    rgba(22, 20, 13, 0.8);
  transform: translateY(-8px);
}

.pricing-firstview .token-plan:nth-child(3) {
  border-color: rgba(255, 79, 145, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 79, 145, 0.14), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.72);
}

.token-plan-topline {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.token-plan-topline .plan-name {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.pricing-firstview .token-plan h2 {
  margin-top: 16px;
  font-size: clamp(26px, 2.5vw, 40px);
  line-height: 1.02;
}

.plan-price {
  display: grid;
  gap: 5px;
  margin-top: 18px;
}

.pricing-firstview .plan-price strong {
  margin: 0;
  font-size: clamp(40px, 3.7vw, 58px);
}

.token-plan .old-price {
  color: #ff0a63;
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 950;
  line-height: 1;
  text-decoration: line-through;
  text-decoration-thickness: 3px;
}

.pricing-firstview .token-plan p {
  min-height: 64px;
  margin-top: 16px;
  font-size: 15px;
}

.pricing-firstview .token-plan small {
  margin-top: 8px;
  font-size: 12px;
}

.pricing-firstview .token-plan .full-width {
  min-height: 44px;
  border-radius: 10px;
}

/* Home scroll film: references converge into a theater screen, then into a phone scene. */
.story-cinema-section {
  --story-screen: 0;
  --story-play: 0;
  --story-zoom: 0;
  --story-phone: 0;
  --story-walk: 0;
  min-height: 430vh;
}

.story-cinema-section .story-stage {
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
}

.story-cinema-section.is-story-active .story-stage {
  position: fixed;
  inset: 0;
}

.story-cinema-section.is-story-complete .story-stage {
  position: absolute;
  inset: auto 0 0;
}

.story-card-cloud {
  opacity: calc(1 - var(--story-screen) * 0.72);
  transform: scale(calc(1.12 - var(--story-pull) * 0.16 + var(--story-screen) * 0.08));
}

.story-core-copy {
  z-index: 4;
  transform:
    translateY(calc(54px * (1 - var(--story-copy)) - 32px * var(--story-screen)))
    scale(calc(0.96 + var(--story-copy) * 0.04 - var(--story-screen) * 0.08));
  opacity: calc(var(--story-copy) * (1 - var(--story-screen) * 0.92));
}

.story-theater {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(1180px, 86vw);
  aspect-ratio: 16 / 9;
  opacity: calc(var(--story-screen) * (1 - var(--story-phone) * 0.84));
  transform:
    translate3d(
      calc(-50% - 18vw * var(--story-phone)),
      calc(-50% + 5vh * var(--story-phone)),
      0
    )
    scale(calc(0.54 + var(--story-screen) * 0.34 + var(--story-zoom) * 0.34 - var(--story-phone) * 0.7));
  transform-origin: center;
  filter: drop-shadow(0 46px 120px rgba(0, 0, 0, 0.72));
  pointer-events: none;
  will-change: transform, opacity;
}

.theater-frame {
  position: absolute;
  inset: 0;
  padding: clamp(14px, 1.5vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: calc(30px - var(--story-zoom) * 14px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 22%),
    #050505;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 -24px 60px rgba(0, 0, 0, 0.7),
    0 0 90px rgba(55, 199, 178, calc(var(--story-play) * 0.24));
}

.theater-rig {
  position: absolute;
  left: 50%;
  top: -10%;
  width: 58%;
  height: 22%;
  transform: translateX(-50%);
  opacity: calc(var(--story-screen) * (1 - var(--story-zoom) * 0.65));
}

.theater-rig span {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.42), transparent);
}

.theater-rig span:nth-child(1) { left: 9%; }
.theater-rig span:nth-child(2) { left: 50%; }
.theater-rig span:nth-child(3) { right: 9%; }

.theater-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(20px - var(--story-zoom) * 8px);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, calc(var(--story-play) * 0.12)), transparent 25%),
    linear-gradient(180deg, #101010, #020202);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.theater-screen::before,
.theater-screen::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.theater-screen::before {
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.26), transparent 26%, transparent 74%, rgba(0,0,0,0.28)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.032) 0 1px, transparent 1px 5px);
}

.theater-screen::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 20%;
  z-index: 3;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
}

.ad-video-simulation {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: 7% 8%;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(0,0,0,0.86) 0 34%, rgba(242,85,69,0.26) 34% 56%, rgba(55,199,178,0.24) 56% 100%),
    url("https://images.unsplash.com/photo-1607082349566-187342175e2f?auto=format&fit=crop&w=1800&q=88");
  background-position: center;
  background-size: cover;
  opacity: calc(0.24 + var(--story-play) * 0.76);
  filter: saturate(calc(0.7 + var(--story-play) * 0.55)) contrast(calc(0.86 + var(--story-play) * 0.22));
}

.ad-video-simulation > * {
  position: relative;
  z-index: 4;
}

.ad-preview-kicker {
  width: max-content;
  color: var(--gold);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 950;
  letter-spacing: 0;
}

.ad-video-simulation strong {
  max-width: 7ch;
  margin-top: 8px;
  font-size: clamp(44px, 7vw, 112px);
  line-height: 0.9;
  text-transform: uppercase;
}

.ad-video-simulation p {
  max-width: 420px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(14px, 1.5vw, 19px);
  line-height: 1.45;
}

.ad-phone-card {
  position: absolute;
  right: 8%;
  top: 18%;
  width: min(28%, 260px);
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2), transparent 34%),
    linear-gradient(135deg, #111, #40221d 52%, #e8584f);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.42);
  transform: translateY(calc(24px * (1 - var(--story-play)))) rotate(-5deg);
}

.ad-sale-tags i {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 38px;
  border-radius: 4px;
  background: #f25545;
  color: #fff;
  font-size: 22px;
  font-style: normal;
  font-weight: 950;
  box-shadow: 0 10px 26px rgba(0,0,0,0.36);
  opacity: var(--story-play);
  animation: saleTagDrift 2.8s ease-in-out infinite;
}

.ad-sale-tags i:nth-child(1) { left: 46%; top: 29%; transform: rotate(-18deg); animation-delay: 0s; }
.ad-sale-tags i:nth-child(2) { left: 58%; top: 24%; transform: rotate(12deg); animation-delay: 0.15s; }
.ad-sale-tags i:nth-child(3) { left: 67%; top: 43%; transform: rotate(-10deg); animation-delay: 0.3s; }
.ad-sale-tags i:nth-child(4) { left: 51%; top: 56%; transform: rotate(16deg); animation-delay: 0.45s; }
.ad-sale-tags i:nth-child(5) { left: 75%; top: 59%; transform: rotate(10deg); animation-delay: 0.6s; }

.ad-timeline {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 8%;
  z-index: 6;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  opacity: var(--story-play);
}

.ad-timeline span {
  display: block;
  height: 100%;
  width: 46%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f25545, #f2b84b);
  animation: adTimelineRun 3.6s linear infinite;
}

.story-mobile-shot {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: min(1180px, 88vw);
  aspect-ratio: 16 / 9;
  opacity: var(--story-phone);
  transform:
    translate3d(-50%, calc(-50% + 54px * (1 - var(--story-phone)) - 38px * var(--story-walk)), 0)
    scale(calc(0.78 + var(--story-phone) * 0.22));
  pointer-events: none;
}

.walk-video-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: #080808;
  box-shadow: 0 44px 130px rgba(0, 0, 0, 0.58);
}

.walk-video-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.55), rgba(0,0,0,0.12), rgba(0,0,0,0.68)),
    url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1900&q=86");
  background-position: center;
  background-size: cover;
  transform: scale(calc(1.08 + var(--story-walk) * 0.06)) translateX(calc(-34px * var(--story-walk)));
  filter: saturate(0.95) contrast(1.05);
}

.walking-user {
  position: absolute;
  left: calc(50% - 90px + 140px * var(--story-walk));
  bottom: 11%;
  width: 118px;
  height: 260px;
  transform: scale(calc(0.88 + var(--story-walk) * 0.08));
  filter: drop-shadow(0 28px 28px rgba(0,0,0,0.42));
}

.walking-user::before {
  position: absolute;
  left: 41px;
  top: 0;
  width: 48px;
  height: 48px;
  content: "";
  border-radius: 50%;
  background: #f0d0b1;
}

.walking-user::after {
  position: absolute;
  left: 28px;
  top: 48px;
  width: 72px;
  height: 116px;
  content: "";
  border-radius: 30px 30px 14px 14px;
  background: linear-gradient(180deg, #141414, #323232);
}

.walking-user span {
  position: absolute;
  left: 22px;
  bottom: 0;
  width: 88px;
  height: 110px;
}

.walking-user span::before,
.walking-user span::after {
  position: absolute;
  top: 0;
  width: 24px;
  height: 110px;
  content: "";
  border-radius: 999px;
  background: #171717;
  transform-origin: top;
  animation: walkLeg 0.8s ease-in-out infinite;
}

.walking-user span::before { left: 12px; }
.walking-user span::after { right: 12px; animation-delay: 0.4s; }

.phone-device {
  position: absolute;
  right: clamp(44px, 8vw, 120px);
  bottom: 9%;
  width: min(210px, 22vw);
  aspect-ratio: 9 / 18;
  padding: 10px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2), transparent 28%),
    #080808;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.13),
    0 30px 90px rgba(0,0,0,0.48);
  transform:
    translate3d(calc(-34vw * (1 - var(--story-phone))), calc(-10vh * (1 - var(--story-phone))), 0)
    scale(calc(0.62 + var(--story-phone) * 0.38));
}

.phone-speaker {
  position: absolute;
  left: 50%;
  top: 14px;
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  transform: translateX(-50%);
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.16), rgba(0,0,0,0.72)),
    url("https://images.unsplash.com/photo-1607082349566-187342175e2f?auto=format&fit=crop&w=900&q=86");
  background-position: center;
  background-size: cover;
}

.phone-ad-preview {
  height: 100%;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.72));
}

.phone-ad-preview span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
}

.phone-ad-preview strong {
  max-width: 7ch;
  font-size: 25px;
  line-height: 0.96;
}

.phone-ad-preview i {
  width: 52%;
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f25545, #f2b84b);
}

@keyframes saleTagDrift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes adTimelineRun {
  from { transform: translateX(-110%); }
  to { transform: translateX(230%); }
}

@keyframes walkLeg {
  0%, 100% { transform: rotate(9deg); }
  50% { transform: rotate(-11deg); }
}

@media (max-width: 1180px) {
  .pricing-firstview {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 92px;
  }

  .pricing-copy-block {
    max-width: 720px;
  }

  .pricing-firstview .pricing-copy-block h1 {
    max-width: none;
  }

  .pricing-firstview .token-plans {
    grid-template-columns: repeat(3, minmax(210px, 1fr));
  }
}

@media (max-width: 920px) {
  .pricing-firstview {
    padding: 84px 16px 28px;
  }

  .pricing-firstview .pricing-offer-banner {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pricing-firstview .token-plans {
    grid-template-columns: 1fr;
  }

  .pricing-firstview .token-plan.featured {
    transform: none;
  }

  .story-cinema-section {
    min-height: 360vh;
  }

  .story-theater,
  .story-mobile-shot {
    width: 94vw;
  }

  .ad-video-simulation strong {
    font-size: clamp(38px, 13vw, 74px);
  }

  .ad-sale-tags i {
    width: 64px;
    height: 28px;
    font-size: 15px;
  }

  .phone-device {
    right: 22px;
    width: min(150px, 34vw);
  }

  .walking-user {
    left: calc(38% - 74px + 90px * var(--story-walk));
    width: 86px;
    height: 210px;
  }
}

/* Last-mile visual lock: production dock, logo, and home proof strip */
.brand-logo-icon img {
  transform: scale(1.2);
  transform-origin: center;
}

.material-panel {
  gap: 8px;
  padding: 12px;
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 22%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 42%),
    rgba(8, 8, 8, 0.94);
}

.workspace {
  grid-template-columns: minmax(310px, 340px) minmax(520px, 1fr) minmax(370px, 440px);
}

.studio-body.is-inspector-collapsed .workspace {
  grid-template-columns: minmax(310px, 340px) minmax(520px, 1fr) 0;
}

.material-panel .dock-title {
  min-height: 38px;
  padding-bottom: 8px;
}

.material-panel .creator-mode-tabs {
  display: grid !important;
  flex: 0 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 40px;
  margin: 0;
  overflow: hidden;
  visibility: visible;
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px 18px 0 0;
  background: rgba(255, 255, 255, 0.04);
}

.material-panel .creator-mode-tabs button {
  min-width: 0;
  min-height: 40px;
  padding: 0 5px;
  color: rgba(248, 243, 234, 0.62);
  font-size: clamp(11px, 0.72vw, 13px);
  line-height: 1.05;
  text-align: center;
  white-space: normal;
}

.material-panel .creator-mode-tabs button.is-active {
  color: #fff;
  border-bottom-color: #fff;
}

.material-panel .model-preview-card {
  min-height: 88px;
  padding: 12px;
  border-radius: 0 0 18px 18px;
}

.material-panel .model-preview-card strong {
  font-size: clamp(20px, 1.5vw, 28px);
}

.material-panel .model-preview-card span {
  margin-top: 2px;
  font-size: 13px;
}

.material-panel .model-change-button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.material-panel .panel-section {
  padding: 10px;
  border-radius: 15px;
}

.material-panel .section-heading {
  margin-bottom: 8px;
}

.material-panel .section-heading p,
.material-panel .section-heading span {
  line-height: 1.05;
}

.material-panel .media-upload-card .dropzone {
  min-height: 76px;
  border-radius: 15px;
}

.material-panel .media-upload-card .dropzone strong {
  font-size: clamp(15px, 1vw, 18px);
}

.material-panel .media-upload-card .dropzone span {
  font-size: 12px;
}

.material-panel .asset-list {
  margin-top: 6px;
}

.material-panel .empty-state {
  font-size: 11px;
  line-height: 1.2;
}

.material-panel .manual-prompt-card textarea {
  min-height: 58px;
  max-height: 58px;
  padding: 14px;
  font-size: 13px;
  line-height: 1.34;
}

.material-panel .prompt-help-button {
  min-height: 36px;
  margin-top: 8px;
  padding: 0 12px;
  font-size: 12px;
}

.material-panel .render-settings-card {
  display: flex;
  flex-direction: column;
  box-shadow:
    0 0 0 1px rgba(217, 184, 109, 0.13),
    0 16px 34px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.material-panel #leftRenderSettingsSlot {
  order: 2;
  gap: 8px;
}

.material-panel .duration-control {
  padding: 10px;
  border-radius: 14px;
}

.material-panel .duration-head {
  margin-bottom: 6px;
}

.material-panel .duration-head strong {
  min-width: 46px;
  min-height: 28px;
  font-size: 16px;
}

.material-panel .duration-control input[type="range"] {
  height: 22px;
}

.material-panel .duration-presets {
  gap: 6px;
  margin-top: 8px;
}

.material-panel .duration-presets button {
  min-height: 32px;
  border-radius: 11px;
  font-size: 13px;
}

.material-panel .duration-range-labels {
  margin-top: 5px;
  font-size: 12px;
}

.material-panel .duration-price {
  min-height: 42px;
  padding: 7px 9px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(76px, 0.7fr) minmax(0, 1fr);
  gap: 8px;
}

.material-panel .duration-price span {
  font-size: 12px;
}

.material-panel .duration-price strong {
  font-size: 16px;
  min-width: 0;
  line-height: 1.05;
}

.material-panel .duration-price em {
  min-width: 0;
  padding: 7px 9px;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  white-space: nowrap;
}

.material-panel .duration-control > p,
.material-panel .duration-control > small {
  display: none;
}

.material-panel .choice-section {
  padding: 10px;
  border-radius: 14px;
}

.material-panel .choice-card-grid {
  gap: 6px;
}

.material-panel .choice-card {
  min-height: 36px;
  padding: 7px;
  border-radius: 11px;
}

.material-panel .choice-card svg {
  width: 16px;
  height: 16px;
}

.material-panel .choice-card strong {
  font-size: clamp(10px, 0.68vw, 12px);
}

.material-panel .choice-card span {
  display: none;
}

.side-spec-grid {
  order: 1;
  gap: 6px;
  margin-top: 0;
  margin-bottom: 8px;
}

.side-spec-grid button {
  min-height: 38px;
  padding: 0 6px;
  border-radius: 12px;
  font-size: clamp(9px, 0.66vw, 12px);
}

.side-spec-grid svg {
  width: 15px;
  height: 15px;
}

.side-generate-button {
  order: 3;
  min-height: 48px;
  margin-top: 8px;
  border-radius: 15px;
  font-size: clamp(16px, 1.1vw, 20px);
}

.material-panel .compact-panel {
  display: none;
}

@media (max-width: 1240px) {
  .workspace,
  .studio-body.is-inspector-collapsed .workspace {
    grid-template-columns: minmax(290px, 320px) minmax(500px, 1fr) 0;
  }
}

.agency-strip {
  position: relative;
  max-width: min(1480px, calc(100% - 48px));
  margin: -4px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(242, 85, 69, 0.18), rgba(217, 184, 109, 0.04) 50%, rgba(55, 199, 178, 0.16)),
    #080808;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(217, 184, 109, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.agency-strip::before,
.agency-strip::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.agency-strip::before {
  background:
    radial-gradient(circle at 9% 0%, rgba(242, 85, 69, 0.32), transparent 34%),
    radial-gradient(circle at 88% 100%, rgba(55, 199, 178, 0.24), transparent 32%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 6px);
}

.agency-strip::after {
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 16px;
}

.agency-strip div {
  position: relative;
  z-index: 1;
  min-height: 132px;
  padding: 22px 24px;
  border-right-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 56%),
    rgba(0, 0, 0, 0.13);
}

.agency-strip div:last-child {
  border-right: 0;
}

.agency-strip div::after {
  display: none;
}

.agency-strip span {
  letter-spacing: 0;
}

.agency-strip strong {
  margin-top: 14px;
  font-size: clamp(21px, 1.85vw, 30px);
  line-height: 1.06;
}

.agency-strip p {
  max-width: 420px;
  margin-top: 9px;
  color: rgba(248, 243, 234, 0.7);
  font-size: clamp(13px, 0.9vw, 16px);
  line-height: 1.4;
}

/* Final homepage CTA merge */
.reel-under-cta {
  display: none !important;
}

.home-hero .unified-hero-cta {
  position: relative;
  grid-column: 2;
  width: min(100%, 1260px);
  margin: clamp(4px, 0.8vw, 12px) auto 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(170px, 0.65fr) minmax(500px, 1.2fr) minmax(140px, 0.5fr);
  align-items: center;
  justify-items: stretch;
  gap: clamp(12px, 1.4vw, 20px);
  padding: clamp(18px, 2.1vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 0%, rgba(242, 85, 69, 0.36), transparent 35%),
    radial-gradient(circle at 80% 108%, rgba(255, 31, 183, 0.22), transparent 36%),
    linear-gradient(105deg, rgba(242, 85, 69, 0.18), rgba(0, 0, 0, 0.78) 46%, rgba(55, 199, 178, 0.12)),
    rgba(4, 4, 4, 0.9);
  box-shadow:
    0 36px 110px rgba(0, 0, 0, 0.54),
    0 0 0 1px rgba(217, 184, 109, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(20px);
}

.home-hero .unified-hero-cta::before,
.home-hero .unified-hero-cta::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.home-hero .unified-hero-cta::before {
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent) 0 18% / 100% 1px no-repeat,
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 7px);
  opacity: 0.85;
}

.home-hero .unified-hero-cta::after {
  width: 280px;
  height: 280px;
  right: 6%;
  bottom: -150px;
  border-radius: 999px;
  background: rgba(255, 31, 183, 0.2);
  filter: blur(66px);
}

.unified-hero-cta .hero-copy-text,
.hero-mega-cta,
.hero-handoff-link {
  position: relative;
  z-index: 1;
}

.unified-hero-cta .hero-copy-text {
  width: 100%;
  min-width: 0;
  justify-self: start;
  text-align: left;
}

.unified-hero-cta .eyebrow {
  justify-content: flex-start;
}

.unified-hero-cta h1 {
  margin-top: 4px;
  font-size: clamp(44px, 4.8vw, 78px);
  letter-spacing: 0;
  text-shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
}

.unified-hero-cta p:not(.eyebrow) {
  max-width: 520px;
  margin: 10px 0 0;
  color: rgba(248, 243, 234, 0.78);
  font-size: clamp(16px, 1.25vw, 22px);
  line-height: 1.42;
}

.hero-mega-cta {
  isolation: isolate;
  min-height: clamp(76px, 7.2vw, 104px);
  width: 100%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.1vw, 16px);
  padding: 0 clamp(18px, 2vw, 34px);
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: 32px;
  background:
    linear-gradient(135deg, #ff27d5 0%, #ff1db7 47%, #ff43a7 100%);
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 28px 78px rgba(255, 31, 183, 0.42),
    0 0 0 6px rgba(255, 255, 255, 0.08),
    0 9px 0 rgba(255, 255, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -24px 42px rgba(126, 0, 84, 0.2);
  transform: translateZ(0);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.hero-mega-cta::before {
  position: absolute;
  inset: -80% auto -80% -42%;
  z-index: -1;
  width: 38%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  filter: blur(10px);
  opacity: 0.85;
  transform: rotate(19deg);
  animation: ctaSheen 3.2s ease-in-out infinite;
}

.hero-mega-cta::after {
  position: absolute;
  inset: 6px;
  z-index: -1;
  content: "";
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 42%),
    radial-gradient(circle at 25% 0%, rgba(255, 255, 255, 0.26), transparent 34%);
  opacity: 0.72;
}

.hero-mega-cta:hover {
  filter: saturate(1.12) brightness(1.03);
  transform: translateY(-4px) scale(1.018);
  box-shadow:
    0 36px 92px rgba(255, 31, 183, 0.56),
    0 0 0 7px rgba(255, 255, 255, 0.11),
    0 10px 0 rgba(255, 255, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -24px 42px rgba(126, 0, 84, 0.18);
}

.hero-mega-cta:active {
  transform: translateY(1px) scale(0.995);
}

.hero-mega-cta strong,
.hero-mega-cta em {
  line-height: 1;
  white-space: nowrap;
}

.hero-mega-cta strong {
  flex: 0 1 auto;
  font-size: clamp(22px, 1.72vw, 32px);
  font-weight: 1000;
}

.hero-mega-cta em {
  flex: 0 1 auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.22vw, 22px);
  font-style: normal;
  font-weight: 760;
}

.hero-mega-cta svg {
  width: clamp(22px, 1.9vw, 30px);
  height: clamp(22px, 1.9vw, 30px);
  flex: 0 0 auto;
  stroke-width: 2.7;
}

.hero-handoff-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-height: 72px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(248, 243, 234, 0.7);
  text-align: center;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.hero-handoff-link span,
.hero-handoff-link strong {
  white-space: normal;
}

.hero-handoff-link span {
  font-size: clamp(11px, 0.72vw, 13px);
  font-weight: 850;
}

.hero-handoff-link strong {
  color: #fff;
  font-size: clamp(12px, 0.82vw, 14px);
  font-weight: 950;
}

.hero-handoff-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero-handoff-link:hover {
  border-color: rgba(242, 184, 75, 0.48);
  background: rgba(242, 184, 75, 0.08);
  color: #fff;
  transform: translateY(-1px);
}

@keyframes ctaSheen {
  0% {
    left: -48%;
  }
  42%,
  100% {
    left: 118%;
  }
}

@media (max-width: 980px) {
  .home-hero .unified-hero-cta {
    width: min(100%, calc(100vw - 32px));
    padding: 24px 18px;
  }

  .hero-handoff-link {
    flex-wrap: wrap;
    row-gap: 4px;
    padding-block: 10px;
  }
}

@media (max-width: 620px) {
  .home-hero .unified-hero-cta {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
  }

  .unified-hero-cta h1 {
    font-size: clamp(46px, 15vw, 76px);
  }

  .hero-mega-cta {
    width: 100%;
    min-width: 0;
    min-height: 68px;
    box-sizing: border-box;
    border-radius: 24px;
    gap: 8px;
    padding-inline: 16px;
  }

  .hero-mega-cta strong {
    font-size: clamp(20px, 5.6vw, 27px);
  }

  .hero-mega-cta em {
    display: none;
  }

  .hero-handoff-link span,
  .hero-handoff-link strong {
    white-space: normal;
  }
}
