/* ============================================================
   Design tokens — shared with the Studio dashboard
   (public/dashboard/studio-shared/shell.css)
   ============================================================ */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --sidebar: #0a2540;
  --sidebar-2: #0d2a45;
  --sidebar-hover: rgba(255, 255, 255, 0.07);
  --sidebar-text: #c1cbd7;

  --bg: #f6f9fc;
  --surface: #ffffff;
  --surface-2: #fafbfc;
  --border: #e6ebf1;
  --border-strong: #d8dee6;

  --text: #0a2540;
  --muted: #697386;
  --faint: #8792a2;

  --accent: #635bff;
  --accent-hover: #5851ea;
  --accent-soft: rgba(99, 91, 255, 0.1);
  --accent-ring: rgba(99, 91, 255, 0.35);

  --ok: #0d9488;
  --ok-soft: rgba(13, 148, 136, 0.12);
  --warn: #c27803;

  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 4px 12px rgba(16, 24, 40, 0.08), 0 1px 3px rgba(16, 24, 40, 0.04);
  --shadow-lg: 0 24px 64px -20px rgba(10, 37, 64, 0.35);

  --font: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Source Code Pro", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --display: "Unbounded", var(--font);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-size: 15.5px;
  line-height: 1.55;
}

img { max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--accent-soft); color: var(--text); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wrap { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }

/* ============================================================
   Shared header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; padding: 0;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
  display: block;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.site-header__inner {
  width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: -0.01em; color: var(--text); text-decoration: none;
}
.logo img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.logo:hover { text-decoration: none; opacity: 0.9; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a:not(.btn) {
  color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 600;
}
.site-nav a:not(.btn):hover { color: var(--text); text-decoration: none; }
.site-menu-btn {
  display: none; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: var(--radius); border: 1px solid var(--border); background: #fff; color: var(--text); cursor: pointer;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.6rem 1.1rem; border-radius: var(--radius); font-weight: 700; font-size: 0.9rem;
  border: 1px solid transparent; cursor: pointer; font-family: var(--font); text-decoration: none !important;
  background: var(--accent); color: #fff !important;
  box-shadow: 0 1px 1px rgba(16, 24, 40, 0.08);
  transition: background 140ms var(--ease-out), border-color 140ms var(--ease-out), box-shadow 140ms var(--ease-out), transform 120ms var(--ease-out), color 140ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn--ghost { background: #fff; color: var(--text) !important; border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent) !important; background: #fff; }
.btn--dark { background: var(--sidebar); color: #fff !important; }
.btn--dark:hover { background: #0d2f52; }
.btn-sm, .btn--sm { padding: 0.45rem 0.85rem; font-size: 0.82rem; }
.btn-lg, .btn--lg { padding: 0.8rem 1.4rem; font-size: 0.98rem; }
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ============================================================
   Shared footer
   ============================================================ */
.site-footer {
  padding: 2.5rem 0 3rem; margin-top: 3rem; border-top: 1px solid var(--border); border-bottom: none;
  display: block;
}
.site-footer__inner {
  width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.site-footer__nav a {
  color: var(--muted); font-size: 0.85rem; text-decoration: none; background: none; border: none; cursor: pointer; font-family: var(--font); padding: 0;
}
.site-footer__nav a:hover { color: var(--text); text-decoration: none; }
.site-footer__copy { margin: 0; width: 100%; font-size: 0.78rem; color: var(--faint); }

/* ============================================================
   Simple content pages — about / terms / privacy / 404 / payment result
   ============================================================ */
.page {
  max-width: 720px; margin: 0 auto; padding: 3rem 1.5rem;
}
.page h1 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 1.15; margin: 0 0 0.5rem;
}
.prose p, .prose li { color: var(--muted); }
.prose h2 { margin-top: 2rem; font-size: 1.1rem; color: var(--text); }
.prose time { color: var(--faint); font-size: 0.9rem; }
.prose code {
  font-family: var(--mono); font-size: 0.85em; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 4px; padding: 0.1em 0.4em;
}

/* ============================================================
   Cards — reused by pricing plans and the homepage studio demo
   ============================================================ */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.1rem; box-shadow: var(--shadow-sm);
}
.card__title {
  margin: 0 0 0.75rem; font-size: 0.82rem; font-weight: 700; color: var(--text);
  text-transform: uppercase; letter-spacing: 0.03em;
}

