/* The owner requested a larger, finished illustration after the peripheral sketch. */
.landing.has-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 68px 24px 98px;
}
.has-stage .hero {
  position: relative;
  z-index: 1;
}
.hero-stage {
  --scene-paper: #fff;
  --scene-soft: #f5f4f5;
  --scene-ink: #252126;
  --scene-muted: #747076;
  --scene-line: #d3cdd1;
  --scene-tint: #fbe7f0;
  width: min(100%, 1040px);
  position: relative;
}
:root[data-theme="dark"] .hero-stage {
  --scene-paper: #242024;
  --scene-soft: #302a30;
  --scene-ink: #f7f2f5;
  --scene-muted: #b7aeb5;
  --scene-line: #544852;
  --scene-tint: #4b273a;
}
.stage-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: -0.1px;
  padding: 0 30px 14px;
  border-bottom: 1px solid var(--line);
}
.stage-counter {
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}
.stage-scenes {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 390;
}
.stage-scenes [hidden] {
  display: none;
}
.stage-scenes [data-scene] {
  position: absolute;
  inset: 0;
}
.stage-scenes svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.stage-paper,
.stage-floating {
  fill: var(--scene-paper);
  stroke: var(--scene-line);
  stroke-width: 1.2;
}
.stage-floating {
  filter: drop-shadow(0 12px 20px #35233316);
}
.stage-phone {
  fill: var(--scene-ink);
  stroke: var(--scene-ink);
  stroke-width: 1;
  filter: drop-shadow(0 16px 20px #35233318);
}
.stage-soft {
  fill: var(--scene-soft);
}
.stage-tint {
  fill: var(--scene-tint);
}
.stage-dark-fill {
  fill: var(--scene-ink);
}
.stage-accent-fill {
  fill: var(--accent);
}
.stage-line,
.stage-rule {
  stroke: var(--scene-line);
  stroke-width: 1.2;
  stroke-linecap: round;
}
.stage-text,
.stage-small {
  fill: var(--scene-ink);
  font-family: inherit;
  font-size: 13px;
}
.stage-text.stage-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.stage-text.stage-medium {
  font-size: 15px;
  font-weight: 600;
}
.stage-muted,
.stage-tiny {
  fill: var(--scene-muted);
  font-size: 11px;
}
.stage-tiny {
  font-size: 10px;
  letter-spacing: 1px;
}
.stage-month {
  font-size: 14px;
  font-weight: 600;
}
.stage-calendar-chevron {
  stroke: var(--scene-muted);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stage-calendar-date,
.stage-calendar-weekday {
  fill: var(--scene-ink);
  font-family: inherit;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  text-anchor: middle;
  dominant-baseline: central;
}
.stage-calendar-weekday {
  fill: var(--scene-muted);
  font-size: 10px;
}
.stage-calendar-outside {
  fill: var(--scene-muted);
  opacity: 0.42;
}
.stage-calendar-selected {
  fill: #fff;
  font-weight: 600;
}
.stage-white {
  fill: #fff;
  font-size: 13px;
  font-weight: 500;
}
.stage-dot,
.stage-muted-fill {
  fill: var(--scene-line);
}
.stage-check {
  stroke: white;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stage-board {
  fill: var(--scene-paper);
  stroke: var(--scene-line);
  stroke-width: 1.2;
  filter: drop-shadow(0 14px 20px #3523330c);
}
.stage-chip {
  fill: var(--scene-ink);
  stroke: var(--scene-ink);
  stroke-width: 1.2;
}
.stage-chip-title {
  fill: var(--scene-paper);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2px;
}
.stage-chip-label {
  fill: var(--scene-paper);
  font-size: 9px;
  letter-spacing: 1px;
  opacity: 0.8;
}
.stage-pin {
  stroke: var(--scene-ink);
  stroke-width: 3;
}
.stage-ring {
  stroke: var(--scene-line);
  stroke-width: 1.5;
}
.stage-route {
  stroke: var(--scene-line);
  stroke-width: 2;
}
.stage-signal {
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 0.16 0.84;
  stroke-dashoffset: 1;
}
.stage-bar {
  fill: var(--accent);
  transform-box: fill-box;
  transform-origin: bottom;
}
.drawing-animated .stage-scenes [data-scene]:not([hidden]) svg {
  animation: stage-arrive 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
.drawing-animated .stage-line {
  stroke-dasharray: 1;
  animation: stage-line-draw 1.3s 0.15s both;
}
.drawing-animated .stage-signal {
  animation: stage-transmit 2.3s linear infinite;
}
.drawing-animated .stage-bar {
  animation: stage-bars 1.2s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
.drawing-animated .stage-bar:nth-last-child(2) {
  animation-delay: 0.15s;
}
.drawing-paused .stage-scenes svg,
.drawing-paused .stage-scenes path,
.drawing-paused .stage-scenes rect {
  animation: none !important;
}
@keyframes stage-arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes stage-line-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes stage-transmit {
  to {
    stroke-dashoffset: -1;
  }
}
@keyframes stage-bars {
  from {
    transform: scaleY(0.1);
  }
  to {
    transform: scaleY(1);
  }
}
.hero-drawing-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 16px auto 0;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.hero-drawing-controls[hidden] {
  display: none;
}
.hero-drawing-controls button {
  font: inherit;
  font-size: 12px;
  white-space: nowrap;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 999px;
  padding: 10px 19px;
}
.hero-drawing-controls [data-scene-choice][aria-pressed="true"] {
  background: var(--ink);
  color: var(--surface);
}
.hero-drawing-controls .hero-motion-toggle {
  padding: 10px 12px;
  min-width: 34px;
}
.hero-drawing-controls button:focus-visible {
  outline-offset: 2px;
}
@media (max-width: 800px) {
  .landing.has-stage {
    padding: 64px 24px 96px;
    gap: 36px;
  }
  .stage-caption {
    padding: 0 8px 12px;
    font-size: 11px;
  }
  .hero-drawing-controls {
    margin-top: 12px;
  }
  .hero-drawing-controls button {
    padding: 9px 13px;
  }
}
@media (max-width: 540px) {
  .landing.has-stage {
    padding: 48px 20px 100px;
    gap: 36px;
    overflow: hidden;
  }
  .hero-stage {
    width: calc(100% + 28px);
    max-width: none;
  }
  .stage-caption {
    padding: 0 16px 12px;
    font-size: 10px;
  }
  .stage-scenes {
    width: 440px;
    max-width: calc(100vw + 36px);
    height: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  .stage-scenes svg {
    width: 100%;
  }
  .hero-drawing-controls {
    margin-top: 16px;
  }
  .hero-drawing-controls button {
    font-size: 11px;
    padding: 8px 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .drawing-animated .stage-scenes * {
    animation: none !important;
  }
}
