/* Hallmark · redesign · macrostructure: product-first run (hero, live replay, setup, queue, rules, questions, beta) · tone: utilitarian · anchor hue: green 155
 * theme: custom (the extension popup's palette in OKLCH, tokens.css) · display: Archivo 72% · body: Archivo 100%
 * pre-emit critique: P4 H4 E4 S5 R5 V4
 * 2026-12-02 pricing #buy (sign in with a code, then Stripe; the beta form's box reused): P4 H4 E4 S5 R5 V4
 * 2026-12-02 billing return pages (system kept; steps reuse the run track): P4 H4 E4 S5 R5 V4
 * 2026-10-16 pass: no tricolon or "not X, Y" headings, no all-caps label, refer section stacked: P4 H4 E4 S5 R5 V4
 */

/* Auto Checkout landing page.
   Palette and spacing follow the extension popup (popup/popup.css on the
   extension branches): tinted paper, green ink, one accent. Red is kept for
   scalper resale prices only. One typeface, Archivo, self-hosted; condensed
   widths for headings, normal width for reading. No inline styles or
   scripts, so the CSP in _headers can stay strict. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  overflow-x: clip;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--green);
  color: var(--paper);
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-ink);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  font-stretch: var(--narrow);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  min-width: 0;
  color: var(--green-ink);
}

h1 {
  font-size: clamp(2.75rem, 1.6rem + 5.4vw, 5.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 1.35rem + 2.9vw, 3.5rem);
  margin-bottom: var(--s6);
  max-width: 22ch;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.1;
  margin-bottom: var(--s2);
}

p {
  margin: 0 0 var(--s4);
  max-width: var(--measure);
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--s4);
}

@media (min-width: 720px) {
  .wrap {
    padding: 0 var(--s6);
  }
}

.skip {
  position: absolute;
  left: var(--s4);
  top: -48px;
  padding: var(--s2) var(--s3);
  background: var(--green-dark);
  color: var(--paper);
  z-index: 10;
}

.skip:focus {
  top: var(--s2);
}

.fine {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--s5);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  background: var(--green);
  color: var(--paper);
  font: inherit;
  font-weight: 650;
  font-stretch: var(--semi);
  font-size: 1.0625rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease);
}

.btn:active {
  background: var(--green-ink);
  border-color: var(--green-ink);
}

.btn:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--paper);
}

.btn:disabled {
  cursor: progress;
  background: var(--rule-strong);
  border-color: var(--rule-strong);
}

.btn-small {
  min-height: 40px;
  padding: 0 var(--s4);
  font-size: 0.9375rem;
}

.btn-quiet {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--rule-strong);
}

.btn-quiet:hover {
  background: var(--tint);
  color: var(--green-ink);
  border-color: var(--green);
}

.text-link {
  white-space: nowrap;
  font-weight: 600;
  font-stretch: var(--semi);
}

/* Header */

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin: 0;
  color: var(--green-ink);
  text-decoration: none;
  font-weight: 760;
  font-stretch: var(--narrow);
  font-size: 1.375rem;
  letter-spacing: -0.01em;
}

.brand img {
  border-radius: var(--radius);
}

.top nav {
  display: flex;
  align-items: center;
  gap: var(--s5);
}

.top nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
  font-stretch: var(--semi);
}

.top nav a:not(.btn):hover {
  color: var(--green-dark);
  text-decoration: underline;
}

@media (max-width: 719px) {
  .top nav {
    gap: var(--s4);
  }

  .top nav a:not(.btn):not(.nav-keep) {
    display: none;
  }

  .brand,
  .top nav a {
    white-space: nowrap;
  }

  .top .btn-small {
    padding: 0 var(--s3);
  }
}

@media (max-width: 400px) {
  .top .brand {
    font-size: 1.125rem;
  }

  .top .brand img {
    width: 24px;
    height: 24px;
  }
}

/* The smallest phones keep the icon; the link's label still names it */
@media (max-width: 359px) {
  .top .brand span {
    display: none;
  }
}

/* Hero: the headline and what it does, then the run itself */

.hero {
  padding: var(--s7) 0 var(--s9);
}

.hero-top {
  display: grid;
  gap: var(--s5);
  margin-bottom: var(--s7);
}

@media (min-width: 900px) {
  .hero-top {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--s8);
    align-items: end;
  }
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.75rem);
}

.hero-side .fine {
  margin: 0;
}

.lede {
  font-size: 1.25rem;
  line-height: 1.55;
  max-width: 40ch;
  margin-bottom: var(--s6);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3) var(--s5);
  margin-bottom: var(--s5);
}

