:root {
  --bg-top: #ffffff;
  --bg-mid: #ffffff;
  --bg-bottom: #ffffff;
  --paper: #ffffff;
  --paper-strong: #f8f9fd;
  --panel-dark: #050505;
  --panel-dark-soft: #121217;
  --ink: #050505;
  --muted: #52586a;
  --line: rgba(5, 5, 5, 0.12);
  --line-strong: rgba(5, 5, 5, 0.24);
  --purple: #a020f0;
  --green: #39ff14;
  --cyan: #00ffff;
  --shadow-soft: 0 22px 44px rgba(5, 5, 5, 0.08);
  --shadow-strong: 0 30px 80px rgba(5, 5, 5, 0.14);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --choice-card-radius: 18px;
  --choice-card-radius-mobile: 16px;
  --container: min(1180px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #ffffff;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.55;
  accent-color: var(--green);
}

body::before {
  content: none;
}

body::after {
  content: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
  line-height: 0.96;
}

.ambient-art {
  display: none;
}

.paint-blob,
.squiggle {
  position: absolute;
  opacity: 0.9;
  filter: blur(4px);
}

.paint-blob {
  border-radius: 58% 42% 64% 36% / 43% 47% 53% 57%;
  animation: drift 18s ease-in-out infinite alternate;
}

.paint-coral {
  top: -8rem;
  left: -6rem;
  width: 24rem;
  height: 20rem;
  background: radial-gradient(circle at 35% 35%, rgba(160, 32, 240, 0.86), rgba(160, 32, 240, 0.18) 70%, transparent 72%);
}

.paint-teal {
  top: 6rem;
  right: -6rem;
  width: 20rem;
  height: 18rem;
  background: radial-gradient(circle at 50% 45%, rgba(0, 255, 255, 0.8), rgba(0, 255, 255, 0.16) 70%, transparent 72%);
  animation-delay: 3s;
}

.paint-sun {
  bottom: 14rem;
  left: 4rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle at 45% 45%, rgba(57, 255, 20, 0.78), rgba(57, 255, 20, 0.14) 70%, transparent 72%);
  animation-delay: 5s;
}

.paint-sky {
  bottom: -4rem;
  right: 10rem;
  width: 18rem;
  height: 16rem;
  background: radial-gradient(circle at 42% 42%, rgba(0, 255, 255, 0.72), rgba(160, 32, 240, 0.12) 70%, transparent 72%);
  animation-delay: 2s;
}

.squiggle {
  width: 22rem;
  height: 10rem;
  border: 10px solid transparent;
  border-top-color: rgba(160, 32, 240, 0.54);
  border-left-color: rgba(0, 255, 255, 0.3);
  border-radius: 110px;
}

.squiggle-left {
  left: -3rem;
  top: 20rem;
  transform: rotate(-14deg);
}

.squiggle-right {
  right: -2rem;
  bottom: 10rem;
  transform: rotate(18deg);
  border-top-color: rgba(57, 255, 20, 0.42);
  border-left-color: rgba(0, 255, 255, 0.26);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  padding: 1.4rem 0 5.5rem;
}

.language-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.2rem;
}

.lang-switch {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem;
  min-width: 9.25rem;
  padding: 0.3rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.lang-switch::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: 0.3rem;
  width: calc(50% - 0.1rem);
  height: calc(100% - 0.6rem);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(160, 32, 240, 0.96), rgba(0, 255, 255, 0.9));
  box-shadow: 0 10px 22px rgba(160, 32, 240, 0.18);
  transition: transform 200ms ease;
  z-index: 0;
}

.lang-switch[data-language="en"]::before {
  transform: translateX(calc(100% + 0.2rem));
}

.lang-switch__option {
  position: relative;
  z-index: 1;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(5, 5, 5, 0.68);
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.lang-switch__option:hover,
.lang-switch__option:focus-visible {
  transform: translateY(-1px);
}

.lang-switch__option.is-active {
  color: #050505;
}

.lang-switch:focus-within {
  box-shadow:
    var(--shadow-soft),
    0 0 0 4px rgba(0, 255, 255, 0.12);
}

main {
  display: grid;
  gap: 3.8rem;
}

.hero {
  padding-top: 0.4rem;
}

.hero-head {
  display: grid;
  grid-template-columns: minmax(16rem, 23rem) minmax(0, 1fr);
  align-items: center;
  gap: 1.1rem 2.2rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.4rem;
  border-bottom: 2px solid rgba(5, 5, 5, 0.08);
}

.hero-identity {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  min-width: 0;
}

.hero-logo-wrap {
  align-self: start;
  width: min(100%, 18rem);
  margin: 0;
}

.hero-logo-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(160, 32, 240, 0.24)) drop-shadow(0 0 30px rgba(0, 255, 255, 0.16));
}

.hero-brand {
  display: grid;
  gap: 0.55rem;
  align-content: center;
  margin: 0;
  min-width: 0;
}

.product-grid,
.studio-grid {
  display: grid;
  gap: 1.5rem;
}

.product-grid {
  max-width: none;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: start;
}

.studio-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.studio-side {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.brand-claim {
  margin: 0;
  max-width: 15ch;
  font-family: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
  font-size: clamp(2.55rem, 4.5vw, 4.3rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-wrap: balance;
  text-shadow: none;
}

.brand-claim::after {
  content: "";
  display: block;
  width: min(13rem, 55%);
  height: 0.7rem;
  margin-top: 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), var(--cyan), var(--green));
  box-shadow: 0 8px 18px rgba(160, 32, 240, 0.12);
}

.site-menu {
  position: relative;
  flex: 0 0 auto;
  margin-top: 0.35rem;
}

