/* SatuCard Homepage — Warm Architectural Editorial Studio */
.preview-home {
  --hero-accent: #ea784e;
  --hero-hairline: var(--ui-edge);
  --home-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --stage-bg: #e8e1d6;
  --stage-ink: #352c27;
  --stage-border: rgba(53, 44, 39, 0.14);
  --heading-grad: linear-gradient(96deg, #17171d 0%, #4d4857 100%);
  --paper: var(--brand-bg);
  --surface: var(--brand-surface);
  --soft: var(--brand-soft);
  --ink: var(--brand-ink);
  --muted: var(--brand-muted);
  --line: var(--brand-line);
  position: relative;
  isolation: isolate;
  background: var(--brand-bg);
}

html[data-theme=dark] .preview-home {
  --stage-bg: #1e1b1a;
  --stage-ink: #f3eae0;
  --stage-border: rgba(255, 240, 224, 0.1);
  --heading-grad: linear-gradient(96deg, #ffffff 0%, #b5b1c2 100%);
}

.preview-home .container { width: min(1248px, calc(100% - 64px)); }
.preview-home .header-inner { min-height: 72px; }

/* 1. HERO — Single-Scene "Photo to Card" Studio Stage */
.product-ui.preview-home .mark-hero,
html[data-theme=dark] .product-ui.preview-home .mark-hero {
  position: relative;
  overflow-x: clip;
  background: transparent;
  border: 0;
  padding: 0;
}

.preview-home {
  --hero-title: #141418;
  --hero-sub: #54524d;
  --hero-btn-bg: #151519;
  --hero-btn-bg-hover: #282830;
  --hero-btn-fg: #ffffff;
  --hero-dock-bg: rgba(255, 255, 255, 0.84);
  --hero-dock-edge: rgba(20, 20, 24, 0.1);
  --hero-dock-active-bg: #151519;
  --hero-dock-active-fg: #ffffff;
}

html[data-theme=dark] .preview-home {
  --hero-title: #f5f3ee;
  --hero-sub: #a8a6b2;
  --hero-btn-bg: #f4f1ea;
  --hero-btn-bg-hover: #ffffff;
  --hero-btn-fg: #141418;
  --hero-dock-bg: rgba(26, 28, 35, 0.86);
  --hero-dock-edge: rgba(255, 255, 255, 0.13);
  --hero-dock-active-bg: #f4f1ea;
  --hero-dock-active-fg: #141418;
}

.hero-studio-backdrop {
  position: absolute;
  inset: 0 0 auto 0;
  height: clamp(640px, 94svh, 900px);
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 56% 62% at 68% 46%, rgba(255, 255, 255, 0.96) 0%, rgba(246, 244, 239, 0.72) 48%, rgba(235, 231, 223, 0) 84%),
    linear-gradient(180deg, #f3f1ec 0%, #f7f5f0 68%, transparent 100%);
}

html[data-theme=dark] .hero-studio-backdrop {
  background:
    radial-gradient(ellipse 52% 58% at 68% 46%, rgba(120, 128, 152, 0.18) 0%, rgba(36, 40, 50, 0.24) 48%, transparent 82%),
    linear-gradient(180deg, #13151a 0%, #101116 68%, transparent 100%);
}

.preview-home .cover-spread {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  min-height: clamp(580px, calc(100svh - 82px), 790px);
  padding-block: 36px 56px;
}

.cover-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 500px;
}

.product-ui.preview-home .cover-copy h1 {
  max-width: 14ch;
  margin: 0;
  font: 650 clamp(38px, 4.15vw, 58px)/1.05 var(--ui-font);
  letter-spacing: -0.042em;
  color: var(--hero-title);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  text-wrap: balance;
}

.cover-copy > p {
  max-width: 38ch;
  margin: 20px 0 0;
  font: 400 clamp(16px, 1.3vw, 18px)/1.56 var(--ui-font);
  color: var(--hero-sub);
  text-wrap: pretty;
}

.cover-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.product-ui.preview-home .cover-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--hero-btn-bg);
  color: var(--hero-btn-fg);
  font: 600 15px/22px var(--ui-font);
  letter-spacing: -0.01em;
  box-shadow: 0 12px 28px -14px rgba(18, 18, 22, 0.45);
  transition: transform 240ms var(--home-ease), background-color 220ms var(--home-ease), box-shadow 240ms var(--home-ease);
}

.product-ui.preview-home .cover-primary:hover:not(:disabled) {
  background: var(--hero-btn-bg-hover);
  color: var(--hero-btn-fg);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -14px rgba(18, 18, 22, 0.56);
}