/* Screenshots of the real popup, with a skeleton until each loads */

.shot {
  margin: 0;
}

.shot img {
  width: 100%;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--paper);
  transition: opacity 280ms var(--ease);
}

.shot figcaption {
  margin-top: var(--s2);
  font-size: 0.875rem;
  color: var(--muted);
}

.js .shot.is-loading {
  position: relative;
}

.js .shot.is-loading img {
  opacity: 0;
}

.js .shot.is-loading::before {
  content: "";
  position: absolute;
  inset: 0 0 32px;
  border-radius: var(--radius);
  background: var(--tint);
  animation: skeleton 1.4s ease-in-out infinite;
}

@keyframes skeleton {
  50% {
    background: var(--tint-deep);
  }
}

/* A ticket stub: notched, with a perforated tear-off end (AutoPass on the
   pricing page). The notches take the tint of the section behind it. */

.stub {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  background: var(--field);
  border: 1.5px solid var(--green-ink);
  border-radius: var(--radius);
}

@media (min-width: 640px) {
  .stub {
    grid-template-columns: 1fr 64px;
  }
}

.stub-main {
  padding: var(--s5) var(--s5) var(--s4);
}

@media (min-width: 640px) {
  .stub-main {
    padding: var(--s6) var(--s6) var(--s5);
  }
}

/* The perforated tear-off end with its two notches */
.stub-tear {
  display: none;
  position: relative;
  border-left: 2px dashed var(--rule-strong);
}

@media (min-width: 640px) {
  .stub-tear {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .stub-tear::before,
  .stub-tear::after {
    content: "";
    position: absolute;
    left: -12px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--tint);
    border: 1.5px solid var(--green-ink);
  }

  .stub-tear::before {
    top: -12px;
    clip-path: inset(50% 0 0 0);
  }

  .stub-tear::after {
    bottom: -12px;
    clip-path: inset(0 0 50% 0);
  }
}

.stub-admit {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 700;
  font-stretch: var(--narrow);
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* The queue */

.queue {
  padding: var(--s9) 0;
  background: var(--tint);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.queue-grid {
  display: grid;
  gap: var(--s6);
  align-items: center;
}

@media (min-width: 960px) {
  .queue-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: var(--s8);
  }
}

.queue-figure {
  margin: 0;
}

.queue-svg {
  width: 100%;
}

.q-ground {
  stroke: var(--rule-strong);
  stroke-width: 2;
}

.q-gate rect {
  fill: var(--green-ink);
}

.q-gate-label,
.q-you-label {
  font-family: var(--font);
  font-stretch: var(--narrow);
  font-weight: 700;
  font-size: 18px;
}

.q-gate-label {
  fill: var(--green-ink);
}

.q-people {
  fill: var(--rule-strong);
}

.q-you {
  fill: var(--green);
}

.q-pointer {
  stroke: var(--green);
  stroke-width: 2;
}

.q-you-label {
  fill: var(--green-dark);
}

/* How it works: the setup, beside the Schedule tab */

.how {
  padding: var(--s9) 0;
}

.how-grid {
  display: grid;
  gap: var(--s7);
  align-items: start;
}

@media (min-width: 900px) {
  .how-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: var(--s8);
  }

  .how-grid .shot-schedule {
    order: -1;
  }
}

.setup {
  margin: 0;
}

.setup > div {
  padding: var(--s4) 0;
  border-top: 1px solid var(--rule);
}

.setup > div:last-child {
  border-bottom: 1px solid var(--rule);
}

.setup dt {
  font-weight: 700;
  font-stretch: var(--semi);
  font-size: 1.25rem;
  color: var(--green-ink);
}

.setup dd {
  margin: var(--s1) 0 0;
  color: var(--muted);
  max-width: var(--measure);
}

.shot-schedule,
.shot-finder {
  max-width: 340px;
}

/* Finder: the second popup group, text beside the Reserved tab */

.finder {
  padding-top: 0;
}

.finder-copy p {
  max-width: var(--measure);
  color: var(--muted);
}

.finder-copy p:first-of-type {
  color: var(--ink);
}

/* Demo */

.demo {
  scroll-margin-top: 80px;
}

.demo h2 {
  margin-bottom: var(--s3);
}

.section-lede {
  margin-bottom: var(--s6);
  color: var(--muted);
}

.run-figure {
  margin: 0;
}

.run-figure figcaption {
  margin-top: var(--s2);
  font-size: 0.875rem;
  color: var(--muted);
}

/* Copy of the extension's on-page status bar (content/status-bar.js on
   main): the product's own UI, shown on its own without a fake page. */