.site-menu__toggle {
  list-style: none;
  display: grid;
  gap: 0.28rem;
  place-content: center;
  width: 3.2rem;
  height: 3.2rem;
  padding: 0;
  border: 1px solid rgba(5, 5, 5, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-menu__toggle::-webkit-details-marker {
  display: none;
}

.site-menu__toggle:hover,
.site-menu__toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(160, 32, 240, 0.24);
  box-shadow: 0 18px 34px rgba(160, 32, 240, 0.12);
}

.site-menu__bar {
  display: block;
  width: 1.18rem;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-menu[open] .site-menu__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-menu[open] .site-menu__bar:nth-child(2) {
  opacity: 0;
}

.site-menu[open] .site-menu__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-menu__panel {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  z-index: 8;
  display: grid;
  gap: 0.45rem;
  min-width: 12rem;
  padding: 0.8rem;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 50px rgba(5, 5, 5, 0.12);
}

.site-menu__link {
  display: block;
  padding: 0.72rem 0.85rem;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: rgba(5, 5, 5, 0.04);
  transition: background 180ms ease, transform 180ms ease;
}

.site-menu__link.is-current {
  background: linear-gradient(135deg, rgba(160, 32, 240, 0.14), rgba(0, 255, 255, 0.12));
  box-shadow: inset 0 0 0 1px rgba(160, 32, 240, 0.16);
}

.site-menu__link:hover,
.site-menu__link:focus-visible {
  background: rgba(160, 32, 240, 0.12);
  transform: translateX(2px);
}

.site-menu__link.is-current:hover,
.site-menu__link.is-current:focus-visible {
  transform: none;
}

.product-tile,
.steps-tile,
.workflow-card,
.config-form,
.result-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.product-tile::before,
.steps-tile::before,
.workflow-card::before,
.config-form::before,
.result-card::before {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.product-tile {
  display: grid;
  gap: 1rem;
  align-content: end;
  min-height: 24.5rem;
  padding: 2.2rem;
  border-radius: 34px 46px 28px 42px;
  background:
    linear-gradient(165deg, rgba(9, 9, 12, 0.98), rgba(5, 5, 5, 1));
  color: #f8ffff;
  transform: translateY(0.4rem) rotate(-1.2deg);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  box-shadow:
    0 24px 70px rgba(160, 32, 240, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-tile::before {
  content: "";
  position: absolute;
  right: -2rem;
  top: -1.5rem;
  width: 13rem;
  height: 13rem;
  background: radial-gradient(circle, rgba(160, 32, 240, 0.22), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.product-tile::after {
  content: "";
  position: absolute;
  left: -1rem;
  bottom: -2.2rem;
  width: 19rem;
  height: 8.5rem;
  border-radius: 55% 45% 0 0;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.product-tile:hover,
.product-tile:focus-visible {
  transform: translateY(-7px) rotate(-1.2deg);
  box-shadow: var(--shadow-strong);
}

.product-tile.is-selected {
  border-color: rgba(0, 255, 255, 0.28);
}

.product-tile h2 {
  position: relative;
  z-index: 1;
  max-width: 11ch;
  font-size: clamp(2.8rem, 5.1vw, 4.4rem);
  letter-spacing: -0.05em;
  text-shadow: 0 0 18px rgba(160, 32, 240, 0.18);
}

.product-tile p {
  position: relative;
  z-index: 1;
  max-width: 26rem;
  margin: 0;
  color: rgba(239, 252, 255, 0.9);
  font-size: 1.04rem;
}

.tile-copy {
  max-width: 24rem;
  font-size: 1.08rem !important;
}

.tile-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.35rem;
}

.tile-note {
  font-size: 0.9rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(57, 255, 20, 0.86) !important;
}

.tile-subnote {
  max-width: 26rem;
  font-size: 0.98rem !important;
  color: rgba(239, 252, 255, 0.82) !important;
}

.eyebrow,
.mini-label,
.workflow-card > span,
.result-scene-label,
.result-scene-copy,
.result-provider {
  display: inline-flex;
  width: fit-content;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.steps-tile {
  display: grid;
  gap: 1.2rem;
  min-height: 26rem;
  padding: 2.1rem;
  border-radius: 26px 40px 28px 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 253, 0.98));
  color: var(--ink);
  transform: translateY(-0.3rem) rotate(1deg);
  box-shadow:
    0 28px 60px rgba(5, 5, 5, 0.08),
    inset 0 0 0 1px rgba(0, 255, 255, 0.12);
}

.steps-tile::before {
  left: -2rem;
  top: -2rem;
  width: 11rem;
  height: 11rem;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.18), transparent 68%);
}

.steps-tile::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 13rem;
  height: 13rem;
  border-radius: 44% 56% 52% 48%;
  background: radial-gradient(circle, rgba(160, 32, 240, 0.16), transparent 72%);
}

.steps-tile h2 {
  max-width: 8ch;
  font-size: clamp(2.7rem, 5.2vw, 4.2rem);
  letter-spacing: -0.05em;
}

.steps-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-list li {
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(5, 5, 5, 0.08);
  box-shadow: 0 10px 22px rgba(5, 5, 5, 0.05);
}

.steps-list strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.steps-list span {
  color: rgba(82, 88, 106, 0.96);
}

.workflow,
.studio {
  position: relative;
}

.workflow {
  margin-top: 0;
}

.workflow-inline {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding-top: 0.15rem;
}

.workflow-inline .section-heading {
  max-width: none;
  margin-bottom: 0.25rem;
  padding-bottom: 0.85rem;
}

.workflow-inline .section-heading h2 {
  max-width: 12ch;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  margin-bottom: 0.35rem;
}

.workflow-inline .workflow-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.workflow-inline .workflow-card {
  min-height: 13rem;
  padding: 1.2rem;
}

.workflow-inline .workflow-card h3 {
  font-size: 1.2rem;
}

.workflow-inline .workflow-card p {
  font-size: 0.95rem;
}

.section-heading {
  position: relative;
  max-width: 52rem;
  margin-bottom: 1.4rem;
  padding: 0 0 1rem;
  border: 0;
  border-bottom: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 8rem;
  height: 0.32rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), var(--cyan), var(--green));
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.05em;
  margin-bottom: 0.9rem;
  color: var(--ink);
}

.section-heading p {
  max-width: 44rem;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.eyebrow,
.mini-label,
.workflow-card > span {
  background: rgba(5, 5, 5, 0.06);
  color: var(--ink);
}

.workflow-card > span {
  align-items: center;
  justify-content: center;
  min-width: 5.8rem;
  min-height: 2.15rem;
  padding: 0 0.98rem;
  line-height: 1;
  white-space: nowrap;
  border-radius: 999px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.workflow-card {
  display: grid;
  gap: 0.9rem;
  min-height: 16rem;
  padding: 1.45rem;
  border-radius: 24px;
  background: #ffffff;
}

.workflow-card::before {
  right: -2rem;
  top: -2rem;
  width: 7rem;
  height: 7rem;
  background: rgba(5, 5, 5, 0.04);
}

.workflow-card:nth-child(1) {
  border-top: 6px solid var(--purple);
  transform: translateY(0.8rem) rotate(-1.2deg);
}

.workflow-card:nth-child(2) {
  border-top: 6px solid var(--cyan);
  transform: rotate(1.2deg);
}

.workflow-card:nth-child(3) {
  border-top: 6px solid var(--green);
  transform: translateY(1rem) rotate(-1deg);
}

.workflow-card:nth-child(4) {
  border-top: 6px solid var(--purple);
  transform: rotate(1.4deg);
}

.workflow-card h3 {
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.workflow-card p {
  margin: 0;
  color: var(--muted);
}

.studio-grid {
  align-items: start;
}

.studio-stage-intro {
  max-width: 58rem;
}

.studio-stage-nav {
  display: grid;
  gap: 0.6rem;
  margin: -0.2rem 0 1.35rem;
}

.studio-stage-intro__step {
  margin: 0 0 0.85rem;
}

@media (min-width: 981px) {
  .studio-stage-intro[data-step="3"] #studio-stage-copy {
    max-width: none;
    white-space: nowrap;
  }
}

.config-form {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
  scroll-margin-top: 1.4rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 253, 0.98));
  box-shadow: 0 28px 68px rgba(5, 5, 5, 0.1);
}

.config-form::before {
  right: -2rem;
  top: -2rem;
  width: 10rem;
  height: 10rem;
  background: radial-gradient(circle, rgba(160, 32, 240, 0.14), transparent 70%);
}

.config-form::after {
  content: "";
  position: absolute;
  left: -2rem;
  bottom: -2rem;
  width: 11rem;
  height: 11rem;
  border-radius: 56% 44% 40% 60%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1), transparent 72%);
  pointer-events: none;
}

.wizard-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.35rem;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 999px;
  background: #ffffff;
}

.wizard-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(5, 5, 5, 0.08);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.wizard-step--link {
  text-decoration: none;
}

.wizard-step:hover,
.wizard-step:focus-visible {
  transform: translateY(-2px);
}

