:root {
  --bg: #e9e4db;
  --surface: rgba(245, 242, 236, 0.78);
  --surface-strong: rgba(250, 247, 242, 0.92);
  --ink: #121212;
  --muted: #625a52;
  --line: rgba(72, 58, 41, 0.12);
  --line-strong: rgba(72, 58, 41, 0.28);
  --olive: #826a51;
  --olive-soft: #a08a72;
  --accent: #dfff00;
  --accent-ink: #0f1200;
  --mono: "IBM Plex Mono", monospace;
  --sans: "Inter Tight", sans-serif;
  --radius: 28px;
  --shadow: 0 24px 60px rgba(18, 18, 18, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    linear-gradient(rgba(72, 58, 41, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 58, 41, 0.04) 1px, transparent 1px),
    radial-gradient(circle at top left, rgba(130, 106, 81, 0.16), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(223, 255, 0, 0.12), transparent 18%),
    linear-gradient(180deg, #f3efe8, var(--bg));
  background-size: 28px 28px, 28px 28px, auto, auto;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.page-shell {
  width: min(1480px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 18px 0 28px;
}

.site-header,
.content-section,
.flow-section,
.cities-section,
.site-footer,
.hero {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.site-header,
.content-section,
.flow-section,
.cities-section,
.site-footer {
  border-radius: var(--radius);
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.4rem;
  position: sticky;
  top: 18px;
  z-index: 20;
  margin-bottom: 18px;
}

.site-header::after,
.content-section::after,
.flow-section::after,
.cities-section::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(18, 18, 18, 0.05);
  border-radius: calc(var(--radius) - 10px);
  pointer-events: none;
}

.site-mark,
.header-cta,
.site-header-meta,
.section-tag,
.section-index,
.spec-row span,
.spec-row em,
.city-card p,
.city-meta,
.map-card-head,
.map-legend,
.site-footer,
.hero-panel-block,
.blueprint-card span {
  font-family: var(--mono);
}

.site-mark,
.header-cta {
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-mark {
  font-weight: 500;
}

.site-header-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-cta {
  justify-self: end;
  padding: 0.82rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.hero {
  overflow: hidden;
  border-radius: calc(var(--radius) + 10px);
  min-height: calc(100vh - 70px);
  padding: clamp(1.4rem, 2vw, 2rem);
  margin-bottom: 18px;
  background: #d8d2c8;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.72) contrast(0.98) brightness(0.78);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 242, 236, 0.94) 0%, rgba(246, 242, 236, 0.88) 36%, rgba(246, 242, 236, 0.58) 64%, rgba(246, 242, 236, 0.8) 100%),
    radial-gradient(circle at 80% 22%, rgba(223, 255, 0, 0.14), transparent 20%),
    linear-gradient(135deg, rgba(255, 252, 247, 0.48), rgba(130, 106, 81, 0.18));
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(72, 58, 41, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 58, 41, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  min-height: calc(100vh - 110px);
}

.section-tag {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.38rem 0.5rem;
  border: 1px solid var(--line-strong);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
strong {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 7.2vw, 6.4rem);
}

h1 span,
.section-lead,
.city-card h3,
.map-legend i,
.blueprint-card strong {
  color: var(--accent-ink);
  background: var(--accent);
}

h1 span {
  display: inline;
  box-decoration-break: clone;
}

.hero-heading-main {
  color: #fff;
  background: transparent;
  padding: 0;
}

.hero-heading-accent {
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0 0.08em;
}

h2 {
  max-width: 10ch;
  font-size: clamp(2.8rem, 7vw, 6rem);
}

h3 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

p,
li,
.check-grid div,
.format-grid article,
.flow-grid article strong {
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.55;
}

p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
}

.hero-copy {
  display: grid;
  gap: 1.2rem;
  align-content: end;
  max-width: 58rem;
}

.hero-intro {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.96);
}

.hero-panel {
  display: grid;
  gap: 1rem;
  align-self: stretch;
}

.hero-panel-block,
.blueprint-card,
.map-card,
.city-card,
.format-grid article,
.check-grid div,
.spec-sheet,
.flow-grid article {
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.hero-panel-block {
  position: relative;
  display: grid;
  gap: 0.55rem;
  align-content: start;
  min-height: 240px;
  padding: 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(250, 247, 242, 0.8);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.hero-panel-block::before {
  content: "";
  position: absolute;
  inset: -10% auto -10% -22%;
  width: 42%;
  background: linear-gradient(
    90deg,
    rgba(223, 255, 0, 0),
    rgba(223, 255, 0, 0.16),
    rgba(255, 255, 255, 0.4),
    rgba(223, 255, 0, 0)
  );
  transform: skewX(-22deg);
  animation: machineSweep 5.8s linear infinite;
  pointer-events: none;
}

.hero-panel-block span {
  position: relative;
  z-index: 1;
  color: rgba(30, 26, 21, 0.88);
  text-shadow: 0 0 0 rgba(223, 255, 0, 0);
  animation: machinePulse 4.4s steps(1) infinite;
}

.hero-panel-block span:nth-child(1) { animation-delay: 0.1s; }
.hero-panel-block span:nth-child(2) { animation-delay: 0.45s; }
.hero-panel-block span:nth-child(3) { animation-delay: 0.8s; }
.hero-panel-block span:nth-child(4) { animation-delay: 1.15s; }
.hero-panel-block span:nth-child(5) { animation-delay: 1.5s; }

.hero-panel-block span::after {
  content: "";
  position: absolute;
  left: -0.45rem;
  top: 50%;
  width: 0.18rem;
  height: 0.78em;
  background: var(--accent);
  opacity: 0;
  transform: translateY(-50%);
  box-shadow: 0 0 12px rgba(223, 255, 0, 0.45);
  animation: machineCursor 4.4s steps(1) infinite;
}

.hero-panel-block span:nth-child(1)::after { animation-delay: 0.1s; }
.hero-panel-block span:nth-child(2)::after { animation-delay: 0.45s; }
.hero-panel-block span:nth-child(3)::after { animation-delay: 0.8s; }
.hero-panel-block span:nth-child(4)::after { animation-delay: 1.15s; }
.hero-panel-block span:nth-child(5)::after { animation-delay: 1.5s; }

.hero-copy h1,
.hero-copy .section-tag,
.hero-copy .hero-intro {
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.hero-blueprint {
  position: relative;
  min-height: 340px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(72, 58, 41, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 58, 41, 0.05) 1px, transparent 1px),
    rgba(248, 244, 238, 0.88);
  background-size: 24px 24px;
  overflow: hidden;
}

.blueprint-dot,
.blueprint-ring,
.blueprint-axis {
  position: absolute;
}

.blueprint-dot {
  top: 28%;
  left: 54%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(223, 255, 0, 0.18);
}

.blueprint-ring {
  top: calc(28% - 58px);
  left: calc(54% - 58px);
  width: 116px;
  height: 116px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  animation: pulseRing 5s ease-in-out infinite;
}

.blueprint-axis-x {
  top: 28%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--line-strong);
}

.blueprint-axis-y {
  top: 0;
  left: 54%;
  width: 1px;
  height: 100%;
  background: var(--line-strong);
}

.blueprint-card {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
}

.blueprint-card strong {
  display: inline-flex;
  width: fit-content;
  padding: 0.15rem 0.28rem;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.blueprint-card span {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-actions,
.site-footer-links,
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.9rem 1.3rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 12px 26px rgba(201, 255, 0, 0.3);
}

.btn-primary--wide {
  min-width: min(100%, 440px);
}

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

.btn-sound {
  background: rgba(250, 247, 242, 0.72);
  backdrop-filter: blur(10px);
}

.btn-sound.is-on {
  background: rgba(18, 18, 18, 0.88);
  color: #fff;
  border-color: rgba(18, 18, 18, 0.88);
}

.content-section,
.flow-section,
.cities-section,
.preview-section,
.wizard-shell {
  margin-top: 18px;
  padding: clamp(1.3rem, 2vw, 1.7rem);
}

.content-section {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 3rem);
}

.section-index {
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.85;
  font-weight: 900;
  color: rgba(18, 18, 18, 0.13);
}

.section-body,
.section-head {
  display: grid;
  gap: 1rem;
}

.issue-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink);
}

.section-lead {
  display: inline-flex;
  width: fit-content;
  padding: 0.18rem 0.3rem;
  font-weight: 800;
}

.spec-sheet {
  display: grid;
  margin-top: 0.6rem;
}

.spec-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-top: 1px solid var(--line);
}

.spec-row:first-child {
  border-top: 0;
}

.spec-row span,
.spec-row em {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

.spec-row strong {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

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

.format-grid article,
.check-grid div {
  position: relative;
  min-height: 92px;
  display: flex;
  align-items: end;
  padding: 1rem;
  font-weight: 700;
}

.format-grid article::before,
.check-grid div::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 10px;
  height: 10px;
  background: var(--accent);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 1rem;
}

.flow-grid article {
  position: relative;
  min-height: 220px;
  display: grid;
  align-content: end;
  gap: 0.85rem;
  padding: 1rem;
}

.flow-grid article::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  width: 16px;
  height: 1px;
  background: var(--line-strong);
}

.flow-grid article:last-child::after {
  display: none;
}

.flow-grid span {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.check-grid div {
  min-height: 84px;
  align-items: center;
  padding-left: 3rem;
}

.check-grid div::after {
  content: "✓";
  position: absolute;
  top: 0.9rem;
  left: 1rem;
  font-size: 1rem;
  font-weight: 800;
}

.cities-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 16px;
  margin-top: 1rem;
}

.cities-list {
  display: grid;
  gap: 12px;
}

.city-card,
.map-card {
  padding: 1rem;
}

.city-card {
  display: grid;
  gap: 0.8rem;
}

.city-headline {
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.city-description {
  max-width: none;
  font-size: 0.98rem;
  line-height: 1.5;
}

.city-card p,
.city-meta span,
.map-card-head span,
.map-legend span,
.site-footer p,
.site-footer a {
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.city-meta {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.city-meta strong {
  font-weight: 700;
}

.city-cta {
  width: fit-content;
  margin-top: 0.15rem;
}

.map-card {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.map-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.map-card svg {
  width: 100%;
  height: auto;
  padding: 1rem 0;
}

.map-card path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.map-card circle {
  fill: var(--accent);
  stroke: var(--ink);
  stroke-width: 2;
}

.map-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 0.45rem;
}

.preview-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(180deg, rgba(250, 247, 242, 0.92), rgba(242, 236, 227, 0.88));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-section::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(18, 18, 18, 0.05);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}

.preview-copy,
.preview-media {
  position: relative;
  z-index: 1;
}

.preview-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(0.4rem, 1vw, 0.8rem);
}

.preview-copy h2 {
  max-width: 9ch;
}

.preview-media {
  min-height: 520px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 28px;
  overflow: hidden;
  background: #111;
}

.preview-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.wizard-shell {
  position: relative;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 56px rgba(18, 18, 18, 0.07);
}

.wizard-shell::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(18, 18, 18, 0.04);
  border-radius: calc(var(--radius) - 2px);
  pointer-events: none;
}

.tour-wizard {
  position: relative;
  z-index: 1;
}

.wizard-progress {
  position: sticky;
  top: 98px;
  z-index: 5;
  padding-bottom: 0.7rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86));
}

.wizard-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.wizard-progress-track {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.08);
}

