:root {
  --ink: #0b0d10;
  --ink-soft: #171b20;
  --ink-muted: #5e6771;
  --paper: #f4f1eb;
  --paper-strong: #ffffff;
  --line: rgba(15, 18, 22, 0.13);
  --line-dark: rgba(255, 255, 255, 0.15);
  --coral: #ff6b6b;
  --coral-deep: #e64c5c;
  --teal: #14b8a6;
  --gold: #f2b84b;
  --violet: #8b5cf6;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
dt {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid rgba(20, 184, 166, 0.7);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  z-index: 100;
  left: 0;
  right: 0;
  top: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2 + 24px));
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(11, 13, 16, 0.82);
  border-color: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  font-weight: 800;
}

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

.brand strong {
  font-size: 15px;
  letter-spacing: 0.04em;
}

.brand small {
  margin-top: -2px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 160ms ease;
}

.desktop-nav a:hover {
  color: #fff;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
}

.header-cta svg {
  width: 16px;
  height: 16px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 128px 0 54px;
  color: #fff;
  overflow: hidden;
  background: #0b0d10;
}

.hero-media,
.hero-shade,
.final-media,
.final-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img,
.final-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  object-position: center 42%;
  filter: saturate(0.9) contrast(1.05);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.96) 0%, rgba(7, 9, 12, 0.76) 40%, rgba(7, 9, 12, 0.32) 72%, rgba(7, 9, 12, 0.58) 100%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.26) 0%, rgba(7, 9, 12, 0.18) 58%, rgba(7, 9, 12, 0.78) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 0.84fr) minmax(580px, 1.16fr);
  align-items: center;
  gap: 64px;
}

.hero-copy {
  max-width: 600px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.13);
}

.hero h1 {
  max-width: 620px;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.09;
  letter-spacing: 0;
  font-weight: 700;
}

.hero-lead {
  max-width: 540px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 1.35vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--coral);
  color: #fff;
}

.button-primary:hover {
  background: var(--coral-deep);
}

.button-quiet {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 520px;
  margin-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 20px;
}

.hero-metrics div {
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics dt {
  font-size: 21px;
  font-weight: 800;
}

.hero-metrics dd {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
}

.studio-frame {
  position: relative;
  background: rgba(248, 247, 244, 0.96);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.studio-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
}

.studio-kicker {
  color: var(--coral-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.studio-head h2 {
  margin-top: 3px;
  font-size: 22px;
  line-height: 1.3;
}

.demo-badge {
  flex-shrink: 0;
  padding: 5px 10px;
  color: #0d6b60;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.24);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
}

.studio-body {
  display: grid;
  grid-template-columns: minmax(280px, 0.94fr) minmax(270px, 0.76fr);
  gap: 24px;
  padding: 22px 24px;
}

.studio-controls {
  display: grid;
  gap: 20px;
}

.control-block {
  min-width: 0;
}

.control-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.control-title span {
  font-size: 14px;
  font-weight: 800;
}

.control-title small {
  color: var(--ink-muted);
  font-size: 11px;
}

.control-title b {
  color: var(--coral-deep);
}

.upload-button {
  width: 100%;
  min-height: 128px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px dashed rgba(11, 13, 16, 0.26);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.upload-button:hover {
  border-color: var(--coral);
}

.upload-placeholder {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: var(--ink-muted);
}

.upload-placeholder svg {
  width: 26px;
  height: 26px;
  color: var(--coral-deep);
}

.upload-placeholder strong {
  color: var(--ink);
  font-size: 14px;
}

.upload-placeholder small {
  font-size: 10px;
}

#photoPreview {
  width: 100%;
  height: 128px;
  object-fit: cover;
}

.upload-change {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 9px;
  color: #fff;
  background: rgba(11, 13, 16, 0.76);
  border-radius: var(--radius);
  font-size: 10px;
  font-weight: 700;
}

.data-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  color: var(--ink-muted);
  font-size: 12px;
}

.number-field {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(11, 13, 16, 0.14);
  border-radius: var(--radius);
  background: #fff;
}

.number-field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  text-align: right;
  font-weight: 800;
  appearance: textfield;
}

.number-field input::-webkit-outer-spin-button,
.number-field input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.number-field em {
  flex-shrink: 0;
  margin-left: 7px;
  color: var(--ink-muted);
  font-size: 11px;
  font-style: normal;
}

input[type="range"] {
  height: 4px;
  accent-color: var(--coral);
  cursor: pointer;
}

.mini-scenes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mini-scene {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.mini-scene img {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
}

.mini-scene span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 5px 5px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
  font-size: 10px;
  text-align: center;
}

.mini-scene.active {
  border-color: var(--coral);
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.18);
}