.wizard-step.is-active {
  border-color: rgba(160, 32, 240, 0.34);
  background: linear-gradient(135deg, rgba(160, 32, 240, 0.16), rgba(0, 255, 255, 0.12));
  color: var(--ink);
  box-shadow: 0 10px 20px rgba(160, 32, 240, 0.08);
}

.wizard-step.is-complete {
  border-color: rgba(57, 255, 20, 0.24);
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.14), rgba(0, 255, 255, 0.12));
  color: var(--ink);
}

.wizard-progress {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-stack {
  display: grid;
}

.step-panel {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(5, 5, 5, 0.05);
}

.step-panel:nth-child(1) {
  background: linear-gradient(180deg, rgba(160, 32, 240, 0.05), rgba(255, 255, 255, 0.98));
}

.step-panel:nth-child(2) {
  background: linear-gradient(180deg, rgba(0, 255, 255, 0.05), rgba(255, 255, 255, 0.98));
}

.step-panel:nth-child(3) {
  background: linear-gradient(180deg, rgba(57, 255, 20, 0.05), rgba(255, 255, 255, 0.98));
}

.step-panel:nth-child(4) {
  background: linear-gradient(180deg, rgba(160, 32, 240, 0.04), rgba(255, 255, 255, 0.98));
}

.step-panel[hidden] {
  display: none;
}

.step-panel.is-active {
  animation: panel-pop 420ms cubic-bezier(.2,.8,.2,1);
}

.step-panel.is-active .step-head {
  animation: fade-up 320ms 40ms both;
}

.step-panel.is-active .form-grid,
.step-panel.is-active .checkbox-group,
.step-panel.is-active .step-actions,
.step-panel.is-active .config-status,
.step-panel.is-active .config-note {
  animation: fade-up 360ms 90ms both;
}

.step-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.step-head > span {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #050505;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.18);
}

.step-head h3 {
  margin-bottom: 0.25rem;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.step-head p {
  margin: 0;
  color: var(--muted);
}

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

.form-field {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field span,
.form-field legend {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(5, 5, 5, 0.12);
  border-radius: 20px;
  padding: 0.95rem 1rem;
  background: #ffffff;
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 6px 14px rgba(5, 5, 5, 0.04);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.form-field textarea {
  min-height: 170px;
  resize: vertical;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 250, 253, 0.92)),
    repeating-linear-gradient(
      180deg,
      rgba(0, 255, 255, 0.04),
      rgba(0, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 34px
    );
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(167, 184, 200, 0.82);
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: rgba(160, 32, 240, 0.22);
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(0, 255, 255, 0.34);
  box-shadow:
    0 0 0 4px rgba(0, 255, 255, 0.12),
    0 16px 30px rgba(0, 255, 255, 0.12);
}

.is-hidden {
  display: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  border: 0;
  max-height: 40rem;
  overflow: hidden;
  transform-origin: top center;
  transition:
    max-height 260ms ease,
    opacity 220ms ease,
    transform 220ms ease,
    margin 220ms ease;
}

.product-stage {
  display: grid;
  gap: 1rem;
}

.product-stage__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.product-stage.has-selection .product-choice-grid {
  max-height: 0;
  opacity: 0;
  margin: 0;
  transform: translateY(-0.65rem) scaleY(0.92);
  pointer-events: none;
}

.product-stage__selected {
  margin: 0;
  appearance: none;
  border: 1px solid rgba(5, 5, 5, 0.04);
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(5, 5, 5, 0.96), rgba(24, 24, 28, 0.96));
  color: #f7ffff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(5, 5, 5, 0.12);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.product-stage__selected:hover,
.product-stage__selected:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 255, 255, 0.4);
  background: linear-gradient(135deg, rgba(5, 5, 5, 0.92), rgba(34, 34, 40, 0.96));
  box-shadow: 0 16px 28px rgba(0, 255, 255, 0.12);
}

.product-stage__selected--size {
  border-color: rgba(57, 255, 20, 0.24);
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.95), rgba(0, 255, 255, 0.86));
  color: #050505;
  box-shadow: 0 14px 28px rgba(57, 255, 20, 0.12);
}

.product-stage__selected--size:hover,
.product-stage__selected--size:focus-visible {
  border-color: rgba(160, 32, 240, 0.24);
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.98), rgba(0, 255, 255, 0.92));
  box-shadow: 0 16px 30px rgba(57, 255, 20, 0.16);
}

.product-size-field,
.product-color-field {
  padding: 1rem;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 24px;
  background: rgba(248, 249, 253, 0.92);
  transition:
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease,
    filter 220ms ease;
}

.product-size-field legend,
.product-color-field legend {
  padding: 0 0.35rem;
  font-weight: 800;
}