.ac-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s3);
  padding: var(--s2) var(--s4);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-top: 2px solid var(--green);
  border-radius: 4px;
  font: 13px/1.4 var(--font-bar);
  color: var(--ink);
}

.ac-text {
  flex: 1 1 320px;
  min-height: 55px;
}

.ac-head {
  font-weight: 700;
  color: var(--green-dark);
}

.ac-status {
  transition: opacity 200ms var(--ease);
}

.ac-status.is-changing {
  opacity: 0;
}

.ac-money {
  font-weight: 600;
  color: var(--green-dark);
}

.ac-stop {
  padding: var(--s2) var(--s4);
  border-radius: 4px;
  background: var(--red);
  border: 1px solid var(--red);
  color: var(--field);
  font-weight: 700;
  white-space: nowrap;
}

.ac-stop.is-close {
  background: var(--field);
  color: var(--ink);
  border-color: var(--rule-strong);
}

/* The run as a track: a list on phones, one row of six on wide screens.
   Each step's top rule fills green once the replay reaches it. */
.run-steps {
  list-style: none;
  margin: 0 0 var(--s6);
  padding: 0;
  counter-reset: run;
}

.run-steps li {
  counter-increment: run;
  display: flex;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-top: 3px solid var(--rule);
  color: var(--muted);
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}

.run-steps li::before {
  content: counter(run);
  min-width: 1.25em;
  font-weight: 800;
  font-stretch: var(--narrow);
  font-variant-numeric: tabular-nums;
  color: var(--rule-strong);
  transition: color 200ms var(--ease);
}

@media (min-width: 960px) {
  .run-steps {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--s3);
  }

  .run-steps li {
    flex-direction: column;
    gap: var(--s1);
    font-size: 0.9375rem;
    line-height: 1.35;
  }

  .run-steps li::before {
    font-size: 1.75rem;
    line-height: 1;
  }
}

.run-steps li.is-done {
  color: var(--ink);
  border-top-color: var(--green);
}

.run-steps li.is-done::before {
  color: var(--green);
}

.run-steps li.is-now {
  color: var(--green-ink);
  font-weight: 650;
  border-top-color: var(--green-ink);
}

.run-steps li.is-now::before {
  color: var(--green-ink);
}

.demo-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3) var(--s5);
  margin-top: var(--s4);
}

.demo-foot .fine {
  margin: 0;
}

/* The run, replayed in a drawn browser window on a made-up store page
   (user, 2026-12-03: a mock browser, animated). Flat like the rest of the
   site: hairlines, no shadows. Its colours are the --chrome-* and --store-*
   tokens; the store is nobody's real shop. */

.mb {
  margin: 0 0 var(--s6);
}

.mb-window {
  border: 1px solid var(--chrome-line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--chrome-strip);
  font: 13px/1.4 var(--font-bar);
  color: var(--store-ink);
}

.mb-ico {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--chrome-ink);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mb-menu circle {
  fill: var(--chrome-ink);
  stroke: none;
}

.mb-strip {
  display: flex;
  align-items: flex-end;
  gap: var(--s2);
  height: 40px;
  padding: 0 var(--s2) 0 var(--s2);
}

.mb-tab {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex: 0 1 260px;
  min-width: 0;
  height: 33px;
  padding: 0 var(--s3);
  border-radius: 8px 8px 0 0;
  background: var(--store-page);
}

.mb-tab-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
}

.mb-tab-x {
  width: 12px;
  height: 12px;
}

.mb-fav {
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--store-accent);
}

.mb.is-loading .mb-fav {
  border: 2px solid var(--chrome-line);
  border-top-color: var(--store-accent);
  border-radius: 50%;
  background: none;
  animation: mb-spin 700ms linear infinite;
}

@keyframes mb-spin {
  to {
    transform: rotate(360deg);
  }
}

.mb-plus {
  align-self: center;
}

.mb-wc {
  display: none;
  align-self: center;
  gap: var(--s5);
  margin-left: auto;
  padding: 0 var(--s3);
}

.mb-tools {
  display: flex;
  align-items: center;
  gap: var(--s3);
  height: 42px;
  padding: 0 var(--s3);
  background: var(--store-page);
  border-bottom: 1px solid var(--chrome-line);
}

.mb-fwd {
  opacity: 0.35;
}

.mb-nav {
  display: none;
}

.mb-omni {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex: 1;
  min-width: 0;
  height: 30px;
  padding: 0 var(--s3);
  border-radius: 15px;
  background: var(--chrome-pill);
}

.mb-url {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--store-muted);
}

.mb-host {
  color: var(--store-ink);
}

