:root {
  color-scheme: dark;
  --bg: #08090c;
  --panel: rgba(19, 20, 25, 0.82);
  --panel-strong: #15171c;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f7f5f0;
  --muted: #9ca0aa;
  --accent: #d5ff5f;
  --accent-soft: rgba(213, 255, 95, 0.12);
  --violet: #9d86ff;
  --radius-lg: 30px;
  --radius-md: 20px;
  --shadow: 0 36px 100px rgba(0, 0, 0, 0.38);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 45% -20%, rgba(157, 134, 255, 0.15), transparent 32rem),
    linear-gradient(180deg, #0b0c10 0%, #08090c 55%, #0d0f12 100%);
}

button,
input {
  font: inherit;
}

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

button,
a {
  color: inherit;
}

button {
  border: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.page-glow {
  position: fixed;
  z-index: -1;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  opacity: 0.22;
  filter: blur(110px);
  pointer-events: none;
}

.page-glow-a {
  top: 24%;
  left: -18rem;
  background: #6d55ff;
}

.page-glow-b {
  right: -18rem;
  bottom: 16%;
  background: #c7ff51;
}

.site-header,
main,
footer {
  width: min(1420px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 5px);
  align-items: end;
  gap: 3px;
  width: 35px;
  height: 35px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent);
}

.brand-mark span {
  display: block;
  border-radius: 99px;
  background: var(--accent);
}

.brand-mark span:nth-child(1) { height: 10px; opacity: 0.55; }
.brand-mark span:nth-child(2) { height: 17px; }
.brand-mark span:nth-child(3) { height: 13px; opacity: 0.75; }

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

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

.brand-copy small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c4c7cf;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 15px rgba(213, 255, 95, 0.72);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  padding: 76px 2.5% 52px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: #b5b8c1;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  padding: 5px 8px;
  border: 1px solid rgba(213, 255, 95, 0.34);
  border-radius: 7px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 9px;
}

.hero h1,
.how-it-works h2 {
  margin: 0;
  font-weight: 580;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(44px, 6vw, 86px);
  line-height: 1.02;
}

.hero h1 em {
  color: transparent;
  background: linear-gradient(90deg, #e8f7ff 0%, #beaaff 48%, #d5ff5f 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.hero-intro {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.8;
}

.privacy-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 310px;
  padding: 17px 19px;
  border: 1px solid rgba(213, 255, 95, 0.24);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(213, 255, 95, 0.1), rgba(255, 255, 255, 0.025));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.privacy-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #151813;
  background: var(--accent);
  font-weight: 900;
}

.privacy-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.privacy-card p {
  margin: 0;
  color: #aeb1b8;
  font-size: 11px;
}

.studio {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.65fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(15, 16, 20, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.control-panel,
.preview-panel {
  min-width: 0;
  padding: clamp(24px, 3.1vw, 46px);
}

.control-panel {
  border-right: 1px solid var(--line);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.035), transparent 46%),
    rgba(12, 13, 16, 0.9);
}

.panel-heading,
.preview-toolbar > div:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
}

.step-index {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.09em;
}

.panel-heading h2,
.preview-toolbar h2 {
  margin: 0 0 4px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.panel-heading p,
.preview-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

form {
  margin-top: 36px;
}

.field-label,
fieldset legend {
  display: block;
  margin-bottom: 12px;
  color: #c7cad1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.input-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 51px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.input-shell:focus-within {
  border-color: rgba(213, 255, 95, 0.62);
  background: rgba(213, 255, 95, 0.045);
  box-shadow: 0 0 0 4px rgba(213, 255, 95, 0.055);
}

.input-shell > span {
  color: var(--accent);
  font-size: 13px;
}

.input-shell input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 14px;
}

.input-shell input::placeholder {
  color: #676b74;
}

.field-error {
  min-height: 17px;
  margin: 7px 0 0;
  color: #ffaaa5;
  font-size: 11px;
}