.product-size-field {
  max-height: 14rem;
  overflow: hidden;
  transform-origin: top center;
  transition:
    max-height 260ms ease,
    opacity 220ms ease,
    padding 220ms ease,
    margin 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.product-stage.has-size-selection .product-size-field {
  max-height: 0;
  margin: -0.35rem 0 0;
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
  opacity: 0;
  transform: translateY(-0.4rem) scaleY(0.9);
  pointer-events: none;
}

.product-size-field.is-locked,
.product-color-field.is-locked {
  border-color: rgba(5, 5, 5, 0.06);
  background:
    linear-gradient(180deg, rgba(241, 243, 247, 0.96), rgba(236, 239, 244, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.product-size-field.is-locked legend,
.product-size-field.is-locked .product-size-hint,
.product-color-field.is-locked legend,
.product-color-field.is-locked .product-color-hint {
  color: rgba(82, 88, 106, 0.8);
}

.product-size-hint,
.product-color-hint {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.product-size-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
}

.product-size-option {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 4rem;
  padding: 0.8rem 0.4rem;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 250, 0.98));
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.product-size-option:hover,
.product-size-option:focus-within {
  transform: translateY(-1px);
  border-color: rgba(160, 32, 240, 0.24);
  box-shadow: 0 10px 22px rgba(5, 5, 5, 0.06);
}

.product-size-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-size-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  min-height: 2.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.04);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-size-option.is-selected,
.product-size-option:has(input:checked) {
  border-color: rgba(160, 32, 240, 0.3);
  background:
    linear-gradient(135deg, rgba(160, 32, 240, 0.12), rgba(0, 255, 255, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 250, 0.98));
  box-shadow: 0 14px 28px rgba(160, 32, 240, 0.08);
}

.product-size-option.is-selected .product-size-name,
.product-size-option:has(input:checked) .product-size-name {
  background: linear-gradient(135deg, rgba(5, 5, 5, 0.96), rgba(28, 28, 34, 0.96));
  color: #f7ffff;
}

.product-size-option.is-disabled {
  border-color: rgba(5, 5, 5, 0.06);
  background: linear-gradient(180deg, rgba(240, 243, 247, 0.96), rgba(232, 236, 241, 0.96));
  box-shadow: none;
  cursor: not-allowed;
}

.product-size-option.is-disabled:hover,
.product-size-option.is-disabled:focus-within {
  transform: none;
  border-color: rgba(5, 5, 5, 0.06);
  box-shadow: none;
}

.product-size-option.is-disabled .product-size-name {
  background: rgba(5, 5, 5, 0.06);
  color: rgba(82, 88, 106, 0.82);
}

.context-stage {
  display: grid;
  gap: 1rem;
}

.context-choice-field {
  padding: 1rem;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 24px;
  background: rgba(248, 249, 253, 0.92);
  max-height: 19rem;
  overflow: hidden;
  transform-origin: top center;
  transition:
    max-height 260ms ease,
    opacity 220ms ease,
    padding 220ms ease,
    margin 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.context-choice-field legend {
  padding: 0 0.35rem;
  font-weight: 800;
}

.context-stage.has-context-selection .context-choice-field {
  max-height: 0;
  margin: -0.35rem 0 0;
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
  opacity: 0;
  transform: translateY(-0.4rem) scaleY(0.9);
  pointer-events: none;
}

.context-choice-grid,
.context-followup {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.context-option {
  position: relative;
  display: grid;
  gap: 0.42rem;
  min-height: 7rem;
  padding: 1rem;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: var(--choice-card-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 250, 0.98));
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.context-option:hover,
.context-option:focus-within {
  transform: translateY(-1px);
  border-color: rgba(160, 32, 240, 0.24);
  box-shadow: 0 12px 24px rgba(5, 5, 5, 0.06);
}

.context-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.context-option strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.context-option span {
  color: var(--muted);
  font-size: 0.9rem;
}

.context-option--freestyle {
  place-content: center;
  place-items: center;
  text-align: center;
}

.context-option--freestyle span:empty {
  display: none;
}

.context-option.is-selected,
.context-option:has(input:checked) {
  border-color: rgba(57, 255, 20, 0.28);
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.12), rgba(0, 255, 255, 0.08));
  box-shadow: 0 14px 28px rgba(57, 255, 20, 0.08);
}

.context-stage__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.context-stage__selected,
.content-elements-stage__selected {
  border: 0;
  overflow: hidden;
  background-clip: padding-box;
  box-shadow: 0 14px 28px rgba(160, 32, 240, 0.14);
}

.context-stage__selected {
  background: linear-gradient(135deg, rgba(5, 5, 5, 0.96), rgba(24, 24, 28, 0.96));
  color: #f7ffff;
}

.context-followup {
  animation: fade-up 260ms ease both;
}

.context-followup.is-hidden {
  display: none;
}

.context-followup .form-field-full {
  grid-column: 1 / -1;
}

.reference-choice-field,
.reference-upload-panel {
  padding: 1rem;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 24px;
  background: rgba(248, 249, 253, 0.92);
}

.reference-choice-field.is-hidden {
  display: none;
}

.reference-stage__summary {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.reference-stage__selected {
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.96), rgba(0, 255, 255, 0.88));
  color: #050505;
}

.reference-choice-field legend {
  padding: 0 0.35rem;
  font-weight: 800;
}

.reference-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.reference-option {
  position: relative;
  display: grid;
  gap: 0.45rem;
  min-height: 6.25rem;
  padding: 1rem;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: var(--choice-card-radius);
  background: #ffffff;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.reference-option:hover,
.reference-option:focus-within {
  transform: translateY(-1px);
  border-color: rgba(160, 32, 240, 0.24);
  box-shadow: 0 12px 24px rgba(5, 5, 5, 0.06);
}

.reference-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reference-option strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.reference-option span {
  color: var(--muted);
  font-size: 0.9rem;
}

.reference-option.is-selected,
.reference-option:has(input:checked) {
  border-color: rgba(57, 255, 20, 0.28);
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.12), rgba(0, 255, 255, 0.08));
  box-shadow: 0 14px 28px rgba(57, 255, 20, 0.08);
}

.reference-upload-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: end;
  animation: fade-up 260ms ease both;
}

.reference-upload-panel.is-hidden {
  display: none;
}

.reference-file-picker {
  gap: 0.7rem;
}

.reference-file-picker input[type="file"] {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.45rem;
  border: 1px dashed rgba(160, 32, 240, 0.26);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(160, 32, 240, 0.06), rgba(0, 255, 255, 0.08)),
    #ffffff;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.reference-file-picker input[type="file"]:hover,
.reference-file-picker input[type="file"]:focus-visible {
  border-color: rgba(57, 255, 20, 0.46);
  box-shadow: 0 12px 24px rgba(57, 255, 20, 0.08);
  transform: translateY(-1px);
}

.reference-file-picker input[type="file"]::file-selector-button {
  margin-right: 0.85rem;
  padding: 0.72rem 1rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #050505;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 255, 255, 0.16);
}

.reference-file-picker input[type="file"]::-webkit-file-upload-button {
  margin-right: 0.85rem;
  padding: 0.72rem 1rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #050505;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 255, 255, 0.16);
}

.reference-upload-status,
.reference-upload-preview {
  grid-column: 1 / -1;
}

.reference-upload-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.reference-upload-status[data-tone="success"] {
  color: #156f07;
}

.reference-upload-status[data-tone="error"] {
  color: #a3132b;
}

.reference-upload-preview {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
  min-height: 4.5rem;
  padding: 0.8rem;
  border: 1px dashed rgba(5, 5, 5, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
}

.reference-upload-preview img {
  width: 4rem;
  height: 4rem;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(5, 5, 5, 0.1);
}

.content-elements-stage__summary {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.style-focus-stage__summary {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.content-elements-stage__selected {
  max-width: 100%;
  justify-content: flex-start;
  background: linear-gradient(135deg, rgba(5, 5, 5, 0.96), rgba(24, 24, 28, 0.96));
  color: #f7ffff;
  white-space: normal;
  text-align: left;
  line-height: 1.2;
}

.style-focus-stage__selected {
  max-width: 100%;
  justify-content: flex-start;
  white-space: normal;
  text-align: left;
  line-height: 1.2;
}

.content-elements-field,
.custom-element-field,
.custom-style-field,
.detail-input-field,
.style-focus-field {
  animation: fade-up 260ms ease both;
}

.custom-style-field textarea {
  min-height: 7.5rem;
}

.detail-input-field textarea {
  min-height: 11.5rem;
}

.style-focus-field {
  padding: 1rem;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 24px;
  background: rgba(248, 249, 253, 0.92);
}

.style-focus-field legend {
  padding: 0 0.35rem;
  font-weight: 800;
}

.style-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.style-focus-option {
  position: relative;
  display: grid;
  gap: 0.45rem;
  min-height: 6.25rem;
  padding: 1rem;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: var(--choice-card-radius);
  background: #ffffff;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.style-focus-option:hover,
.style-focus-option:focus-within {
  transform: translateY(-1px);
  border-color: rgba(160, 32, 240, 0.24);
  box-shadow: 0 12px 24px rgba(5, 5, 5, 0.06);
}

.style-focus-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.style-focus-option strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.style-focus-option span {
  color: var(--muted);
  font-size: 0.9rem;
}

.style-focus-option strong,
.style-focus-option span {
  display: block;
  width: 100%;
  text-align: left;
}

.style-focus-option strong {
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
}

.style-focus-option.is-selected,
.style-focus-option:has(input:checked) {
  border-color: rgba(57, 255, 20, 0.28);
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.12), rgba(0, 255, 255, 0.08));
  box-shadow: 0 14px 28px rgba(57, 255, 20, 0.08);
}

.content-elements-field {
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 24px;
  background: rgba(248, 249, 253, 0.92);
  max-height: 28rem;
  overflow: hidden;
  transform-origin: top center;
  transition:
    max-height 260ms ease,
    opacity 220ms ease,
    padding 220ms ease,
    margin 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.content-elements-field legend {
  padding: 0 0.35rem;
  font-weight: 800;
}

.content-elements-field.is-collapsed {
  max-height: 0;
  margin: -0.35rem 0 0;
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
  opacity: 0;
  transform: translateY(-0.4rem) scaleY(0.9);
  pointer-events: none;
}

.content-elements-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.content-element-option {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.45rem;
  min-height: 6.25rem;
  padding: 1rem;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: var(--choice-card-radius);
  background: #ffffff;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.content-element-option:hover,
.content-element-option:focus-within {
  transform: translateY(-1px);
  border-color: rgba(160, 32, 240, 0.24);
  box-shadow: 0 12px 24px rgba(5, 5, 5, 0.06);
}

.content-element-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.content-element-option strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.content-element-option span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.content-element-option strong,
.content-element-option span {
  display: block;
  width: 100%;
  text-align: left;
}

.content-element-option strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
}

.content-element-option.is-selected,
.content-element-option:has(input:checked) {
  border-color: rgba(57, 255, 20, 0.28);
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.12), rgba(0, 255, 255, 0.08));
  box-shadow: 0 14px 28px rgba(57, 255, 20, 0.08);
}

.content-elements-note {
  grid-column: 1 / -1;
  margin: -0.15rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 247, 204, 0.58);
  color: #6f5204;
  font-size: 0.9rem;
  font-weight: 700;
}