.product-ui.preview-home .cover-primary:active:not(:disabled) {
  transform: translateY(1px) scale(0.985);
}

.product-ui.preview-home .quick-download,
.product-ui.preview-home .final-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 224, 198, 0.28);
  border-radius: 12px;
  background: var(--ui-accent);
  color: #1f110b;
  font: 600 16px/24px var(--ui-font);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 28px -12px rgba(234, 120, 78, 0.45);
  transition: transform 280ms var(--home-ease), background-color 240ms var(--home-ease), box-shadow 280ms var(--home-ease);
}

.product-ui.preview-home :is(.quick-download, .final-cta-primary):hover:not(:disabled) {
  background: #f28a64;
  color: #1f110b;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 16px 34px -12px rgba(234, 120, 78, 0.56);
}

.product-ui.preview-home :is(.quick-download, .final-cta-primary):active:not(:disabled) {
  transform: translateY(1px) scale(0.985);
}

/* Right Stage — True 3D Sculpted Product Card Studio Stage */
.cover-frame {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--brand-ink);
}

.hero-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.hero-3d-viewport {
  position: relative;
  width: min(100%, 600px);
  height: clamp(460px, 60svh, 580px);
  display: block;
  border-radius: 28px;
  border: 1px solid transparent;
  transition: border-color 260ms var(--home-ease), background-color 260ms var(--home-ease);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  animation: hero3dFadeIn 320ms var(--home-ease) both;
}

.hero-3d-viewport:hover {
  border-color: rgba(20, 20, 24, 0.08);
  background: radial-gradient(ellipse 72% 72% at 50% 50%, rgba(255, 255, 255, 0.42) 0%, transparent 100%);
}

html[data-theme=dark] .hero-3d-viewport:hover {
  border-color: rgba(255, 255, 255, 0.09);
  background: radial-gradient(ellipse 72% 72% at 50% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
}

@keyframes hero3dFadeIn {
  from { opacity: 0; transform: translate3d(0, 8px, 0) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

.cover-frame[data-hero-boot="3d"] .hero-card-rig {
  opacity: 0;
}

.hero-3d-viewport[hidden] {
  display: none;
}

.hero-3d-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  outline: none;
}

.hero-3d-viewport.is-dragging .hero-3d-canvas {
  cursor: grabbing;
}

.hero-card-rig {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-card-rig[hidden] {
  display: none;
}

.cover-frame[data-hero-stage="ready"] .hero-card-rig {
  will-change: auto;
}

.hero-card-shadow {
  position: absolute;
  inset: 14px 16px -4px;
  border-radius: 22px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(28, 24, 18, 0.26) 0%, rgba(28, 24, 18, 0.11) 48%, transparent 74%);
  filter: blur(22px);
  transform: translate3d(0, 26px, 0);
}

html[data-theme=dark] .hero-card-shadow {
  background: radial-gradient(ellipse at 50% 60%, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.34) 50%, transparent 76%);
  filter: blur(26px);
}

.hero-card-surface {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #f2efe9;
  transition: box-shadow 320ms var(--home-ease);
}

.cover-frame[data-hero-stage="ready"] .hero-card-surface {
  box-shadow:
    0 0 0 1px rgba(20, 18, 15, 0.08),
    0 18px 42px -22px rgba(24, 20, 14, 0.22);
}

html[data-theme=dark] .cover-frame[data-hero-stage="ready"] .hero-card-surface {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 24px 52px -22px rgba(0, 0, 0, 0.68);
}

.hero-card-surface > img,
.hero-card-surface > canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-card-surface > img {
  object-fit: cover;
  object-position: 49% 53%;
}

.hero-style-dock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-style-bar {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--hero-dock-bg);
  border: 1px solid var(--hero-dock-edge);
  box-shadow: 0 10px 26px -14px rgba(20, 18, 14, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.product-ui.preview-home .hero-style-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--hero-sub);
  font: 550 13px/18px var(--ui-font);
  box-shadow: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 200ms var(--home-ease), color 200ms var(--home-ease), transform 180ms var(--home-ease);
}

.product-ui.preview-home .hero-style-bar button:hover {
  background: rgba(20, 20, 24, 0.06);
  border-color: transparent;
  color: var(--hero-title);
}

html[data-theme=dark] .product-ui.preview-home .hero-style-bar button:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: transparent;
  color: #ffffff;
}