.background-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.background-button,
.background-remove {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 11px;
}

.background-button svg {
  width: 14px;
  height: 14px;
}

.background-remove {
  color: #b4232e;
  border-color: rgba(180, 35, 46, 0.2);
}

.background-control img {
  width: 46px;
  height: 38px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.output-config {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.output-config label {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: var(--ink-muted);
  font-size: 11px;
}

.output-config select {
  width: 100%;
  height: 38px;
  padding: 0 8px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12px;
}

.studio-preview {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.phone-shell {
  width: min(100%, 310px);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: #111418;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.phone-bar {
  height: 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
}

.phone-bar span:nth-child(2) {
  color: #fff;
  font-weight: 700;
}

.phone-bar svg {
  width: 12px;
  height: 12px;
  justify-self: end;
}

.result-stage {
  position: relative;
  flex: 1;
  min-height: 390px;
  overflow: hidden;
  border-radius: 20px;
  background: #1b1f24;
}

.result-stage > img#resultScene {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.result-stage > video#resultVideo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #08090b;
}

.result-stage.is-video > img#resultScene {
  animation: slow-pan 8s ease-in-out infinite alternate;
}

.result-stage.generated {
  animation: generated-flash 700ms ease;
}

@keyframes generated-flash {
  0% { filter: brightness(1); }
  35% { filter: brightness(1.35); }
  100% { filter: brightness(1); }
}

@keyframes slow-pan {
  from { transform: scale(1.03) translate3d(-1%, -1%, 0); }
  to { transform: scale(1.12) translate3d(1.5%, 1.5%, 0); }
}

.result-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), transparent 42%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 55%);
}

.result-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
}

.result-meta span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.result-meta strong {
  display: block;
  margin-top: 2px;
  font-family: "Songti SC", "STSong", serif;
  font-size: 24px;
  line-height: 1.25;
}

.result-avatar-wrap {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--violet));
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  overflow: hidden;
  font-weight: 800;
}

.result-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-mark {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  padding: 4px 7px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(10, 12, 15, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.video-track {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  z-index: 3;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 3px;
}

.video-track span {
  display: block;
  width: 35%;
  height: 100%;
  background: #fff;
  animation: video-progress 7s linear infinite;
}

@keyframes video-progress {
  from { width: 0; }
  to { width: 100%; }
}

.phone-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding-top: 8px;
}

.mode-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.52);
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

.mode-button svg {
  width: 13px;
  height: 13px;
}

.mode-button.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.mode-button small {
  color: #ffd9a6;
  font-size: 9px;
}

.price-summary {
  margin-left: auto;
  text-align: right;
}

.price-summary span,
.price-summary strong,
.price-summary small {
  display: block;
}

.price-summary span {
  color: var(--ink-muted);
  font-size: 10px;
}

.price-summary strong {
  color: var(--coral-deep);
  font-size: 20px;
  line-height: 1.2;
}

.price-summary small {
  color: var(--ink-muted);
  font-size: 9px;
}

.studio-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--line);
}

.studio-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-muted);
  font-size: 11px;
}

.studio-status svg {
  width: 15px;
  height: 15px;
  color: var(--teal);
}

.studio-actions {
  display: flex;
  gap: 8px;
}

.studio-actions .button {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 13px;
}

.generation-progress {
  height: 3px;
  background: rgba(11, 13, 16, 0.08);
}

.generation-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--coral));
  transition: width 180ms ease;
}

.result-gallery {
  padding: 22px 24px 26px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.result-gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.result-gallery-head h3 {
  margin-top: 3px;
  font-size: 20px;
}

.button-small {
  min-height: 38px;
  padding-inline: 13px;
  font-size: 12px;
}

.result-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.result-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f3f3f1;
}

.result-card-media img,
.result-card-media video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: #111418;
}

.result-card-copy {
  padding: 12px 14px 14px;
}

.result-card-copy strong,
.result-card-copy span {
  display: block;
}

.result-card-copy strong {
  font-size: 15px;
}

.result-card-copy span {
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 11px;
}

.generated-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f3f3f1;
}

.generated-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.generated-actions {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: flex;
  gap: 6px;
}