.content-elements-note[data-tone="error"] {
  background: rgba(255, 226, 231, 0.82);
  color: #a3132b;
}

.content-elements-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.product-color-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.product-color-option {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  padding: 0.95rem 0.8rem;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 22px;
  background: #ffffff;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.product-color-option:hover,
.product-color-option:focus-within {
  transform: translateY(-1px);
}

.product-color-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-color-swatch {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid rgba(5, 5, 5, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 8px 16px rgba(5, 5, 5, 0.08);
}

.product-color-option--white .product-color-swatch {
  background: linear-gradient(180deg, #ffffff, #eceef1);
}

.product-color-option--black .product-color-swatch {
  background: linear-gradient(180deg, #2a2a2e, #050505);
}

.product-color-option--gray .product-color-swatch {
  background: linear-gradient(180deg, #d6d9df, #9fa6b2);
}

.product-color-option--beige .product-color-swatch {
  background: linear-gradient(180deg, #efe1cb, #c9ab83);
}

.product-color-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.product-color-option.is-selected,
.product-color-option:has(input:checked) {
  border-color: rgba(57, 255, 20, 0.26);
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.1), rgba(0, 255, 255, 0.06));
  box-shadow: 0 12px 24px rgba(5, 5, 5, 0.08);
}

.product-color-option.is-disabled {
  border-color: rgba(5, 5, 5, 0.06);
  background: linear-gradient(180deg, rgba(240, 243, 247, 0.96), rgba(232, 236, 241, 0.96));
  box-shadow: none;
  cursor: not-allowed;
}

.product-color-option.is-disabled:hover,
.product-color-option.is-disabled:focus-within {
  transform: none;
}

.product-color-option.is-disabled .product-color-swatch {
  filter: grayscale(0.35) saturate(0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.product-color-option.is-disabled .product-color-name {
  color: rgba(82, 88, 106, 0.82);
}

.product-stage-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(82, 88, 106, 0.86);
}

.product-option {
  display: grid;
  gap: 0.55rem;
  min-height: 19rem;
  padding: 1.1rem;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(238, 241, 246, 0.98), rgba(226, 231, 238, 0.98));
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.product-option:hover,
.product-option:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.product-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-option__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 11rem;
}

.product-option__frame {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 11rem;
  border: 1px dashed rgba(5, 5, 5, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(245, 247, 250, 0.98), rgba(232, 236, 241, 0.98));
  overflow: hidden;
}

.product-option__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(160, 32, 240, 0.12), transparent 26%),
    radial-gradient(circle at 82% 20%, rgba(0, 255, 255, 0.12), transparent 24%),
    radial-gradient(circle at 50% 88%, rgba(57, 255, 20, 0.12), transparent 28%);
}


.product-option__frame--photo {
  min-height: 13.5rem;
  border-style: solid;
  background: #f3f5f8;
}

.product-option__frame--photo::before,
.product-option__frame--photo::after {
  display: none;
}

.product-option__image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 13.5rem);
  aspect-ratio: 7 / 10;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(5, 5, 5, 0.18));
}

.product-option__ghost {
  position: relative;
  width: 7.4rem;
  aspect-ratio: 1 / 0.95;
  border-radius: 26px 26px 18px 18px;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.06), rgba(5, 5, 5, 0.13));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.product-option__ghost::before,
.product-option__ghost::after {
  content: "";
  position: absolute;
  top: 0.5rem;
  width: 28%;
  height: 34%;
  border-radius: 18px;
  background: inherit;
}

.product-option__ghost::before {
  left: -16%;
  transform: rotate(18deg);
}

.product-option__ghost::after {
  right: -16%;
  transform: rotate(-18deg);
}

.product-option__art--hoodie .product-option__ghost {
  aspect-ratio: 1 / 1.08;
  border-radius: 30px;
}

.product-option__art--hoodie .product-option__ghost::before,
.product-option__art--hoodie .product-option__ghost::after {
  top: 0.75rem;
  width: 30%;
  height: 45%;
}

.product-option__art--hoodie .product-option__ghost::before {
  left: -15%;
}

.product-option__art--hoodie .product-option__ghost::after {
  right: -15%;
}

.product-option__art--hoodie .product-option__ghost {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.16));
}

.product-option__art--hoodie .product-option__ghost > span {
  display: none;
}

.product-option__art--hoodie .product-option__frame::after {
  content: "";
  position: absolute;
  top: 2.05rem;
  left: 50%;
  width: 2.7rem;
  height: 1.7rem;
  border: 2px solid rgba(5, 5, 5, 0.16);
  border-bottom: 0;
  border-radius: 1.8rem 1.8rem 0 0;
  transform: translateX(-50%);
}

.product-option__placeholder {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 1;
  display: inline-flex;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: rgba(82, 88, 106, 0.82);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-option strong {
  font-size: 1.08rem;
}

.product-option__copy {
  color: var(--muted);
}

.product-option.is-selected {
  border-color: rgba(5, 5, 5, 0.2);
  background: linear-gradient(180deg, rgba(232, 236, 241, 1), rgba(220, 226, 233, 1));
  box-shadow: 0 18px 36px rgba(5, 5, 5, 0.08);
}

.product-option.is-selected .product-option__frame {
  border-color: rgba(5, 5, 5, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 12px 24px rgba(5, 5, 5, 0.06);
}

.checkbox-group {
  padding: 1rem;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 22px;
  background: rgba(248, 249, 253, 0.92);
}

.checkbox-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0.8rem 0.35rem 0;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(5, 5, 5, 0.08);
  background: #ffffff;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.checkbox-group label:hover,
.checkbox-group label:focus-within {
  transform: translateY(-1px);
}

.checkbox-group input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.checkbox-group label:has(input:checked) {
  border-color: rgba(57, 255, 20, 0.2);
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.12), rgba(0, 255, 255, 0.08));
  box-shadow: 0 8px 16px rgba(57, 255, 20, 0.08);
}

.step-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.step-actions.content-elements-actions {
  justify-content: flex-end;
}

