/*
 * Redesign atelier page
 * dark workshop composition — stages replace the old modal
 */

.redesign-page {
  min-height: 100vh;
  position: relative;
}

.atelier-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232, 165, 75, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 70%, rgba(232, 165, 75, 0.05), transparent 50%),
    radial-gradient(ellipse 50% 35% at 10% 80%, rgba(245, 240, 232, 0.03), transparent 45%);
}

.atelier {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--space-2xl) + 4rem) var(--container-padding) var(--space-2xl);
}

.atelier-footer {
  position: relative;
  z-index: 1;
}

/* ---- Stages ---- */
.stage {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  opacity: 1;
  transform: translateY(0);
  animation: stageIn 0.55s var(--ease-out) forwards;
}

.stage--hidden {
  display: none;
}

.stage--active {
  display: block;
}

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

/* stage children — entrance stagger (no data-animate / JS needed) */
#stageInput > * {
  animation: stageIn 0.55s var(--ease-out) both;
}
#stageInput > *:nth-child(1) { animation-delay: 0.05s; }
#stageInput > *:nth-child(2) { animation-delay: 0.1s; }
#stageInput > *:nth-child(3) { animation-delay: 0.15s; }
#stageInput > *:nth-child(4) { animation-delay: 0.2s; }
#stageInput > *:nth-child(5) { animation-delay: 0.25s; }
#stageInput > *:nth-child(6) { animation-delay: 0.3s; }

.atelier-brand {
  margin-bottom: var(--space-lg);
}

.atelier-brand .logo-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

.atelier-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: var(--space-md);
}

.atelier-subhead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 36ch;
  margin-bottom: var(--space-lg);
  line-height: 1.55;
}

.stage-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.stage-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.stage-copy {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 42ch;
  margin: 0 auto;
}

/* ---- URL form ---- */
.atelier-form {
  width: 100%;
  max-width: 560px;
  margin-bottom: var(--space-md);
}

.atelier-input-wrap {
  display: flex;
  align-items: stretch;
  background: rgba(26, 26, 26, 0.85);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.atelier-input-wrap:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(232, 165, 75, 0.12);
}

.atelier-prefix {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  border-right: 1px solid var(--color-border);
  white-space: nowrap;
}

.atelier-input-wrap input {
  flex: 1;
  min-width: 0;
  padding: 1.05rem 1rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--color-text);
  background: transparent;
  border: none;
}

.atelier-input-wrap input:focus {
  outline: none;
}

.atelier-input-wrap input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.55;
}

.atelier-submit {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 1.05rem 1.35rem;
  background: var(--color-accent);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.2s var(--ease-out);
}

.atelier-submit:hover {
  background: var(--color-accent-hover);
}

.atelier-submit:active {
  transform: scale(0.98);
}

.atelier-submit-arrow {
  transition: transform 0.25s var(--ease-out);
}

.atelier-submit:hover .atelier-submit-arrow {
  transform: translateX(3px);
}

.atelier-disclaimer {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.atelier-alt {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.atelier-alt:hover {
  border-bottom-color: var(--color-accent);
}

/* ---- Scanning ---- */
.atelier-loader {
  text-align: center;
  padding: var(--space-xl) 0;
}

.loader-ring {
  width: 52px;
  height: 52px;
  margin: 0 auto var(--space-lg);
  border: 2px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

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

/* ---- Concepts (elevate existing cards on this page) ---- */
.redesign-page .concepts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.redesign-page .concept-card {
  background: rgba(26, 26, 26, 0.9);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out), box-shadow 0.3s ease;
  animation: conceptReveal 0.5s var(--ease-out) both;
  animation-delay: calc(var(--stagger, 1) * 0.08s);
}

@keyframes conceptReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.redesign-page .concept-card:hover {
  border-color: var(--color-border-accent);
  transform: translateY(-3px);
}

.redesign-page .concept-card.selected {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}

.redesign-page .concept-number {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  font-weight: 600;
}

.redesign-page .concept-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.redesign-page .concept-positioning {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.45;
  flex: 1;
}

.redesign-page .concept-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.redesign-page .concept-trait {
  font-size: 0.75rem;
  padding: 0.25rem 0.55rem;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  border-radius: 4px;
}

.redesign-page .concept-select-btn {
  width: 100%;
  margin-top: 0.25rem;
}

/* ---- Preview veil: live page under ready stage ---- */
.preview-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.redesign-page.is-preview-veiled .preview-backdrop,
.redesign-page.is-preview-revealing .preview-backdrop,
.redesign-page.is-preview-revealed .preview-backdrop {
  opacity: 1;
  visibility: visible;
}

.redesign-page.is-preview-revealing .preview-backdrop {
  pointer-events: auto;
  z-index: 50;
}

.redesign-page.is-preview-revealed .preview-backdrop {
  pointer-events: auto;
  z-index: 50;
}

.preview-backdrop__frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0d0d0d;
  transform: scale(1.06);
  filter: blur(14px) saturate(0.85) brightness(0.55);
  transition:
    transform 1.1s var(--ease-out),
    filter 0.9s var(--ease-out),
    top 0.55s var(--ease-out),
    height 0.55s var(--ease-out);
}

.redesign-page.is-preview-revealing .preview-backdrop__frame,
.redesign-page.is-preview-revealed .preview-backdrop__frame {
  top: 0;
  height: 100%;
  transform: scale(1);
  filter: blur(0) saturate(1) brightness(1);
}

.preview-backdrop__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(8, 8, 8, 0.35) 0%, rgba(8, 8, 8, 0.78) 70%, rgba(8, 8, 8, 0.9) 100%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.72) 0%, rgba(8, 8, 8, 0.55) 45%, rgba(8, 8, 8, 0.85) 100%);
  backdrop-filter: none;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.85s var(--ease-out),
    transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.redesign-page.is-preview-revealing .preview-backdrop__scrim,
