:root {
  --bg: #070b0f;
  --bg-2: #0b1117;
  --surface: rgba(14, 22, 29, 0.86);
  --surface-strong: #101922;
  --surface-soft: rgba(255, 255, 255, 0.045);
  --text: #edf7f6;
  --muted: #8fa4a8;
  --faint: #53666a;
  --line: rgba(170, 245, 255, 0.16);
  --line-strong: rgba(170, 245, 255, 0.32);
  --cyan: #66f7ff;
  --lime: #b9ff66;
  --danger: #ff6f9f;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.46);
  --header-h: 76px;
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

body {
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background:
    linear-gradient(rgba(102, 247, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 247, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 78% 0%, rgba(102, 247, 255, 0.12), transparent 36%),
    linear-gradient(145deg, #05080c 0%, #071018 48%, #0b0d10 100%);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.025) 1px, transparent 1px, transparent 5px);
  mix-blend-mode: screen;
  opacity: 0.18;
}

img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 9, 13, 0.84);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid var(--line-strong);
  background: rgba(102, 247, 255, 0.06);
}

.brand-mark svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.main-nav a {
  text-decoration: none;
  transition: color 0.18s ease;
}

.main-nav a:hover { color: var(--text); }

.nav-cta,
.primary-action,
.secondary-action,
.generate-button,
.download-action {
  border: 0;
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.92rem;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.nav-cta,
.primary-action,
.generate-button {
  color: #031014;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 18px 44px rgba(102, 247, 255, 0.18);
}

.nav-cta {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.84rem;
}

.secondary-action {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line-strong);
}

.primary-action:hover,
.generate-button:hover,
.download-action:hover,
.nav-cta:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.84rem;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 900;
  padding: 0;
}

.terminal-line,
.field-label,
.style-chooser legend,
.example-card span {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.terminal-line {
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 700;
}

.hero {
  min-height: calc(100svh - var(--header-h));
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 5vw;
  padding: 56px 5vw 78px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(185,255,102,0.09), transparent 1px),
    linear-gradient(rgba(185,255,102,0.055), transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at 78% 42%, #000 0%, transparent 58%);
  opacity: 0.5;
}

.hero-copy,
.hero-console {
  position: relative;
  z-index: 1;
}

.hero h1,
.stage-head h2,
.section-copy h2 {
  letter-spacing: -0.06em;
  line-height: 0.94;
  font-weight: 900;
}

.hero h1 {
  max-width: 760px;
  margin-top: 16px;
  font-size: clamp(3rem, 7.4vw, 7.2rem);
}

.hero-text {
  max-width: 620px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
}

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

.hero-console {
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(16,25,34,0.92), rgba(8,13,18,0.92));
  box-shadow: var(--shadow);
}

.console-top {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
}

.console-top span {
  width: 10px;
  height: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface-soft);
}

.console-top strong {
  margin-left: auto;
  color: var(--cyan);
  font-weight: 700;
}

.console-body {
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 18px;
}

.console-frame {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0c1117;
}

.console-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04) brightness(0.92);
  transform: scale(1.01);
}

.console-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 9, 13, 0.58) 0 47%, rgba(102, 247, 255, 0.9) 47% 47.4%, transparent 47.4%),
    linear-gradient(180deg, transparent, rgba(5, 9, 13, 0.22));
  pointer-events: none;
}

.console-badge,
.compare-rail {
  position: absolute;
  z-index: 2;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}

.console-badge {
  left: 16px;
  top: 16px;
  padding: 10px 12px;
  color: #06120d;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compare-rail {
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  font-size: 0.72rem;
}

.compare-rail span {
  padding: 9px 10px;
  border: 1px solid var(--line);
  background: rgba(5, 9, 13, 0.76);
  backdrop-filter: blur(10px);
}

.mini-spinner,
.spinner-ring {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255,255,255,0.18);
  border-top-color: var(--cyan);
  border-right-color: var(--lime);
  animation: spin 0.9s linear infinite;
}

.console-log {
  display: grid;
  gap: 10px;
  align-content: start;
}

.console-log p {
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
}

.console-log span {
  color: var(--lime);
  margin-right: 8px;
}