.product-stage-actions {
  justify-content: flex-end;
  padding-top: 0.25rem;
}

.product-stage-actions .button {
  min-width: 11.5rem;
}

.step-hint,
.config-note,
.config-status {
  color: var(--muted);
}

.config-status {
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(160, 32, 240, 0.12), rgba(0, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(160, 32, 240, 0.12);
}

.config-note {
  margin: 0;
}

.results-stack {
  display: grid;
  gap: 1rem;
}

.review-stage {
  display: grid;
  gap: 1rem;
}

.review-stage__heading {
  max-width: none;
  margin-bottom: 0;
}

.review-stage__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.studio-preview-card {
  min-height: 100%;
}

.studio-preview-copy {
  display: grid;
  gap: 0.55rem;
}

.studio-preview-copy h3,
.studio-preview-copy p {
  margin: 0;
}

.studio-preview-copy p {
  color: rgba(244, 255, 255, 0.76);
}

.studio-preview-card .merch-ghost {
  display: none;
}

.studio-preview-card[data-product="shirt"] .merch-ghost,
.studio-preview-card[data-product="hoodie"] .merch-ghost {
  display: block;
}

.preview-gears {
  position: relative;
  align-self: center;
  justify-self: center;
  width: min(100%, 17rem);
  min-height: 15rem;
  filter: drop-shadow(0 20px 36px rgba(5, 5, 5, 0.28));
}

.studio-preview-card[data-product="shirt"] .preview-gears,
.studio-preview-card[data-product="hoodie"] .preview-gears {
  display: none;
}

.preview-gear {
  position: absolute;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  transform-origin: center center;
  animation: previewGearSpin 18s linear infinite;
  will-change: transform;
}

.preview-gear-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  filter:
    drop-shadow(0 14px 22px rgba(5, 5, 5, 0.22))
    saturate(1.04)
    contrast(1.02);
  pointer-events: none;
}

.preview-gear--medium {
  left: 1.4rem;
  top: 2.1rem;
  width: 8.35rem;
  height: 8.35rem;
  z-index: 2;
  animation-direction: reverse;
  animation-duration: 13s;
}

.preview-gear--small {
  left: 8.55rem;
  top: 5.35rem;
  width: 7.1rem;
  height: 7.1rem;
  z-index: 3;
  animation-duration: 9s;
}

.result-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 28px;
  border-color: rgba(5, 5, 5, 0.9);
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 1), rgba(13, 13, 18, 1)),
    var(--panel-dark);
  color: #f4ffff;
  box-shadow: 0 28px 64px rgba(5, 5, 5, 0.14);
}

.button {
  appearance: none;
  border: 0;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, opacity 180ms ease;
}

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

.button-primary {
  color: #050505;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.18);
}

.button-secondary {
  color: var(--ink);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(5, 5, 5, 0.16);
}

.button-compact {
  padding: 0.72rem 1rem;
  font-size: 0.72rem;
}

.product-tile .button-primary {
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.98), rgba(0, 255, 255, 0.92));
  color: #050505;
  box-shadow: 0 0 24px rgba(0, 255, 255, 0.18);
}

.product-tile .button-secondary {
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.98), rgba(0, 255, 255, 0.92));
  color: #050505;
  box-shadow: 0 0 24px rgba(0, 255, 255, 0.18);
}

.product-tile .button-secondary:hover,
.product-tile .button-secondary:focus-visible,
.product-tile .button-primary:hover,
.product-tile .button-primary:focus-visible {
  box-shadow: 0 0 24px rgba(0, 255, 255, 0.18);
}

.result-card::before {
  right: -2rem;
  top: -2rem;
  width: 10rem;
  height: 10rem;
  background: radial-gradient(circle, rgba(160, 32, 240, 0.22), transparent 70%);
}

.result-card[data-state="loading"] {
  opacity: 0.86;
}

.result-card[data-state="error"] {
  border-color: rgba(160, 32, 240, 0.28);
}

.result-card[data-state="ready"] {
  border-color: rgba(57, 255, 20, 0.28);
}

.result-card[data-state="soon"] {
  border-color: rgba(0, 255, 255, 0.24);
}