.wizard-progress-bar {
  display: block;
  width: 14.285%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #111, var(--accent));
  transition: width 320ms ease;
}

.wizard-step {
  display: none;
  min-height: calc(100vh - 250px);
  padding: clamp(0.6rem, 1.2vw, 1rem) 0 0;
  grid-template-rows: auto 1fr auto auto;
  gap: 0.9rem;
}

.wizard-step.is-active {
  display: grid;
  animation: wizardFade 320ms ease;
}

.wizard-step-copy {
  display: grid;
  gap: 0.65rem;
  max-width: 900px;
}

.wizard-step-copy h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  text-transform: none;
}

.wizard-step-copy p {
  max-width: 58ch;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
}

.wizard-options {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}

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

.wizard-options--volume,
.wizard-options--checkboxes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-card {
  position: relative;
  min-height: 96px;
  display: grid;
  gap: 0.55rem;
  align-content: center;
  padding: 1.05rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(18, 18, 18, 0.09);
  background: #fff;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.choice-card:hover,
.choice-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(18, 18, 18, 0.18);
  box-shadow: 0 18px 36px rgba(18, 18, 18, 0.06);
}

.choice-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.choice-card:has(input:checked) {
  border-color: rgba(18, 18, 18, 0.24);
  background: linear-gradient(180deg, rgba(223, 255, 0, 0.24), rgba(255, 255, 255, 0.98));
  box-shadow: 0 20px 40px rgba(18, 18, 18, 0.08);
}