.mb-ext {
  flex: none;
  width: 20px;
  height: 20px;
}

@media (min-width: 640px) {
  .mb-wc {
    display: flex;
  }

  .mb-nav {
    display: block;
  }
}

/* The page area. Three pages are stacked; data-page on .mb picks one, and
   .is-loading blanks it for a moment the way a page load does. */
.mb-view {
  position: relative;
  height: 430px;
  overflow: hidden;
  background: var(--store-page);
}

@media (min-width: 900px) {
  .mb-view {
    height: 480px;
  }
}

.mb-page {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding-bottom: 72px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 160ms var(--ease);
}

.mb[data-page="product"] .mb-product,
.mb[data-page="checkout"] .mb-checkout,
.mb[data-page="done"] .mb-done {
  opacity: 1;
  visibility: visible;
}

.mb.is-loading .mb-page {
  opacity: 0;
}

.mb-page p {
  margin: 0;
  max-width: none;
}

.mb-store-head {
  position: relative;
  z-index: 1;
  flex: none;
  display: flex;
  background: var(--store-page);
  align-items: center;
  gap: var(--s4);
  height: 48px;
  padding: 0 var(--s4);
  border-bottom: 1px solid var(--store-line);
}

.mb-store-name {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--store-accent);
  white-space: nowrap;
}

.mb-search {
  display: none;
  flex: 1;
  max-width: 380px;
  padding: 6px var(--s3);
  border: 1px solid var(--store-line);
  border-radius: 4px;
  color: var(--store-muted);
}

.mb-cart,
.mb-secure {
  margin-left: auto;
  font-weight: 600;
  white-space: nowrap;
}

.mb-cart-n {
  display: inline-block;
  min-width: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--store-fill);
  text-align: center;
  transition: background-color 200ms var(--ease), color 200ms var(--ease);
}

.mb-cart-n.is-on {
  background: var(--store-accent);
  color: var(--store-page);
}

.mb-product-grid {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: var(--s4);
  padding: var(--s4);
}

.mb-img {
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--store-fill);
}

.mb-img svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--store-muted);
  stroke-width: 2;
  stroke-linejoin: round;
}

.mb-img text {
  fill: var(--store-muted);
  stroke: none;
  font: 700 22px var(--font-bar);
}

.mb-crumb {
  display: none;
  font-size: 12px;
  color: var(--store-muted);
}

.mb-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.mb-price {
  font-size: 20px;
  font-weight: 700;
}

.mb-info {
  display: grid;
  gap: var(--s2);
  align-content: start;
  justify-items: start;
}

.mb-sale {
  padding: 2px var(--s2);
  border-radius: 4px;
  background: var(--store-fill);
  font-weight: 600;
}

.mb-sale.is-live {
  background: none;
  padding-left: 0;
  color: var(--store-accent);
}

.mb-limit {
  font-size: 12px;
  color: var(--store-muted);
}

.mb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  height: 40px;
  padding: 0 var(--s5);
  border-radius: 4px;
  background: var(--store-accent);
  color: var(--store-page);
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 160ms var(--ease), transform 120ms var(--ease);
}

.mb-btn.is-off {
  background: var(--store-fill);
  color: var(--store-muted);
}

.mb-btn.is-pressed {
  background: var(--store-ink);
  transform: scale(0.97);
}

.mb-btn.is-ready {
  outline: 2px solid var(--store-accent);
  outline-offset: 3px;
}

@media (min-width: 640px) {
  .mb-search {
    display: block;
  }

  .mb-crumb {
    display: block;
  }

  .mb-product-grid {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: var(--s6);
    padding: var(--s5) var(--s6);
  }

  .mb-title {
    font-size: 24px;
  }

  .mb-store-head {
    padding: 0 var(--s6);
  }
}

/* Checkout: the page scrolls itself down to Payment as the run gets there */
.mb-checkout {
  overflow: hidden;
}

.mb-scroll {
  padding: var(--s4);
  transition: transform 500ms var(--ease);
}

.mb-co-grid {
  display: grid;
  gap: var(--s5);
}

.mb-co-main {
  display: grid;
  gap: var(--s4);
}

.mb-block-h {
  margin-bottom: var(--s2);
  font-size: 15px;
  font-weight: 700;
}

.mb-page .mb-block-h {
  margin-bottom: var(--s2);
}

.mb-radio {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s3);
  border: 1px solid var(--store-line);
  border-radius: 4px;
}

.mb-radio + .mb-radio {
  margin-top: var(--s1);
}

.mb-page .mb-radio + .mb-radio {
  margin-top: var(--s1);
}

