/* Soulmates Lingerie — demo runway theme: dark, luxe, gold on black. */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #e8c877;
  --gold-dim: #9a7f45;
  --ink: #0a0a0c;
  --panel: #141416;
  --line: #2a2a2e;
  --text: #f3ead8;
  --muted: #a89f8d;
  /* feminine accent layer — highlights only: blush → rose gold → lilac */
  --blush: #f7a8b8;
  --rose-gold: #e8b4a0;
  --lilac: #cdb4e8;
  --accent-grad: linear-gradient(120deg, var(--blush), var(--rose-gold) 55%, var(--lilac));
  --frame-grad: linear-gradient(135deg, rgba(247,168,184,.75), rgba(232,180,160,.75) 50%, rgba(205,180,232,.75));
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- header ---------- */
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 28px; border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px; letter-spacing: 1px; color: var(--text);
}
.wordmark span { color: var(--gold); font-style: italic; }
.domain { color: var(--muted); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; margin-top: 2px; }
.header-right { display: flex; gap: 10px; align-items: center; }
.live-badge {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid #7a1f1f; color: #ff8080;
  padding: 7px 14px; border-radius: 999px; font-weight: 700; letter-spacing: 2px; font-size: 13px;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff8fab; box-shadow: 0 0 9px rgba(255,143,171,.85); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.demo-tag {
  border: 1px solid var(--gold-dim); color: var(--gold);
  padding: 7px 14px; border-radius: 999px; letter-spacing: 2px; font-size: 13px; font-weight: 700;
}

/* ---------- layout ---------- */
.layout {
  flex: 1; display: grid; grid-template-columns: 1.7fr 1fr; gap: 22px;
  padding: 22px 28px; max-width: 1440px; width: 100%; margin: 0 auto;
}
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } }

/* ---------- stage ---------- */
.stage {
  position: relative; border-radius: 18px; overflow: hidden;
  min-height: 540px; border: 1px solid transparent;
  background: linear-gradient(#111, #111) padding-box, var(--frame-grad) border-box;
  box-shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 26px rgba(232,180,160,.13);
}
.scene {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease;
}
.scene.active { opacity: 1; }
.scene-inner {
  position: absolute; inset: -6%;
  animation: kenburns 9s ease-in-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.14) translate(-1.5%, 2%); }
}
.runway-floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26%;
  background:
    linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 2px, transparent 2px 90px);
  transform: perspective(300px) rotateX(24deg);
  transform-origin: bottom;
  pointer-events: none;
}
.spotlight {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 65% at 50% 42%, rgba(255,240,200,.14), rgba(0,0,0,0) 65%);
}
.stage-top {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 18px 22px; z-index: 5;
}
.world-label {
  font-size: 15px; letter-spacing: 2.5px; text-transform: uppercase;
  background: rgba(0,0,0,.45); padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(4px);
}
.look-counter {
  font-size: 13px; letter-spacing: 2px; color: var(--gold);
  background: rgba(0,0,0,.45); padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
}
.stage-card {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  text-align: center; z-index: 4; width: min(620px, 86%);
  padding: 38px 30px 34px;
  background: linear-gradient(160deg, rgba(10,10,12,.38), rgba(10,10,12,.62));
  border: 1px solid rgba(247,168,184,.4); border-radius: 14px;
  backdrop-filter: blur(3px);
}
.card-kicker { color: var(--gold); letter-spacing: 3px; font-size: 13px; text-transform: uppercase; }
.card-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 58px); line-height: 1.05; margin: 10px 0 8px;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
}
.card-name.sponsor { letter-spacing: 4px; font-family: "Avenir Next", "Segoe UI", sans-serif; font-weight: 800; }
.card-sub { color: var(--text); opacity: .85; font-size: 16px; }
.stage-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 22px 18px; z-index: 5; }
.progress-track { height: 4px; background: rgba(255,255,255,.18); border-radius: 99px; overflow: hidden; margin-bottom: 12px; }
.progress-bar { height: 100%; width: 0%; background: var(--gold); }
.progress-bar.run { animation: fill 8s linear forwards; }
@keyframes fill { from { width: 0%; } to { width: 100%; } }
.stage-controls { display: flex; gap: 10px; justify-content: center; }
.stage-controls button {
  background: rgba(0,0,0,.5); color: var(--text); border: 1px solid rgba(255,255,255,.25);
  padding: 8px 18px; border-radius: 999px; cursor: pointer; font-size: 14px; letter-spacing: 1px;
}
.stage-controls button:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- beats strip ---------- */
.beats-strip {
  margin-top: 14px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--panel); padding: 14px 18px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.beats-label { display: flex; align-items: center; gap: 10px; letter-spacing: 2px; font-size: 13px; color: var(--gold); font-weight: 700; }