.result-visual {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1rem;
  min-height: 220px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.05), transparent 25%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.result-card[data-provider="openai"] .result-visual {
  background:
    radial-gradient(circle at 16% 20%, rgba(160, 32, 240, 0.28), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.result-card[data-provider="gemini"] .result-visual {
  background:
    radial-gradient(circle at 82% 16%, rgba(0, 255, 255, 0.28), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.result-visual-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.result-scene-label,
.result-scene-copy {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(244, 255, 255, 0.9);
}

.merch-ghost {
  position: relative;
  align-self: end;
  justify-self: center;
  width: 84%;
  max-width: 270px;
  aspect-ratio: 1 / 0.92;
  border-radius: 28px 28px 24px 24px;
  background: linear-gradient(180deg, rgba(241, 254, 255, 0.98), rgba(188, 244, 255, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 18px 34px rgba(0, 0, 0, 0.18);
}

.merch-ghost::before,
.merch-ghost::after {
  content: "";
  position: absolute;
  top: 0.7rem;
  width: 22%;
  height: 34%;
  border-radius: 24px;
  background: inherit;
}

.merch-ghost::before {
  left: -10%;
  transform: rotate(18deg);
}

.merch-ghost::after {
  right: -10%;
  transform: rotate(-18deg);
}

.result-card[data-product="hoodie"] .merch-ghost {
  aspect-ratio: 1 / 1.08;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.98), rgba(22, 8, 34, 0.98));
}

.studio-preview-card[data-product-color="white"] .merch-ghost,
.result-card[data-product-color="white"] .merch-ghost {
  background: linear-gradient(180deg, #ffffff, #e6edf4);
}

.studio-preview-card[data-product-color="black"] .merch-ghost,
.result-card[data-product-color="black"] .merch-ghost {
  background: linear-gradient(180deg, #2d2d32, #050505);
}

.studio-preview-card[data-product-color="gray"] .merch-ghost,
.result-card[data-product-color="gray"] .merch-ghost {
  background: linear-gradient(180deg, #d2d7de, #8d97a5);
}

.studio-preview-card[data-product-color="beige"] .merch-ghost,
.result-card[data-product-color="beige"] .merch-ghost {
  background: linear-gradient(180deg, #efe1cb, #c7a57e);
}

.result-card[data-product="hoodie"] .merch-ghost::before,
.result-card[data-product="hoodie"] .merch-ghost::after {
  top: 0.95rem;
  width: 24%;
  height: 46%;
}

.merch-print {
  position: absolute;
  left: 50%;
  top: 34%;
  width: 42%;
  height: 24%;
  border-radius: 22px;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.92), rgba(0, 255, 255, 0.7));
  box-shadow: 0 10px 22px rgba(14, 14, 13, 0.18);
}

.result-card[data-product="hoodie"] .merch-print {
  top: 36%;
  width: 46%;
  height: 28%;
}

.result-card[data-provider="openai"] .merch-print {
  background: linear-gradient(135deg, rgba(160, 32, 240, 0.96), rgba(0, 255, 255, 0.88));
}

.result-card[data-provider="gemini"] .merch-print {
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.96), rgba(0, 255, 255, 0.88));
}

.merch-print--preview {
  background: linear-gradient(135deg, rgba(160, 32, 240, 0.96), rgba(0, 255, 255, 0.88));
}

.merch-print::before,
.merch-print::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.34);
}

.merch-print::before {
  top: 0.8rem;
  width: 58%;
  height: 0.45rem;
}

.merch-print::after {
  top: 1.65rem;
  width: 42%;
  height: 0.45rem;
}

.result-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.result-provider {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(244, 255, 255, 0.88);
}

.result-provider.is-error {
  background: rgba(160, 32, 240, 0.18);
}

.result-provider.is-ready {
  background: rgba(57, 255, 20, 0.18);
}

.result-provider.is-soon {
  background: rgba(0, 255, 255, 0.16);
}

.result-model,
.result-placeholder {
  margin: 0;
  color: rgba(244, 255, 255, 0.72);
}

.result-body {
  display: grid;
  gap: 0.9rem;
}

.result-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-item {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.result-item h4 {
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
}

.result-item p {
  margin: 0;
  color: rgba(244, 255, 255, 0.84);
}

.result-copyline {
  margin-top: 0.7rem !important;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  font-style: italic;
}

.result-imageprompt-label {
  margin-top: 0.85rem !important;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 255, 255, 0.72) !important;
}

.result-imageprompt {
  margin-top: 0.45rem;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(244, 255, 255, 0.92);
  white-space: pre-wrap;
  word-break: break-word;
  font: inherit;
  line-height: 1.45;
}

.result-meta {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.result-item-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.result-error {
  margin: 0;
  color: rgba(57, 255, 20, 0.9);
}

.studio-grid.is-review-mode {
  grid-template-columns: minmax(0, 1fr);
}

.studio-grid.is-review-mode .studio-side {
  gap: 1.35rem;
}

.studio-grid.is-review-mode .results-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.studio-grid.is-review-mode .result-card {
  min-height: 16rem;
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.studio-grid.is-review-mode .result-card::before {
  right: -2rem;
  top: -2rem;
  width: 7rem;
  height: 7rem;
  background: rgba(5, 5, 5, 0.04);
}

.studio-grid.is-review-mode .result-card:nth-child(1) {
  border-top: 6px solid var(--purple);
  transform: translateY(0.8rem) rotate(-1.2deg);
}

.studio-grid.is-review-mode .result-card:nth-child(2) {
  border-top: 6px solid var(--cyan);
  transform: rotate(1.2deg);
}

.studio-grid.is-review-mode .result-card[data-state="ready"] {
  border-color: rgba(5, 5, 5, 0.12);
}

.studio-grid.is-review-mode .result-card[data-state="error"] {
  border-color: rgba(160, 32, 240, 0.22);
}

.studio-grid.is-review-mode .result-card[data-state="soon"] {
  border-color: rgba(0, 255, 255, 0.22);
}

.studio-grid.is-review-mode .result-card[data-state="loading"] {
  opacity: 0.94;
}

.studio-grid.is-review-mode .result-visual {
  min-height: 220px;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 18%, rgba(5, 5, 5, 0.04), transparent 25%),
    linear-gradient(180deg, rgba(248, 249, 253, 0.98), rgba(255, 255, 255, 0.98));
}

.studio-grid.is-review-mode .result-card[data-provider="openai"] .result-visual {
  background:
    radial-gradient(circle at 16% 20%, rgba(160, 32, 240, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(248, 249, 253, 0.98), rgba(255, 255, 255, 0.98));
}

.studio-grid.is-review-mode .result-card[data-provider="gemini"] .result-visual {
  background:
    radial-gradient(circle at 82% 16%, rgba(0, 255, 255, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(248, 249, 253, 0.98), rgba(255, 255, 255, 0.98));
}

.studio-grid.is-review-mode .result-scene-label,
.studio-grid.is-review-mode .result-scene-copy,
.studio-grid.is-review-mode .result-provider {
  background: rgba(5, 5, 5, 0.06);
  color: var(--ink);
}

.studio-grid.is-review-mode .result-provider.is-ready {
  background: rgba(57, 255, 20, 0.16);
}

.studio-grid.is-review-mode .result-provider.is-error {
  background: rgba(160, 32, 240, 0.12);
}

.studio-grid.is-review-mode .result-provider.is-soon {
  background: rgba(0, 255, 255, 0.14);
}

.studio-grid.is-review-mode .result-model,
.studio-grid.is-review-mode .result-placeholder {
  color: var(--muted);
}

.studio-grid.is-review-mode .result-item {
  padding: 1rem;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 20px;
  background: rgba(248, 249, 253, 0.96);
}

.studio-grid.is-review-mode .result-item h4,
.studio-grid.is-review-mode .result-item p {
  color: var(--ink);
}

.studio-grid.is-review-mode .result-item p {
  color: var(--muted);
}

.studio-grid.is-review-mode .result-copyline {
  background: rgba(160, 32, 240, 0.06);
  color: var(--ink) !important;
}

.studio-grid.is-review-mode .result-imageprompt-label {
  color: rgba(82, 88, 106, 0.86) !important;
}

.studio-grid.is-review-mode .result-imageprompt {
  border: 1px solid rgba(5, 5, 5, 0.08);
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
}

.studio-grid.is-review-mode .result-meta,
.studio-grid.is-review-mode .result-item-actions {
  border-top-color: rgba(5, 5, 5, 0.08);
}

.studio-grid.is-review-mode .result-error {
  color: #a3132b;
}

@keyframes previewGearSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.cart-page {
  display: grid;
  gap: 1.5rem;
}

.inspirations-page {
  display: grid;
  gap: 1.5rem;
}

.inspirations-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.inspiration-card {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 44px rgba(5, 5, 5, 0.07);
}

.inspiration-card::before {
  content: "";
  position: absolute;
  right: -1.8rem;
  top: -1.8rem;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.04);
  pointer-events: none;
}

.inspiration-card[data-tone="purple"] {
  border-top: 6px solid var(--purple);
  transform: translateY(0.8rem) rotate(-1deg);
}

.inspiration-card[data-tone="cyan"] {
  border-top: 6px solid var(--cyan);
  transform: rotate(1deg);
}

.inspiration-card[data-tone="sun"] {
  border-top: 6px solid #ff8a1e;
  transform: translateY(0.6rem) rotate(-0.8deg);
}

.inspiration-card[data-tone="green"] {
  border-top: 6px solid var(--green);
  transform: rotate(1.1deg);
}

.inspiration-card__badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.inspiration-card__tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.06);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inspiration-card__art {
  position: relative;
  overflow: hidden;
  min-height: 12rem;
  padding: 1rem;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 22%, rgba(160, 32, 240, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(248, 249, 253, 0.98), rgba(255, 255, 255, 0.98));
}

.inspiration-card[data-tone="cyan"] .inspiration-card__art {
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 255, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(248, 249, 253, 0.98), rgba(255, 255, 255, 0.98));
}

.inspiration-card[data-tone="sun"] .inspiration-card__art {
  background:
    radial-gradient(circle at 24% 24%, rgba(255, 138, 30, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(255, 255, 255, 0.98));
}

.inspiration-card[data-tone="green"] .inspiration-card__art {
  background:
    radial-gradient(circle at 78% 22%, rgba(57, 255, 20, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(246, 252, 245, 0.98), rgba(255, 255, 255, 0.98));
}

.inspiration-card__art::before,
.inspiration-card__art::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.inspiration-card__art::before {
  right: -0.8rem;
  bottom: 1rem;
  width: 9rem;
  height: 4.5rem;
  border: 2px solid rgba(5, 5, 5, 0.08);
  border-radius: 22px;
  transform: rotate(-9deg);
}

.inspiration-card__art::after {
  left: 1rem;
  bottom: 1rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.04);
}

.inspiration-card__art-word {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 9ch;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.inspiration-card__art-stamp {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: inline-flex;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inspiration-card h3 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.inspiration-card__copy {
  margin: 0;
  color: var(--muted);
}

.inspiration-card__meta {
  display: grid;
  gap: 0.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(5, 5, 5, 0.08);
}

.inspiration-card__meta p {
  margin: 0;
  color: var(--muted);
}

.inspiration-card__controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.inspiration-card__field {
  margin: 0;
}

.inspiration-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}

.inspiration-card__actions .button {
  min-width: 11rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  gap: 1.2rem;
  align-items: start;
}

.cart-list-card,
.cart-summary-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 253, 0.98));
  box-shadow: var(--shadow-soft);
}

.cart-list-card::before,
.cart-summary-card::before {
  content: "";
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 10rem;
  height: 10rem;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(160, 32, 240, 0.14), transparent 70%);
}