.mb-radio-price {
  margin-left: auto;
  color: var(--store-muted);
}

.mb-dot {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--store-muted);
  border-radius: 50%;
}

.mb-radio.is-on {
  border-color: var(--store-accent);
}

.mb-radio.is-on .mb-dot {
  border: 4px solid var(--store-accent);
}

.mb-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s2) var(--s3);
}

.mb-f-wide {
  grid-column: 1 / -1;
}

.mb-f-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s3);
}

.mb-l {
  display: block;
  font-size: 11px;
  color: var(--store-muted);
}

.mb-i {
  display: block;
  height: 32px;
  padding: 0 var(--s2);
  border: 1px solid var(--store-line);
  border-radius: 4px;
  line-height: 30px;
  overflow: hidden;
  white-space: nowrap;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}

.mb-i.is-filled {
  border-color: var(--store-muted);
  background: var(--store-fill);
}

.mb-pay {
  width: 100%;
  margin-top: var(--s3);
}

.mb-summary {
  display: none;
  align-self: start;
  padding: var(--s4);
  border-radius: 6px;
  background: var(--store-fill);
}

.mb-line {
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s1) 0;
}

.mb-line span:last-child {
  text-align: right;
}

.mb-total {
  margin-top: var(--s2);
  padding-top: var(--s2);
  border-top: 1px solid var(--store-line);
  font-weight: 700;
}

.mb-page .mb-total {
  margin-top: var(--s2);
}

.mb-done-body {
  display: grid;
  gap: var(--s3);
  align-content: start;
  padding: var(--s5) var(--s4);
}

.mb-done-h {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.mb-done-p {
  color: var(--store-muted);
}

.mb-done .mb-summary {
  display: block;
  width: 100%;
  max-width: 460px;
}

@media (min-width: 720px) {
  .mb-scroll {
    padding: var(--s5) var(--s6);
  }

  .mb-co-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: var(--s6);
  }

  .mb-summary {
    display: block;
  }

  .mb-done-body {
    padding: var(--s6);
  }

  .mb-done-h {
    font-size: 28px;
  }
}

/* The extension's bar, pinned to the bottom of the store's page as it is in
   Chrome: full width, square, one rule on top. */
.mb .ac-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  flex-wrap: nowrap;
  border-width: 2px 0 0;
  border-radius: 0;
}

.mb .ac-text {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
}

@media (min-width: 720px) {
  .mb .ac-bar {
    padding-left: var(--s6);
    padding-right: var(--s6);
  }
}

/* Which way the run ends: Pay for me, or Stop before the card */
.mode {
  display: inline-flex;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}

.mode-btn {
  min-height: 44px;
  padding: 0 var(--s4);
  border: 0;
  background: transparent;
  color: var(--green-dark);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 650;
  font-stretch: var(--semi);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}

.mode-btn + .mode-btn {
  border-left: 1px solid var(--rule-strong);
}

.mode-btn:hover {
  background: var(--tint);
  color: var(--green-ink);
}

.mode-btn:active {
  background: var(--tint-deep);
}

.mode-btn[aria-pressed="true"] {
  background: var(--green-ink);
  color: var(--paper);
}

.demo-note {
  margin: var(--s4) 0 0;
}

/* Why drops are lost: the list beside the Buy tab */
.why {
  background: var(--tint);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.why h2 {
  max-width: 16ch;
}

.why .setup > div {
  border-top-color: var(--rule-strong);
}

.why .setup > div:last-child {
  border-bottom-color: var(--rule-strong);
}

.why-note {
  margin: var(--s4) 0 0;
}

.shot-buy {
  max-width: 340px;
}

@media (min-width: 900px) {
  .why .how-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }

  .shot-buy {
    justify-self: end;
  }
}

/* What it will never do */

.rules {
  padding: var(--s9) 0;
}

.rules-grid {
  display: grid;
  gap: var(--s5);
}

@media (min-width: 960px) {
  .rules-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--s8);
  }
}

.rule-list {
  margin: 0;
}

.rule-list > div {
  padding: var(--s4) 0;
  border-top: 1px solid var(--rule);
}

.rule-list > div:last-child {
  border-bottom: 1px solid var(--rule);
}

.rule-list dt {
  font-weight: 700;
  font-stretch: var(--semi);
  font-size: 1.25rem;
  color: var(--green-ink);
}

.rule-list dd {
  margin: var(--s1) 0 0;
  color: var(--muted);
  max-width: var(--measure);
}

/* Works with */

.sites {
  padding: var(--s8) 0;
  border-top: 1px solid var(--rule);
}