.product-ui.preview-home .hero-style-bar button[aria-pressed=true],
.product-ui.preview-home .hero-style-bar button[aria-pressed=true]:hover {
  background: var(--hero-dock-active-bg);
  border-color: var(--hero-dock-active-bg);
  color: var(--hero-dock-active-fg);
  box-shadow: 0 4px 12px -4px rgba(18, 18, 22, 0.34);
}

html[data-theme=dark] .product-ui.preview-home .hero-style-bar button[aria-pressed=true],
html[data-theme=dark] .product-ui.preview-home .hero-style-bar button[aria-pressed=true]:hover {
  background: #f4f1ea;
  border-color: #f4f1ea;
  color: #141418;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.55);
}

.hero-style-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
}

.hero-style-bar .swatch-studio { background: #f2efe9; box-shadow: 0 0 0 1.5px #3d5f47; }
.hero-style-bar .swatch-noir { background: #14151a; box-shadow: 0 0 0 1.5px #d6b16b; }
.hero-style-bar .swatch-bold { background: #edf05a; box-shadow: 0 0 0 1.5px #161714; }

.hero-dock-divider {
  width: 1px;
  height: 20px;
  margin-inline: 4px;
  background: var(--hero-dock-edge);
  flex: none;
}

.hero-dock-divider[hidden],
.hero-explode-btn[hidden],
.hero-3d-hint[hidden] {
  display: none;
}

.product-ui.preview-home .hero-style-bar .hero-explode-btn {
  gap: 6px;
  padding: 6px 14px;
  color: var(--hero-title);
}

.product-ui.preview-home .hero-style-bar .hero-explode-btn svg {
  flex: none;
  opacity: 0.82;
  transition: transform 240ms var(--home-ease), opacity 200ms var(--home-ease);
}

.product-ui.preview-home .hero-style-bar .hero-explode-btn[aria-pressed=true] svg {
  opacity: 1;
  transform: scale(1.08);
}

.hero-3d-hint {
  margin: 0;
  font: 450 12.5px/18px var(--ui-font);
  color: var(--hero-sub);
  opacity: 0.78;
  text-align: center;
  letter-spacing: -0.005em;
}

#cover-status:not(.sr-only) {
  font-size: 13px;
  color: var(--brand-accent-ink);
  text-align: center;
}

.cover-spread :is(button, a):focus-visible,
.hero-workspace :is(button, a):focus-visible {
  outline: 3px solid var(--brand-accent-ink);
  outline-offset: 3px;
}

/* 2. QUICK STUDIO — Double-Bezel Interactive Workbench */
.product-ui.preview-home .hero-workspace {
  border-top: 1px solid var(--ui-edge);
  padding-block: 64px 24px;
  margin-top: 0;
  scroll-margin-top: 96px;
}

.product-ui.preview-home .bench-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.bench-heading-group { display: grid; gap: 10px; }

.product-ui.preview-home .bench-intro h2 {
  font: 600 clamp(30px, 3.2vw, 48px)/1.06 var(--ui-font);
  letter-spacing: -0.045em;
}

.product-ui.preview-home .bench-intro p {
  color: var(--brand-muted);
  font: 400 16px/24px var(--ui-font);
  max-width: 44ch;
  text-wrap: pretty;
}

.product-ui.preview-home .preview-studio {
  max-width: none;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  padding: 8px;
  gap: 8px;
  border-radius: 24px;
  border: 1px solid var(--ui-edge-strong);
  background: var(--ui-shell);
  box-shadow: var(--ui-shadow);
  overflow: visible;
}

.product-ui.preview-home .quick-controls {
  padding: clamp(24px, 3vw, 36px);
  border-radius: 16px;
  border: 1px solid var(--ui-edge);
  background: var(--brand-surface);
  box-shadow: inset 0 1px 0 var(--ui-highlight);
}

.product-ui.preview-home .quick-heading { margin-bottom: 20px; }
.product-ui.preview-home .quick-heading h3 { font: 600 22px/28px var(--ui-font); letter-spacing: -0.03em; }

.product-ui.preview-home .quick-link {
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--ui-edge-strong);
  border-radius: 999px;
  background: var(--ui-panel);
  color: var(--brand-accent-ink);
  font: 600 12px/16px var(--ui-font);
  box-shadow: none;
}

.product-ui.preview-home .quick-link:hover {
  text-decoration: none;
  border-color: color-mix(in srgb, var(--ui-accent) 48%, var(--brand-line));
  background: var(--brand-accent-soft);
}

.product-ui.preview-home .quick-drop {
  padding: 14px;
  gap: 16px;
  background: var(--ui-input);
  border: 1px dashed color-mix(in srgb, var(--ui-accent) 44%, var(--brand-line));
  border-radius: 14px;
}

.product-ui.preview-home .quick-drop img {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  border: 1px solid var(--ui-edge);
}

.product-ui.preview-home .quick-upload.button {
  border-radius: 999px;
  padding: 10px 18px;
  min-height: 42px;
  font-size: 13px;
}

.product-ui.preview-home .quick-file-types {
  font-size: 12px;
  color: var(--brand-muted);
  margin-top: 6px;
}

.product-ui.preview-home .quick-fields { gap: 14px; margin-top: 24px; }
.product-ui.preview-home .quick-fields label,
.product-ui.preview-home .hero-style-picker legend {
  font: 600 13px/20px var(--ui-font);
  color: var(--brand-ink);
}
.product-ui.preview-home .quick-fields input { min-height: 46px; font-size: 14px; margin-top: 8px; }
.product-ui.preview-home .hero-style-picker { margin-top: 24px; }
.product-ui.preview-home .quick-styles { gap: 10px; }

.product-ui.preview-home .hero-style-picker button {
  min-height: 58px;
  border-radius: 12px;
  gap: 6px;
  padding: 8px 6px;
  background: var(--ui-panel);
  border: 1px solid var(--ui-edge);
  color: var(--brand-muted);
  font: 600 12px/16px var(--ui-font);
  transition: border-color 220ms var(--home-ease), background-color 220ms var(--home-ease), transform 220ms var(--home-ease), color 220ms var(--home-ease);
}

.product-ui.preview-home .hero-style-picker button:hover {
  color: var(--brand-ink);
  border-color: var(--brand-line);
  transform: translateY(-1px);
}

.product-ui.preview-home .hero-style-picker button[aria-pressed=true] {
  background: var(--brand-accent-soft);
  color: var(--brand-accent-ink);
  border-color: color-mix(in srgb, var(--ui-accent) 52%, transparent);
  box-shadow: inset 0 1px 0 var(--ui-highlight);
}

.product-ui.preview-home .quick-styles i { width: 22px; height: 8px; border-radius: 999px; }
.product-ui.preview-home .quick-status { margin-top: 14px; font-size: 13px; color: var(--brand-muted); }
.product-ui.preview-home .quick-status.is-error { color: var(--brand-accent-ink); }

.product-ui.preview-home .quick-result {
  padding: clamp(24px, 3vw, 34px);
  gap: 16px;
  border: 1px solid var(--ui-edge);
  border-radius: 16px;
  background-color: var(--ui-panel);
  background-image: radial-gradient(var(--ui-grid) 0.85px, transparent 0.95px);
  background-size: 18px 18px;
  box-shadow: inset 0 1px 0 var(--ui-highlight);
}

.product-ui.preview-home .quick-result-top {
  width: min(100%, 284px);
  font: 600 12px/16px var(--ui-font);
  color: var(--brand-muted);
}

.quick-ratio { font-family: var(--ui-mono); font-weight: 500; }

.product-ui.preview-home .quick-canvas {
  width: min(100%, 284px);
  border-radius: 12px;
  box-shadow: 0 22px 46px -18px rgba(0, 0, 0, 0.45);
}

.quick-result-actions {
  display: grid;
  gap: 10px;
  width: min(100%, 284px);
}

.product-ui.preview-home .quick-download { width: 100%; }
.product-ui.preview-home .quick-open.button {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  font: 600 14px/20px var(--ui-font);
  gap: 8px;
  background: var(--brand-surface);
  color: var(--brand-ink);
  box-shadow: none;
  border: 1px solid var(--ui-edge-strong);
}

.product-ui.preview-home .quick-open.button:hover:not(:disabled) {
  background: var(--brand-soft);
  border-color: color-mix(in srgb, var(--ui-accent) 44%, var(--brand-line));
  color: var(--brand-accent-ink);
}

/* 3. TAGLINE REVEAL — Editorial Breathing Statement */
.landing-tagline {
  padding-block: 80px;
  border-top: 1px solid var(--ui-edge);
  display: grid;
  gap: 20px;
}

.tagline-statement {
  max-width: 680px;
  margin: 0;
  font: 600 clamp(28px, 3.6vw, 48px)/1.14 var(--ui-font);
  letter-spacing: -0.04em;
  color: var(--brand-ink);
  text-wrap: balance;
}

.tagline-statement.is-word-split .tagline-word {
  color: var(--brand-muted);
  transition: color 480ms var(--home-ease);
}

.tagline-statement.is-word-split .tagline-word.is-lit {
  color: var(--brand-ink);
}

/* 4. BENEFITS — Asymmetric 2x2 Editorial Capabilities Grid */
.landing-benefits {
  padding-block: 16px 80px;
}

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

.benefit-card {
  grid-column: span 5;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--ui-edge);
  background: var(--brand-surface);
  box-shadow: var(--ui-shadow-sm);
  overflow: hidden;
  transition: transform 300ms var(--home-ease), border-color 280ms var(--home-ease), box-shadow 300ms var(--home-ease);
}