.eq { display: inline-flex; gap: 3px; align-items: flex-end; height: 16px; }
.eq i { width: 4px; background: var(--gold); animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(1) { height: 60%; } .eq i:nth-child(2) { height: 100%; animation-delay: .15s; }
.eq i:nth-child(3) { height: 45%; animation-delay: .3s; } .eq i:nth-child(4) { height: 80%; animation-delay: .45s; }
@keyframes eq { 0%,100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }
.beats-list { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.beat-chip {
  padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); font-size: 13px; letter-spacing: 1px; transition: all .4s;
}
.beat-chip.on { color: #2a1216; background: var(--accent-grad); border-color: transparent; font-weight: 700; }
.now-beat { color: var(--muted); font-size: 14px; }
.now-beat strong { color: var(--text); }

/* ---------- shop panel ---------- */
.shop-panel {
  border: 1px solid transparent; border-radius: 18px;
  background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--frame-grad) border-box;
  box-shadow: 0 14px 40px rgba(0,0,0,.45), 0 0 22px rgba(247,168,184,.1);
  padding: 26px 26px 22px; display: flex; flex-direction: column;
}
.panel-kicker {
  color: var(--gold); letter-spacing: 3px; font-size: 13px; font-weight: 700;
  text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px;
}
.panel-name { font-family: Georgia, "Times New Roman", serif; font-size: 32px; line-height: 1.1; }
.panel-meta { color: var(--muted); margin: 8px 0 12px; font-size: 14px; letter-spacing: .5px; }
.panel-blurb { color: var(--text); opacity: .88; line-height: 1.55; font-size: 15px; }
.panel-price {
  font-size: 34px; margin: 18px 0 6px; font-weight: 700;
  background: linear-gradient(100deg, var(--blush), var(--rose-gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--blush);
}
.size-label { color: var(--muted); letter-spacing: 2px; font-size: 12px; text-transform: uppercase; margin: 14px 0 8px; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size-pill {
  border: 1px solid var(--line); background: transparent; color: var(--text);
  padding: 8px 15px; border-radius: 14px; cursor: pointer; font-size: 14px;
}
.size-pill:hover { border-color: var(--blush); }
.size-pill.sel { background: var(--accent-grad); color: #2a1216; border-color: transparent; font-weight: 700; }
.buy-btn {
  margin-top: 22px; width: 100%; padding: 16px; border: none; border-radius: 12px;
  background: linear-gradient(180deg, #f0d48a, var(--gold) 60%, #c9a44e);
  color: #14100a; font-size: 18px; font-weight: 800; letter-spacing: 1.5px; cursor: pointer;
}
.buy-btn:hover { filter: brightness(1.07); }
.sponsor-btn { background: linear-gradient(180deg, #ffffff, #d9d9d9 60%, #b5b5b5); }
.panel-note { color: var(--muted); font-size: 13px; margin-top: 12px; line-height: 1.5; }
.source-link { color: var(--gold-dim); font-size: 13px; margin-top: 10px; display: inline-block; }
.source-link:hover { color: var(--blush); }
.sponsor-tee {
  border: 2px dashed rgba(255,255,255,.5); border-radius: 14px;
  padding: 30px 10px; text-align: center; margin-bottom: 18px;
  background: linear-gradient(160deg, #1d1d20, #101012);
}
.tee-text { font-weight: 800; letter-spacing: 5px; font-size: 30px; line-height: 1.25; color: #fff; }
.show-clock {
  padding-top: 18px; color: var(--muted); font-size: 13px; line-height: 1.5;
  border-top: 1px solid var(--line); margin-top: 22px;
}

/* ---------- programme (collection tabs) ---------- */
.programme {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px 28px 0; max-width: 1440px; width: 100%; margin: 0 auto;
}
.programme-label {
  font-family: Georgia, "Times New Roman", serif; font-style: italic;
  color: var(--gold); font-size: 17px; letter-spacing: .5px; white-space: nowrap;
}
.programme-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.programme-tab {
  background: transparent; color: var(--muted); border: 1px solid var(--line);
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; transition: all .3s;
}
.programme-tab:hover { border-color: var(--blush); color: var(--text); }
.programme-tab.on { background: var(--accent-grad); border-color: transparent; color: #2a1216; font-weight: 700; box-shadow: 0 4px 16px rgba(247,168,184,.28); }

/* ---------- panel collection line ---------- */
.panel-collection {
  font-family: Georgia, "Times New Roman", serif; font-style: italic;
  color: var(--gold); font-size: 17px; margin: -6px 0 14px;
}

/* ---------- how it works ---------- */
.how {
  max-width: 1440px; width: 100%; margin: 0 auto; padding: 10px 28px 30px;
}
.how::before {
  content: "✦ · ✦ · ✦"; display: block; text-align: center;
  color: var(--blush); font-size: 13px; letter-spacing: 10px;
  margin: 2px 0 18px; opacity: .85;
}
.how-title {
  font-family: Georgia, "Times New Roman", serif; font-weight: 400;
  font-size: 30px; text-align: center; letter-spacing: 1px;
}
.how-title::after {
  content: ""; display: block; width: 74px; height: 2px; border-radius: 99px;
  background: var(--accent-grad); margin: 12px auto 0; opacity: .9;
}
.how-tagline {
  text-align: center; color: var(--gold); font-style: italic;
  font-family: Georgia, "Times New Roman", serif; font-size: 18px; margin: 6px 0 22px;
}
.how-steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
@media (max-width: 1000px) { .how-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .how-steps { grid-template-columns: 1fr; } }
.how-step {
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
  padding: 20px 18px; text-align: center;
}
.how-num {
  width: 34px; height: 34px; margin: 0 auto 10px; border-radius: 50%;
  border: 1px solid var(--gold-dim); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, "Times New Roman", serif; font-size: 17px;
}
.how-name {
  letter-spacing: 2px; text-transform: uppercase; font-size: 13.5px;
  font-weight: 700; color: var(--text); margin-bottom: 8px;
}
.how-step p { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---------- stage video ---------- */
.scene-inner video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; background: #000;
}
.scene-inner.is-video { animation: none; inset: 0; }
.stage.has-video .runway-floor { display: none; }
.stage.has-video .spotlight { opacity: .45; }
.stage.has-video .stage-card {
  left: 22px; top: auto; bottom: 92px; transform: none;
  width: auto; max-width: min(430px, 62%); text-align: left;
  padding: 16px 20px 13px;
}
.stage.has-video .card-name { font-size: clamp(24px, 3vw, 34px); margin: 5px 0 3px; }
.stage.has-video .card-sub { font-size: 14px; }

/* ---------- start the show overlay ---------- */
.start-show {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 20; display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: rgba(8,8,10,.72); border: 1px solid var(--gold);
  padding: 26px 44px 22px; border-radius: 999px; cursor: pointer;
  backdrop-filter: blur(5px); transition: all .3s;
  box-shadow: 0 18px 60px rgba(0,0,0,.6);
}
.start-show:hover { background: rgba(20,16,6,.85); transform: translate(-50%, -50%) scale(1.03); }
.start-show.gone { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.94); }
.start-play { color: var(--gold); font-size: 30px; line-height: 1; }
.start-text {
  color: var(--text); font-family: Georgia, "Times New Roman", serif;
  font-size: 27px; letter-spacing: 1.5px; white-space: nowrap;
}
.start-sub { color: var(--gold); font-size: 12.5px; letter-spacing: 2.5px; text-transform: uppercase; }

/* ---------- soundtrack player ---------- */
.player-row {
  flex-basis: 100%; display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 13px; margin-top: 2px;
}
.player-btn {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  border: 1px solid var(--gold-dim); background: transparent; color: var(--gold);
  font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.player-btn:hover { border-color: var(--gold); background: rgba(232,200,119,.1); }
.now-playing { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.np-label { color: var(--muted); font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; }
.np-track { color: var(--text); font-size: 15px; letter-spacing: .4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soundtrack-credit {
  flex-basis: 100%; text-align: center; color: var(--muted);
  font-family: Georgia, "Times New Roman", serif; font-style: italic;
  font-size: 14.5px; letter-spacing: .6px; padding-top: 4px;
}
.soundtrack-credit strong { color: var(--blush); font-style: normal; letter-spacing: 1.5px; font-size: 13.5px; }

/* ---------- explainer ---------- */
.explainer {
  max-width: 1440px; width: 100%; margin: 0 auto; padding: 6px 28px 26px; text-align: center;
}
.explainer-title {
  font-family: Georgia, "Times New Roman", serif; font-weight: 400;
  font-size: 26px; letter-spacing: 1px; margin-bottom: 16px;
}
.explainer-video {
  width: min(880px, 100%); border-radius: 16px; border: 1px solid transparent;
  background: linear-gradient(#000, #000) padding-box, var(--frame-grad) border-box;
  box-shadow: 0 22px 60px rgba(0,0,0,.5), 0 0 22px rgba(232,180,160,.12);
}

/* ---------- toast + footer ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: #1d1d20; color: var(--text); border: 1px solid var(--gold-dim);
  padding: 15px 22px; border-radius: 12px; font-size: 15px; max-width: min(560px, 90vw);
  text-align: center; opacity: 0; pointer-events: none; transition: all .35s ease; z-index: 50;
  box-shadow: 0 18px 50px rgba(0,0,0,.55);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.site-footer {
  border-top: 1px solid var(--line); color: var(--muted);
  padding: 18px 28px 24px; font-size: 13.5px; line-height: 1.6; text-align: center;
}
.site-footer strong { color: var(--text); }

/* ---------- phone pass (≤768px) — mobile sizing only ----------
   Everything below lives inside max-width media queries, so the
   laptop/desktop rendering (≥1024px) is byte-for-byte untouched.
   Targets: 360–430px portrait phones. Goals: no horizontal scroll,
   portrait-friendly stage, ≥40px touch targets, legible captions. */
@media (max-width: 768px) {
  body { overflow-x: hidden; }

  /* header stacks: wordmark on top, badges wrap underneath */
  .site-header { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; }
  .wordmark { font-size: 26px; }
  .domain { font-size: 12px; letter-spacing: 2px; }
  .header-right { flex-wrap: wrap; gap: 8px; }
  .live-badge, .demo-tag { padding: 6px 12px; font-size: 12px; }

  /* page gutters shrink so the stage gets the width. The grid items
     also get min-width: 0 — without it, a grid item refuses to shrink
     below its content's min-content size, so the soundtrack strip in
     the stage column could size the whole single column wider than
     the padded content box: left edge pinned at the gutter, right
     edge (shop panel included) pushed to/past the screen edge. */
  .layout { padding: 16px 16px; gap: 16px; }
  .layout > * { min-width: 0; }
  .programme { padding: 14px 14px 0; gap: 10px; }
  .explainer { padding: 6px 14px 22px; }
  .how { padding: 10px 14px 26px; }
  .site-footer { padding: 16px 18px 22px; }

  /* programme tabs: wrap in rows, each a full-size thumb target */
  .programme-tab { padding: 11px 16px; min-height: 42px; }

  /* stage: portrait 4:5 instead of the fixed 540px desktop height,
     so video (object-fit: cover) and scene cards are never crushed */
  .stage { min-height: 0; aspect-ratio: 4 / 5; border-radius: 14px; }
  .stage-top { padding: 12px; gap: 8px; }
  .world-label { font-size: 12.5px; letter-spacing: 1.5px; padding: 6px 11px; }
  .look-counter { font-size: 12px; letter-spacing: 1.5px; padding: 6px 11px; }

  /* sweep: a long world name ("Spaceship — Orbit Deck") can shrink
     with an ellipsis instead of shoving the counter off the stage;
     the counter itself never shrinks */
  .world-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .look-counter { flex: none; }

  /* CSS-card looks: tighter card padding on a narrow stage */
  .stage-card { padding: 26px 18px 22px; width: min(620px, 90%); }

  /* video looks: caption becomes a full-width lower-third above the
     controls, so the name stays legible and off the model's centre */
  .stage.has-video .stage-card {
    left: 12px; right: 12px; bottom: 138px; max-width: none; width: auto;
    padding: 13px 16px 11px;
  }
  .stage.has-video .card-name { font-size: 23px; }
  .stage.has-video .card-sub { font-size: 13.5px; }

  /* stage controls: wrap to two rows if needed, 44px touch targets */
  .stage-bottom { padding: 10px 12px 12px; }
  .stage-controls { flex-wrap: wrap; gap: 8px; }
  .stage-controls button { padding: 11px 15px; font-size: 13px; min-height: 44px; }

  /* Start the Show: fits a phone screen, text wraps instead of clipping */
  .start-show { padding: 20px 24px 17px; max-width: 86vw; }
  .start-play { font-size: 24px; }
  .start-text { font-size: 22px; white-space: normal; text-align: center; line-height: 1.2; }
  .start-sub { font-size: 11.5px; letter-spacing: 1.8px; white-space: normal; text-align: center; line-height: 1.5; }

  /* soundtrack strip + player — stacked and centered (Clarence,
     refinement #3, from his phone): the side-by-side player row let
     the nowrap track line size the row past the panel's right edge
     (label and track clipped mid-line at the screen edge), and the
     genre chips clustered in a column on the right of the label.
     Now the strip stacks: label centered on its own row, chips in
     centered wrapped rows, "now walking" centered, the three player
     buttons as one centered row, and the now-playing label + track
     on their own full-width centered line beneath the buttons,
     wrapping inside the panel. min-width: 0 on every strip child so
     no min-content size can force the strip wide again. */
  .beats-strip { padding: 12px 14px; gap: 12px; margin-top: 12px; }
  .beats-strip > * { min-width: 0; }
  .beats-label { flex-basis: 100%; justify-content: center; text-align: center; }
  .beats-list { flex: 0 0 100%; width: 100%; justify-content: center; }
  .now-beat { flex-basis: 100%; text-align: center; }
  .player-row { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .player-btn { width: 44px; height: 44px; }
  .now-playing {
    flex: 0 0 100%; width: 100%; min-width: 0;
    align-items: center; text-align: center;
  }
  .np-label { font-size: 12px; }
  .np-track { font-size: 14.5px; max-width: 100%; }
  .soundtrack-credit { font-size: 14px; line-height: 1.55; }

  /* shop panel: comfortable single column under the stage */
  .shop-panel { padding: 20px 18px 18px; border-radius: 14px; }
  .panel-name { font-size: 28px; }
  .panel-price { font-size: 30px; }
  .size-pill { min-height: 44px; padding: 11px 16px; display: inline-flex; align-items: center; }
  .buy-btn { min-height: 54px; }

  /* explainer + how-it-works headings wrap down a step */
  .explainer-title { font-size: 22px; line-height: 1.3; }

  /* the explainer joins the how-it-works column (Clarence): title and
     video capped at the same 300px and centered, so the video and the
     step cards below it read as one aligned column of equal width */
  .explainer-title, .explainer-video { max-width: 300px; margin-inline: auto; }
  .explainer-video { display: block; width: 100%; }
  .how-title { font-size: 26px; }
  .how-tagline { font-size: 17px; }

  /* how-it-works modules + footer: centered on phone (Clarence).
     Title, gradient hairline and sparkle divider are already centered;
     now the step modules themselves sit centered instead of stretching
     full width, with badge, title and paragraph centered inside each,
     and the odd fifth step centers across the two-column band. Second
     pass (Clarence, from his phone): twice the inset again — the cards
     cap at 300px, ~77% of a 390px screen, matching the explainer. */
  .how-steps { justify-items: center; }
  .how-step {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; width: 100%; max-width: 300px; margin-inline: auto;
  }
  .how-step:last-child { grid-column: 1 / -1; }
  .how-name, .how-step p { text-align: center; }
  .site-footer { text-align: center; padding-left: 24px; padding-right: 24px; }
}

/* smallest phones (≤430px): one more notch down on the big type */
@media (max-width: 430px) {
  .wordmark { font-size: 24px; }
  .start-text { font-size: 20px; }
  .panel-name { font-size: 26px; }
  .stage.has-video .card-name { font-size: 21px; }
}