.sites h2 {
  margin-bottom: var(--s4);
}

.site-names {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s6);
  margin: 0 0 var(--s5);
  padding: 0;
  list-style: none;
}

.sites-note {
  max-width: var(--measure);
  margin: 0 0 var(--s4);
}

.site-names li {
  font-weight: 760;
  font-stretch: var(--narrow);
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  line-height: 1.1;
  color: var(--ink);
}

/* FAQ */

.faq {
  padding: var(--s9) 0;
  background: var(--tint);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.faq-grid {
  display: grid;
  gap: var(--s5);
}

@media (min-width: 960px) {
  .faq .faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--s7);
    align-items: start;
  }

  .faq .faq-list details:nth-last-child(2) {
    border-bottom: 1px solid var(--rule-strong);
  }
}

.faq-list details {
  border-top: 1px solid var(--rule-strong);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--rule-strong);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4) 0;
  font-weight: 650;
  font-stretch: var(--semi);
  font-size: 1.1875rem;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

/* A drawn plus that turns into a minus when open */
.faq-list summary {
  position: relative;
  padding-right: var(--s6);
}

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  background: var(--green-dark);
}

.faq-list summary::before {
  transform: rotate(90deg);
  transition: transform 200ms var(--ease);
}

.faq-list details[open] summary::before {
  transform: rotate(0deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 0 var(--s5);
  color: var(--muted);
}

/* Beta signup */

.beta {
  padding: var(--s9) 0;
}

.beta-grid {
  display: grid;
  gap: var(--s6);
}

@media (min-width: 960px) {
  .beta-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s8);
  }
}

.signup {
  display: grid;
  gap: var(--s3);
  max-width: 480px;
  padding: var(--s5);
  background: var(--field);
  border: 1.5px solid var(--green-ink);
  border-radius: var(--radius);
}

.signup > label {
  font-weight: 650;
  font-stretch: var(--semi);
}

.signup input[type="email"],
.signup input[type="text"] {
  width: 100%;
  min-height: 48px;
  padding: 0 var(--s3);
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}

.signup input[type="email"]:focus-visible,
.signup input[type="text"]:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 0;
  border-color: var(--green);
}

.signup input[aria-invalid="true"] {
  border-color: var(--red);
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: var(--s3);
  align-items: start;
  font-size: 0.9375rem;
  color: var(--muted);
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--green);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup .btn {
  justify-self: start;
  margin-top: var(--s2);
}

.signup .btn.is-busy::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: var(--s2);
  border: 2px solid var(--paper);
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-msg {
  min-height: 1.6em;
  margin: 0;
  font-size: 0.9375rem;
}

.form-msg.is-error {
  color: var(--red);
  font-weight: 600;
}

.form-msg.is-ok {
  color: var(--green-dark);
  font-weight: 600;
}

/* Footer */

.foot {
  padding: var(--s7) 0;
  background: var(--green-ink);
  color: var(--tint);
}

.foot-grid {
  display: grid;
  gap: var(--s5);
}

@media (min-width: 720px) {
  .foot-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.foot .brand-foot {
  color: var(--paper);
  margin-bottom: var(--s2);
}

.foot .fine {
  color: var(--foot-muted);
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s5);
}

.foot a {
  color: var(--paper);
}

.foot a:hover {
  color: var(--tint);
}

.foot :focus-visible {
  outline-color: var(--paper);
}

/* Legal pages */

.legal {
  padding: var(--s7) 0 var(--s9);
}

.legal .wrap {
  max-width: 860px;
}

.legal h1 {
  font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem);
  margin-bottom: var(--s3);
}

.legal h2 {
  font-size: 1.75rem;
  max-width: none;
  margin: var(--s7) 0 var(--s3);
}

.legal h3 {
  font-size: 1.25rem;
  margin: var(--s5) 0 var(--s2);
}

.legal ul,
.legal ol {
  max-width: var(--measure);
  padding-left: 1.25em;
}

.legal li {
  margin-bottom: var(--s2);
}

.legal-toc {
  margin: 0 0 var(--s6);
  padding: var(--s4) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.legal-toc ol {
  columns: 2 220px;
  margin: 0;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s4) 0 var(--s5);
  font-size: 0.9375rem;
}

.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: var(--s2) var(--s3) var(--s2) 0;
  border-bottom: 1px solid var(--rule);
}

.legal th {
  font-weight: 650;
}

.table-scroll {
  overflow-x: auto;
}

/* Pricing page */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.price-hero {
  padding: var(--s8) 0 var(--s7);
}

.price-hero h1 {
  max-width: 16ch;
  margin-bottom: var(--s5);
}