.generator-band {
  padding: 86px 5vw;
  background:
    linear-gradient(180deg, rgba(7,11,15,0.2), rgba(7,11,15,0.92)),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.generator-stage {
  max-width: 1180px;
  margin: 0 auto;
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.generator-stage.hidden { display: none; }

.stage-head,
.section-copy {
  max-width: 760px;
  margin-bottom: 32px;
}

.stage-head.compact { margin-bottom: 18px; }

.stage-head h2,
.section-copy h2 {
  margin-top: 10px;
  font-size: clamp(2.3rem, 5vw, 5rem);
}

#result-stage .stage-head h2 {
  max-width: 720px;
  font-size: clamp(2.15rem, 4.2vw, 4rem);
}

.stage-head p:not(.terminal-line),
.section-copy p:not(.terminal-line),
.processing-copy p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1rem;
}

.generator-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.upload-panel,
.brief-panel,
.processing-card,
.result-preview {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.upload-panel {
  min-height: 510px;
  display: grid;
  place-items: center;
  padding: 28px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.upload-panel.dragover {
  border-color: var(--lime);
  background: rgba(185, 255, 102, 0.08);
}

.upload-empty {
  max-width: 340px;
  text-align: center;
}

.upload-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  background: rgba(102, 247, 255, 0.06);
}

.upload-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.upload-empty h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.upload-empty p {
  color: var(--muted);
  margin-bottom: 22px;
}

.upload-selected {
  display: none;
  width: 100%;
  gap: 18px;
  align-items: center;
}

.upload-panel.has-file {
  align-content: start;
  place-items: stretch;
}

.upload-panel.has-file .upload-empty { display: none; }
.upload-panel.has-file .upload-selected { display: flex; }

.upload-selected img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
}

.upload-selected strong {
  display: block;
  margin: 4px 0 10px;
  word-break: break-word;
}

.brief-panel {
  padding: 28px;
}

.field-grid {
  display: grid;
  gap: 16px;
}

.full-field { display: block; }

.field-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

textarea { resize: vertical; min-height: 104px; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus { border-color: var(--cyan); background: rgba(102, 247, 255, 0.04); }

.style-chooser {
  border: 0;
  margin-top: 22px;
}

.style-chooser legend {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.style-option {
  display: block;
  position: relative;
  padding: 16px 16px 16px 48px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.style-option input {
  position: absolute;
  left: 16px;
  top: 18px;
  width: 18px;
  height: 18px;
  accent-color: var(--lime);
}

.style-option span {
  display: block;
  font-weight: 900;
  margin-bottom: 2px;
}

.style-option small {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.style-option.active {
  border-color: var(--lime);
  background: rgba(185, 255, 102, 0.075);
}

.generate-button {
  width: 100%;
  margin-top: 16px;
  min-height: 56px;
}

.generate-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.render-note {
  color: var(--faint);
  font-size: 0.84rem;
  margin-top: 10px;
  text-align: center;
}

.processing-card {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
}

.preview-shell,
.result-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #080d12;
}

.preview-shell img,
.result-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.preview-shell img {
  filter: saturate(0.8) contrast(1.05);
}

.scan-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(102, 247, 255, 0.18) 50%, transparent 52%),
    repeating-linear-gradient(180deg, transparent 0 12px, rgba(102, 247, 255, 0.08) 13px, transparent 14px);
  animation: scan 2.4s ease-in-out infinite;
  mix-blend-mode: screen;
}

.spinner-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
}

.status-grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
}

.status-grid span {
  color: var(--faint);
}

.status-grid strong {
  color: var(--lime);
}

.progress-track {
  height: 10px;
  margin-top: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--line);
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
  transition: width 0.28s ease;
}

.result-preview {
  padding: 18px;
}

.result-item {
  max-width: 540px;
  margin: 0 auto;
}