.pricing-grid, .plans-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem; margin-top: 2.5rem;
}
.pricing-grid .card, .plan {
  display: flex; flex-direction: column; gap: 1.1rem; padding: 1.6rem; position: relative;
}
.pricing-grid .card.is-featured, .plan--featured {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring), var(--shadow-md);
}
.plan__badge {
  position: absolute; top: -0.7rem; right: 1.4rem; font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em; color: #fff; background: var(--accent);
  padding: 0.28rem 0.6rem; border-radius: 999px;
}
.pricing-grid .card h2, .plan__name {
  margin: 0; font-size: 0.85rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.03em;
}
.plan__price { display: flex; align-items: baseline; gap: 0.3rem; }
.plan__price strong { font-family: var(--display); font-size: 2.1rem; font-weight: 700; letter-spacing: -0.02em; }
.plan__price span { color: var(--muted); font-size: 0.85rem; }
.plan__credits { margin: 0; font-size: 0.85rem; color: var(--muted); }
.pricing-grid .card ul, .plan__features {
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; flex: 1;
}
.pricing-grid .card li, .plan__features li {
  display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.85rem; color: var(--text);
}
.plan__features li svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--ok); }
.plan__features li.is-off { color: var(--faint); }
.plan__features li.is-off svg { color: var(--faint); }

/* ============================================================
   Homepage — hero + interactive studio demo
   ============================================================ */
.hero { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem); }
.hero__intro { width: min(680px, calc(100% - 2.5rem)); margin: 0 auto 2.25rem; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 700;
  color: var(--accent); background: var(--accent-soft); padding: 0.35rem 0.75rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  margin: 0 0 0.85rem; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.12; text-wrap: balance; color: var(--text);
}
.hero__lead { margin: 0 auto; max-width: 46ch; font-size: 1.08rem; line-height: 1.6; color: var(--muted); }

.studio-shell {
  width: min(1180px, calc(100% - 1.5rem)); margin-inline: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.shell-topbar {
  display: flex; align-items: center; gap: 0.9rem; padding: 0 1.1rem; height: 54px;
  background: var(--sidebar); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.12); flex-wrap: nowrap;
}
.shell-topbar__brand { display: flex; align-items: center; gap: 0.5rem; font-family: var(--display); font-weight: 700; font-size: 0.88rem; flex-shrink: 0; }
.shell-topbar__brand img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
.shell-topbar__spacer { flex: 1; }
.shell-project {
  display: flex; align-items: center; gap: 0.4rem; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; padding: 0.3rem 0.4rem 0.3rem 0.7rem;
}
.shell-project label { font-size: 0.68rem; color: #9fb0c4; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.shell-project input {
  background: none; border: none; color: #fff; font: inherit; font-weight: 700; font-size: 0.82rem;
  width: 108px; padding: 0.15rem 0.3rem; border-radius: 6px;
}
.shell-project input:focus-visible { outline: 1.5px solid rgba(255, 255, 255, 0.5); outline-offset: 0; }
.shell-credits {
  display: flex; align-items: center; gap: 0.35rem; font-family: var(--mono); font-size: 0.76rem; color: #d8e2ee;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); padding: 0.35rem 0.65rem; border-radius: 999px;
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.shell-credits__dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; flex-shrink: 0; }