.price-hero .lede {
  max-width: 52ch;
  margin-bottom: var(--s4);
}

.price-note {
  font-weight: 600;
  font-stretch: var(--semi);
  color: var(--green-dark);
}

.plans {
  padding: var(--s8) 0;
  background: var(--tint);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.plan-grid {
  display: grid;
  gap: var(--s6);
  align-items: stretch;
}

@media (min-width: 900px) {
  .plan-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s7);
  }
}

.plan {
  margin: 0;
}

.plan-pass .stub-main,
.plan-core {
  display: flex;
  flex-direction: column;
}

.plan-core {
  padding: var(--s5);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}

@media (min-width: 640px) {
  .plan-core {
    padding: var(--s6);
  }
}

.plan-name {
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  font-weight: 800;
  margin-bottom: var(--s1);
}

.plan-for {
  color: var(--muted);
  margin-bottom: var(--s4);
}

.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s1) var(--s2);
  margin-bottom: var(--s2);
}

.plan-amount {
  font-weight: 800;
  font-stretch: var(--narrow);
  font-size: clamp(3rem, 2.4rem + 2.4vw, 4.25rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--green-ink);
}

.plan-per {
  font-weight: 600;
  font-stretch: var(--semi);
  color: var(--muted);
}

.plan-year {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--green-dark);
}

.plan-incl {
  margin-top: var(--s4);
  font-weight: 700;
  font-stretch: var(--semi);
  color: var(--muted);
}

.plan-points {
  margin: var(--s2) 0 var(--s5);
  padding: 0;
  list-style: none;
}

.plan-points li {
  padding: var(--s2) 0;
  border-top: 1px solid var(--rule);
}

.plan-points li:last-child {
  border-bottom: 1px solid var(--rule);
}

.plan-cta {
  margin-top: auto;
  align-self: flex-start;
}

/* Beta seat: the one thing on sale during the closed beta */

.seat {
  padding: 0 0 var(--s8);
}

.plan-seat {
  background: var(--field);
}

.plan-seat .plan-points {
  margin-bottom: 0;
}

.plan-seat .plan-cta {
  margin-top: var(--s5);
}

@media (min-width: 900px) {
  .plan-seat {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: var(--s7);
    align-items: start;
  }

  .plan-seat .plan-incl {
    margin-top: 0;
  }
}

.plans-lede {
  max-width: var(--measure);
  margin: 0 0 var(--s6);
  color: var(--muted);
}

.trial {
  margin-top: var(--s7);
  padding-top: var(--s5);
  border-top: 1px solid var(--rule-strong);
}

.trial p {
  margin: 0;
  color: var(--muted);
}

.compare {
  padding: var(--s9) 0 var(--s8);
}

.compare-table,
.pack-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.compare-table {
  min-width: 520px;
}

.compare-table th,
.compare-table td,
.pack-table th,
.pack-table td {
  text-align: left;
  vertical-align: top;
  padding: var(--s3) var(--s4) var(--s3) 0;
  border-bottom: 1px solid var(--rule);
}

.compare-table thead th,
.pack-table thead th {
  font-weight: 760;
  font-stretch: var(--narrow);
  font-size: 1.375rem;
  color: var(--green-ink);
  border-bottom: 1.5px solid var(--green-ink);
}

.compare-table tbody th,
.pack-table tbody th {
  font-weight: 650;
  font-stretch: var(--semi);
  width: 30%;
}

.pack-table tbody th {
  width: auto;
}

.credits {
  padding: var(--s8) 0;
  border-top: 1px solid var(--rule);
}

.packs {
  padding: var(--s8) 0;
  border-top: 1px solid var(--rule);
}

.packs-grid {
  display: grid;
  gap: var(--s6);
  align-items: start;
}

@media (min-width: 960px) {
  .packs-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s8);
  }
}

/* Refer a friend: heading stacked over a short block of copy (the sections
   above it all sit heading-left, so this one breaks the rhythm) */
.refer {
  padding: var(--s8) 0 var(--s9);
  border-top: 1px solid var(--rule);
}

.refer-grid {
  display: grid;
  gap: var(--s4);
}

.refer-copy {
  max-width: 52ch;
}

.refer-copy p {
  margin: 0 0 var(--s3);
}

.refer-copy .fine {
  margin: var(--s4) 0 0;
}


.price-cta {
  padding: var(--s9) 0;
}

.price-cta h2 {
  margin-bottom: var(--s4);
}

@media (min-width: 960px) {
  .credits .rules-grid > h2 {
    position: sticky;
    top: 104px;
    align-self: start;
  }
}

