:root {
  color-scheme: light;
  --ink: #101613;
  --muted: #5f6763;
  --soft: #e8ece7;
  --paper: #f4f5f1;
  --white: #ffffff;
  --line: #d9dfd8;
  --accent: #b76f4d;
  --green: #285f50;
  --blue: #315f80;
  --rose: #b84763;
  --gold: #f2c76c;
  --night: #0b1410;
  --night-2: #17221d;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(11, 20, 16, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    linear-gradient(180deg, #eef3ed 0, var(--paper) 42%, #ffffff 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

button,
input {
  font: inherit;
}

button,
.upload-cta,
.upload-slot {
  cursor: pointer;
}

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

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

.coming-soon-page {
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(242, 199, 108, 0.2), transparent 26rem),
    linear-gradient(135deg, #07110d 0%, #0d1b15 48%, #17251f 100%);
}

.coming-soon {
  min-height: 100vh;
  padding: 22px clamp(18px, 4vw, 52px) 34px;
}

.coming-soon-brand {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.coming-soon-hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: 1480px;
  margin: 0 auto;
}

.coming-soon-copy {
  max-width: 720px;
}

.coming-soon-copy .eyebrow {
  color: var(--gold);
}

.coming-soon-copy h1 {
  max-width: 10ch;
  margin: 12px 0 20px;
  color: var(--white);
  font-size: 84px;
  line-height: 0.92;
  letter-spacing: 0;
}

.coming-soon-copy p:not(.eyebrow) {
  max-width: 48ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.5;
}

.coming-soon-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.coming-soon-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.waitlist-form {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin-top: 22px;
}

.waitlist-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.waitlist-row input,
.waitlist-row button {
  min-height: 48px;
  border-radius: 6px;
}

.waitlist-row input {
  width: 100%;
  min-width: 0;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  outline: none;
}

.waitlist-row input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.waitlist-row input:focus {
  border-color: rgba(242, 199, 108, 0.78);
  box-shadow: 0 0 0 3px rgba(242, 199, 108, 0.14);
}

.waitlist-row button {
  padding: 0 18px;
  color: var(--ink);
  background: var(--gold);
  border: 0;
  font-weight: 950;
}

.waitlist-row button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.waitlist-note {
  min-height: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.coming-soon-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: #17211b;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.coming-soon-visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  z-index: 2;
  width: 1px;
  background: rgba(255, 255, 255, 0.78);
}

.coming-soon-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.coming-soon-score {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  min-width: 230px;
  padding: 18px 20px;
  color: var(--white);
  background: rgba(8, 17, 13, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.coming-soon-score small {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.coming-soon-score strong {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 58px;
  line-height: 0.95;
}

.coming-soon-score span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 30px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  max-width: 100vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 52px);
  color: var(--white);
  background: rgba(11, 20, 16, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand,
.topbar nav,
.nav-cta {
  display: flex;
  align-items: center;
}

.brand {
  justify-self: start;
  gap: 10px;
  min-width: 0;
  font-weight: 950;
}

.brand span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  aspect-ratio: 1;
  color: var(--ink);
  background: var(--gold);
  border-radius: 7px;
}

.topbar nav {
  gap: 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 800;
}

.nav-cta {
  justify-self: end;
  min-height: 38px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--white);
  border-radius: 999px;
  font-weight: 950;
}

.hero,
.showcase,
.packs,
.studio,
.pricing {
  padding-inline: clamp(18px, 4vw, 52px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
  gap: clamp(28px, 4.4vw, 68px);
  min-height: min(860px, calc(100vh - 67px));
  padding-top: clamp(36px, 6vw, 74px);
  padding-bottom: 40px;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--night) 0%, #18251f 58%, #2b4236 100%);
}

.hero-copy,
.hero-stage {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(56px, 7.2vw, 106px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero h1 {
  color: var(--white);
  text-wrap: balance;
}

.hero-text {
  max-width: min(620px, 100%);
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 14px;
}

.hero-upload-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  max-width: 650px;
  padding: 16px;
  margin-top: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

.hero-upload-panel small {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-upload-panel strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

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

.upload-cta,
.secondary-cta,
.generate-form button,
.control-panel button,
.preview-toolbar button,
.price-card button,
.paywall-modal button:not(.close-modal) {
  min-height: 54px;
  padding: 0 20px;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: var(--radius);
  font-weight: 950;
}

.upload-cta {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  background: var(--gold);
}

.upload-cta input,
.upload-slot input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.button-icon,
.upload-mark,
.mode-button .mode-icon {
  display: grid;
  place-items: center;
  width: 28px;
  aspect-ratio: 1;
  color: var(--ink);
  background: var(--white);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 950;
}

.button-icon::before,
.upload-mark::before {
  content: "";
  width: 12px;
  height: 14px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 4px 4px;
}

.button-icon::after,
.upload-mark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.button-icon,
.upload-mark {
  position: relative;
}

.secondary-cta,
.ghost-button {
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(16, 22, 19, 0.12);
}

.hero .secondary-cta {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-reassurance span,
.mood-row span,
.metric-strip span,
.credit-note span {
  padding: 8px 11px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.hero-reassurance span {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.mode-groups {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.roadmap-note {
  max-width: 560px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}

.mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.mode-row > span {
  width: 104px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.chip {
  min-width: 0;
  min-height: 36px;
  padding: 0 13px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 850;
  white-space: nowrap;
}

.mode-row.primary .chip {
  color: var(--ink);
  background: var(--white);
}

.chip.active,
.chip:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.before-after-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 590px;
  background: var(--night);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

.hero-before,
.hero-after {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
  color: var(--white);
}

.redesign-image,
.mini-redesign img,
.hero-before img,
.hero-after img,
.before img,
.after img,
.preview-visual > img,
.preview-split img,
.snapshot-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-before::before,
.hero-after::before,
.mini-redesign::after,
.before::after,
.after::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.66));
}

.hero-before span,
.hero-after span,
.hero-before h3,
.hero-after h3,
.hero-before p,
.hero-after p {
  position: relative;
  z-index: 2;
}

.hero-before span,
.hero-after span {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-before h3,
.hero-after h3 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1;
}

.hero-before p,
.hero-after p {
  max-width: 30ch;
  margin-bottom: 0;
  line-height: 1.4;
}

.split-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 45%;
  z-index: 3;
  width: 2px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(18, 19, 20, 0.18);
}

.split-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  aspect-ratio: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.hero-score-card {
  position: absolute;
  right: 22px;
  top: 22px;
  bottom: auto;
  z-index: 4;
  width: min(310px, calc(100% - 44px));
  padding: 16px;
  color: var(--white);
  background: rgba(11, 20, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-score-card small {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-score-card strong {
  display: block;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 0.9;
}

.hero-score-card strong span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.52em;
}

.hero-score-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.mini-redesign {
  position: relative;
  overflow: hidden;
  min-height: 124px;
  padding: 12px;
  color: var(--white);
  background: var(--tile-bg);
  border-radius: var(--radius);
}

.proof-tile {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(242, 199, 108, 0.12), rgba(49, 95, 128, 0.18)),
    rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.proof-tile::after {
  display: none;
}

.mini-redesign small,
.mini-redesign strong {
  position: relative;
  z-index: 2;
  display: block;
}

.mini-redesign small {
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.mini-redesign strong {
  font-size: 17px;
  line-height: 1.08;
}

.mini-redesign span {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
}

.hero-proof .proof-tile small {
  color: var(--gold);
}

.hero-proof .proof-tile strong {
  color: var(--white);
}

.hero-proof .proof-tile span {
  color: rgba(255, 255, 255, 0.7);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 16px clamp(18px, 4vw, 52px) 34px;
  background: var(--night);
}

.trust-strip span {
  min-height: 86px;
  padding: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 950;
}

.showcase,
.packs,
.pricing {
  padding-top: 80px;
  padding-bottom: 80px;
}

.showcase,
.packs,
.pricing,
.faq {
  background: var(--paper);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.6fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 1;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

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

.pricing-grid.value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.showcase-card,
.pack-card,
.gallery-card,
.control-panel,
.brand-snapshot,
.preview-area,
.price-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 22, 19, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(16, 22, 19, 0.08);
}

.showcase-card {
  display: grid;
  gap: 14px;
  min-height: 470px;
  padding: 14px;
}

.showcase-card[data-priority="main"] {
  outline: 2px solid rgba(242, 199, 108, 0.42);
}

.before-after {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 10px;
  min-height: 280px;
}

.before,
.after {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  color: var(--white);
  border-radius: var(--radius);
}

.before span,
.after span,
.before h3,
.after h3 {
  position: relative;
  z-index: 2;
}

.split-source-left {
  object-position: left center;
}

.split-source-right {
  object-position: right center;
}

.concept-treatment {
  filter: saturate(1.16) contrast(1.05) brightness(1.08);
}

.before span,
.after span {
  margin-bottom: auto;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.before h3,
.after h3 {
  margin: 38px 0 0;
  font-size: 24px;
  line-height: 1;
}

.score-chip {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin-top: 10px;
  padding: 7px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.showcase-copy {
  display: grid;
  align-content: start;
}

.showcase-copy small,
.pack-card small,
.gallery-card small,
.panel-label,
.plan,
.control-group > span {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.showcase-copy h3 {
  margin: 6px 0;
  font-size: 26px;
}

.showcase-copy p,
.pack-card p,
.gallery-card p,
.price-card p,
.brand-snapshot p,
.preview-card p {
  color: var(--muted);
  line-height: 1.45;
}

.showcase-copy button {
  justify-self: start;
  min-height: 38px;
  margin-top: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.showcase-copy button:disabled {
  cursor: default;
  color: var(--muted);
  background: transparent;
}

.studio {
  padding-top: 88px;
  padding-bottom: 88px;
  background:
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}

.studio .section-head,
.studio .section-head p:not(.eyebrow) {
  color: var(--white);
}

.studio .section-head p:not(.eyebrow) {
  opacity: 0.72;
}

.studio-shell {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(280px, 340px) minmax(0, 1fr);
  gap: 18px;
}

.studio-shell.result-page {
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.62fr);
  align-items: start;
  gap: 18px;
}

.result-command,
.concept-strip {
  grid-column: 1 / -1;
}

.result-command {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.result-command form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.upload-pill {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 7px 12px 7px 8px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 950;
}

.upload-pill input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-pill small {
  max-width: 210px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-pill.has-file {
  border-color: var(--green);
  background: #eef4ef;
}

.sample-button,
.result-command .remove-photo {
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 950;
}

.result-command .remove-photo {
  min-height: 38px;
  color: var(--muted);
  text-decoration: none;
}

.segmented.compact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segmented.compact .mode-button {
  color: var(--ink);
  min-width: 126px;
  background: var(--paper);
}

.segmented.compact .mode-button.active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.segmented.compact .mode-button.active .mode-icon {
  color: var(--ink);
  background: var(--white);
}

.result-main,
.result-sidebar,
.concept-strip {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.result-main {
  padding: 14px;
}

.result-kicker {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.result-kicker span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.result-kicker strong {
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.05;
}

.result-stage {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(420px, 48vw, 620px);
  background: var(--night);
  border-radius: var(--radius);
}

.result-image {
  position: relative;
  overflow: hidden;
}

.result-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: transparent;
  transition: opacity 180ms ease, background 180ms ease;
}

.result-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 54%, rgba(0, 0, 0, 0.58));
}

.result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.result-image span {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 7px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.result-image:first-child span {
  left: 14px;
}

.result-image:nth-child(2) span {
  right: 14px;
}

.same-source-badge {
  position: absolute;
  left: 50%;
  top: 14px;
  z-index: 3;
  padding: 8px 11px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  transform: translateX(-50%);
}

.result-score-overlay {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  width: min(340px, calc(100% - 36px));
  padding: 16px;
  color: var(--white);
  background: rgba(11, 20, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.concept-brief-overlay,
.render-note {
  position: absolute;
  z-index: 4;
  max-width: min(360px, calc(100% - 36px));
  color: var(--white);
  background: rgba(11, 20, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.concept-brief-overlay {
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 14px;
}

.concept-brief-overlay small {
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.concept-brief-overlay strong {
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1;
}

.concept-brief-overlay span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.render-note {
  left: 50%;
  top: 58px;
  width: min(330px, calc(100% - 36px));
  padding: 9px 11px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
  transform: translateX(-50%);
}

.improvement-markers {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  pointer-events: none;
}

.result-stage.brief-mode .improvement-markers {
  z-index: 4;
}

.improvement-marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  gap: 2px;
  min-width: 96px;
  max-width: 142px;
  padding: 8px 10px 8px 16px;
  color: var(--white);
  background: rgba(11, 20, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}

.improvement-marker::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 50%;
  width: 14px;
  aspect-ratio: 1;
  background: var(--gold);
  border: 2px solid var(--white);
  border-radius: 999px;
  box-shadow: 0 0 0 7px rgba(242, 199, 108, 0.18);
  transform: translateY(-50%);
}

.improvement-marker::after {
  content: "";
  position: absolute;
  left: -30px;
  top: 50%;
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.58);
}

.improvement-marker strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.improvement-marker small {
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.improvement-marker[data-kind="lighting"]::before {
  background: #ffd981;
  box-shadow:
    0 0 0 7px rgba(242, 199, 108, 0.18),
    0 0 34px rgba(242, 199, 108, 0.86);
}

.improvement-marker[data-kind="landscape"]::before {
  background: #5f8f69;
  box-shadow: 0 0 0 7px rgba(44, 107, 90, 0.22);
}

.improvement-marker[data-kind="surface"]::before {
  background: #d8c7a4;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.14);
}

.improvement-marker[data-kind="structure"]::before {
  background: #7ca3b9;
  box-shadow: 0 0 0 7px rgba(49, 95, 128, 0.18);
}

.result-stage.brief-mode .improvement-marker {
  background: rgba(11, 20, 16, 0.9);
  border-style: dashed;
}

.result-stage.brief-mode .result-image:nth-child(2) img {
  filter: saturate(0.72) contrast(1.02) brightness(0.88);
}

.result-stage.brief-mode .result-image:nth-child(2)::before {
  opacity: 1;
  background:
    linear-gradient(135deg, rgba(242, 199, 108, 0.18), rgba(11, 20, 16, 0.38)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 10px);
}

.result-score-overlay small {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.result-score-overlay strong {
  display: block;
  font-size: clamp(44px, 5vw, 74px);
  line-height: 0.9;
}

.result-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.result-assurance span {
  padding: 8px 11px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.result-sidebar {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.diagnosis-panel h3,
.unlock-card h3,
.concept-strip h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.02;
}

.unlock-card {
  padding: 18px;
  color: var(--white);
  background: var(--night);
  border-radius: var(--radius);
}

.unlock-card .eyebrow {
  color: var(--gold);
}

.unlock-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 18px 0;
  list-style: none;
}

.unlock-card li {
  padding: 9px 10px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  font-weight: 850;
}

.unlock-card button {
  width: 100%;
  color: var(--ink);
  background: var(--gold);
}

.concept-strip {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
}

.generation-note {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.generation-steps {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.generation-steps[hidden] {
  display: none;
}

.generation-steps li {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.generation-steps li::before {
  content: "";
  width: 9px;
  aspect-ratio: 1;
  background: var(--line);
  border-radius: 50%;
}

.generation-steps li.complete,
.generation-steps li.active {
  color: var(--ink);
}

.generation-steps li.complete::before {
  background: var(--green);
}

.generation-steps li.active::before {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(242, 199, 108, 0.2);
}

.concept-strip .preview-card[data-featured="true"] {
  grid-column: span 1;
}

.sticky-unlock-bar {
  position: static;
  z-index: 12;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  width: min(880px, calc(100% - 36px));
  min-height: 58px;
  padding: 8px 8px 8px 18px;
  margin: 18px auto 0;
  color: var(--white);
  background: rgba(11, 20, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.sticky-unlock-bar span {
  font-weight: 950;
}

.sticky-unlock-bar button {
  min-height: 42px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--gold);
  border: 0;
  border-radius: var(--radius);
  font-weight: 950;
}

.control-panel,
.brand-snapshot,
.preview-area {
  padding: 18px;
}

.control-panel form {
  display: grid;
  gap: 12px;
}

.flow-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.flow-step.compact {
  margin-bottom: 14px;
}

.flow-step > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
}

.studio .flow-step > span {
  color: var(--ink);
  background: var(--gold);
}

.flow-step strong {
  display: block;
  margin-bottom: 3px;
  font-size: 18px;
  line-height: 1.1;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.preview-toolbar .flow-step p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 850;
}

.control-panel label:not(.upload-slot) {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.upload-slot {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 136px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(44, 107, 90, 0.08), rgba(47, 95, 145, 0.08)),
    var(--paper);
  border: 1px dashed #aeb9b0;
  border-radius: var(--radius);
}

.upload-slot.has-file {
  border-style: solid;
  border-color: var(--green);
}

.upload-mark {
  width: 38px;
  color: var(--white);
  background: var(--ink);
}

.upload-slot strong {
  font-size: 22px;
  line-height: 1;
}

.upload-slot small {
  color: var(--muted);
  line-height: 1.3;
}

.control-panel input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: var(--radius);
  outline: 0;
  font-weight: 850;
}

.control-panel input:focus {
  background: var(--white);
  border-color: var(--green);
}

.remove-photo {
  min-height: 36px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  justify-self: start;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.control-group {
  display: grid;
  gap: 8px;
}

.segmented,
.style-grid {
  display: grid;
  gap: 8px;
}

.segmented {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.style-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mode-button,
.style-button,
.safety-button {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  min-height: 42px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
}

.style-button {
  justify-content: center;
}

.mode-button.active,
.style-button.active,
.safety-button.active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.mode-button.active .mode-icon {
  color: var(--ink);
  background: var(--white);
}

.mode-icon {
  position: relative;
}

.exterior-icon::before {
  content: "";
  width: 14px;
  height: 10px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 3px 3px;
  transform: translateY(3px);
}

.exterior-icon::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.room-icon::before {
  content: "";
  width: 15px;
  height: 13px;
  border: 2px solid currentColor;
  border-left: 0;
  border-radius: 0 3px 3px 0;
}

.room-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: currentColor;
  transform: translate(-2px, 4px);
  border-radius: 99px;
}

.kitchen-icon::before {
  content: "";
  width: 16px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.kitchen-icon::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: currentColor;
  transform: translateY(2px);
  border-radius: 99px;
}

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

.safety-button {
  justify-content: center;
}

.process-card {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.build-steps {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.build-steps li.complete {
  color: var(--green);
}

.build-steps li.active {
  color: var(--ink);
  font-weight: 950;
}

.snapshot-preview {
  position: relative;
  overflow: hidden;
  height: 158px;
  margin: 18px 0 16px;
  background: var(--soft);
  border-radius: var(--radius);
}

.snapshot-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.58));
}

.snapshot-logo {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  color: var(--white);
  background: var(--ink);
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  font-size: 26px;
  font-weight: 950;
}

.brand-snapshot h3 {
  margin-bottom: 6px;
  font-size: 28px;
  line-height: 1;
}

.mood-row,
.swatches,
.metric-strip,
.credit-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.swatches {
  margin: 18px 0;
}

.swatches span {
  width: 36px;
  aspect-ratio: 1;
  background: var(--swatch);
  border: 1px solid rgba(18, 19, 20, 0.14);
  border-radius: var(--radius);
}

.metric-strip {
  margin-top: 16px;
}

.metric-strip strong {
  margin-right: 4px;
}

.score-panel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  margin-top: 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
}

.score-panel div {
  min-width: 0;
}

.score-panel small {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.score-panel strong {
  display: block;
  font-size: 38px;
  line-height: 1;
}

.score-panel > span {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 950;
}

.score-breakdown {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.score-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  background: var(--soft);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 850;
}

.score-row strong {
  white-space: nowrap;
}

.score-row[data-selected="false"] {
  color: var(--muted);
  background: #f3f1eb;
}

.style-recommender,
.recommendation-picker {
  display: grid;
  gap: 10px;
  padding: 12px;
  margin-top: 12px;
  background: #f8f6f0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.style-recommender {
  background:
    linear-gradient(135deg, rgba(242, 199, 108, 0.14), rgba(44, 107, 90, 0.08)),
    #fbfaf5;
}

.recommendation-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.recommendation-head .panel-label {
  margin: 0;
}

.recommendation-head strong {
  color: var(--ink);
  font-size: 12px;
  white-space: nowrap;
}

.detection-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.brief-summary {
  display: grid;
  gap: 4px;
  padding: 10px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(242, 199, 108, 0.2), rgba(44, 107, 90, 0.1)),
    #ffffff;
  border: 1px solid rgba(43, 79, 64, 0.22);
  border-radius: var(--radius);
}

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

.brief-summary strong {
  font-size: 13px;
  line-height: 1.2;
}

.brief-summary span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.brief-summary small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.home-plan-preview {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(246, 241, 232, 0.76));
  border: 1px solid rgba(43, 79, 64, 0.18);
  border-radius: var(--radius);
}

.plan-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.plan-preview-head small,
.plan-section small {
  color: var(--green);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.plan-preview-head strong {
  font-size: 14px;
  line-height: 1.15;
}

.plan-section {
  display: grid;
  gap: 6px;
}

.plan-section ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
}

.plan-section li,
.plan-section p,
.plan-levels span {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.plan-levels {
  grid-template-columns: 1fr;
}

.plan-levels span {
  display: grid;
  gap: 2px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.plan-levels strong {
  color: var(--green);
  font-size: 11px;
  text-transform: uppercase;
}

.recommendation-list {
  display: grid;
  gap: 8px;
}

.style-recommendation-list {
  display: grid;
  gap: 8px;
}

.style-recommendation-list[data-demo-switching="true"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.style-switch-copy {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.style-recommendation {
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 82px;
  padding: 12px;
  color: var(--ink);
  text-align: left;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}

.style-recommendation[aria-pressed="true"] {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.style-recommendation strong,
.style-recommendation small {
  display: block;
}

.style-recommendation strong {
  font-size: 14px;
  line-height: 1.12;
}

.style-recommendation small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
}

.style-recommendation[aria-pressed="true"] small {
  color: rgba(255, 255, 255, 0.72);
}

.brief-alternates {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px dashed rgba(43, 79, 64, 0.26);
  border-radius: var(--radius);
}

.brief-alternates small {
  flex-basis: 100%;
  color: var(--green);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brief-alternates span {
  padding: 6px 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.more-style-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 2px;
}

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

.more-style-panel span {
  padding: 7px 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.explore-styles-button {
  justify-self: start;
  min-height: 34px;
  padding: 0;
  color: var(--green);
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.explore-styles-button[hidden] {
  display: none;
}

.recommendation-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 12px;
  color: var(--ink);
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}

.recommendation-option[aria-pressed="true"] {
  background: #eef3ed;
  border-color: rgba(43, 79, 64, 0.38);
}

.recommendation-option strong,
.recommendation-option small {
  display: block;
}

.recommendation-option strong {
  margin-bottom: 3px;
  font-size: 14px;
  line-height: 1.15;
}

.recommendation-option small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
}

.recommendation-option em {
  display: grid;
  place-items: center;
  min-width: 68px;
  min-height: 32px;
  padding: 0 10px;
  color: var(--ink);
  background: #f8f6f0;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
}

.recommendation-option[aria-pressed="true"] em {
  background: var(--gold);
  border-color: rgba(18, 19, 20, 0.08);
}

.custom-instruction {
  display: grid;
  gap: 7px;
}

.custom-instruction span {
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.custom-instruction input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 13px;
}

.kept-changed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.kept-changed div {
  padding: 10px;
  background: #f8f6f0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.kept-changed small {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.kept-changed p {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

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

.preview-toolbar h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.result-offer {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.result-offer span {
  padding: 7px 9px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.preview-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.preview-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 145px auto auto auto;
  gap: 8px;
  min-height: 320px;
  min-width: 0;
  padding: 12px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 19, 20, 0.92), rgba(18, 19, 20, 0.72)),
    var(--tile-bg);
  border-radius: var(--radius);
  isolation: isolate;
}

.preview-card[data-featured="true"] {
  grid-column: span 2;
}

.preview-card[data-locked="true"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 30%, rgba(18, 19, 20, 0.5));
}

.preview-card[data-locked="true"] .preview-visual {
  opacity: 1;
  filter: none;
}

.preview-card[data-locked="true"] .preview-visual::after {
  content: none;
}

.preview-visual {
  position: relative;
  overflow: hidden;
  min-height: 145px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 7px;
}

.preview-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.locked-concept-shell {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(18, 19, 20, 0.92), rgba(43, 79, 64, 0.64)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.locked-concept-shell small {
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.locked-concept-shell strong {
  color: var(--white);
  font-size: 18px;
  line-height: 1;
}

.locked-concept-shell span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
}

.generation-output-shell {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 16px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 20, 16, 0.96), rgba(43, 79, 64, 0.74)),
    radial-gradient(circle at 80% 20%, rgba(242, 199, 108, 0.18), transparent 34%);
}

.generation-output-shell small {
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.generation-output-shell strong {
  font-size: 18px;
  line-height: 1;
}

.generation-output-shell span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 850;
}

.preview-split {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.preview-split img {
  position: relative;
}

.preview-split span {
  position: absolute;
  top: 10px;
  z-index: 2;
  padding: 5px 8px;
  color: var(--ink);
  background: var(--white);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.preview-split span:first-of-type {
  left: 10px;
}

.preview-split span:last-of-type {
  right: 10px;
}

.preview-split strong {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 3;
  padding: 8px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 18px;
  font-weight: 950;
  transform: translateX(-50%);
}

.diagnosis-card {
  display: grid;
  gap: 8px;
  height: 100%;
  padding: 12px;
  color: var(--ink);
  background: var(--white);
}

.diagnosis-card strong {
  font-size: 18px;
  line-height: 1.1;
}

.diagnosis-card span {
  padding: 7px 9px;
  background: var(--soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.watermark,
.lock-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 6px 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
}

.lock-badge {
  color: var(--white);
  background: rgba(18, 19, 20, 0.72);
  z-index: 4;
}

.direction-sheet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  height: 100%;
  padding: 10px;
  color: var(--ink);
  background: var(--white);
}

.direction-sheet div {
  min-height: 52px;
  background: var(--sheet-bg);
  border-radius: 6px;
}

.direction-sheet strong,
.direction-sheet p {
  grid-column: 1 / -1;
  margin: 0;
}

.preview-card small,
.preview-card h3,
.preview-card p {
  position: relative;
  z-index: 4;
}

.preview-card small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.preview-card h3 {
  margin: 0;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1;
}

.preview-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.preview-card.skeleton {
  background: linear-gradient(90deg, #222 0%, #333 42%, #222 86%);
  background-size: 240% 100%;
  animation: shimmer 1.4s infinite linear;
}

@keyframes shimmer {
  to {
    background-position: -240% 0;
  }
}

.pack-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 18px;
}

.pack-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--pack-bg);
  opacity: 0.16;
}

.pack-card > * {
  position: relative;
  z-index: 1;
}

.pack-card small {
  margin-bottom: 42px;
}

.pack-card h3 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1;
}

.gallery-preview {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(244, 245, 239, 0.94)),
    var(--paper);
}

.gallery-preview .section-head {
  margin-bottom: 18px;
}

.gallery-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 22px;
}

.gallery-nav button,
.gallery-nav a,
.gallery-nav span {
  display: inline-grid;
  place-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.gallery-nav button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
}

.gallery-nav button.active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.gallery-nav span {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.42);
}

.gallery-nav a {
  margin-left: auto;
  color: var(--ink);
  background: var(--gold);
  border-color: rgba(16, 22, 19, 0.16);
}

.gallery-preview .pack-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.gallery-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(340px, 1fr) auto;
  padding: 0;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(16, 22, 19, 0.14);
}

.gallery-split,
.gallery-pair {
  position: relative;
  overflow: hidden;
  min-height: clamp(340px, 34vw, 520px);
  background: var(--night);
}

.gallery-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-pair {
  display: block;
}

.gallery-split::before,
.gallery-split::after,
.gallery-pair::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.gallery-split::before {
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.82);
}

.gallery-split::after {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 10%, transparent 38%, rgba(0, 0, 0, 0.72) 100%);
}

.gallery-pair::after {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05) 12%, transparent 42%, rgba(0, 0, 0, 0.64) 100%);
}

.gallery-split img,
.gallery-pair img {
  width: 100%;
  height: 100%;
  min-height: clamp(340px, 34vw, 520px);
  object-fit: cover;
}

.gallery-split span,
.gallery-split strong,
.gallery-pair span,
.gallery-pair strong {
  position: absolute;
  z-index: 3;
}

.gallery-split span,
.gallery-pair span {
  top: 14px;
  padding: 7px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-split span:first-of-type {
  left: 14px;
}

.gallery-split span:last-of-type {
  right: 14px;
}

.gallery-pair span {
  left: 14px;
}

.gallery-split strong,
.gallery-pair strong {
  left: 50%;
  bottom: 16px;
  padding: 9px 13px;
  color: var(--ink);
  background: var(--gold);
  border: 1px solid rgba(16, 22, 19, 0.12);
  border-radius: 999px;
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 950;
  transform: translateX(-50%);
}

.gallery-card-copy {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.gallery-card h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 0.98;
}

.gallery-card p {
  max-width: 58ch;
  margin: 0;
}

.gallery-wins {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.gallery-wins li,
.gallery-meta span {
  min-height: 34px;
  padding: 8px 10px;
  color: var(--ink);
  background: rgba(236, 239, 231, 0.9);
  border: 1px solid rgba(16, 22, 19, 0.08);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.gallery-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-meta span:first-child {
  color: var(--white);
  background: var(--green);
}

.gallery-card button {
  justify-self: start;
  min-height: 44px;
  padding: 0 16px;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: var(--radius);
  font-weight: 950;
}

.gallery-action {
  justify-self: start;
  min-height: 44px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  font-weight: 950;
}

.gallery-page {
  background: var(--paper);
}

.gallery-hero,
.proof-archive,
.gallery-quality {
  padding: clamp(54px, 7vw, 96px) clamp(18px, 4vw, 52px);
}

.gallery-hero {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 20, 16, 0.94), rgba(23, 34, 29, 0.94)),
    url("./assets/source-home-after.png") center / cover;
}

.gallery-hero h1 {
  max-width: 980px;
  text-wrap: balance;
}

.gallery-hero p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.archive-nav {
  max-width: 980px;
  margin-top: 26px;
}

.archive-nav a {
  margin-left: 0;
}

.archive-nav a,
.archive-nav span {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
}

.archive-nav a:last-child {
  margin-left: auto;
  color: var(--ink);
  background: var(--gold);
}

.gallery-taxonomy {
  padding: clamp(54px, 7vw, 90px) clamp(18px, 4vw, 52px);
  background: #ffffff;
}

.gallery-taxonomy .section-head {
  margin-bottom: 24px;
}

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

.taxonomy-grid a {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 172px;
  padding: 18px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(242, 199, 108, 0.1), rgba(44, 107, 90, 0.06)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(16, 22, 19, 0.06);
}

.taxonomy-grid a[data-status="queued"] {
  background:
    repeating-linear-gradient(135deg, rgba(16, 22, 19, 0.04) 0 1px, transparent 1px 10px),
    #fbfaf5;
  border-style: dashed;
}

.taxonomy-grid small {
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.taxonomy-grid strong {
  max-width: 15ch;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 0.98;
}

.taxonomy-grid span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.proof-archive:nth-of-type(even) {
  background: #ffffff;
}

.style-directions {
  background:
    linear-gradient(180deg, rgba(244, 245, 241, 0.72), #ffffff);
}

.direction-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.direction-card {
  grid-template-rows: minmax(270px, 1fr) auto;
}

.direction-card .gallery-split,
.direction-card .gallery-pair {
  min-height: clamp(270px, 24vw, 380px);
}

.direction-card .gallery-split img,
.direction-card .gallery-pair img {
  min-height: clamp(270px, 24vw, 380px);
}

.direction-card .gallery-card-copy {
  padding: 16px;
}

.direction-card h3 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.gallery-quality {
  display: grid;
  gap: 14px;
  margin: 0 clamp(18px, 4vw, 52px) 72px;
  padding: clamp(30px, 5vw, 56px);
  background: var(--night);
  color: var(--white);
  border-radius: var(--radius);
}

.gallery-quality .eyebrow {
  color: var(--gold);
}

.gallery-quality h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1;
}

.gallery-quality p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.gallery-quality a {
  justify-self: start;
  min-height: 48px;
  padding: 13px 16px;
  color: var(--ink);
  background: var(--gold);
  border-radius: var(--radius);
  font-weight: 950;
}

.gallery-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding: clamp(28px, 5vw, 56px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(16, 22, 19, 0.08);
}

.gallery-empty small {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.gallery-empty h3 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 0.98;
}

.gallery-empty p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.gallery-empty a {
  justify-self: start;
  min-height: 44px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--gold);
  border-radius: var(--radius);
  font-weight: 950;
}

.future-tools {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-inline: clamp(18px, 4vw, 52px);
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(18, 19, 20, 0.08);
}

.future-tools h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.future-tools p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.future-tools a {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  font-weight: 950;
  white-space: nowrap;
}

.faq {
  padding: 80px clamp(18px, 4vw, 52px);
}

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

.faq-grid article {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(18, 19, 20, 0.08);
}

.faq-grid h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.05;
}

.faq-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.price-card {
  padding: 20px;
}

.price-card.featured {
  outline: 3px solid rgba(44, 107, 90, 0.24);
}

.price-card strong {
  display: block;
  margin: 14px 0;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1;
}

.price-card strong span {
  color: var(--muted);
  font-size: 0.28em;
  font-weight: 950;
}

.price-card p {
  min-height: 112px;
}

.price-sub {
  display: block;
  min-height: 34px;
  margin: -4px 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
}

.price-card button {
  width: 100%;
}

.credit-note {
  margin-top: 16px;
}

.paywall-modal {
  width: min(560px, calc(100vw - 28px));
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.paywall-modal::backdrop {
  background: rgba(18, 19, 20, 0.58);
}

.paywall-modal h2 {
  margin-bottom: 10px;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1;
}

.paywall-modal p {
  color: var(--muted);
  line-height: 1.5;
}

.unlock-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.unlock-list li {
  padding: 10px;
  background: var(--soft);
  border-radius: var(--radius);
  font-weight: 850;
}

.modal-price {
  display: flex;
  gap: 12px;
  align-items: end;
  margin: 22px 0;
}

.modal-price strong {
  font-size: 60px;
  line-height: 0.9;
}

.modal-price span {
  color: var(--muted);
  font-weight: 850;
}

.close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  aspect-ratio: 1;
  color: var(--muted);
  background: var(--soft);
  border: 0;
  border-radius: 50%;
  font-size: 22px;
}

.mobile-upload {
  display: none;
}

@media (max-width: 1220px) {
  .hero,
  .section-head,
  .studio-shell,
  .future-tools {
    grid-template-columns: 1fr;
  }

  .studio-shell.result-page,
  .concept-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .preview-board,
  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid.value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .taxonomy-grid,
  .direction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .topbar {
    display: flex;
    justify-content: space-between;
  }

  .topbar nav {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .before-after-hero {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(300px, 1fr) minmax(300px, 1fr) auto;
    min-height: auto;
  }

  .hero-before,
  .hero-after {
    min-height: 300px;
  }

  .hero-score-card {
    position: relative;
    inset: auto;
    width: auto;
    margin: 12px;
  }

  .result-command,
  .preview-toolbar,
  .sticky-unlock-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .result-command form,
  .segmented.compact,
  .sticky-unlock-bar button {
    width: 100%;
  }

  .upload-pill,
  .sample-button,
  .segmented.compact .mode-button {
    flex: 1;
  }

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

  .split-handle {
    display: none;
  }

  .showcase-grid,
  .pack-grid,
  .pricing-grid.value-grid,
  .pricing-grid,
  .trust-strip,
  .hero-proof,
  .preview-board,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .preview-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .preview-actions,
  .preview-actions button {
    width: 100%;
  }

  .preview-card[data-featured="true"] {
    grid-column: span 1;
  }

  .hero-actions {
    display: grid;
  }

  .upload-cta,
  .secondary-cta {
    justify-content: center;
    width: 100%;
  }

  .unlock-list {
    grid-template-columns: 1fr;
  }

  .gallery-preview .pack-grid,
  .gallery-wins {
    grid-template-columns: 1fr;
  }

  .gallery-nav a {
    margin-left: 0;
  }

  .archive-nav a:last-child {
    margin-left: 0;
  }

  .taxonomy-grid,
  .direction-grid {
    grid-template-columns: 1fr;
  }

  .mobile-upload {
    display: none;
  }
}

@media (max-width: 520px) {
  .topbar {
    gap: 10px;
    padding-inline: 14px;
  }

  .hero-copy,
  .hero-stage,
  .hero-upload-panel,
  .hero-actions,
  .hero-reassurance,
  .before-after-hero {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .hero,
  .showcase,
  .packs,
  .studio,
  .pricing {
    padding-inline: 14px;
  }

  .trust-strip {
    padding-inline: 14px;
  }

  h1 {
    font-size: clamp(48px, 17vw, 78px);
  }

  .gallery-hero,
  .proof-archive,
  .gallery-quality {
    padding-inline: 18px;
  }

  .gallery-hero h1 {
    max-width: 10ch;
    font-size: 52px;
    line-height: 0.94;
  }

  .gallery-hero p:not(.eyebrow) {
    max-width: 32ch;
    font-size: 17px;
  }

  .archive-nav {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, max-content);
    justify-content: start;
  }

  .archive-nav a {
    margin-left: 0;
    min-height: 36px;
    padding-inline: 11px;
    font-size: 12px;
  }

  .hero-text {
    max-width: min(32ch, calc(100vw - 28px));
    font-size: 18px;
  }

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

  .hero-type-toggle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero-type-toggle .chip {
    padding-inline: 7px;
    font-size: 13px;
  }

  .hero-type-toggle .chip:last-child {
    grid-column: 1 / -1;
  }

  .before-after-hero {
    grid-template-rows: minmax(250px, 1fr) minmax(250px, 1fr) auto;
  }

  .result-stage {
    grid-template-columns: 1fr;
    min-height: 640px;
  }

  .same-source-badge {
    left: 14px;
    transform: none;
  }

  .result-score-overlay {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .concept-brief-overlay,
  .render-note {
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    transform: none;
  }

  .concept-brief-overlay {
    bottom: 118px;
  }

  .render-note {
    top: 56px;
  }

  .improvement-markers {
    top: 50%;
    right: 0;
    bottom: 0;
    left: 0;
  }

  .improvement-marker {
    min-width: 86px;
    max-width: 118px;
    padding: 7px 8px 7px 14px;
  }

  .improvement-marker strong {
    font-size: 11px;
  }

  .segmented,
  .style-grid,
  .style-recommendation-list,
  .safety-grid,
  .kept-changed,
  .gallery-split {
    grid-template-columns: 1fr;
  }

  .gallery-card {
    grid-template-rows: auto auto;
  }

  .gallery-split,
  .gallery-pair {
    min-height: auto;
  }

  .gallery-split::before {
    top: 50%;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 1px;
  }

  .gallery-split img,
  .gallery-pair img {
    min-height: 230px;
  }

  .gallery-split span:last-of-type {
    top: calc(50% + 14px);
  }

  .hero-score-card {
    margin: 10px;
    padding: 14px;
  }

  .hero-score-card strong {
    font-size: 42px;
  }

  .hero-score-card p {
    font-size: 12px;
  }
}

@media (max-width: 980px) {
  .coming-soon {
    padding: 18px;
  }

  .coming-soon-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 52px 0 28px;
  }

  .coming-soon-copy h1 {
    font-size: 64px;
  }

  .coming-soon-visual,
  .coming-soon-visual img {
    min-height: 460px;
  }
}

@media (max-width: 560px) {
  .coming-soon-copy h1 {
    max-width: 9ch;
    font-size: 50px;
  }

  .coming-soon-copy p:not(.eyebrow) {
    max-width: 31ch;
    font-size: 17px;
  }

  .coming-soon-proof {
    gap: 8px;
  }

  .coming-soon-proof span {
    min-height: 34px;
    padding-inline: 11px;
    font-size: 12px;
  }

  .waitlist-form {
    max-width: none;
  }

  .waitlist-row {
    grid-template-columns: 1fr;
  }

  .waitlist-row button {
    width: 100%;
  }

  .coming-soon-visual {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .coming-soon-visual::before {
    inset: 50% 0 auto;
    width: auto;
    height: 1px;
  }

  .coming-soon-visual img {
    min-height: 260px;
  }

  .coming-soon-score {
    right: 12px;
    bottom: 12px;
    left: 12px;
    min-width: 0;
    padding: 14px 16px;
  }

  .coming-soon-score strong {
    font-size: 46px;
  }
}