.shell-body { display: flex; min-height: 580px; }
.shell-sidebar {
  width: 208px; flex-shrink: 0; background: var(--sidebar-2); color: var(--sidebar-text);
  padding: 1rem 0.65rem; display: flex; flex-direction: column; gap: 0.15rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.shell-nav-item {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.65rem; border-radius: 7px;
  font-size: 0.86rem; font-weight: 600; color: var(--sidebar-text); background: none; border: none;
  text-align: left; width: 100%; font-family: var(--font); text-decoration: none !important;
  transition: background 120ms var(--ease-out), color 120ms var(--ease-out);
}
.shell-nav-item svg { flex-shrink: 0; opacity: 0.85; }
.shell-nav-item:hover { background: var(--sidebar-hover); color: #fff; text-decoration: none; }
.shell-nav-item.is-active { color: #fff; background: rgba(99, 91, 255, 0.28); }
.shell-nav-item__lock { margin-left: auto; opacity: 0.6; flex-shrink: 0; }
.shell-sidebar__note {
  font-size: 0.74rem; line-height: 1.5; color: #8fa3ba; padding: 0.85rem 0.65rem 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 0.6rem;
}
.shell-mobile-nav { display: none; overflow-x: auto; gap: 0.4rem; padding: 0.7rem 0.85rem; background: var(--sidebar-2); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.shell-mobile-nav a, .shell-mobile-nav button {
  flex-shrink: 0; font-size: 0.78rem; font-weight: 700; color: var(--sidebar-text); background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; padding: 0.4rem 0.8rem; cursor: pointer; font-family: var(--font);
  text-decoration: none !important;
}
.shell-mobile-nav .is-active { background: var(--accent); color: #fff; border-color: var(--accent); }

.shell-content {
  flex: 1; min-width: 0; background: var(--bg); padding: 1.4rem; display: grid;
  grid-template-columns: 1.15fr 0.85fr; gap: 1.1rem; align-content: start;
}
.shell-content__head { grid-column: 1 / -1; margin-bottom: 0.1rem; }
.shell-content__head h2 { margin: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
.shell-content__head p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.88rem; }

.type-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.55rem; }
.type-tile {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem; padding: 0.75rem 0.4rem;
  border-radius: var(--radius); border: 1.5px solid var(--border); background: var(--surface-2);
  cursor: pointer; font-family: var(--font); color: var(--muted);
  transition: border-color 120ms var(--ease-out), background 120ms var(--ease-out), color 120ms var(--ease-out);
}
.type-tile svg { flex-shrink: 0; }
.type-tile span { font-size: 0.78rem; font-weight: 700; }
.type-tile:hover { border-color: var(--border-strong); }
.type-tile.is-on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

.field { margin-bottom: 0.85rem; }
.field:last-child { margin-bottom: 0; }
.field label { display: block; font-size: 0.72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.35rem; }
.field input[type="text"], .field textarea, .field select {
  width: 100%; font: inherit; font-size: 0.9rem; color: var(--text); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 0.55rem 0.7rem;
}
.field input[type="text"]:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring);
}
.field textarea { min-height: 4.4rem; line-height: 1.5; resize: vertical; }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pill {
  font-family: var(--font); font-size: 0.78rem; font-weight: 700; color: var(--muted); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 999px; padding: 0.35rem 0.75rem; cursor: pointer;
  transition: border-color 120ms var(--ease-out), background 120ms var(--ease-out), color 120ms var(--ease-out);
}
.pill.is-on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.field-row { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 0.85rem; }
.field-row .field { flex: 1; min-width: 140px; margin-bottom: 0; }

.generate-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.credit-cost { font-family: var(--mono); font-size: 0.78rem; color: var(--faint); }
.generate-status { display: none; align-items: center; gap: 0.45rem; font-size: 0.8rem; font-weight: 700; color: var(--accent); }
.generate-status.is-on { display: inline-flex; }
.spinner {
  width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--accent-ring);
  border-top-color: var(--accent); animation: spin 0.75s linear infinite; flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

.pipeline { list-style: none; margin: 0.9rem 0 0; padding: 0; display: none; flex-direction: column; gap: 0.4rem; }
.pipeline.is-on { display: flex; }
.pipeline li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.82rem; color: var(--faint); transition: color 160ms var(--ease-out); }
.pipeline li .step-dot {
  width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--border-strong); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 160ms var(--ease-out), background 160ms var(--ease-out);
}
.pipeline li.is-active .step-dot { border-color: var(--accent); }
.pipeline li.is-active { color: var(--text); }
.pipeline li.is-done .step-dot { background: var(--ok); border-color: var(--ok); }
.pipeline li.is-done { color: var(--muted); }
.pipeline li.is-active .step-dot::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse-dot 1s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