.redesign-page.is-preview-revealed .preview-backdrop__scrim {
  opacity: 0;
  transform: translateY(-8%);
  pointer-events: none;
}

/* Veiled ready stage — glass panel over the live preview */
.redesign-page.is-preview-veiled .atelier-glow,
.redesign-page.is-preview-revealing .atelier-glow,
.redesign-page.is-preview-revealed .atelier-glow {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.redesign-page.is-preview-veiled,
.redesign-page.is-preview-revealing,
.redesign-page.is-preview-revealed {
  background: #0d0d0d;
}

.redesign-page.is-preview-revealing,
.redesign-page.is-preview-revealed {
  background: #0d0d0d !important;
}

.redesign-page.is-preview-veiled .noise {
  opacity: 0;
  visibility: hidden;
}

.redesign-page.is-preview-revealing .noise,
.redesign-page.is-preview-revealed .noise {
  opacity: 0;
  visibility: hidden;
}

.redesign-page.is-preview-veiled .atelier {
  background: transparent;
  z-index: 2;
}

.redesign-page.is-preview-veiled .nav {
  z-index: 4;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 240, 232, 0.06);
}

.redesign-page.is-preview-veiled .atelier-footer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.redesign-page.is-preview-veiled #stageReady {
  max-width: 440px;
}

.ready-panel {
  text-align: center;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.25rem);
  border-radius: 4px;
  background: #121212;
  border: 1px solid rgba(245, 240, 232, 0.12);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: translateY(0) scale(1);
  opacity: 1;
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.85s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.7s ease;
}

.ready-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.85rem;
}

.ready-panel .stage-title {
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  margin-bottom: 0.65rem;
  text-shadow: none;
}

.ready-panel .stage-copy {
  font-size: 0.98rem;
  max-width: 28ch;
  margin: 0 auto 1.5rem;
  color: var(--color-text-muted);
}

.redesign-page.is-preview-veiled .ready-panel .stage-title {
  text-shadow: none;
}

.redesign-page.is-preview-veiled .preview-link {
  animation: none;
  min-width: 200px;
}

.redesign-page.is-preview-veiled .email-gate {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin-top: 1.75rem;
}

.email-gate__rule {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(245, 240, 232, 0.16),
    transparent
  );
  margin-bottom: 1.25rem;
}

.email-gate__hint {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: -0.35rem 0 0.9rem;
  line-height: 1.45;
}