.cart-summary-card {
  position: sticky;
  top: 1rem;
}

.cart-summary-card::before {
  background: radial-gradient(circle, rgba(0, 255, 255, 0.14), transparent 70%);
}

.cart-empty {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  min-height: 18rem;
}

.cart-empty h3,
.cart-summary-card h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
}

.cart-empty p,
.cart-summary-card > p {
  margin: 0;
}

.cart-items {
  display: grid;
  gap: 1rem;
}

.cart-item {
  display: grid;
  gap: 0.9rem;
  padding: 1.15rem;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(5, 5, 5, 0.05);
}

.cart-item__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cart-item__header h3 {
  font-size: 1.32rem;
  letter-spacing: -0.04em;
}

.cart-item__meta,
.cart-item__copy,
.cart-item__details p,
.cart-summary-meta p {
  margin: 0;
}

.cart-item__meta {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.cart-item__copy {
  color: var(--ink);
}

.cart-item__details {
  display: grid;
  gap: 0.42rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(5, 5, 5, 0.08);
  color: var(--muted);
}

.cart-summary-meta {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(5, 5, 5, 0.04);
}

.cart-summary-actions {
  display: grid;
  gap: 0.75rem;
}

.button:focus-visible,
.wizard-step:focus-visible,
.product-tile:focus-visible,
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: 3px solid rgba(0, 255, 255, 0.32);
  outline-offset: 3px;
}

@keyframes panel-pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985) rotate(-0.35deg);
    filter: blur(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
    filter: blur(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  to {
    transform: translate3d(1.2rem, -1rem, 0) rotate(8deg);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .product-grid,
  .studio-grid,
  .workflow-grid,
  .cart-layout,
  .inspirations-grid {
    grid-template-columns: 1fr;
  }

  .workflow-inline .workflow-grid {
    grid-template-columns: 1fr;
  }

  .workflow-card:nth-child(1),
  .workflow-card:nth-child(2),
  .workflow-card:nth-child(3),
  .workflow-card:nth-child(4),
  .inspiration-card[data-tone="purple"],
  .inspiration-card[data-tone="cyan"],
  .inspiration-card[data-tone="sun"],
  .inspiration-card[data-tone="green"],
  .studio-grid.is-review-mode .result-card:nth-child(1),
  .studio-grid.is-review-mode .result-card:nth-child(2),
  .product-tile,
  .steps-tile {
    transform: none;
  }

  .studio-grid.is-review-mode .results-stack {
    grid-template-columns: 1fr;
  }

  .cart-summary-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100vw - 1rem, 100%);
    padding-top: 1rem;
  }

  .language-bar {
    justify-content: center;
    margin-bottom: 0.8rem;
  }

  main {
    gap: 3rem;
  }

  .hero-head {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 1.2rem;
    margin-bottom: 1rem;
  }

  .hero-identity {
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .hero-logo-wrap {
    width: min(72vw, 13.25rem);
    margin: 0;
  }

  .hero-brand {
    width: 100%;
    justify-items: center;
    text-align: center;
  }

  .brand-claim {
    max-width: 16ch;
    margin-inline: auto;
    font-size: clamp(1.7rem, 6.4vw, 2.05rem);
    line-height: 0.96;
  }

  .brand-claim::after {
    width: min(10.5rem, 68%);
    margin-top: 0.85rem;
  }

  .product-tile,
  .steps-tile,
  .config-form,
  .result-card,
  .cart-list-card,
  .cart-summary-card {
    padding: 1.3rem;
  }

  .wizard-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.45rem;
    border-radius: 24px;
  }

  .wizard-step {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 2.85rem;
    width: 100%;
    padding: 0.68rem 0.5rem;
    text-align: center;
  }

  .wizard-step:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .product-choice-grid,
  .form-grid,
  .context-choice-grid,
  .context-followup,
  .reference-choice-grid,
  .content-elements-grid,
  .style-focus-grid,
  .product-color-grid,
  .inspiration-card__controls {
    grid-template-columns: 1fr;
  }

  .reference-upload-panel {
    grid-template-columns: 1fr;
  }

  .product-size-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .product-size-field {
    max-height: 22rem;
    padding: 0.95rem;
    border-radius: 22px;
  }

  .product-size-option {
    min-height: 3.65rem;
    padding: 0.65rem 0.35rem;
    border-radius: 16px;
  }

  .product-size-name {
    min-width: 2.45rem;
    min-height: 2.45rem;
  }

  .context-choice-field {
    max-height: 38rem;
    padding: 0.95rem;
    border-radius: 22px;
  }

  .context-choice-grid {
    gap: 0.7rem;
  }

  .context-option {
    min-height: 5.4rem;
    padding: 0.9rem;
    border-radius: var(--choice-card-radius-mobile);
  }

  .reference-option {
    border-radius: var(--choice-card-radius-mobile);
  }

  .content-elements-field {
    max-height: 52rem;
    padding: 0.95rem;
    border-radius: 22px;
  }

  .style-focus-field {
    padding: 0.95rem;
    border-radius: 22px;
  }

  .content-element-option {
    min-height: auto;
    padding: 0.95rem;
    border-radius: var(--choice-card-radius-mobile);
  }

  .content-element-option strong {
    font-size: 0.96rem;
    line-height: 1.15;
  }

  .content-element-option span {
    font-size: 0.86rem;
    line-height: 1.3;
  }

  .style-focus-option {
    min-height: 5.8rem;
    padding: 0.9rem;
    border-radius: var(--choice-card-radius-mobile);
  }

  .tile-actions {
    flex-direction: column;
  }

  .inspirations-toolbar,
  .inspiration-card__actions {
    align-items: stretch;
    justify-content: stretch;
  }

  .step-actions {
    align-items: stretch;
  }

  .step-actions .button {
    width: 100%;
  }

  .review-stage__actions {
    justify-content: stretch;
  }

  .review-stage__actions .button {
    width: 100%;
  }

  .result-visual {
    min-height: 190px;
  }

  .cart-item__header {
    flex-direction: column;
  }

  .cart-item__header .button {
    width: 100%;
  }

  .paint-coral,
  .paint-teal,
  .paint-sun,
  .paint-sky {
    filter: blur(10px);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
