/* Option 7 · Showroom. The page is one dark studio seen through a fixed canvas; each block of words is pinned to one
   view of the room and scrolls over it. On a wide screen the words sit on the left and the room's subject on the
   right; on a phone the subject sits at the top and the words come up under it. After the flight the page turns solid
   for pricing and the developer band, and the room stops drawing. */

.stage { position: fixed; inset: 0 0 auto; width: 100%; height: 100vh; height: 100lvh; max-width: none; z-index: 0; pointer-events: none; }
/* a shade behind the words, so they read over a lit screen; it comes in after the first view */
.veil {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: var(--veil, 0);
  background: linear-gradient(90deg, rgb(5 6 5 / 0.84) 0%, rgb(5 6 5 / 0.62) 26%, rgb(5 6 5 / 0) 46%);
}
main { position: relative; z-index: 1; }

/* ---------- the flight ---------- */
.stop { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; }
.side { padding: 104px 0; }
.copy { max-width: 31rem; display: grid; gap: 18px; justify-items: start; }
.copy h2 { font-size: clamp(40px, 4.4vw, 66px); line-height: 0.98; letter-spacing: -0.04em; }
.copy > p { color: var(--fg-soft); font-size: 18px; max-width: 42ch; }

/* first view: the message on top, the lineup across the room under it */
.hero { align-items: stretch; }
.hero-in {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 112px);
  grid-template-areas: 'head pitch' '. .' 'facts facts'; grid-template-rows: auto 1fr auto;
  min-height: 100svh; padding: 118px 0 26px;
}
.hero h1 { grid-area: head; font-size: clamp(56px, 6.6vw, 108px); line-height: 0.92; letter-spacing: -0.05em; max-width: 9.5ch; }
.pitch { grid-area: pitch; align-self: end; display: grid; gap: 24px; justify-items: start; padding-bottom: 8px; }
.lede { font-size: 18px; color: var(--fg-soft); max-width: 42ch; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.more, .watch { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--fg); }
.more svg, .watch svg { width: 18px; height: 18px; transition: translate 0.25s var(--ease); }
.more:hover svg, .watch:hover svg { translate: 4px 0; }
.more:hover, .watch:hover { text-decoration: underline; }
.facts { grid-area: facts; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--rule); }
.facts div { padding: 14px 20px 0 0; }
.facts dt { font-size: 13px; color: var(--fg-soft); margin-bottom: 2px; }
.facts dd { margin: 0; font-weight: 600; font-size: 15px; }
.pre {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--rule-strong);
  font-size: 11px; font-weight: 500; color: var(--fg-soft); vertical-align: 2px;
}

/* the view of the whole row: the five screens run across the lower half, so the words sit above them */
@media (min-width: 821px) {
  .overview { align-items: start; padding-top: 132px; }
}

/* the shops, one screen each */
.count { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--fg-soft); font-variant-numeric: tabular-nums; }
.count .num { font-family: var(--mono); font-size: 13px; color: var(--lime); letter-spacing: 0.04em; }
.count .tag { padding: 1px 10px; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: 12px; }
.shop h3 { font-size: clamp(34px, 3.4vw, 52px); line-height: 1; letter-spacing: -0.035em; }
.shop .copy > p:not(.count) { color: var(--fg-soft); font-size: 17px; max-width: 38ch; }

/* the photo corner: what happens, in order */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 6px 0 0; display: grid; gap: 16px; }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; row-gap: 4px;
  border-top: 1px solid var(--rule); padding-top: 14px;
}
.steps li::before {
  content: counter(step); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--lime);
  color: var(--lime); display: grid; place-items: center; font-size: 13px; font-weight: 600;
}
.steps h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.steps p { color: var(--fg-soft); font-size: 15px; }

/* the last plinth */
.last .join { width: min(100%, 30rem); margin-top: 6px; }

/* ---------- after the flight ---------- */
.after { position: relative; background: var(--bg); border-top: 1px solid var(--rule); }
.pricing { padding: clamp(96px, 10vw, 150px) 0 clamp(80px, 8vw, 120px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(38px, 4.6vw, 66px); line-height: 0.98; letter-spacing: -0.04em; max-width: 15ch; }
.pricing .plans { border: 1px solid var(--rule); border-radius: 24px; overflow: hidden; }
.plan.featured { box-shadow: inset 0 2px 0 var(--lime); }
.plan-note { margin-top: 20px; text-align: center; }

.dev { padding: clamp(96px, 10vw, 150px) 0; border-top: 1px solid var(--rule); background: var(--bg-sunk); }
.dev-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.dev-copy { display: grid; gap: 22px; }
.dev h2 { font-size: clamp(36px, 4.2vw, 58px); line-height: 1; letter-spacing: -0.035em; }
.dev-lede { color: var(--fg-soft); max-width: 52ch; }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; margin: 18px 0 0; }
.rules div { border-top: 1px solid var(--rule); padding-top: 14px; }
.rules dt { font-weight: 600; margin-bottom: 4px; }
.rules dd { margin: 0; color: var(--fg-soft); font-size: 14px; }
.dev .code { align-self: center; }

@media (max-width: 1180px) {
  .dev-in { grid-template-columns: 1fr; }
}

/* ---------- phone: the room on top, the words under it ---------- */
@media (max-width: 820px) {
  .veil { background: linear-gradient(0deg, rgb(5 6 5 / 0.9) 0%, rgb(5 6 5 / 0.66) 36%, rgb(5 6 5 / 0) 58%); }
  .side { align-items: end; padding: 96px 0 52px; }
  .copy { max-width: none; gap: 14px; }
  .copy h2 { font-size: clamp(32px, 8.8vw, 44px); }
  .copy > p, .shop .copy > p:not(.count) { font-size: 16px; }
  .shop h3 { font-size: 32px; }

  .hero-in {
    grid-template-columns: minmax(0, 1fr); grid-template-areas: 'head' 'pitch' '.' 'facts';
    padding: 92px 0 18px;
  }
  .hero h1 { font-size: clamp(42px, 11.4vw, 58px); }
  .pitch { align-self: start; gap: 18px; margin-top: 18px; padding: 0; }
  .lede { font-size: 16px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 4px; }
  .facts dd { font-size: 14px; }

  /* the steps share the screen with the model above them, so they run tighter */
  .steps { gap: 10px; margin-top: 2px; }
  .steps li { padding-top: 10px; row-gap: 2px; }
  .steps h3 { font-size: 16px; }
  .steps p { font-size: 14px; line-height: 1.45; }

  .sec-head { grid-template-columns: 1fr; justify-items: start; margin-bottom: 32px; }
  .pricing .plans { border-radius: 20px; }
  .plan { padding: 26px 22px; }
  .plan:last-child { border-bottom: 0; }
  .rules { grid-template-columns: 1fr; gap: 18px; }
}
