@font-face {
  font-family: Bricolage;
  src: url(/titulos.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink:#30213d;
  --paper:#fcfaf5;
  --purple:#6942b8;
  --line:#dcd6ce;
  --display:Bricolage,Arial,sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.45 Arial,
    Helvetica,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
.stage:focus-visible {
  outline: 3px solid #8755cf;
  outline-offset: 4px;
}
.wrap {
  width: min(1216px, 91%);
  margin: auto;
}
.top,
.top nav,
.brand,
.eyebrow,
.stage-head,
.window-bar,
.screen-head,
.stage-nav,
.row,
.caption,
footer {
  display: flex;
  align-items: center;
}
.top {
  height: 86px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  font: 700 32px/1 var(--display);
  letter-spacing: -1.8px;
  gap: 8px;
}
.brand img {
  display: block;
}
.top nav {
  gap: 32px;
  font-weight: 600;
  font-size: 14px;
}
.contact {
  border: 1px solid var(--ink);
  border-radius: 22px;
  padding: 8px 17px;
}
.contact span {
  margin-left: 8px;
}
.hero {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(24px, 5vw, 84px);
  align-items: center;
  padding: clamp(42px, 5.5vw, 80px) 0;
}
.eyebrow,
.stage-head,
.tiny,
.poster-sub {
  font:
    700 11px/1.3 ui-monospace,
    Consolas,
    monospace;
  letter-spacing: 1.6px;
}
.eyebrow {
  gap: 9px;
  margin: 0;
}
.eyebrow i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #7953bb;
}
.intro h1,
.models h2,
.screen h2 {
  font-family: var(--display);
  line-height: .98;
  letter-spacing: -.06em;
}
.intro h1 {
  font-size: clamp(58px, 6.7vw, 100px);
  margin: 21px 0;
}
.intro em {
  color: var(--purple);
  font-style: normal;
}
.lead {
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.55;
  color: #5e5362;
  max-width: 410px;
  margin: 0 0 28px;
}
.primary,
.action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  font-weight: 700;
  border-radius: 9px;
}
.primary {
  background: var(--ink);
  color: white;
  padding: 13px 18px;
}
.primary:hover,
.action:hover {
  filter: brightness(1.18);
}
.primary span {
  font-size: 20px;
}
.stage {
  --wash:#d9c5fa;
  --dot:#ad92ce;
  --accent:#623a94;
  --pale:#f0e8fa;
  background-color: var(--wash);
  background-image: radial-gradient(var(--dot) .8px, transparent 1px);
  background-size: 14px 14px;
  padding: 19px clamp(17px, 3.3vw, 46px) 15px;
  border: 1px solid #52445c;
  border-radius: 18px;
  scroll-margin-top: 12px;
}
.stage[data-kind=pedidos] {
  --wash:#ffd8b1;
  --dot:#ce9d72;
  --accent:#884419;
  --pale:#fbe8d4;
}
.stage[data-kind=clases] {
  --wash:#bde4d7;
  --dot:#8ab6a6;
  --accent:#265f50;
  --pale:#e0f1e9;
}
.stage-head {
  gap: 8px;
  letter-spacing: 1.3px;
  font-size: 10px;
}
#playback {
  margin-left: auto;
  padding: 8px 11px;
  border: 1px solid #30213d55;
  border-radius: 20px;
  background: #fffafaad;
  font: 600 12px Arial, sans-serif;
}
.live-dot {
  width: 8px;
  height: 8px;
  background: #3c3049;
  border-radius: 50%;
}
.window {
  position: relative;
  background: #fffefa;
  border: 1px solid #514558;
  border-radius: 12px;
  overflow: hidden;
  margin: 17px auto 13px;
  max-width: 450px;
  box-shadow: 5px 6px 0 #39234421;
}
.window-bar {
  padding: 10px 15px;
  border-bottom: 1px solid var(--line);
  gap: 8px;
}
.window-bar b {
  font: 700 16px var(--display);
}
.window-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: var(--pale);
  color: var(--accent);
  border-radius: 6px;
}
.sample {
  font-size: 11px;
  color: #62596a;
  margin-left: auto;
}
.screen {
  padding: 13px 19px 12px;
}
.screen-head {
  justify-content: space-between;
}
.tiny {
  color: var(--accent);
  font-size: 10px;
}
.reset,
.stage-nav button {
  border: 1px solid #51455855;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: transparent;
  display: grid;
  place-items: center;
  line-height: 1;
}
.reset {
  font-size: 17px;
  border-color: transparent;
}
.reset:hover,
.stage-nav button:hover {
  background: #ffffff80;
}
.screen h2 {
  margin: 0;
  font-size: 31px;
}
.sub {
  font-size: 12px;
  color: #69606c;
  margin: 5px 0 11px;
}
.row {
  padding: 9px 0;
  border-top: 1px solid #e9e4df;
  gap: 10px;
}
.stamp {
  width: 43px;
  flex-shrink: 0;
  background: var(--pale);
  color: var(--accent);
  border-radius: 5px;
  padding: 5px 2px;
  text-align: center;
  font-size: 11px;
  font-weight: bold;
}
.detail {
  display: grid;
  gap: 1px;
}
.detail b {
  font-size: 13px;
}
.detail small,
.status {
  font-size: 11px;
  color: #675d68;
}
.status {
  margin-left: auto;
  white-space: nowrap;
  font-weight: 600;
}
.status.wait {
  color: #875321;
}
.status.done {
  color: #25624a;
}
.action {
  width: 100%;
  justify-content: center;
  gap: 9px;
  background: var(--accent);
  color: white;
  border: 0;
  padding: 9px 10px;
  font-size: 13px;
  min-height: 39px;
}
.feedback {
  height: auto;
  min-height: 2.9em;
  margin: 6px 0 0;
  font-size: 13px;
  color: #445545;
}
.pointer {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 2px 2px #30213d55);
  transition: transform .65s cubic-bezier(.22,.7,.2,1);
}
.pointer::before, .pointer::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 30px;
  background: white;
  clip-path: polygon(0 0,100% 56%,62% 63%,83% 93%,58% 100%,38% 70%,10% 91%);
}
.pointer::after { background: var(--ink); transform: scale(.75); }
.stage[data-step] .pointer { display: block; }
.stage[data-step="0"] .pointer { opacity: 0; transition: none; }
.stage[data-step="5"] .pointer { opacity: 0; transition: opacity .25s; }
.stage[data-step="1"] select, .stage[data-step="2"] select,
.stage[data-step="3"] .action, .stage[data-step="4"] .action {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.stage[data-step="4"] .action { transform: scale(.97); }
.stage[data-step="4"] .pointer::after { background: var(--accent); }
.row:has(.done) { background: #e6f6ed; }
.choice select:disabled { opacity: 1; background: #f6f5f2; }
@media (prefers-reduced-motion: no-preference) {
  .stage { transition: background-color .4s; }
  .stage[data-step="0"] .screen { animation: reveal .4s ease-out; }
  .stage[data-step="2"] select, .stage[data-step="5"] .done {
    animation: highlight .48s ease-out;
  }
  .stage[data-step="5"] .feedback { animation: reveal .35s ease-out; }
  .stage.paused * { animation-play-state: paused !important; }
  @keyframes reveal {
    from { opacity: .3; transform: translateY(5px); }
  }
  @keyframes highlight {
    45% { transform: scale(1.05); }
  }
}
.stage-nav {
  justify-content: center;
  gap: 15px;
  font-size: 12px;
  font-weight: bold;
}
.stage-nav span {
  min-width: 100px;
  text-align: center;
}
.models {
  padding: 38px 0 46px;
  background: #f2efe8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.models h2 {
  font-size: clamp(35px, 4vw, 58px);
  margin: 12px 0 26px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
}
.model {
  padding: 0;
  background: #fffdf8;
  border: 1px solid #b9b0bc;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  transition: transform .18s;
}
.model:hover {
  transform: translateY(-3px);
}
.poster {
  height: 155px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.poster-name {
  font: 700 clamp(30px, 3.2vw, 48px)/1 var(--display);
  letter-spacing: -.06em;
}
.poster-sub {
  margin-top: 6px;
  font-size: 9px;
}
.lila .poster {
  background: #dbcced;
  color: #482a60;
}
.pliego .poster {
  background: #f3b17c;
  color: #542a19;
}
.orbita .poster {
  background: #b5d6c5;
  color: #244639;
}
.flower,
.folds,
.orbit {
  position: absolute;
  z-index: -1;
  right: -6px;
  top: -26px;
}
.flower {
  font: 170px/.99 Georgia, serif;
  color: #ae83cd;
}
.folds {
  width: 118px;
  height: 135px;
  background:
    repeating-linear-gradient(
      118deg,
      #cb7045 0 11px,
      #ef9b66 12px 24px);
  transform: rotate(21deg);
  top: -12px;
  right: -8px;
}
.orbit {
  top: 4px;
  right: -25px;
  width: 140px;
  height: 94px;
  transform: rotate(-33deg);
  border: 5px solid #6c9c85;
  border-radius: 50%;
}
.orbit:before,
.orbit:after {
  content: "";
  position: absolute;
  inset: 8px -4px;
  border: 3px solid #6c9c85;
  border-radius: 50%;
}
.orbit:after {
  inset: 21px -2px;
}
.caption {
  padding: 13px 17px;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
}
.fine {
  margin: 14px 0 0;
  font-size: 12px;
  color: #685e68;
}
footer {
  padding: 28px 0;
  justify-content: space-between;
}
footer .brand {
  font-size: 24px;
}
footer > a:last-child {
  font-size: 13px;
}
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr 1.1fr;
    gap: 18px;
  }
  .stage {
    padding-inline: 15px;
  }
  .poster {
    height: 132px;
  }
  .grid {
    gap: 11px;
  }
  .caption {
    padding: 12px;
  }
  .intro h1 {
    font-size: clamp(48px, 7vw, 60px);
  }
}
@media (max-width: 650px) {
  .top {
    height: 64px;
  }
  .brand {
    font-size: 27px;
  }
  .top nav {
    gap: 14px;
    font-size: 13px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 27px;
    padding: 34px 0;
  }
  .intro h1 {
    font-size: clamp(52px, 12.5vw, 77px);
    margin: 12px 0;
  }
  .lead {
    margin-bottom: 17px;
  }
  .primary {
    padding: 9px 14px;
  }
  .stage {
    padding: 15px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .poster {
    height: 120px;
  }
  .poster-name {
    font-size: 36px;
  }
  .models {
    padding: 30px 0;
  }
  .models h2 {
    margin-bottom: 20px;
  }
  .screen {
    padding: 10px 14px;
  }
  .status {
    font-size: 10px;
  }
  .row {
    gap: 7px;
  }
  footer {
    gap: 15px;
    flex-wrap: wrap;
  }
}
.choice:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
  margin: 3px 0 12px;
  font-size: 12px;
  font-weight: bold;
}
.choice select {
  max-width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  color: var(--ink);
  font: inherit;
}
@media (max-width: 440px) {
  .top .brand { font-size: 23px; gap: 5px; }
  .top .brand img { width: 22px; height: 22px; }
  .contact { padding: 7px 10px; }
  .contact span { margin-left: 2px; }
  .top nav { gap: 10px; }
  .choice select { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .stage[data-step] .pointer { display: none; }
  html {
    scroll-behavior: auto;
  }
  .model {
    transition: none;
  }
}