.benefit-card-wide { grid-column: span 7; }

.benefit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(280px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(234, 120, 78, 0.1), transparent 70%);
  transition: opacity 300ms var(--home-ease);
}

.benefit-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--ui-accent) 36%, var(--brand-line));
  box-shadow: var(--ui-shadow);
}

.benefit-card:hover::after { opacity: 1; }

.benefit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.benefit-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--ui-accent) 26%, var(--ui-edge));
  background: var(--brand-accent-soft);
  color: var(--brand-accent-ink);
}

.benefit-icon svg { width: 20px; height: 20px; }

.benefit-index {
  font: 500 12px/16px var(--ui-mono);
  color: var(--brand-muted);
}

.benefit-card h3 {
  font: 600 20px/28px var(--ui-font);
  letter-spacing: -0.025em;
  color: var(--brand-ink);
  text-wrap: balance;
}

.benefit-card p {
  font: 400 15px/24px var(--ui-font);
  color: var(--brand-muted);
  max-width: 52ch;
  text-wrap: pretty;
}

.benefit-meta {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.benefit-meta span {
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--ui-edge);
  background: var(--ui-panel);
  font: 500 12px/16px var(--ui-mono);
  color: var(--brand-ink);
}

/* 5. TEMPLATE SHOWCASE — Zero-Gap Asymmetric Bento */
.product-ui.preview-home .preview-examples {
  padding-block: 16px 80px;
}