.choice-card strong {
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.choice-card small,
.choice-card em {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--muted);
}

.choice-card-icon,
.choice-visual {
  font-size: 1.4rem;
}

.choice-card--detail {
  min-height: 136px;
  padding-right: 2rem;
}

.choice-card--recommended::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.choice-card--check {
  min-height: 82px;
}

.choice-card--check::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(18, 18, 18, 0.18);
  border-radius: 6px;
}

.choice-card--check:has(input:checked)::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 4px #fff;
}

.wizard-field {
  display: grid;
  gap: 0.7rem;
}

.wizard-field span {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wizard-field input,
.wizard-field textarea {
  width: 100%;
  border: 1px solid rgba(18, 18, 18, 0.09);
  border-radius: 20px;
  background: #fff;
  padding: 0.95rem 1rem;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  resize: vertical;
}

.wizard-field input:focus,
.wizard-field textarea:focus {
  outline: none;
  border-color: rgba(18, 18, 18, 0.2);
  box-shadow: 0 0 0 5px rgba(223, 255, 0, 0.16);
}

.wizard-field--textarea textarea {
  min-height: 160px;
}

.wizard-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.wizard-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wizard-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 62ch;
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--muted);
}

.wizard-consent input {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: #111;
  flex: 0 0 auto;
}

.wizard-consent a {
  font-weight: 700;
}

.wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
  padding-top: 0.2rem;
}

