:root { --ink: #0E2230; --grey: #5B6A72; --line: #E6EAEE; --field: #F4F6F8; --green: #1A7F62; --green-ink: #17754B; --green-dark: #0F5C3C; --mint: #D3F0DF; --bg: #F7FAF8;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
.tour { max-width: 1120px; margin: 0 auto; padding: max(14px, env(safe-area-inset-top)) 16px 40px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
/* A way back to where they came from (2026-10-20: the page had none). */
.top .lead { display: flex; align-items: center; gap: 8px; }
.tback { width: 44px; height: 44px; margin-left: -10px; border-radius: 50%; display: grid; place-items: center; color: inherit; text-decoration: none; }
.tback:hover { background: rgba(0,0,0,.06); }
.brand { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.vlock { display: inline-flex; align-items: center; font: 800 22px/1 var(--font); }
.vlock img { height: .94em; width: auto; margin: 0 -.055em; position: relative; top: .145em; }
.ghost { color: var(--green-ink); font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; }
.grid { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: start; }
h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 10px; }
.lede { color: var(--grey); font-size: 17px; margin: 0 0 20px; max-width: 48ch; }
.roles { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.roles button, .looks button { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 14px var(--font); cursor: pointer; }
.roles button[aria-selected="true"] { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 4px; counter-reset: s; }
.steps button { width: 100%; text-align: left; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 10px; border: 0; border-radius: 12px; background: none; font: 500 15px var(--font); color: var(--grey); cursor: pointer; }
.steps button::before { counter-increment: s; content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--field); color: var(--grey); font-size: 13px; font-weight: 700; flex: none; }
.steps button[aria-current="step"] { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px rgba(14,34,48,.05), 0 6px 16px -10px rgba(14,34,48,.25); }
.steps button[aria-current="step"]::before { background: var(--green); color: #fff; }
.steps button.done::before { background: var(--mint); color: var(--green-ink); }
.now { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; margin-bottom: 14px; }
.now .count { font-size: 13px; font-weight: 700; color: var(--green-ink); letter-spacing: .5px; text-transform: uppercase; margin: 0 0 4px; }
.now h2 { font-size: 22px; letter-spacing: -0.015em; margin: 0 0 6px; }
.now p { margin: 0; color: #33444D; }
.nav { display: flex; gap: 10px; }
.btn { flex: 1; height: 50px; border-radius: 14px; border: 0; background: var(--green); color: #fff; font: 700 16px var(--font); cursor: pointer; }
.btn.ghost { flex: 0 0 110px; background: #fff; color: var(--ink); border: 1px solid var(--line); justify-content: center; }
.btn:disabled { opacity: .45; cursor: default; }
.looks { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; color: var(--grey); font-weight: 600; }
.looks div { display: flex; gap: 6px; flex-wrap: wrap; }
.looks button { height: 36px; padding: 0 12px; font-size: 13px; }
.looks button[aria-pressed="true"] { border-color: var(--green-dark); background: var(--mint); color: var(--green-dark); }
.stage { position: sticky; top: 16px; }
.device { width: 400px; height: 820px; max-height: calc(100dvh - 40px); border-radius: 54px; background: #0B0C0E; padding: 12px; box-shadow: 0 40px 80px -40px rgba(14,34,48,.6); margin: 0 auto; }
.device iframe { width: 100%; height: 100%; border: 0; border-radius: 42px; background: #fff; display: block; }
button:focus-visible, a:focus-visible { outline: 3px solid #7FC7A2; outline-offset: 2px; }
@media (max-width: 899px) {
  .tour { padding-bottom: 96px; }
  .grid { display: flex; flex-direction: column; gap: 14px; }
  .side { display: contents; }
  h1 { order: 1; } .lede { order: 2; margin-bottom: 0; } .roles { order: 3; margin: 0; }
  .now { order: 4; margin: 0; padding: 12px 14px; } .now h2 { font-size: 18px; } .now p { font-size: 15px; }
  .stage { order: 5; position: static; width: 100%; }
  .looks { order: 6; margin-top: 4px; }
  .steps { display: none; }
  .device { width: 100%; max-width: 380px; height: 620px; border-radius: 44px; padding: 8px; }
  .device iframe { border-radius: 36px; }
  .nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); background: rgba(247,250,248,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
}

/* embedded in the home page and the lab designs */
.embed body { background: transparent; }
.embed .tour { padding: 0 0 8px; }
.embed .top, .embed h1, .embed .lede { display: none; }
.embed .stage { position: static; }
.embed .device { max-height: none; }   /* the frame sizes to the tour, so the phone must not size to the frame */
.embed .nav { position: static !important; background: none !important; border: 0 !important; padding: 0 !important; backdrop-filter: none !important; }
@media (max-width: 899px) { .embed .tour { padding-bottom: 8px; } .embed .nav { order: 4; } .embed .now { order: 3; } }