.product-ui.preview-home .preview-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.product-ui.preview-home .preview-section-heading > div {
  display: grid;
  gap: 8px;
}

.product-ui.preview-home .preview-section-heading h2 {
  font: 600 clamp(30px, 3.3vw, 48px)/1.06 var(--ui-font);
  letter-spacing: -0.045em;
}

.product-ui.preview-home .preview-section-heading p {
  margin-top: 4px;
  font: 400 16px/24px var(--ui-font);
  color: var(--brand-muted);
  max-width: 54ch;
  text-wrap: pretty;
}

.product-ui.preview-home .preview-section-heading .text-link {
  font: 600 13px/20px var(--ui-font);
  padding: 10px 18px;
  min-height: 42px;
  border: 1px solid var(--ui-edge-strong);
  border-radius: 999px;
  background: var(--ui-glass);
  color: var(--brand-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-ui.preview-home .preview-section-heading .text-link:hover {
  border-color: color-mix(in srgb, var(--ui-accent) 45%, var(--brand-line));
  color: var(--brand-accent-ink);
}

.product-ui.preview-home .preview-grid {
  display: grid;
  grid-template-columns: 1.32fr 1fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 16px;
}

.product-ui.preview-home .preview-example {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--ui-edge);
  border-radius: 20px;
  background: var(--ui-shell);
  box-shadow: var(--ui-shadow-sm);
  overflow: hidden;
  transition: transform 300ms var(--home-ease), border-color 280ms var(--home-ease), box-shadow 300ms var(--home-ease);
}

.product-ui.preview-home .preview-example:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--ui-accent) 44%, var(--brand-line));
  box-shadow: var(--ui-shadow);
}

.product-ui.preview-home .preview-example-featured { grid-row: 1 / span 2; }

.product-ui.preview-home .preview-example-art {
  flex: 1 1 auto;
  min-height: 0;
  aspect-ratio: auto;
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--ui-edge);
  background: var(--brand-surface);
  overflow: hidden;
}