.wizard-save-state,
.wizard-note,
.wizard-error {
  font-size: 0.92rem;
  color: var(--muted);
}

.wizard-error {
  min-height: 1.5em;
  color: #8b2b2b;
}

.wizard-success {
  display: grid;
  gap: 1rem;
  align-content: center;
  max-width: 920px;
}

.wizard-success-icon {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(223, 255, 0, 0.92), rgba(223, 255, 0, 0.62));
  font-size: 2.2rem;
  font-weight: 900;
}

.wizard-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0.5rem;
}

.wizard-summary article {
  display: grid;
  gap: 0.45rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  background: rgba(247, 247, 244, 0.92);
}

.wizard-summary span {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.wizard-summary strong {
  font-size: 1.1rem;
  line-height: 1.35;
}

.wizard-nav--success {
  justify-content: flex-start;
}

.site-footer {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  gap: 1rem;
  align-items: end;
  padding: 1.1rem 1.3rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.site-footer-links a {
  text-decoration: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulseRing {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.42;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.18;
  }
}

@keyframes machineSweep {
  0%,
  18%,
  100% {
    opacity: 0;
    transform: translateX(-8%) skewX(-22deg);
  }
  22% {
    opacity: 1;
  }
  46% {
    opacity: 0.85;
    transform: translateX(320%) skewX(-22deg);
  }
  52% {
    opacity: 0;
    transform: translateX(360%) skewX(-22deg);
  }
}

@keyframes machinePulse {
  0%,
  100% {
    color: rgba(30, 26, 21, 0.88);
    text-shadow: 0 0 0 rgba(223, 255, 0, 0);
  }
  8% {
    color: rgba(18, 18, 18, 1);
    text-shadow: 0 0 14px rgba(223, 255, 0, 0.28);
  }
  16% {
    color: rgba(72, 66, 58, 0.82);
    text-shadow: 0 0 0 rgba(223, 255, 0, 0);
  }
}

@keyframes machineCursor {
  0%,
  100% {
    opacity: 0;
  }
  6%,
  10% {
    opacity: 1;
  }
  14% {
    opacity: 0;
  }
}

@media (max-width: 1180px) {
  .flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-grid article:nth-child(3)::after {
    display: none;
  }

  .cities-layout,
  .preview-section,
  .hero-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .wizard-options--cities,
  .wizard-options--volume,
  .wizard-options--checkboxes,
  .wizard-fields-grid,
  .wizard-summary {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100vw - 20px, 1480px);
    padding-top: 10px;
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-header-meta {
    justify-content: start;
    flex-wrap: wrap;
  }

  .hero,
  .content-section,
  .flow-section,
  .cities-section,
  .wizard-shell,
  .site-footer {
    padding: 1rem;
  }

  .hero-grid,
  .content-section {
    grid-template-columns: 1fr;
  }

  .preview-media {
    min-height: 320px;
    border-radius: 22px;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 11vw, 4.1rem);
    line-height: 0.94;
    letter-spacing: -0.04em;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 3.2rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
  }

  .section-index {
    font-size: clamp(2.4rem, 14vw, 4.8rem);
  }

  h1,
  h2,
  h3,
  .wizard-step-copy h2,
  .choice-card strong,
  .city-card h3 {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .wizard-step-copy h2 {
    max-width: 100%;
    font-size: clamp(1.7rem, 8vw, 2.5rem);
    line-height: 1;
  }

  .hero-copy {
    gap: 1rem;
  }

  .hero-intro,
  .wizard-step-copy p,
  p,
  li {
    font-size: 1rem;
    line-height: 1.5;
  }

  .choice-card strong {
    font-size: clamp(1rem, 4.8vw, 1.18rem);
    line-height: 1.16;
  }

  .site-header-meta {
    gap: 0.55rem 0.8rem;
    font-size: 0.66rem;
  }

  .section-tag {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .format-grid,
  .check-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .flow-grid article {
    min-height: 140px;
  }

  .flow-grid article::after {
    top: auto;
    right: auto;
    left: 50%;
    bottom: -13px;
    width: 1px;
    height: 14px;
    transform: translateX(-50%);
  }

  .flow-grid article:last-child::after {
    display: none;
  }

  .spec-row {
    grid-template-columns: 40px 1fr;
  }

  .spec-row em {
    grid-column: 2;
  }

  .wizard-progress {
    top: 18px;
  }

  .wizard-step {
    min-height: auto;
  }

  .wizard-options,
  .wizard-options--cities,
  .wizard-options--volume,
  .wizard-options--checkboxes,
  .wizard-fields-grid,
  .wizard-summary {
    grid-template-columns: 1fr;
  }

  .wizard-nav {
    align-items: stretch;
  }

  .wizard-nav .btn {
    width: 100%;
  }

  .wizard-consent {
    font-size: 0.92rem;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

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