/* 404 */

.missing {
  padding: var(--s9) 0;
  min-height: 60vh;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

/* Headings in two-column sections stay in view beside their list */
@media (min-width: 960px) {
  .rules-grid > h2 {
    position: sticky;
    top: 104px;
    align-self: start;
  }
}

.queue-cap {
  margin-top: var(--s3);
  font-size: 0.875rem;
  color: var(--muted);
}

.you-key {
  font-weight: 650;
  color: var(--green-dark);
}

/* On phones the drawing is too small for its own labels; the caption says it */
@media (max-width: 639px) {
  .q-you-label,
  .q-pointer {
    display: none;
  }

  .q-gate-label {
    font-size: 28px;
  }
}

/* Email link pages (/beta/confirm, /unsubscribe) */

.link-action .lede {
  max-width: 52ch;
}

.link-action[data-state="working"] .lede {
  color: var(--muted);
}

.link-action[data-state="invalid"] .lede,
.link-action[data-state="error"] .lede {
  color: var(--red);
}

.link-action p#la-after {
  margin: 0 0 var(--s5);
}

.la-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}

.la-actions [hidden] {
  display: none;
}

/* Buying on the pricing page (#buy): sign in with an emailed code, then
   Stripe Checkout. The form reuses the beta form's box (.signup). */

.buy {
  padding: var(--s8) 0;
  background: var(--tint);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.buy-grid {
  display: grid;
  gap: var(--s6);
}

.buy-grid > * {
  min-width: 0;
}

@media (min-width: 960px) {
  .buy-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s8);
    align-items: start;
  }
}

.buy-closed {
  max-width: 480px;
  padding: var(--s5);
  background: var(--field);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}

.buy-closed[hidden],
.buy-form[hidden],
.buy-step[hidden],
.buy-option[hidden] {
  display: none;
}

.buy-options {
  display: grid;
  gap: var(--s2);
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.buy-options legend {
  padding: 0;
  margin-bottom: var(--s2);
  font-weight: 650;
  font-stretch: var(--semi);
}

.buy-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: var(--s3);
  align-items: center;
  min-height: 48px;
  padding: var(--s2) var(--s3);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease);
}

.buy-option:hover {
  background: var(--tint);
}

.buy-option:active {
  background: var(--tint-deep);
}

.buy-option:has(input:checked) {
  border-color: var(--green);
  background: var(--tint);
}

.buy-option:has(input:focus-visible) {
  outline: 2px solid var(--green);
  outline-offset: 0;
}

.buy-option:has(input:disabled) {
  cursor: not-allowed;
  color: var(--muted);
  background: var(--paper);
}

.buy-option input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--green);
}

.buy-option strong {
  font-stretch: var(--semi);
  margin-right: var(--s2);
}

.buy-options .fine {
  margin: var(--s1) 0 0;
}

.buy-step {
  display: grid;
  gap: var(--s3);
}

.buy-step > label {
  font-weight: 650;
  font-stretch: var(--semi);
}

.buy-sent {
  margin: 0;
  overflow-wrap: anywhere;
}

#buy-code {
  max-width: 12ch;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

.buy-form .la-actions .btn {
  margin-top: 0;
}

.buy-form .btn-quiet:disabled {
  background: transparent;
  color: var(--muted);
  cursor: not-allowed;
}

/* Billing return pages (/billing/success, /billing/cancel, /billing/return).
   The steps reuse the run track's voice: a 3px top rule and a counted
   number; a finished step's rule and number turn green. */

.billing h1 {
  margin-bottom: var(--s4);
}

.billing .lede {
  max-width: 46ch;
}

.next-steps {
  list-style: none;
  margin: 0 0 var(--s6);
  padding: 0;
  max-width: 34rem;
  counter-reset: next;
}

.next-steps li {
  counter-increment: next;
  display: flex;
  gap: var(--s3);
  padding: var(--s3) 0 var(--s4);
  border-top: 3px solid var(--rule);
  font-size: 1.125rem;
  line-height: 1.45;
}

.next-steps li > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.next-steps li::before {
  content: counter(next);
  min-width: 1.25em;
  font-weight: 800;
  font-stretch: var(--narrow);
  font-variant-numeric: tabular-nums;
  color: var(--rule-strong);
}

.next-steps li.is-done {
  border-top-color: var(--green);
  color: var(--muted);
}

.next-steps li.is-done::before {
  color: var(--green);
}

.billing-note {
  max-width: 52ch;
  margin-top: var(--s6);
  color: var(--muted);
}

.turnstile {
  min-height: 65px;
}