.product-ui.preview-home .preview-example-art.tone-lilac { background: color-mix(in srgb, #9b7fd6 11%, var(--brand-surface)); }
.product-ui.preview-home .preview-example-art.tone-peach { background: color-mix(in srgb, #e07b55 11%, var(--brand-surface)); }
.product-ui.preview-home .preview-example-art.tone-sage  { background: color-mix(in srgb, #6e9e77 11%, var(--brand-surface)); }
.product-ui.preview-home .preview-example-art.tone-ochre { background: color-mix(in srgb, #cfa350 11%, var(--brand-surface)); }
.product-ui.preview-home .preview-example-art.tone-blue  { background: color-mix(in srgb, #538ec9 11%, var(--brand-surface)); }

.product-ui.preview-home .preview-example-art .render-wrap {
  height: 100%;
  width: auto;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: 10px;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.42);
  transition: transform 320ms var(--home-ease);
}

.product-ui.preview-home .preview-example-featured .preview-example-art { padding: 24px; }
.product-ui.preview-home .preview-example-featured .preview-example-art .render-wrap {
  width: auto;
  height: 100%;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 22px 48px -16px rgba(0, 0, 0, 0.5);
}

.product-ui.preview-home .preview-example-art canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.product-ui.preview-home .preview-example:hover .render-wrap {
  transform: translateY(-3px) scale(1.015);
}

.product-ui.preview-home .preview-example-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 10px 6px;
}

.product-ui.preview-home .preview-example-label strong {
  display: block;
  font: 600 15px/20px var(--ui-font);
  color: var(--brand-ink);
}

.product-ui.preview-home .preview-example-label small {
  display: block;
  margin-top: 2px;
  font: 400 12px/16px var(--ui-font);
  color: var(--brand-muted);
}

.product-ui.preview-home .preview-example-label > span:last-child {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--ui-edge);
  background: var(--brand-surface);
  color: var(--brand-accent-ink);
  font-size: 14px;
  transition: transform 240ms var(--home-ease), background-color 240ms var(--home-ease);
}

.product-ui.preview-home .preview-example:hover .preview-example-label > span:last-child {
  background: var(--brand-accent-soft);
  transform: translate(2px, -2px);
}

/* 6. HOW IT WORKS + VIDEO STUDIO — 2-Column Editorial Bento */
.product-ui.preview-home .landing-bento {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 16px;
  padding-bottom: 80px;
}

.product-ui.preview-home .landing-bento > section {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 32px;
  gap: 24px;
  border: 1px solid var(--ui-edge);
  border-radius: 24px;
  background: var(--brand-surface);
  color: var(--brand-ink);
  box-shadow: var(--ui-shadow-sm);
  transition: transform 300ms var(--home-ease), border-color 280ms var(--home-ease);
}

.product-ui.preview-home .landing-bento > section:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--ui-accent) 32%, var(--brand-line));
}

.product-ui.preview-home .landing-bento h2 {
  font: 600 clamp(26px, 2.7vw, 36px)/1.12 var(--ui-font);
  margin: 10px 0 16px;
  max-width: 18ch;
  color: var(--brand-ink);
}

.product-ui.preview-home .video-feature-copy > p {
  font: 400 15px/24px var(--ui-font);
  color: var(--brand-muted);
  max-width: 46ch;
  margin: 0;
  text-wrap: pretty;
}

.product-ui.preview-home .video-feature .button {
  margin-top: 20px;
  background: var(--ui-panel);
  color: var(--brand-ink);
  border: 1px solid var(--ui-edge-strong);
  border-radius: 12px;
  font: 600 14px/20px var(--ui-font);
  min-height: 44px;
  padding: 10px 18px;
}

.product-ui.preview-home .video-feature .button:hover {
  background: var(--brand-accent-soft);
  color: var(--brand-accent-ink);
  border-color: color-mix(in srgb, var(--ui-accent) 42%, transparent);
}

.product-ui.preview-home .video-feature-preview {
  margin: auto 0 0;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid var(--ui-edge);
  background: var(--ui-shell);
}

.product-ui.preview-home .video-feature-preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--ui-edge);
  border-radius: 10px;
  background: var(--ui-input);
}

.product-ui.preview-home .preview-help ol {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 12px;
}

.product-ui.preview-home .preview-help li {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 400 15px/22px var(--ui-font);
  color: var(--brand-ink);
  margin: 0;
}

.step-number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid color-mix(in srgb, var(--ui-accent) 28%, var(--ui-edge));
  border-radius: 9px;
  color: var(--brand-accent-ink);
  background: var(--brand-accent-soft);
  font: 600 12px/1 var(--ui-mono);
}

.product-ui.preview-home .preview-help .text-link {
  font: 600 14px/20px var(--ui-font);
  color: var(--brand-accent-ink);
  border-color: color-mix(in srgb, var(--ui-accent) 35%, transparent);
}

.product-ui.preview-home .intro-player {
  width: 100%;
  margin: auto 0 0;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid var(--ui-edge);
  background: var(--ui-shell);
}

.product-ui.preview-home .intro-screen {
  border-radius: 10px;
  border: 1px solid var(--ui-edge);
  overflow: hidden;
}

/* 7. TRANSPARENT PRICING SUMMARY + FINAL CTA */
.landing-pricing {
  padding-block: 16px 64px;
}

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

.pricing-tier {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--ui-edge);
  background: var(--brand-surface);
  box-shadow: var(--ui-shadow-sm);
}