.redesign-page .email-form--ready {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.redesign-page .email-form--ready input[type='email'] {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(245, 240, 232, 0.12);
  font-size: 0.92rem;
  padding: 0.8rem 0.95rem;
}

.redesign-page .email-form--ready .btn--ghost {
  white-space: nowrap;
  padding-inline: 1rem;
  font-size: 0.85rem;
}

@media (max-width: 520px) {
  .redesign-page .email-form--ready {
    grid-template-columns: 1fr;
  }
}

/* Fall away — panel drops + fades, veil lifts */
.redesign-page.is-preview-revealing .ready-panel,
.redesign-page.is-preview-revealed .ready-panel {
  opacity: 0;
  transform: translateY(48px) scale(0.96);
  filter: blur(6px);
  pointer-events: none;
}

.redesign-page.is-preview-revealing .atelier,
.redesign-page.is-preview-revealing .atelier-footer,
.redesign-page.is-preview-revealing .nav,
.redesign-page.is-preview-revealing .mobile-menu {
  pointer-events: none;
}

.redesign-page.is-preview-revealing .atelier-footer,
.redesign-page.is-preview-revealing .nav {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.redesign-page.is-preview-revealed .atelier,
.redesign-page.is-preview-revealed .atelier-footer,
.redesign-page.is-preview-revealed .nav,
.redesign-page.is-preview-revealed .mobile-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.redesign-page.is-preview-revealed {
  overflow: hidden;
  background: #0d0d0d;
}

html:has(body.is-preview-revealed),
html:has(body.is-preview-revealing) {
  background: #0d0d0d;
}

/* Post-reveal: floating dock — preview stays full-bleed, no top bar */
.preview-chrome {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  top: auto;
  right: auto;
  height: auto;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.5rem 0.45rem 0.9rem;
  box-sizing: border-box;
  background: #121212;
  border: 1px solid rgba(245, 240, 232, 0.14);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.35s var(--ease-out);
}

.preview-chrome:not([hidden]) {
  display: flex;
}

.redesign-page.is-preview-revealing .preview-chrome,
.redesign-page.is-preview-revealed .preview-chrome {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.preview-chrome__brand {
  text-decoration: none;
  flex-shrink: 0;
  padding-right: 0.15rem;
}

.preview-chrome__brand .logo-text {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.preview-chrome__label {
  display: none;
}

.preview-chrome__unlock {
  flex-shrink: 0;
  padding: 0.5rem 0.95rem;
  font-size: 0.78rem;
  border-radius: 999px;
}

.preview-chrome__open {
  flex-shrink: 0;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 0.45rem 0.7rem 0.45rem 0.25rem;
  transition: color 0.2s ease;
}

.preview-chrome__open:hover {
  color: var(--color-accent);
  border-bottom-color: transparent;
}

/* Unlock sheet over revealed preview */
.unlock-sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.unlock-sheet:not([hidden]) {
  display: grid;
  opacity: 1;
  visibility: visible;
}

.unlock-sheet__card {
  position: relative;
  width: min(100%, 400px);
  padding: 1.75rem;
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid rgba(245, 240, 232, 0.12);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(12px);
  transition: transform 0.35s var(--ease-out);
}

.unlock-sheet:not([hidden]) .unlock-sheet__card {
  transform: translateY(0);
}

.unlock-sheet__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

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

.unlock-sheet__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.unlock-sheet__copy {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.unlock-sheet .email-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.unlock-sheet .email-form input[type='email'] {
  padding: 0.95rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.unlock-sheet .email-form input[type='email']:focus {
  outline: none;
  border-color: var(--color-accent);
}

@media (max-width: 640px) {
  .preview-chrome {
    left: 1rem;
    right: 1rem;
    width: auto;
    transform: translate(0, 12px);
    justify-content: space-between;
  }

  .redesign-page.is-preview-revealing .preview-chrome,
  .redesign-page.is-preview-revealed .preview-chrome {
    transform: translate(0, 0);
  }

  .preview-chrome__unlock {
    margin-left: 0;
  }
}

.redesign-page .generating-loader {
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
}

/* ---- Useful wait stage ---- */
#stageGenerating {
  max-width: 860px;
}

.redesign-page:has(#stageGenerating.stage--active) .atelier {
  justify-content: flex-start;
  padding-top: calc(var(--space-xl) + 3.5rem);
  padding-bottom: var(--space-xl);
}

.wait-atelier {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.wait-header {
  text-align: center;
}

.wait-domain {
  font-size: 0.85rem;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.wait-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.65rem;
}

.wait-status {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  min-height: 1.5em;
  transition: opacity 0.35s ease;
}

.wait-status.is-swapping {
  opacity: 0;
}

.wait-progress {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.wait-progress__track {
  height: 4px;
  border-radius: 999px;
  background: rgba(245, 240, 232, 0.08);
  overflow: hidden;
}

.wait-progress__fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-accent), #f0c078);
  transition: width 0.6s var(--ease-out);
}

.wait-progress__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.55rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.wait-clock {
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
}

.wait-build {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--space-md);
  align-items: center;
}

.wait-build .preview-build-animation {
  margin-bottom: 0;
}

.wait-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}

.wait-step {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  opacity: 0.4;
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out);
  transform: translateX(0);
}

.wait-step.active {
  opacity: 1;
  transform: translateX(2px);
}

.wait-step.done {
  opacity: 0.75;
}

.wait-step__mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border-accent);
  flex-shrink: 0;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.wait-step.active .wait-step__mark {
  border-color: var(--color-accent);
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(232, 165, 75, 0.18);
  animation: waitPulse 1.6s ease-in-out infinite;
}

.wait-step.done .wait-step__mark {
  border-color: #4ade80;
  background: #4ade80;
  box-shadow: none;
  animation: none;
}

@keyframes waitPulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(232, 165, 75, 0.18);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(232, 165, 75, 0);
  }
}