.generated-action {
  flex: 1;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #fff;
  background: rgba(11, 13, 16, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-size: 10px;
}

.generated-action svg {
  width: 13px;
  height: 13px;
}

.metric-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.metric-band-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric-band-inner div {
  padding: 24px 24px;
  border-right: 1px solid var(--line);
}

.metric-band-inner div:last-child {
  border-right: 0;
}

.metric-band-inner strong,
.metric-band-inner span {
  display: block;
}

.metric-band-inner strong {
  font-size: 19px;
}

.metric-band-inner span {
  margin-top: 2px;
  color: var(--ink-muted);
  font-size: 12px;
}

.history-section {
  padding-bottom: 76px;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.history-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 230px;
  color: #fff;
  background: #12161b;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.history-card img,
.history-card video {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.history-card-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 42px 16px 15px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.86));
}

.history-card-copy strong,
.history-card-copy span {
  display: block;
}

.history-card-copy strong {
  font-size: 17px;
}

.history-card-copy span {
  margin-top: 4px;
  color: rgba(255,255,255,0.62);
  font-size: 11px;
}

.history-empty {
  grid-column: 1 / -1;
  padding: 48px;
  color: var(--ink-muted);
  text-align: center;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(340px, 0.72fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 48px;
}

.section-number {
  display: block;
  color: var(--coral-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.section-kicker {
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2 {
  margin-top: 6px;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(34px, 3.5vw, 54px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section-intro {
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.85;
}

.comparison-board {
  border-top: 1px solid var(--ink);
}

.comparison-header,
.comparison-row {
  display: grid;
  grid-template-columns: 0.72fr 1.25fr 1.3fr;
  gap: 24px;
  align-items: center;
  min-height: 68px;
  padding: 0 8px;
  border-bottom: 1px solid var(--line);
}

.comparison-header {
  min-height: 42px;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.comparison-row {
  font-size: 14px;
}

.comparison-row strong {
  font-size: 16px;
}

.comparison-row span {
  color: var(--ink-muted);
}

.comparison-us {
  margin-top: -1px;
  color: #fff;
  background: var(--ink);
  border-bottom-color: var(--ink);
}

.comparison-us span {
  color: rgba(255, 255, 255, 0.72);
}

.positioning-statement {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
  padding: 26px 28px;
  color: #fff;
  background: linear-gradient(110deg, #11151a 0%, #1b2429 58%, #153b37 100%);
  border-radius: var(--radius);
}

.statement-mark {
  padding: 5px 9px;
  color: #171a1e;
  background: var(--gold);
  border-radius: var(--radius);
  font-size: 10px;
  font-weight: 800;
}

.positioning-statement p {
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(22px, 2.2vw, 32px);
}

.statement-steps {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.statement-steps svg {
  width: 14px;
  height: 14px;
}

.input-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 44px;
  background: var(--line);
  border: 1px solid var(--line);
}

.input-steps article {
  position: relative;
  padding: 34px 30px;
  background: var(--paper);
}

.input-steps .step-index {
  position: absolute;
  right: 22px;
  top: 20px;
  color: rgba(11, 13, 16, 0.16);
  font-size: 38px;
  font-weight: 800;
}

.input-steps svg {
  width: 28px;
  height: 28px;
  color: var(--coral-deep);
}

.input-steps h3 {
  margin-top: 20px;
  font-size: 20px;
}

.input-steps p {
  max-width: 330px;
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: 14px;
}

.scenes-section {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  background: #fff;
}

.scene-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.filter-tab {
  min-height: 36px;
  padding: 0 14px;
  color: var(--ink-muted);
  border: 0;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
}

.filter-tab.active {
  color: #fff;
  background: var(--ink);
  font-weight: 700;
}

.scene-count {
  color: var(--ink-muted);
  font-size: 12px;
}

.scene-count span {
  color: var(--ink);
  font-weight: 800;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.scene-card {
  position: relative;
  min-height: 340px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: #16191d;
  cursor: pointer;
  color: #fff;
  text-align: left;
}

.scene-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(.2,.7,.2,1), filter 250ms ease;
}

.scene-card:hover img {
  transform: scale(1.045);
  filter: brightness(0.9);
}

.scene-card.selected {
  box-shadow: 0 0 0 3px var(--coral);
}

.scene-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 28%, rgba(0,0,0,0.78) 100%);
}

.scene-card-copy {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
}

.scene-card-copy small {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.scene-card-copy strong {
  display: block;
  margin-top: 3px;
  font-size: 23px;
  line-height: 1.2;
}

.scene-card-copy span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.scene-card-action {
  position: absolute;
  z-index: 3;
  right: 14px;
  top: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  backdrop-filter: blur(8px);
}

.scene-card-action svg {
  width: 15px;
  height: 15px;
}

.output-section {
  padding-bottom: 80px;
}

.output-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.output-panel {
  display: grid;
  grid-template-rows: minmax(420px, 0.78fr) auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.output-visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.output-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.output-label {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(10, 12, 15, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(9px);
  font-size: 11px;
}

.play-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  backdrop-filter: blur(8px);
}

.play-ring svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.output-copy {
  padding: 28px 30px 32px;
}

.output-index {
  color: var(--coral-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.output-copy h3 {
  margin-top: 5px;
  font-size: 25px;
}

.output-copy ul {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.output-copy li {
  position: relative;
  padding-left: 17px;
  color: var(--ink-muted);
  font-size: 14px;
}

.output-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.67em;
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
}

.social-section {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  color: #fff;
  background: #111418;
}

.social-section .section-kicker,
.social-section .section-intro {
  color: rgba(255, 255, 255, 0.54);
}

.social-section .section-number {
  color: var(--gold);
}

.loop-track {
  display: grid;
  grid-template-columns: 1fr 46px 1fr 46px 1fr 46px 1fr;
  align-items: center;
}

.loop-track article {
  min-height: 220px;
  padding: 26px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  border-radius: var(--radius);
}

.loop-track article > span {
  color: rgba(255, 255, 255, 0.32);
  font-size: 12px;
  font-weight: 800;
}

.loop-track svg {
  width: 26px;
  height: 26px;
  margin-top: 26px;
  color: var(--gold);
}

.loop-track h3 {
  margin-top: 18px;
  font-size: 19px;
}

.loop-track p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.loop-line {
  height: 1px;
  margin: 0 10px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.05));
}

.architecture {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.architecture article {
  min-height: 260px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.architecture article:last-child {
  border-right: 0;
}

.layer-label {
  display: inline-block;
  padding: 4px 8px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
  font-size: 10px;
  font-weight: 800;
}

.architecture h3 {
  margin-top: 38px;
  font-size: 20px;
}

.architecture p {
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: 14px;
}

.tech-columns {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
  margin-top: 32px;
}

.model-table {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.table-title {
  padding: 18px 20px;
  font-weight: 800;
  border-bottom: 1px solid var(--line);
}

.model-row {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 0.8fr;
  gap: 18px;
  align-items: center;
  min-height: 58px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.model-row:last-child {
  border-bottom: 0;
}

.model-row span {
  color: var(--ink-muted);
}

.model-head {
  min-height: 40px;
  color: var(--ink-muted);
  background: #f8f8f6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tech-challenges {
  display: grid;
  gap: 14px;
}

.tech-challenges article {
  display: flex;
  gap: 18px;
  min-height: 172px;
  padding: 24px;
  color: #fff;
  background: #161a1f;
  border-radius: var(--radius);
}

.tech-challenges svg {
  width: 26px;
  height: 26px;
  color: var(--teal);
  flex-shrink: 0;
}

.tech-challenges h3 {
  font-size: 19px;
}

.tech-challenges p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.compliance-band {
  margin-top: 20px;
  padding: 28px 30px 32px;
  background: #e9f4f1;
  border: 1px solid rgba(20, 184, 166, 0.24);
  border-radius: var(--radius);
}

.compliance-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(20, 184, 166, 0.24);
}

.compliance-head span {
  color: #0c776b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.compliance-head strong {
  font-size: 17px;
}

.compliance-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 24px;
}

.compliance-steps article > span {
  color: #0c776b;
  font-size: 12px;
  font-weight: 800;
}

.compliance-steps h3 {
  margin-top: 10px;
  font-size: 18px;
}

.compliance-steps p {
  margin-top: 8px;
  color: #526e68;
  font-size: 13px;
}

.business-section {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  background: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.price-card {
  position: relative;
  min-height: 278px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: #fafaf8;
  border-radius: var(--radius);
}

.price-card.featured {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.price-badge {
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 4px 8px;
  color: #131518;
  background: var(--gold);
  border-radius: var(--radius);
  font-size: 9px;
  font-weight: 800;
}

.price-name {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.featured .price-name {
  color: rgba(255, 255, 255, 0.58);
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 27px;
}

.price-value strong {
  font-size: 46px;
  line-height: 1;
}

.price-value small {
  font-size: 14px;
}

.price-card p {
  margin-top: 20px;
  color: var(--ink-muted);
  font-size: 13px;
}

.featured p {
  color: rgba(255, 255, 255, 0.62);
}

.price-note {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: var(--coral-deep);
  font-size: 11px;
  font-weight: 700;
}

.featured .price-note {
  color: var(--gold);
}

.calculator {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  margin-top: 52px;
  padding: 38px;
  color: #fff;
  background: #12161b;
  border-radius: var(--radius);
}

.calculator-copy h3 {
  margin-top: 8px;
  font-family: "Songti SC", "STSong", serif;
  font-size: 34px;
}

.calculator-copy > p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.calculator-result {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.calc-result-item {
  min-height: 84px;
  padding: 16px;
  background: #12161b;
}

.calc-result-item small {
  display: block;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

.calc-result-item strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.calc-result-item.danger strong {
  color: #ff8585;
}

.calc-result-item.good strong {
  color: #55d6c7;
}

.calculator-controls {
  display: grid;
  gap: 22px;
  align-content: center;
}

.calc-range {
  display: grid;
  grid-template-columns: 120px 1fr 80px;
  gap: 16px;
  align-items: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.calc-range output {
  color: #fff;
  text-align: right;
  font-weight: 800;
}

.cost-warning {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  margin-top: 18px;
  padding: 24px 28px;
  background: #fff2ed;
  border: 1px solid rgba(230, 76, 92, 0.22);
  border-radius: var(--radius);
}

.warning-index {
  display: block;
  color: var(--coral-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.cost-warning p {
  max-width: 780px;
  margin-top: 8px;
  color: #6a4741;
  font-size: 14px;
}

.cost-facts {
  display: grid;
  gap: 8px;
  flex-shrink: 0;
  color: #7f4a42;
  font-size: 12px;
}

.cost-facts b {
  color: #321d19;
}

.growth-section {
  padding-top: 96px;
}

.growth-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}

.growth-grid article {
  min-height: 260px;
  padding: 30px 24px;
  border-right: 1px solid var(--line);
}

.growth-grid article:last-child {
  border-right: 0;
}

.growth-grid svg {
  width: 28px;
  height: 28px;
  color: var(--violet);
}

.growth-grid h3 {
  margin-top: 48px;
  font-size: 20px;
}

.growth-grid p {
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: 14px;
}

.roadmap-section {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  background: #f1eee8;
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.roadmap article {
  position: relative;
  min-height: 330px;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.roadmap-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.roadmap-head span {
  color: var(--coral-deep);
  font-size: 30px;
  font-weight: 800;
}

.roadmap-head small {
  color: var(--ink-muted);
  font-size: 11px;
}

.roadmap h3 {
  margin-top: 34px;
  font-size: 22px;
}

.roadmap p {
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: 14px;
}

.roadmap strong {
  position: absolute;
  left: 28px;
  bottom: 26px;
  color: #0c776b;
  font-size: 13px;
}

.risk-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 18px;
  background: rgba(11, 13, 16, 0.18);
  border: 1px solid rgba(11, 13, 16, 0.18);
}

.risk-strip article {
  padding: 28px 24px;
  background: #f1eee8;
}

.risk-strip span {
  color: var(--coral-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.risk-strip h3 {
  margin-top: 12px;
  font-size: 18px;
}

.risk-strip p {
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 13px;
}

.final-cta {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 90px 24px;
  color: #fff;
  overflow: hidden;
}

.final-overlay {
  background: linear-gradient(90deg, rgba(8, 10, 12, 0.92), rgba(8, 10, 12, 0.46) 62%, rgba(8, 10, 12, 0.72));
}

.final-content {
  position: relative;
  z-index: 2;
  width: min(1000px, 100%);
}

.final-content .section-kicker {
  color: rgba(255, 255, 255, 0.56);
}

.final-content h2 {
  max-width: 830px;
  margin-top: 8px;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 1.12;
  letter-spacing: 0;
}

.final-content p {
  max-width: 630px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
}

.final-content .button {
  margin-top: 32px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: #0b0d10;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 48px 0 28px;
}

.footer-inner strong {
  color: #fff;
  font-size: 18px;
}

.footer-inner p {
  max-width: 640px;
  margin-top: 6px;
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 13px;
}

.footer-links a:hover {
  color: #fff;
}

.asset-note {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.36);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  max-width: min(420px, calc(100vw - 32px));
  padding: 11px 16px;
  color: #fff;
  background: rgba(11, 13, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 13px;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1240px) {
  .hero-inner {
    grid-template-columns: minmax(360px, 0.75fr) minmax(520px, 1.25fr);
    gap: 38px;
  }

  .scene-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .loop-track {
    grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr;
  }
}

@media (max-width: 1040px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    position: fixed;
    z-index: 99;
    left: 16px;
    right: 16px;
    top: 78px;
    display: grid;
    padding: 10px;
    color: #fff;
    background: rgba(11, 13, 16, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .mobile-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-nav a {
    padding: 13px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
  }

  .mobile-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    padding-top: 108px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .studio-frame {
    max-width: 820px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-intro {
    max-width: 760px;
  }

  .input-steps,
  .architecture,
  .pricing-grid,
  .growth-grid,
  .history-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .architecture article,
  .growth-grid article {
    border-bottom: 1px solid var(--line);
  }

  .loop-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .loop-line {
    display: none;
  }

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

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

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

  .roadmap article {
    min-height: 270px;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 64px;
    padding-inline: 16px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 96px 0 42px;
  }

  .hero-inner,
  .metric-band-inner,
  .section,
  .footer-inner {
    width: min(100% - 32px, var(--max));
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 9, 12, 0.72) 0%, rgba(7, 9, 12, 0.82) 55%, rgba(7, 9, 12, 0.97) 100%);
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-lead {
    margin-top: 16px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 24px;
  }

  .hero-metrics div {
    display: block;
    padding: 10px 8px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 0;
  }

  .hero-metrics div:last-child {
    border-right: 0;
  }

  .hero-metrics dt {
    font-size: 16px;
  }

  .hero-metrics dd {
    font-size: 10px;
  }

  .studio-head,
  .studio-body,
  .studio-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .studio-head {
    align-items: center;
  }

  .studio-head h2 {
    font-size: 18px;
  }

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

  .studio-preview {
    order: -1;
  }

  .phone-shell {
    width: min(100%, 340px);
  }

  .result-stage {
    min-height: 430px;
  }

  .studio-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .result-gallery-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .result-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .studio-actions {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
  }

  .metric-band-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-band-inner div {
    padding: 20px 14px;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 76px 0;
  }

  .scenes-section {
    width: 100%;
    padding-inline: 16px;
  }

  .section-head h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .comparison-header {
    display: none;
  }

  .comparison-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 18px 8px;
  }

  .comparison-row strong {
    font-size: 18px;
  }

  .positioning-statement {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px;
  }

  .statement-steps {
    justify-content: flex-start;
  }

  .input-steps,
  .architecture,
  .pricing-grid,
  .growth-grid,
  .compliance-steps,
  .risk-strip {
    grid-template-columns: 1fr;
  }

  .input-steps article,
  .architecture article,
  .growth-grid article {
    border-right: 0;
  }

  .scene-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-tabs {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    white-space: nowrap;
  }

  .scene-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

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

  .scene-card {
    min-height: 270px;
  }

  .scene-card-copy strong {
    font-size: 19px;
  }

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

  .output-panel {
    grid-template-rows: 320px auto;
  }

  .output-visual {
    min-height: 320px;
  }

  .social-section,
  .business-section,
  .roadmap-section {
    padding-inline: 16px;
  }

  .loop-track {
    grid-template-columns: 1fr;
  }

  .loop-track article {
    min-height: 190px;
  }

  .architecture article {
    min-height: auto;
  }

  .architecture h3 {
    margin-top: 22px;
  }

  .tech-columns {
    gap: 12px;
  }

  .model-row {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .model-row span:last-child {
    display: none;
  }

  .model-head span:last-child {
    display: none;
  }

  .compliance-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .price-card {
    min-height: 235px;
  }

  .calculator {
    padding: 24px 18px;
  }

  .calculator-copy h3 {
    font-size: 29px;
  }

  .calc-range {
    grid-template-columns: 88px 1fr 68px;
    gap: 10px;
  }

  .cost-warning {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .roadmap article {
    min-height: 300px;
  }

  .risk-strip article {
    border-bottom: 1px solid rgba(11, 13, 16, 0.14);
  }

  .final-cta {
    min-height: 500px;
    padding: 72px 20px;
  }

  .final-content h2 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 460px) {
  .scene-grid {
    grid-template-columns: 1fr;
  }

  .scene-card {
    min-height: 320px;
  }

  .result-stage {
    min-height: 380px;
  }

  .mini-scenes {
    grid-template-columns: repeat(2, 1fr);
  }

  .upload-button {
    min-height: 150px;
  }

  #photoPreview {
    height: 150px;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