.pricing-tier-free {
  border-color: color-mix(in srgb, var(--ui-accent) 38%, var(--ui-edge));
}

.pricing-tier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--brand-accent-soft);
  color: var(--brand-accent-ink);
  font: 600 12px/16px var(--ui-font);
}

.pricing-badge-muted {
  background: var(--ui-panel);
  color: var(--brand-muted);
  border: 1px solid var(--ui-edge);
}

.pricing-amount {
  font: 600 24px/32px var(--ui-font);
  color: var(--brand-ink);
  letter-spacing: -0.03em;
}

.pricing-tier h3 {
  font: 600 20px/28px var(--ui-font);
  color: var(--brand-ink);
}

.pricing-tier ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--brand-muted);
  font: 400 14px/22px var(--ui-font);
}

.pricing-tier li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.pricing-tier li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--ui-accent);
  flex: none;
  transform: translateY(-2px);
}

.pricing-tier .button {
  margin-top: auto;
  align-self: flex-start;
  border-radius: 12px;
  min-height: 44px;
  padding: 10px 20px;
  font: 600 14px/20px var(--ui-font);
}

.product-ui.preview-home .pricing-tier-free .button-orange {
  background: var(--ui-accent);
  border: 1px solid rgba(255, 224, 198, 0.28);
  color: #1f110b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 24px -12px rgba(234, 120, 78, 0.42);
}

.product-ui.preview-home .pricing-tier-free .button-orange:hover:not(:disabled) {
  background: #f28a64;
  color: #1f110b;
  transform: translateY(-2px);
}

.landing-final-cta {
  padding-bottom: 80px;
}

.final-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--ui-accent) 34%, var(--ui-edge-strong));
  background: var(--brand-surface);
  box-shadow: var(--ui-shadow);
}

.final-cta-copy {
  display: grid;
  gap: 12px;
  max-width: 580px;
}

.final-cta-copy h2 {
  font: 600 clamp(26px, 3vw, 40px)/1.1 var(--ui-font);
  letter-spacing: -0.04em;
  color: var(--brand-ink);
}

.final-cta-copy p {
  font: 400 16px/24px var(--ui-font);
  color: var(--brand-muted);
  text-wrap: pretty;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  flex: none;
}

.final-cta-actions .button-light {
  border-radius: 12px;
  min-height: 48px;
  padding: 12px 20px;
  font: 600 15px/22px var(--ui-font);
}

.preview-home .site-footer { border-top: 1px solid var(--hero-hairline); }

/* Responsive Breakpoints */
@media (max-width: 1050px) {
  .cover-spread .showcase-caption { display: none; }
  .preview-home .cover-spread { gap: 32px; }
  .product-ui.preview-home .bench-intro { align-items: start; flex-direction: column; gap: 12px; }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-card,
  .benefit-card-wide { grid-column: auto; }
  .product-ui.preview-home .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
  .product-ui.preview-home .preview-example-featured {
    grid-column: 1 / -1;
    grid-row: auto;
    flex-direction: row;
    align-items: stretch;
  }
  .product-ui.preview-home .preview-example-featured .preview-example-art {
    flex: 1 1 56%;
    aspect-ratio: 4 / 3;
  }
  .product-ui.preview-home .preview-example-featured .preview-example-label {
    flex: 1 1 44%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 24px;
  }
  .product-ui.preview-home .preview-example:not(.preview-example-featured) .preview-example-art {
    aspect-ratio: 4 / 4.2;
  }
  .product-ui.preview-home .landing-bento > section { padding: 24px; }
  .final-cta-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 960px) {
  .product-ui.preview-home .hero-style-bar button {
    padding: 6px 11px;
    font-size: 12.5px;
    gap: 5px;
  }
  .product-ui.preview-home .hero-style-bar .hero-explode-btn {
    padding: 6px 11px;
  }
  .hero-dock-divider { margin-inline: 2px; }
}