fieldset {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

.option-grid {
  display: grid;
  gap: 8px;
}

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

.option-card,
.style-chip {
  position: relative;
  cursor: pointer;
}

.option-card input,
.style-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.option-card {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 78px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #aeb2ba;
  background: rgba(255, 255, 255, 0.025);
  font-size: 10px;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.option-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  color: var(--text);
}

.option-card:has(input:checked) {
  border-color: rgba(213, 255, 95, 0.5);
  color: var(--text);
  background: var(--accent-soft);
}

.option-card:has(input:focus-visible),
.style-chip:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.option-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
}

.style-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.style-chip span {
  display: block;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  font-size: 10px;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.style-chip:has(input:checked) span {
  border-color: rgba(213, 255, 95, 0.48);
  color: var(--text);
  background: var(--accent-soft);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-height: 52px;
  padding: 0 12px 0 19px;
  border-radius: 14px;
  cursor: pointer;
  color: #11140d;
  background: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 34px rgba(174, 221, 58, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(174, 221, 58, 0.22);
}

.primary-button.is-generating .button-arrow {
  animation: turn 650ms ease;
}

.button-arrow {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  color: var(--text);
  background: #161914;
  font-size: 15px;
}

.text-button {
  padding: 12px 6px;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
}

.text-button:hover { color: var(--text); }

.sample-section {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.sample-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #858a94;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.sample-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.sample-button {
  display: grid;
  justify-items: start;
  gap: 7px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  color: #8e939c;
  background: rgba(255, 255, 255, 0.02);
  font-size: 9px;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.sample-button:hover,
.sample-button.is-active {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.sample-swatch {
  width: 100%;
  height: 24px;
  border-radius: 7px;
}

.swatch-cup { background: linear-gradient(120deg, #b9d2d4, #f2dfc8 55%, #8d819d); }
.swatch-aroma { background: linear-gradient(120deg, #674735, #d7aa75 55%, #303a2e); }
.swatch-speaker { background: linear-gradient(120deg, #5d4d9f, #9ff3ee 55%, #161c36); }

.preview-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), transparent 35%);
}

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

.simulation-badge {
  padding: 7px 10px;
  border: 1px solid rgba(213, 255, 95, 0.28);
  border-radius: 8px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.scene-canvas {
  --scene-a: #c5d5d4;
  --scene-b: #e9dfd0;
  --scene-c: #81768a;
  position: relative;
  min-height: clamp(390px, 42vw, 600px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  isolation: isolate;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.18), transparent 33%),
    linear-gradient(145deg, var(--scene-a) 0%, var(--scene-b) 54%, var(--scene-c) 115%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 28px 70px rgba(0, 0, 0, 0.26);
  transition: background 400ms ease;
}

.scene-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 100%);
}

.scene-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.13), transparent 34%, rgba(0, 0, 0, 0.16));
  mix-blend-mode: soft-light;
}

.scene-outdoor {
  --scene-a: #a6c8b7;
  --scene-b: #d9d0ab;
  --scene-c: #405d4c;
}

.scene-gallery {
  --scene-a: #d4d2d5;
  --scene-b: #b8b6bf;
  --scene-c: #565365;
}

.style-editorial { filter: saturate(0.78) contrast(1.08); }
.style-future {
  --scene-a: #47627c;
  --scene-b: #645c9e;
  --scene-c: #101a35;
  filter: saturate(1.22) contrast(1.08);
}

.scene-sun {
  position: absolute;
  top: 9%;
  right: 7%;
  width: clamp(130px, 16vw, 235px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.64;
  background: rgba(255, 248, 211, 0.76);
  box-shadow: 0 0 80px rgba(255, 244, 188, 0.45);
}

.style-future .scene-sun {
  background: rgba(125, 255, 243, 0.42);
  box-shadow: 0 0 70px rgba(125, 255, 243, 0.45), inset 0 0 0 2px rgba(219, 255, 255, 0.5);
}

.scene-window {
  position: absolute;
  top: 0;
  left: 6%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 30%;
  height: 42%;
  padding: 10px;
  opacity: 0.3;
  transform: skewX(-6deg);
}

.scene-window span { border: 1px solid rgba(255, 255, 255, 0.75); }

.scene-orbit {
  position: absolute;
  top: 12%;
  left: 15%;
  width: 57%;
  height: 55%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.scene-orbit::before,
.scene-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.scene-orbit::before { top: 20%; right: 3%; width: 7px; height: 7px; }
.scene-orbit::after { bottom: 7%; left: 17%; width: 4px; height: 4px; }

.scene-horizon {
  position: absolute;
  right: -8%;
  bottom: -9%;
  width: 82%;
  height: 44%;
  border-radius: 50% 0 0;
  transform: rotate(-5deg);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.scene-outdoor .scene-horizon {
  right: -14%;
  bottom: -14%;
  width: 105%;
  height: 52%;
  border-radius: 50% 48% 0 0;
  background: rgba(44, 75, 54, 0.42);
}

.scene-gallery .scene-horizon {
  right: 9%;
  bottom: -8%;
  width: 64%;
  height: 35%;
  border-radius: 50% 50% 0 0;
  background: rgba(255, 255, 255, 0.32);
}

.scene-shadow {
  position: absolute;
  z-index: 2;
  right: 22%;
  bottom: 13%;
  width: 32%;
  height: 11%;
  border-radius: 50%;
  opacity: 0.42;
  transform: rotate(-4deg);
  background: #222230;
  filter: blur(18px);
  transition: right 420ms ease, bottom 420ms ease, width 420ms ease;
}

.product-object {
  position: absolute;
  z-index: 4;
  right: 27%;
  bottom: 20%;
  width: clamp(105px, 13vw, 175px);
  height: clamp(190px, 23vw, 315px);
  transform: rotate(2deg);
  filter: drop-shadow(0 26px 22px rgba(40, 35, 45, 0.27));
  transition: right 420ms ease, bottom 420ms ease, transform 420ms ease, width 420ms ease, height 420ms ease;
}

.product-cap,
.product-body,
.product-base {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.product-cap {
  z-index: 2;
  top: 0;
  width: 58%;
  height: 12%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 16px 16px 7px 7px;
  background: linear-gradient(100deg, #5e6670, #d9dadd 53%, #5c6068);
}

.product-body {
  top: 8%;
  width: 76%;
  height: 84%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 31% 31% 23% 23% / 12% 12% 10% 10%;
  background: linear-gradient(100deg, #7f8e91 0%, #edf0ed 42%, #b7cac7 62%, #748184 100%);
  box-shadow: inset -14px 0 20px rgba(45, 60, 66, 0.24), inset 12px 0 20px rgba(255, 255, 255, 0.32);
}

.product-base {
  bottom: 0;
  width: 61%;
  height: 7%;
  border-radius: 0 0 13px 13px;
  background: #777f82;
}

.product-shine {
  position: absolute;
  top: 8%;
  left: 19%;
  width: 13%;
  height: 70%;
  border-radius: 50%;
  opacity: 0.7;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.75), transparent);
  filter: blur(4px);
}

.product-symbol {
  position: absolute;
  top: 38%;
  left: 50%;
  color: rgba(63, 70, 72, 0.72);
  font-size: clamp(18px, 2.4vw, 31px);
  transform: translateX(-50%);
}

.product-aroma .product-object {
  height: clamp(165px, 20vw, 260px);
}

.product-aroma .product-cap {
  top: -10%;
  width: 47%;
  height: 20%;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(100deg, #3c2b20, #a57856 52%, #3a291f);
}

.product-aroma .product-body {
  top: 12%;
  width: 90%;
  height: 76%;
  border-radius: 25% 25% 32% 32% / 18% 18% 22% 22%;
  background: linear-gradient(100deg, rgba(78, 49, 29, 0.92), rgba(211, 159, 103, 0.82) 50%, rgba(62, 40, 25, 0.95));
  box-shadow: inset 12px 0 20px rgba(255, 217, 172, 0.24), inset -14px 0 24px rgba(31, 18, 12, 0.34);
}

.product-aroma .product-base {
  width: 67%;
  height: 10%;
  border-radius: 50%;
  background: #473021;
}

.product-aroma .product-symbol { color: rgba(255, 230, 193, 0.72); }

.product-speaker .product-object {
  width: clamp(150px, 19vw, 250px);
  height: clamp(150px, 19vw, 250px);
}

.product-speaker .product-cap { display: none; }

.product-speaker .product-body {
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(135, 255, 240, 0.8) 0 3%, transparent 3.5%),
    repeating-radial-gradient(circle at center, #2c3150 0 3px, #1a1d31 4px 7px);
  box-shadow:
    inset 0 0 0 9px rgba(154, 247, 237, 0.13),
    inset 0 0 36px rgba(119, 219, 255, 0.18),
    0 0 36px rgba(117, 241, 229, 0.24);
}

.product-speaker .product-base {
  bottom: -5%;
  width: 55%;
  height: 11%;
  border-radius: 50%;
  background: rgba(17, 21, 37, 0.8);
  filter: blur(3px);
}

.product-speaker .product-symbol { display: none; }

.scene-prop {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.prop-one {
  right: 8%;
  bottom: 13%;
  width: 13%;
  height: 19%;
  border-radius: 50% 50% 18px 18px;
  transform: rotate(12deg);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.prop-two {
  right: 49%;
  bottom: 16%;
  width: 14%;
  height: 8%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.scene-copy {
  position: absolute;
  z-index: 7;
  top: 10%;
  left: 7%;
  display: grid;
  max-width: 40%;
}

.scene-copy span {
  margin-bottom: 12px;
  color: rgba(33, 36, 42, 0.62);
  font-size: clamp(7px, 0.7vw, 10px);
  font-weight: 800;
  letter-spacing: 0.17em;
}

.scene-copy strong {
  color: rgba(24, 26, 31, 0.9);
  font-size: clamp(28px, 4.3vw, 60px);
  font-weight: 650;
  letter-spacing: -0.07em;
  line-height: 1.05;
}

.scene-copy small {
  margin-top: 12px;
  color: rgba(33, 36, 42, 0.64);
  font-size: clamp(9px, 1vw, 13px);
  letter-spacing: 0.1em;
}

.style-future .scene-copy span,
.style-future .scene-copy strong,
.style-future .scene-copy small {
  color: rgba(234, 255, 252, 0.86);
}

.canvas-label {
  position: absolute;
  z-index: 9;
  right: 18px;
  bottom: 16px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(13, 14, 18, 0.33);
  backdrop-filter: blur(9px);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.variant-b .product-object {
  right: 18%;
  bottom: 8%;
  width: clamp(145px, 20vw, 265px);
  height: clamp(260px, 34vw, 450px);
  transform: rotate(-4deg);
}

.variant-b.product-aroma .product-object {
  height: clamp(215px, 29vw, 370px);
}

.variant-b.product-speaker .product-object {
  width: clamp(215px, 29vw, 390px);
  height: clamp(215px, 29vw, 390px);
}

.variant-b .scene-shadow { right: 13%; bottom: 5%; width: 43%; }
.variant-b .scene-copy { top: 14%; left: 6%; max-width: 34%; }

.variant-c .product-object {
  right: 46%;
  bottom: 16%;
  transform: translateX(50%) rotate(0deg) scale(0.82);
}

.variant-c .scene-shadow { right: 34%; bottom: 11%; width: 30%; }
.variant-c .scene-sun { top: 6%; right: 50%; transform: translateX(50%) scale(1.7); opacity: 0.37; }
.variant-c .scene-copy { top: auto; left: 6%; bottom: 7%; max-width: 42%; }
.variant-c .scene-copy strong { font-size: clamp(22px, 3vw, 43px); }

.scene-canvas.is-refreshing .product-object,
.scene-canvas.is-refreshing .scene-copy {
  animation: reveal 520ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.candidate-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 13px;
}

.candidate-button {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.candidate-button:hover { transform: translateY(-2px); color: var(--text); }

.candidate-button.is-active {
  border-color: rgba(213, 255, 95, 0.42);
  color: var(--text);
  background: var(--accent-soft);
}

.candidate-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  color: #a9adb5;
  background: rgba(255, 255, 255, 0.06);
  font-size: 9px;
}

.candidate-button.is-active .candidate-number {
  color: #11140d;
  background: var(--accent);
}

.candidate-button > span:last-child { display: grid; gap: 3px; min-width: 0; }
.candidate-button strong { font-size: 10px; }
.candidate-button small { color: #7d818a; font-size: 8px; }

.result-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.result-meta span {
  color: #747983;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.result-meta p {
  margin: 6px 0 0;
  color: #bdc0c7;
  font-size: 10px;
}

.result-note {
  display: flex;
  align-items: center;
  gap: 9px;
}

.result-note span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: #a6abb4;
}

.result-note p { margin: 0; color: #777c86; }

.how-it-works {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  padding: 116px 3% 104px;
}

.how-it-works h2 {
  font-size: clamp(29px, 3.5vw, 50px);
  line-height: 1.14;
}

.how-it-works ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-it-works li {
  min-height: 184px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.how-it-works li > span {
  display: block;
  margin-bottom: 47px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.how-it-works li strong { display: block; font-size: 13px; }
.how-it-works li p { margin: 9px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: #6f737c;
  font-size: 10px;
}

footer p { margin: 0; }

@keyframes reveal {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; }
}

@keyframes turn {
  to { transform: rotate(180deg); }
}

@media (max-width: 1120px) {
  .studio { grid-template-columns: 360px minmax(0, 1fr); }
  .control-panel, .preview-panel { padding: 28px; }
  .scene-canvas { min-height: 470px; }
  .result-meta { grid-template-columns: 1fr; }
  .result-note { justify-content: flex-start; }
  .how-it-works { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .site-header, main, footer { width: min(100% - 28px, 700px); }
  .hero { grid-template-columns: 1fr; padding: 60px 0 38px; }
  .privacy-card { justify-self: start; }
  .studio { grid-template-columns: 1fr; }
  .control-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .scene-canvas { min-height: min(520px, 73vw); }
  .how-it-works { padding-inline: 0; }
}

@media (max-width: 600px) {
  .site-header { min-height: 76px; }
  .brand-copy small { display: none; }
  .header-note { font-size: 10px; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(39px, 12vw, 58px); }
  .hero-intro { line-height: 1.7; }
  .privacy-card { width: 100%; min-width: 0; }
  .studio { border-radius: 22px; }
  .control-panel, .preview-panel { padding: 22px 18px; }
  .scene-options, .sample-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .option-card { min-height: 72px; padding-inline: 4px; }
  .sample-button { padding: 8px 6px; font-size: 8px; }
  .preview-toolbar { align-items: flex-start; }
  .simulation-badge { display: none; }
  .scene-canvas { min-height: 440px; border-radius: 18px; }
  .scene-copy { top: 8%; left: 7%; max-width: 56%; }
  .scene-copy strong { font-size: clamp(27px, 10vw, 44px); }
  .product-object { right: 20%; bottom: 18%; }
  .candidate-button { display: grid; justify-items: center; gap: 5px; padding: 9px 4px; text-align: center; }
  .candidate-button small { display: none; }
  .result-note p { line-height: 1.6; }
  .how-it-works { gap: 38px; padding-block: 80px 70px; }
  .how-it-works ol { grid-template-columns: 1fr; }
  .how-it-works li { min-height: 0; }
  .how-it-works li > span { margin-bottom: 28px; }
  footer { display: grid; line-height: 1.6; }
}

@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;
  }
}