.wait-step__text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.wait-step.active .wait-step__text {
  color: var(--color-text);
}

.wait-lower {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-md);
  align-items: stretch;
}

.wait-tips,
.wait-notify {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: rgba(18, 18, 18, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.wait-tips:hover,
.wait-tips:focus-within {
  border-color: rgba(232, 165, 75, 0.28);
}

.wait-tips__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.45rem;
}

.wait-tips__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.wait-tips__body {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  min-height: 3.6em;
}

.wait-tips__body ul {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

.wait-tips__body li {
  margin-bottom: 0.25rem;
}

.wait-tips__body strong {
  color: var(--color-text);
  font-weight: 500;
}

.wait-tips__dots {
  display: flex;
  gap: 0.4rem;
  margin-top: 1rem;
}

.wait-tips__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(245, 240, 232, 0.2);
  transition: background 0.25s ease, transform 0.25s ease;
}

.wait-tips__dot.is-active {
  background: var(--color-accent);
  transform: scale(1.2);
}

.wait-notify__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.wait-notify__copy {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.wait-notify__form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.wait-notify__form input[type='email'] {
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.wait-notify__form input[type='email']:focus {
  outline: none;
  border-color: var(--color-accent);
}

.wait-notify__hint {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  opacity: 0.85;
}

.wait-notify.is-captured .wait-notify__form,
.wait-notify.is-captured .wait-notify__hint {
  display: none;
}

.wait-notify__success {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 0.25rem;
}

.wait-notify__success strong {
  color: var(--color-text);
}

@media (max-width: 760px) {
  .wait-build,
  .wait-lower {
    grid-template-columns: 1fr;
  }

  .wait-build .preview-build-animation {
    max-width: 280px;
    margin: 0 auto;
  }

  .wait-steps {
    max-width: 320px;
    margin: 0 auto;
  }
}

.redesign-page .preview-result {
  text-align: center;
  margin-bottom: 0;
}

.redesign-page .preview-url {
  display: none;
}

.redesign-page .email-gate {
  max-width: none;
  margin: 0;
  text-align: center;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.redesign-page .email-gate-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.redesign-page .email-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.redesign-page .email-form input[type='email'] {
  padding: 0.95rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.redesign-page .email-form input[type='email']:focus {
  outline: none;
  border-color: var(--color-accent);
}

.redesign-page .email-form--ready.email-form--success {
  display: flex;
  flex-direction: column;
  grid-template-columns: unset;
}

.email-success-copy,
.email-success-hint {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.email-success-copy strong,
.email-success-hint strong {
  color: var(--color-text);
}

.resend-btn--ok {
  border-color: rgba(34, 197, 94, 0.35) !important;
  color: #4ade80 !important;
}

.btn--error {
  background: #ef4444 !important;
}

.redesign-page .error-content {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.redesign-page .error-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  color: var(--color-accent);
}

.redesign-page .error-icon svg {
  width: 100%;
  height: 100%;
}

.redesign-page .error-suggestions {
  text-align: left;
  margin: var(--space-md) auto;
  padding: var(--space-md);
  background: rgba(26, 26, 26, 0.7);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  max-width: 360px;
}

.redesign-page .error-suggestions-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.redesign-page .error-suggestions ul {
  padding-left: 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.redesign-page .error-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.redesign-page .error-help-link {
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.95rem;
}

.redesign-page .error-help-link:hover {
  text-decoration: underline;
}

/* ---- Home teaser section ---- */
.home-redesign {
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.home-redesign::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 80% at 50% 50%,
    rgba(232, 165, 75, 0.07),
    transparent 65%
  );
  pointer-events: none;
}

.home-redesign .container {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
}

.home-redesign-form {
  margin-top: var(--space-lg);
}

.home-redesign-form .atelier-input-wrap,
.home-redesign-form .atelier-form {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.home-redesign-form .atelier-form {
  margin-bottom: 0;
}

.home-redesign-note {
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.home-redesign-note a {
  color: var(--color-accent);
  text-decoration: none;
}

.home-redesign-note a:hover {
  text-decoration: underline;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .redesign-page .concepts-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .atelier {
    padding-top: calc(var(--space-xl) + 4rem);
    align-items: stretch;
  }

  .atelier-title {
    max-width: none;
  }

  .atelier-input-wrap {
    flex-wrap: wrap;
  }

  .atelier-prefix {
    width: 100%;
    justify-content: flex-start;
    padding: 0.65rem 1rem;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .atelier-input-wrap input {
    flex: 1 1 auto;
    width: 60%;
  }

  .atelier-submit {
    flex: 1;
    justify-content: center;
  }

  .atelier-submit-text {
    display: none;
  }

  .home-redesign-form .atelier-submit-text {
    display: none;
  }
}