@media (max-width: 850px) {
  .preview-home .container { width: calc(100% - 40px); }
  .preview-home .cover-spread {
    grid-template-columns: minmax(0, 0.90fr) minmax(0, 1.10fr);
    gap: 24px;
    min-height: 0;
    padding-block: 32px 44px;
  }
  .product-ui.preview-home .cover-copy h1 { font-size: clamp(32px, 4.4vw, 42px); }
  .cover-copy > p { font-size: 15.5px; line-height: 1.52; }
  .hero-3d-viewport { height: 420px; }
  .hero-card-rig { width: min(100%, 340px); }
  .product-ui.preview-home .preview-studio { grid-template-columns: 1fr; }
  .product-ui.preview-home .landing-bento { grid-template-columns: 1fr; }
  .product-ui.preview-home .landing-bento h2 { max-width: none; }
  .pricing-overview { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .preview-home .container { width: calc(100% - 32px); }
  .preview-home .cover-spread {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-block: 28px 40px;
    gap: 28px;
  }
  .cover-copy { max-width: none; }
  .product-ui.preview-home .cover-copy h1 {
    max-width: none;
    font-size: clamp(32px, 9.2vw, 44px);
  }
  .cover-copy > p { margin-top: 14px; font-size: 15.5px; }
  .cover-actions { margin-top: 22px; }
  .hero-card-rig { width: min(100%, 336px); }
  .cover-frame { gap: 16px; }
  .preview-home .hero-workspace { padding-block: 44px 16px; scroll-margin-top: 72px; }
  .landing-tagline { padding-block: 48px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card { padding: 22px; }
  .landing-benefits { padding-block: 8px 48px; }
  .product-ui.preview-home .quick-controls { padding: 18px; }
  .product-ui.preview-home .quick-fields { grid-template-columns: 1fr; }
  .product-ui.preview-home .quick-fields input { font-size: 16px; }
  .product-ui.preview-home .quick-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-ui.preview-home .preview-examples { padding-block: 8px 48px; }
  .product-ui.preview-home .preview-section-heading { flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
  .product-ui.preview-home .preview-section-heading h2 { font-size: 30px; }
  .product-ui.preview-home .preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-ui.preview-home .preview-example-featured { flex-direction: column; }
  .product-ui.preview-home .preview-example-featured .preview-example-art {
    flex: none;
    aspect-ratio: auto;
    padding: 20px 16px;
  }
  .product-ui.preview-home .preview-example-featured .preview-example-art .render-wrap {
    height: auto;
    width: min(100%, 232px);
  }
  .product-ui.preview-home .preview-example-featured .preview-example-label {
    flex: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px 6px;
  }
  .product-ui.preview-home .preview-example-art { padding: 10px; }
  .product-ui.preview-home .preview-example-label { padding: 10px 8px 4px; }
  .product-ui.preview-home .preview-example-label strong { font-size: 13px; }
  .product-ui.preview-home .preview-example-label > span:last-child { width: 28px; height: 28px; font-size: 12px; }
  .product-ui.preview-home .landing-bento { padding-bottom: 48px; }
  .product-ui.preview-home .landing-bento > section { padding: 20px; border-radius: 20px; }
  .product-ui.preview-home .landing-bento h2 { font-size: 28px; }
  .landing-pricing { padding-block: 8px 48px; }
  .pricing-tier { padding: 22px; }
  .landing-final-cta { padding-bottom: 48px; }
  .final-cta-card { padding: 24px 20px; border-radius: 20px; }
  .final-cta-actions { width: 100%; }
  .final-cta-actions .button { width: 100%; }
}

@media (max-width: 360px) {
  .preview-home .container { width: calc(100% - 24px); }
  .product-ui.preview-home .cover-copy h1 { font-size: 29px; }
  .product-ui.preview-home .cover-primary { width: 100%; }
  .hero-style-bar { gap: 2px; padding: 3px; }
  .hero-style-bar button { padding: 6px 10px; font-size: 12px; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .preview-home .cover-spread *,
  .tagline-statement .tagline-word { transition: none; }
  .preview-home :is(.cover-spread a, .cover-spread button, .preview-example, .landing-bento > section, .benefit-card, .hero-style-picker button):hover,
  .preview-home :is(.cover-spread a, .cover-spread button):active { transform: none; }
  .tagline-statement.is-word-split .tagline-word { color: var(--brand-ink); }
}

@supports not ((backdrop-filter: blur(14px)) or (-webkit-backdrop-filter: blur(14px))) {
  .preview-home .site-header { background: var(--brand-bg); }
}

@media (max-width: 767px), (pointer: coarse) {
  .preview-home .hero-stage { perspective: none; }
  .preview-home .hero-card-rig { transform-style: flat; will-change: auto; }
  .preview-home .hero-card-shadow { display: none; }
  .preview-home .hero-style-bar {
    background: var(--brand-surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