.preview-card { display: flex; flex-direction: column; gap: 0.85rem; }
.preview-frame-wrap { display: flex; justify-content: center; padding: 0.5rem 0; }
.preview-frame {
  position: relative; border-radius: 16px; background: #0d1b2e; overflow: hidden;
  box-shadow: 0 20px 40px -18px rgba(10, 37, 64, 0.45); border: 3px solid #16233a;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.preview-frame--reel { width: 148px; aspect-ratio: 9 / 16; }
.preview-frame--youtube { width: 100%; max-width: 320px; aspect-ratio: 16 / 9; }
.preview-frame--thumbnail { width: 100%; max-width: 320px; aspect-ratio: 16 / 9; }
.preview-frame--image { width: 220px; aspect-ratio: 4 / 5; }
.preview-frame__art { position: absolute; inset: 0; background: linear-gradient(155deg, #2a3f66, #0d1b2e 65%); transition: background 260ms var(--ease-out); }
.preview-frame__content { position: relative; padding: 0.85rem; display: flex; flex-direction: column; gap: 0.5rem; }
.preview-caption { font-size: 0.68rem; font-weight: 700; color: #fff; line-height: 1.35; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); }
.preview-frame--thumbnail .preview-caption, .preview-frame--image .preview-caption { font-size: 1.05rem; font-family: var(--display); }
.preview-wave { display: flex; align-items: flex-end; gap: 2px; height: 16px; opacity: 0.85; }
.preview-wave span { width: 2px; background: #a5b4fc; border-radius: 1px; }
.preview-tag {
  position: absolute; top: 0.6rem; left: 0.6rem; font-family: var(--mono); font-size: 0.62rem; color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.35); padding: 0.15rem 0.4rem; border-radius: 5px;
}
.preview-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.85);
  opacity: 0; transition: opacity 160ms var(--ease-out); pointer-events: none;
}
.preview-frame.has-result .preview-play { opacity: 1; }
.preview-empty { text-align: center; padding: 1.5rem 0.5rem; color: var(--faint); font-size: 0.82rem; }
.preview-empty svg { margin-bottom: 0.5rem; opacity: 0.6; }

.script-panel { display: none; flex-direction: column; gap: 0.6rem; }
.script-panel.is-on { display: flex; }
.script-panel textarea {
  width: 100%; min-height: 6.5rem; font-family: var(--mono); font-size: 0.78rem; line-height: 1.6;
  color: var(--text); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.65rem 0.75rem; resize: vertical;
}
.script-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ============================================================
   Homepage — lower sections
   ============================================================ */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section__head { max-width: 620px; margin: 0 auto 2.25rem; text-align: center; }
.section__head h2 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; font-size: clamp(1.7rem, 3.6vw, 2.3rem); text-wrap: balance; }
.section__head p { margin: 0.6rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }

.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step { padding: 1.35rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.step__num { display: inline-block; font-family: var(--mono); font-size: 0.78rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 0.2rem 0.5rem; border-radius: 6px; margin-bottom: 0.7rem; }
.step h3 { margin: 0 0 0.4rem; font-size: 1.02rem; font-weight: 700; }
.step p { margin: 0; font-size: 0.86rem; color: var(--muted); line-height: 1.55; }

.format-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.format-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.format-card__art { aspect-ratio: 4 / 3; display: flex; align-items: flex-end; padding: 0.9rem; }
.format-card__art span { font-family: var(--display); font-weight: 700; font-size: 0.82rem; color: #fff; }
.format-card__body { padding: 0.9rem 1rem 1.05rem; }
.format-card__body h3 { margin: 0 0 0.3rem; font-size: 0.96rem; font-weight: 700; }
.format-card__body p { margin: 0; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

.cta-band { background: var(--sidebar); padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.cta-band__inner { text-align: center; width: min(620px, calc(100% - 2.5rem)); margin-inline: auto; }
.cta-band h2 { margin: 0 0 0.7rem; font-family: var(--display); color: #fff; font-weight: 700; font-size: clamp(1.6rem, 3.8vw, 2.3rem); letter-spacing: -0.015em; }
.cta-band p { margin: 0 0 1.6rem; color: #b9c6d8; font-size: 1rem; }
.cta-band__secondary { display: inline-block; margin-top: 1rem; font-size: 0.9rem; color: #b9c6d8; }
.cta-band__secondary:hover { color: #fff; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .shell-sidebar { display: none; }
  .shell-mobile-nav { display: flex; }
  .format-grid, .steps-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .shell-content { grid-template-columns: 1fr; }
  .preview-frame--youtube, .preview-frame--thumbnail { max-width: 280px; }
}
@media (max-width: 640px) {
  .site-menu-btn { display: flex; }
  .site-nav {
    position: fixed; top: 60px; left: 0; right: 0; z-index: 199;
    flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.25rem; background: #fff;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
  }
  .site-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .site-nav a:not(.btn) { padding: 0.6rem 0; text-align: left; font-size: 1rem; }
  .type-tiles { grid-template-columns: repeat(2, 1fr); }
  .field-row { flex-direction: column; }
  .format-grid, .steps-row, .pricing-grid, .plans-grid { grid-template-columns: 1fr; }
  .shell-project label { display: none; }
  .shell-project input { width: 76px; }
}