.result-item img {
  filter: blur(18px) saturate(0.55) brightness(0.55);
  transform: scale(1.08);
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.preview-message {
  position: absolute;
  top: 18px;
  left: 50%;
  translate: -50% 0;
  min-width: min(78%, 360px);
  padding: 12px 18px;
  text-align: center;
  border: 1px solid rgba(255, 111, 159, 0.42);
  background: rgba(30, 8, 18, 0.78);
  color: #ffdce8;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
}

.preview-message[hidden] {
  display: none;
}

.result-spinner {
  width: 82px;
  height: 82px;
}

.result-actions {
  max-width: 540px;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.download-action {
  min-height: 64px;
  color: #06120d;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 22px 64px rgba(185, 255, 102, 0.2);
  font-size: 1.05rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.proof-strip div {
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 5vw;
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child { border-right: 0; }

.proof-strip strong {
  font-family: "JetBrains Mono", monospace;
  color: var(--cyan);
  font-size: 1.6rem;
  line-height: 1;
}

.proof-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.examples,
.workflow,
.reviews,
.faq {
  padding: 92px 5vw;
}

.section-copy h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.9rem);
}

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

.example-card {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d1218;
}

.example-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.example-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.1);
}

.example-card div {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 16px;
  color: #fff;
  background: rgba(5, 9, 13, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.example-card span {
  display: block;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.example-card strong {
  font-size: 1.05rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.steps li {
  min-height: 240px;
  padding: 26px;
  background: rgba(8, 13, 18, 0.92);
}

.steps span {
  font-family: "JetBrains Mono", monospace;
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 700;
}

.steps strong {
  display: block;
  margin-top: 34px;
  font-size: 1.5rem;
}

.steps p {
  margin-top: 10px;
  color: var(--muted);
}

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

.review-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(102, 247, 255, 0.055), transparent 42%),
    rgba(8, 13, 18, 0.92);
}

.review-card span {
  display: block;
  color: var(--lime);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.review-card blockquote {
  margin: 26px 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.55;
}

.review-card strong {
  color: var(--muted);
  font-size: 0.88rem;
}

.faq details {
  max-width: 920px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 900;
}

.faq p {
  max-width: 720px;
  margin-top: 12px;
  color: var(--muted);
}

.site-footer {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 5vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #05090d;
}

.site-footer a {
  text-decoration: none;
  color: var(--cyan);
  font-weight: 800;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
}

.modal-overlay.active { display: flex; }

.modal-card {
  width: min(100%, 430px);
  position: relative;
  padding: 28px;
  border: 1px solid var(--line-strong);
  background: #0b1117;
  box-shadow: var(--shadow);
}

.modal-card h3 {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.modal-card p {
  margin: 10px 0 20px;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 1.2rem;
}

.cookie-banner {
  position: fixed;
  left: auto;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 430px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 13, 18, 0.94);
  box-shadow: var(--shadow);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cookie-banner.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.cookie-banner p {
  color: var(--muted);
  font-size: 0.88rem;
}

.cookie-banner a { color: var(--cyan); }

.cookie-banner div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.small-accept {
  min-height: 36px;
  border: 0;
  padding: 0 14px;
  color: #06120d;
  background: var(--lime);
  font-weight: 900;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes scan {
  0%, 100% { transform: translateX(-32%); opacity: 0.38; }
  50% { transform: translateX(32%); opacity: 0.75; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .hero,
  .generator-layout,
  .processing-card {
    grid-template-columns: 1fr;
  }

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

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

  .proof-strip,
  .example-grid,
  .review-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }

  .site-header {
    padding: 0 18px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .main-nav {
    gap: 12px;
  }

  .main-nav a {
    display: none;
  }

  .hero,
  .generator-band,
  .examples,
  .workflow,
  .faq {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 15vw, 4.8rem);
  }

  .upload-panel,
  .brief-panel,
  .processing-card,
  .result-preview {
    padding: 18px;
  }

  .upload-selected {
    align-items: flex-start;
    flex-direction: column;
  }

  .upload-selected img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .proof-strip,
  .example-grid,
  .review-grid,
  .steps,
  .result-actions {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    min-height: 94px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child { border-bottom: 0; }

  .example-card {
    min-height: 330px;
  }

  .steps li {
    min-height: 190px;
  }

  .preview-message {
    top: 12px;
    min-width: calc(100% - 24px);
    font-size: 0.72rem;
    padding: 10px 12px;
  }


  .result-spinner {
    width: 64px;
    height: 64px;
  }

  .cookie-banner {
    left: 18px;
    flex-direction: column;
    align-items: flex-start;
    max-width: none;
  }
}
