/* Fizzy Esim
 *
 * The category is light, warm and app-like: Airalo is creamy white with orange,
 * Saily is bright yellow with sky blue. Both read as friendly consumer travel
 * products, not design-studio editorial. This sits in that bracket with its own
 * colour: lagoon turquoise on bright white with a lime fizz (see the tokens).
 *
 * Deliberately avoided: uppercase condensed headings, eyebrow labels above every
 * section, numbered 01/02/03 steps, and a dark ground with one bright accent.
 * Headings are sentence case, because that is how a friendly shop talks.
 *
 * Figtree is self-hosted (59 KiB, three latin weights), so no third-party origin
 * is contacted on any page and the CSP needs no external hosts.
 * Figtree is SIL Open Font License 1.1.
 */

/* ---------------------------------------------------------------- fonts -- */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/figtree-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/figtree-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/figtree-800.woff2') format('woff2');
}

/* --------------------------------------------------------------- tokens -- */

:root {
  color-scheme: light dark;

  /* Brand constants.
   *
   * "Departures": airport wayfinding. Black type on white, and the blue of an
   * information sign for everything you press. Green is reserved for "online"
   * and orange for warnings. The token names (--teal, --lime...) predate this
   * palette and are kept so nothing else had to change: --teal is the brand
   * blue, --lime is plain white (for text on blue), --sand is the warning orange.
   */
  --ink: #101114;
  --lagoon: #2f5bff;
  --teal: #1546e6;
  --teal-deep: #0f34b8;
  --lime: #ffffff;
  --sand: #ff7a1a;

  /* Light. */
  --bg: #fbfbfd;
  --surface: #ffffff;
  --surface-tint: #f3f4f6;
  --text: #1d1d1f;
  --text-soft: #5c6670;
  --text-faint: #6e7781;
  --line: #e4e7ea;
  --line-strong: #cbd1d6;
  --brand: var(--teal);
  --brand-ink: #ffffff;
  --brand-wash: #e8edff;
  --button-bg: #1546e6;
  --button-ink: #ffffff;
  --accent: var(--lime);
  --accent-ink: #1546e6;
  --accent-wash: rgb(21 70 230 / 14%);
  --glow-1: rgb(21 70 230 / 10%);
  --glow-2: rgb(21 70 230 / 6%);
  --band-bg: #1546e6;
  --band-ink: #ffffff;
  --blush: #eaf0ff;
  --warn-wash: rgb(154 91 0 / 12%);
  --focus: #c2410c;
  --good: #0f7a52;
  --warn: #9a5b00;
  --bad: #d1242f;

  --shadow-sm: 0 1px 2px rgb(11 39 48 / 6%);
  --shadow: 0 2px 4px rgb(11 39 48 / 5%), 0 12px 28px -14px rgb(11 39 48 / 24%);
  --shadow-lift: 0 4px 10px rgb(11 39 48 / 8%), 0 22px 44px -20px rgb(11 39 48 / 30%);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --step--1: 0.875rem;
  --step-0: clamp(1rem, 0.98rem + 0.1vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.1rem + 0.25vw, 1.3rem);
  --step-2: clamp(1.5rem, 1.35rem + 0.75vw, 1.95rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.1rem);

  --s1: 0.5rem;
  --s2: 0.875rem;
  --s3: 1.25rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4.5rem;

  --measure: 60ch;
  --page: 70rem;

  --font: 'Helvetica Neue', Helvetica, Arial, 'Segoe UI', Roboto, sans-serif;
}

/* Dark: the lagoon at night. Turquoise brightens enough to carry dark text,
   so buttons flip to turquoise with ink lettering, and lime takes the focus
   ring, where it reads on every dark surface. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0b0c0e;
    --surface: #17191c;
    --surface-tint: #202327;
    --text: #f5f5f7;
    --text-soft: #a4abb2;
    --text-faint: #8a9198;
    --line: #26292d;
    --line-strong: #383c41;
    --brand: #8ea6ff;
    --brand-ink: #0b1030;
    --brand-wash: #1a2150;
    --button-bg: #8ea6ff;
    --button-ink: #0b1030;
    --accent-wash: rgb(142 166 255 / 20%);
    --glow-1: rgb(142 166 255 / 10%);
    --glow-2: rgb(142 166 255 / 6%);
    --band-bg: #1b2fa8;
    --blush: #182150;
    --warn-wash: rgb(255 179 64 / 16%);
    --focus: #ffffff;
    --good: #4ade9b;
    --warn: #ffb340;
  --bad: #ff6961;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 35%);
    --shadow: 0 2px 4px rgb(0 0 0 / 30%), 0 14px 30px -16px rgb(0 0 0 / 70%);
    --shadow-lift: 0 4px 12px rgb(0 0 0 / 35%), 0 24px 48px -22px rgb(0 0 0 / 75%);
  }
}

:root[data-theme='dark'] {
  --bg: #0b0c0e;
  --surface: #17191c;
  --surface-tint: #202327;
  --text: #f5f5f7;
  --text-soft: #a4abb2;
  --text-faint: #8a9198;
  --line: #26292d;
  --line-strong: #383c41;
  --brand: #8ea6ff;
  --brand-ink: #0b1030;
  --brand-wash: #1a2150;
  --button-bg: #8ea6ff;
  --button-ink: #0b1030;
  --accent-wash: rgb(142 166 255 / 20%);
  --glow-1: rgb(142 166 255 / 10%);
  --glow-2: rgb(142 166 255 / 6%);
  --band-bg: #1b2fa8;
  --blush: #182150;
  --warn-wash: rgb(255 179 64 / 16%);
  --focus: #ffffff;
  --good: #4ade9b;
  --warn: #ffb340;
  --bad: #ff6961;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 35%);
  --shadow: 0 2px 4px rgb(0 0 0 / 30%), 0 14px 30px -16px rgb(0 0 0 / 70%);
  --shadow-lift: 0 4px 12px rgb(0 0 0 / 35%), 0 24px 48px -22px rgb(0 0 0 / 75%);
}

/* ----------------------------------------------------------------- base -- */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-3);
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--step-2);
}

h3 {
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: -0.012em;
}

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

a {
  color: inherit;
  text-underline-offset: 0.16em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

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

ul {
  padding-left: 1.1rem;
}

/* -------------------------------------------------------------- utility -- */

.page {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--s3);
}

.lede {
  font-size: var(--step-1);
  color: var(--text-soft);
  max-width: 44ch;
}

.muted {
  color: var(--text-soft);
}

.num {
  font-variant-numeric: tabular-nums;
}

/* Spacing and width helpers.
 *
 * These exist because the Content-Security-Policy is style-src 'self' with no
 * unsafe-inline, which blocks style attributes outright - an inline style on a
 * page is simply dropped by the browser, silently. Anything that needs spacing
 * gets a class.
 */
.mt-s {
  margin-top: var(--s2);
}

.mt-m {
  margin-top: var(--s3);
}

.mt-l {
  margin-top: var(--s4);
}

.mb-m {
  margin-bottom: var(--s3);
}

.prose {
  max-width: var(--measure);
}

.full {
  max-width: none;
}

.cta {
  display: grid;
  gap: var(--s2);
  justify-items: start;
  margin-top: var(--s3);
}

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

.skip-link {
  position: absolute;
  left: var(--s3);
  top: -4rem;
  z-index: 10;
  background: var(--brand);
  color: var(--brand-ink);
  padding: var(--s2) var(--s3);
  border-radius: var(--r-pill);
  font-weight: 700;
  text-decoration: none;
  transition: top 120ms ease;
}

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

/* --------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: 4.25rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

/* The Fizzy eSIM mark. */
.logo {
  display: block;
  height: 2rem;
  width: auto;
  flex: none;
}

.wordmark__sim {
  color: var(--brand);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: var(--step--1);
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-soft);
}

.site-nav a:hover {
  color: var(--text);
}

/* ----------------------------------------------------------------- hero -- */

.hero {
  padding-block: var(--s4) var(--s3);
}

/* The hero carries no decorative wash. A radial tint behind the headline showed
   the hard edge of its own bounding box at this hero's proportions, in both
   themes, and a decoration with visible seams is worse than none. The colour in
   this design comes from the brand marks, the badges and the price. */

.hero__inner {
  display: grid;
  gap: var(--s4);
  align-items: center;
}

@media (min-width: 56rem) {
  .hero__inner {
    grid-template-columns: 1.15fr 1fr;
  }
}

.hero h1 + p {
  margin-top: var(--s3);
}

.hero__points {
  list-style: none;
  padding: 0;
  margin: var(--s3) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s3);
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--text-soft);
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tick {
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: var(--r-pill);
  background: var(--brand-wash);
  color: var(--brand);
  font-size: 0.7rem;
  flex: none;
}

/* -------------------------------------------------------------- search --- */

.search {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--s3);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line);
}

.search__label {
  display: block;
  font-weight: 700;
  margin-bottom: var(--s2);
}

.search__field {
  display: flex;
  align-items: center;
  gap: var(--s2);
  background: var(--bg);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.3rem 0.3rem var(--s3);
}

.search__field > svg {
  color: var(--text-faint);
  flex: none;
}

.search__field:focus-within {
  border-color: var(--brand);
}

.search input {
  flex: 1;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  padding: 0.6rem 0;
  min-width: 0;
}

.search input:focus {
  outline: none;
}

.search__results {
  position: absolute;
  inset-inline: var(--s3);
  top: calc(100% - var(--s2));
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  box-shadow: var(--shadow-lift);
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  max-height: 19rem;
  overflow-y: auto;
  z-index: 4;
}

.search__results[hidden] {
  display: none;
}

.search__results a {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.5rem var(--s2);
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 700;
}

.search__results a:hover,
.search__results [aria-selected='true'] a {
  background: var(--brand-wash);
}

.search__results .flag {
  font-size: 1.2rem;
}

.search__results .price {
  margin-left: auto;
  color: var(--text-soft);
  font-size: var(--step--1);
  font-weight: 400;
}

/* -------------------------------------------------------------- section -- */

.section {
  padding-block: var(--s4);
}

.section + .section {
  padding-top: 0;
}

/* Grid rather than flex: a flex item with a 100% basis still shrinks onto the
   first line when there is room, which put the description beside the heading. */
.section__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0.35rem var(--s3);
  margin-bottom: var(--s3);
}

.section__head h2 {
  grid-column: 1;
}

.section__head a {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--brand);
}

.section__head p {
  grid-column: 1 / -1;
  color: var(--text-soft);
}

/* ------------------------------------------------------- destination grid */

.destinations {
  display: grid;
  gap: var(--s2);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
}

.destination {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s3) var(--s2) var(--s2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 140ms ease, transform 140ms ease;
}

.destination:hover {
  box-shadow: var(--shadow);
  border-color: var(--lagoon);
  transform: translateY(-2px);
}

.destination__flag {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-pill);
  background: var(--surface-tint);
  font-size: 1.35rem;
  flex: none;
}

.destination__name {
  font-weight: 700;
  line-height: 1.25;
}

.destination__from {
  display: block;
  font-size: var(--step--1);
  font-weight: 400;
  color: var(--text-soft);
}

.destination__from strong {
  color: var(--text);
  font-weight: 700;
}

/* ---------------------------------------------------------------- plans -- */

.plans {
  display: grid;
  gap: var(--s2);
}

.plan {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s2) var(--s3);
  padding: var(--s3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 140ms ease, border-color 140ms ease;
}

.plan:hover {
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.plan__size {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: var(--r-pill);
  background: var(--brand-wash);
  color: var(--brand);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-align: center;
  flex: none;
}

.plan__icon {
  height: 2.5rem;
  width: auto;
}

.plan__body {
  min-width: 0;
}

.plan__title {
  font-weight: 700;
  font-size: var(--step-1);
  letter-spacing: -0.012em;
}

.plan__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem var(--s2);
  margin-top: 0.3rem;
  font-size: var(--step--1);
  color: var(--text-soft);
}

.plan__price {
  text-align: right;
  font-weight: 800;
  font-size: var(--step-2);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

@media (max-width: 30rem) {
  .plan {
    grid-template-columns: auto 1fr;
  }

  .plan__price {
    grid-column: 2;
    text-align: left;
  }
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.08rem 0.5rem;
  border-radius: var(--r-pill);
  background: var(--surface-tint);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-soft);
}

.tag--5g {
  background: var(--brand-wash);
  color: var(--brand);
}

/* ---------------------------------------------------------------- panel -- */

.panel {
  padding: var(--s3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.panel--tint {
  background: var(--surface-tint);
  border-color: transparent;
}

.panel--note {
  background: var(--blush);
  border-color: transparent;
  box-shadow: inset 3px 0 0 var(--teal);
}

.panel h2,
.panel h3 {
  margin-bottom: var(--s1);
}

.panel p {
  color: var(--text-soft);
}

/* ---------------------------------------------------------------- specs -- */

.specs {
  display: grid;
  /* Not `margin: 0`: that would also cancel an .mt-* utility on the same
     element, because this rule comes later in the file. */
  margin-inline: 0;
  margin-bottom: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.specs > div {
  display: grid;
  grid-template-columns: minmax(8rem, 13rem) 1fr;
  gap: var(--s3);
  padding: var(--s2) var(--s3);
  border-bottom: 1px solid var(--line);
}

.specs > div:last-child {
  border-bottom: 0;
}

.specs dt {
  color: var(--text-soft);
  font-size: var(--step--1);
}

.specs dd {
  margin: 0;
}

/* --------------------------------------------------------------- button -- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--button-bg);
  color: var(--button-ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 16px -8px rgb(21 70 230 / 55%);
  transition: filter 140ms ease, transform 140ms ease;
}

.button:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.button--quiet {
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.button--accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 20px -10px rgb(21 70 230 / 45%);
}

.button[aria-disabled='true'] {
  background: var(--line);
  color: var(--text-faint);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

/* ----------------------------------------------------------- price block -- */

.price-block {
  display: flex;
  align-items: baseline;
  gap: var(--s2);
  flex-wrap: wrap;
  margin-top: var(--s3);
}

.price-block__amount {
  font-size: var(--step-3);
  font-weight: 800;
  letter-spacing: -0.035em;
}

/* --------------------------------------------------------------- footer -- */

.site-footer {
  margin-top: var(--s6);
  padding-block: var(--s4) var(--s5);
  background: var(--surface-tint);
  color: var(--text-soft);
  font-size: var(--step--1);
}

.site-footer__grid {
  display: grid;
  gap: var(--s4);
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

.site-footer h2 {
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s2);
  letter-spacing: 0;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__legal {
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  max-width: none;
}

/* --------------------------------------------------------------- motion -- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------------------------------------------------- install -- */

.install__grid {
  display: grid;
  gap: var(--s3);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  align-items: start;
}

.install__option h3 {
  font-size: var(--step-1);
}

/* Always black on white, whatever the theme: phone cameras read dark modules
   on a light ground far more reliably than the reverse. The white frame is the
   quiet zone the QR specification requires. */
.install__qr {
  width: min(100%, 15rem);
  padding: var(--s1);
  background: #ffffff;
  border-radius: var(--r-sm);
  box-shadow: inset 0 0 0 1px var(--line);
}

.install__qr svg {
  display: block;
  width: 100%;
  height: auto;
}

.install__manual summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand);
}

.copyable {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: var(--step--1);
  overflow-wrap: anywhere;
  user-select: all;
  -webkit-user-select: all;
}

/* ------------------------------------------------------------- checkout -- */

.checkout {
  display: grid;
  gap: var(--s2);
  justify-items: start;
  width: min(100%, 32rem);
}

.checkout__row {
  display: grid;
  grid-template-columns: 1fr 6rem;
  gap: var(--s2);
  width: 100%;
}

.checkout__field {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: var(--step--1);
}

.checkout__field input,
.checkout__field select {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.55rem 0.9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 400;
  font-size: var(--step-0);
}

.checkout__field input:focus,
.checkout__field select:focus {
  border-color: var(--brand);
}

@media (max-width: 30rem) {
  .checkout__row {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- owner -- */

.owner-list {
  display: grid;
  gap: var(--s2);
  list-style: none;
  margin-inline: 0;
  margin-bottom: 0;
  padding: 0;
}

.owner-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2) var(--s3);
}

.owner-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
}

.owner-confirm {
  display: flex;
  gap: var(--s1);
  align-items: flex-start;
}

/* ------------------------------------------------------ currency picker -- */

.currency {
  position: relative;
}

.currency summary {
  list-style: none;
  cursor: pointer;
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  color: var(--text);
  white-space: nowrap;
}

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

.currency summary::after {
  content: '';
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.15rem) rotate(45deg);
}

.currency[open] summary {
  box-shadow: inset 0 0 0 1.5px var(--brand);
}

.currency__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 12rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  box-shadow: var(--shadow-lift);
  z-index: 30;
}

.site-nav .currency__menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.7rem;
  border-radius: var(--r-sm);
  color: var(--text);
}

.site-nav .currency__menu a:hover,
.site-nav .currency__menu a[aria-current='true'] {
  background: var(--brand-wash);
}

.currency__symbol {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: var(--r-pill);
  background: var(--surface-tint);
  font-weight: 800;
}

/* -------------------------------------------------------- account link -- */

.account-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.site-nav .account-link--out {
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-pill);
  background: var(--button-bg);
  color: var(--button-ink);
}

.account-link__dot {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: var(--r-pill);
  background: var(--button-bg);
  color: var(--button-ink);
  font-weight: 800;
}

@media (max-width: 34rem) {
  .account-link__name {
    display: none;
  }
}

/* ----------------------------------------------------------------- auth -- */

.auth {
  display: grid;
  place-items: start center;
  padding-block: var(--s5);
}

.auth__card {
  width: 100%;
  max-width: 27rem;
  padding: var(--s4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
}

.auth__card h1 {
  font-size: var(--step-2);
}

.auth__card .muted {
  margin-top: 0.4rem;
}

.auth__providers {
  display: grid;
  gap: var(--s1);
  margin-top: var(--s3);
}

.provider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3rem;
  padding: 0.6rem 1rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  text-decoration: none;
  transition: filter 140ms ease, transform 140ms ease;
}

.provider:hover {
  transform: translateY(-1px);
}

.provider__mark {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

/* Google's button: white with its four-colour G, in both themes. */
.provider--google {
  background: #ffffff;
  color: #1f1f1f;
  box-shadow: inset 0 0 0 1px #747775;
}

/* Apple's: black on light pages, white on dark ones, as its rules ask. */
.provider--apple {
  background: #000000;
  color: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .provider--apple {
    background: #ffffff;
    color: #000000;
  }
}

.provider--off {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.provider--off small {
  font-weight: 400;
  font-size: 0.75rem;
}

.auth__or {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin: var(--s3) 0;
  color: var(--text-faint);
  font-size: var(--step--1);
  max-width: none;
}

.auth__or::before,
.auth__or::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--line);
}

.auth__email {
  display: grid;
  gap: var(--s2);
}

.auth__email .button {
  width: 100%;
}

.auth__small {
  margin-top: var(--s3);
  font-size: var(--step--1);
}

.auth__small a {
  color: var(--brand);
}

/* -------------------------------------------------------- account page -- */

.credits-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4);
  border-radius: var(--r-lg);
  background: var(--band-bg);
  color: var(--band-ink);
}

.credits-card p {
  opacity: 0.88;
  margin-top: 0.3rem;
}

.credits-card .muted {
  color: inherit;
  opacity: 0.7;
}

.credits-card__balance {
  font-size: var(--step-3);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lime);
}

.account-orders {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s1);
}

.account-orders a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem var(--s2);
  padding: var(--s2) var(--s3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
}

.account-orders .tag {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
}

/* ------------------------------------------------------------- checkout -- */

.checkout-page {
  padding-block: var(--s4) var(--s5);
}

.checkout-page h1 {
  margin-top: var(--s1);
}

.checkout-grid {
  display: grid;
  gap: var(--s4);
  margin-top: var(--s3);
  align-items: start;
}

@media (min-width: 58rem) {
  .checkout-grid {
    grid-template-columns: 1fr 21rem;
  }

  .checkout-totals {
    position: sticky;
    top: 5.5rem;
  }
}

.checkout-main {
  display: grid;
  gap: var(--s3);
  min-width: 0;
}

.summary-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.summary-card__flag {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 1rem;
  background: var(--surface-tint);
  font-size: 1.8rem;
}

.summary-card__place {
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--brand);
}

.summary-card h2 {
  font-size: var(--step-1);
}

.summary-card .muted {
  font-size: var(--step--1);
}

.summary-card__price {
  font-size: var(--step-2);
  font-weight: 800;
  letter-spacing: -0.03em;
}

@media (max-width: 30rem) {
  .summary-card {
    grid-template-columns: auto 1fr;
  }

  .summary-card__price {
    grid-column: 2;
  }
}

.checkout-options {
  display: grid;
  gap: var(--s2);
}

.coupon {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0 var(--s3);
}

.coupon summary {
  cursor: pointer;
  padding-block: var(--s2);
  font-weight: 700;
  color: var(--brand);
}

.coupon__row {
  display: flex;
  gap: var(--s1);
  align-items: end;
  padding-bottom: var(--s2);
}

.coupon__row .checkout__field {
  flex: 1;
}

.coupon__ok,
.coupon__error {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-bottom: var(--s2);
  font-weight: 700;
  font-size: var(--step--1);
}

.coupon__ok {
  color: var(--good);
}

.coupon__error {
  color: var(--warn);
}

.credits-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s2);
  align-items: start;
  padding: var(--s3);
  border-radius: var(--r);
  background: linear-gradient(120deg, var(--brand-wash), var(--surface-tint));
}

.credits-box__icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--r-pill);
  background: var(--brand-wash);
  color: var(--brand);
  color: var(--ink);
}

.credits-box h3 {
  font-size: 1rem;
}

.credits-box__toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.3rem;
  font-weight: 700;
  cursor: pointer;
}

.credits-box__toggle input,
.method__head input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--brand);
}

.credits-box__earn {
  margin-top: 0.3rem;
  font-size: var(--step--1);
}

/* Payment methods: one card per method, the chosen one opens. */
.methods {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: var(--s1);
  min-width: 0;
}

.methods legend {
  padding: 0;
  margin-bottom: var(--s2);
}

.methods legend h2 {
  font-size: var(--step-1);
}

.method {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.method.is-selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-wash);
}

/* Invisible but laid out, so Stripe can work out what the device supports. */
.method--pending {
  visibility: hidden;
  position: absolute;
  width: 1px;
  overflow: hidden;
}

.method--soon {
  opacity: 0.6;
}

.method__head {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s3);
  cursor: pointer;
  font-weight: 700;
}

.method--soon .method__head {
  cursor: not-allowed;
}

.method__title {
  flex: 1;
}

.method__brands {
  display: flex;
  gap: 0.3rem;
}

.method__brands span {
  padding: 0.05rem 0.4rem;
  border-radius: 0.35rem;
  border: 1px solid var(--line-strong);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-soft);
}

@media (max-width: 30rem) {
  .method__brands {
    display: none;
  }
}

.method__panel {
  display: none;
  gap: var(--s2);
  padding: 0 var(--s3) var(--s3);
}

.method__panel.is-open {
  display: grid;
}

/* The wallet panel is never display:none, for the same reason as above. */
.method__panel--wallet {
  display: grid;
  height: 0;
  overflow: hidden;
  padding-block: 0;
}

.method__panel--wallet.is-open {
  height: auto;
  padding-bottom: var(--s3);
}

.card-form__row {
  display: grid;
  gap: var(--s2);
  grid-template-columns: 1fr 1fr;
}

.card-form__row--three {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 30rem) {
  .card-form__row--three {
    grid-template-columns: 1fr 1fr;
  }

  .card-form__row--three > :last-child {
    grid-column: 1 / -1;
  }
}

/* Stripe's iframe sits inside this box, styled to match the other inputs. */
.stripe-field {
  min-height: 2.9rem;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--bg);
}

.stripe-field.StripeElement--focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-wash);
}

.stripe-field.StripeElement--invalid {
  border-color: var(--bad);
}

.stripe-field__placeholder {
  color: var(--text-faint);
}

.card-form__error {
  min-height: 1.2rem;
  color: var(--bad);
  font-size: var(--step--1);
  font-weight: 700;
}

.card-form__error:empty {
  min-height: 0;
}

.pay-button {
  width: 100%;
  min-height: 3.3rem;
  font-size: 1.08rem;
}

.pay-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.pay-button.is-busy {
  cursor: progress;
}

.secure-note {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: var(--step--1);
  color: var(--text-soft);
}

.secure-note svg {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--good);
  margin-top: 0.15rem;
}

.checkout-totals {
  padding: var(--s3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.checkout-totals h2 {
  font-size: var(--step-1);
}

.checkout-totals dl {
  margin: var(--s2) 0;
  display: grid;
  gap: 0.5rem;
}

.checkout-totals dl > div {
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
}

.checkout-totals dd {
  margin: 0;
  font-weight: 700;
}

.checkout-totals__minus dd {
  color: var(--good);
}

.checkout-totals__total {
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
  font-size: var(--step-1);
  font-weight: 800;
}

.checkout-totals .muted {
  font-size: var(--step--1);
}

.button--big {
  min-height: 3.3rem;
  padding-inline: 2rem;
  font-size: 1.08rem;
}

.checkout-options > .checkout__field--narrow {
  max-width: 9rem;
}

/* ---------------------------------------------------------- theme toggle -- */

.theme-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
}

.js .theme-toggle {
  display: inline-flex;
}

.theme-toggle:hover {
  background: var(--surface-tint);
  color: var(--text);
}

.theme-toggle svg {
  width: 1.2rem;
  height: 1.2rem;
}

.theme-toggle__sun {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle__sun {
    display: block;
  }

  :root:not([data-theme='light']) .theme-toggle__moon {
    display: none;
  }
}

:root[data-theme='dark'] .theme-toggle__sun {
  display: block;
}

:root[data-theme='dark'] .theme-toggle__moon {
  display: none;
}

@media (max-width: 34rem) {
  .site-nav {
    gap: 0.5rem;
  }

  .site-header .currency summary {
    padding-inline: 0.55rem;
  }

  .theme-toggle {
    width: 2rem;
    height: 2rem;
    margin-right: -0.25rem;
  }

  .wordmark {
    white-space: nowrap;
  }

  /* On a phone the homepage search is the way to a destination, and the
     footer still links to them all. That leaves room for Blog and Help. */
  .site-nav a[href='/destinations'] {
    display: none;
  }
}

/* Accessibility settings the system exposes: no blur when transparency is
   reduced, stronger lines when contrast is increased. */
@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .admin-top {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg);
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: var(--line-strong);
    --text-soft: var(--text);
    --text-faint: var(--text-soft);
  }
}

/* ------------------------------------------------------------ home: sign -- */

/* The hero follows the theme: white with black type by day, dark with white
   type by night. */
.home-hero {
  --sign: var(--bg);
  --sign-ink: var(--text);
  position: relative;
  overflow: hidden;
  background: var(--sign);
  color: var(--sign-ink);
  padding-block: var(--s5) var(--s6);
}

.home-hero__grid {
  display: grid;
  gap: var(--s5);
  align-items: center;
}

@media (min-width: 62rem) {
  .home-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.home-hero__from {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: none;
  font-weight: 700;
}

.home-hero__flag {
  font-size: 1.5rem;
  line-height: 1;
}

.home-hero h1 {
  margin-top: var(--s2);
  font-size: clamp(3rem, 1.6rem + 4vw, 4.5rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.home-hero .lede {
  margin-top: var(--s3);
  max-width: 38ch;
  color: var(--sign-ink);
  font-size: var(--step-1);
  font-weight: 500;
}

.home-hero .search {
  margin-top: var(--s4);
  max-width: 34rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-hero .search__label {
  font-size: var(--step--1);
  margin-bottom: 0.45rem;
}

.home-hero .search__field {
  background: var(--surface);
  border: 3px solid var(--sign-ink);
  border-radius: 14px;
  padding: 0.3rem 0.3rem 0.3rem var(--s2);
  box-shadow: none;
}

.home-hero .search__field > svg {
  color: var(--sign-ink);
}

.home-hero .search input {
  color: var(--text);
}

.home-hero .search__field:focus-within {
  border-color: var(--sign-ink);
  outline: 3px solid #1546e6;
  outline-offset: 3px;
}

.home-hero .button {
  background: var(--sign-ink);
  color: var(--sign);
  border-radius: 9px;
  box-shadow: none;
}

.home-hero .search__results {
  inset-inline: 0;
  top: calc(100% + 0.5rem);
  color: var(--text);
}

.home-hero .trust-row {
  list-style: none;
  margin: var(--s3) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem var(--s3);
  font-weight: 600;
  font-size: var(--step--1);
}

.home-hero .trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.home-hero .trust-row svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* ---------------------------------------------------- the boarding pass -- */

/* A card with depth: the stage holds the perspective, .pass-tilt leans toward
   the pointer (pass.js sets --rx/--ry/--gx/--gy), and the plane and QR code
   stand off the surface. Filters and clip-paths flatten 3D, so the shadow is
   its own layer and nothing on the way down uses either once it has settled. */

.pass-stage {
  max-width: 31rem;
  margin-inline: auto;
  perspective: 1100px;
  animation: pass-print 800ms cubic-bezier(0.2, 0.8, 0.2, 1) 150ms backwards;
}

.pass-tilt {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, -6deg));
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* The shadow on the ground, which slides the other way as the pass leans. */
.pass-tilt::after {
  content: '';
  position: absolute;
  inset: auto 6% -2.2rem 6%;
  height: 1.8rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(16 17 20 / 45%), transparent);
  filter: blur(8px);
  transform: translateZ(-60px) translateX(calc(var(--ry, -6deg) * -1.4));
  pointer-events: none;
}

:root[data-theme='dark'] .pass-tilt::after {
  background: radial-gradient(closest-side, rgb(46 90 255 / 55%), transparent);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .pass-tilt::after {
    background: radial-gradient(closest-side, rgb(46 90 255 / 55%), transparent);
  }
}

.pass {
  --notch: 1.2rem;
  position: relative;
  display: grid;
  color: #ffffff;
  text-decoration: none;
  transform-style: preserve-3d;
  transform: rotate(-1.2deg);
  transform-origin: 30% 80%;
}

/* The pass's thickness: a darker slab just behind it, seen as it leans. */
.pass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: #0a247a;
  transform: translateZ(-14px) translate(2px, 4px);
}

.pass__main,
.pass__stub {
  display: block;
  position: relative;
  transform-style: preserve-3d;
  padding: var(--s3);
  background:
    radial-gradient(120% 90% at 0% 0%, rgb(255 255 255 / 18%), transparent 55%),
    repeating-radial-gradient(circle at 100% 0%, rgb(255 255 255 / 5%) 0 2px, transparent 2px 9px),
    linear-gradient(140deg, #2a5cff 0%, #1546e6 45%, #0f32b4 100%);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 14%),
    inset 0 1px 0 rgb(255 255 255 / 45%),
    inset 0 -3px 0 rgb(0 0 0 / 22%);
}

/* The light that follows the pointer. */
.pass__main::after,
.pass__stub::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--gx, 22%) var(--gy, 0%), rgb(255 255 255 / 30%), transparent 52%),
    linear-gradient(
      112deg,
      transparent 38%,
      rgb(255 255 255 / 14%) 46%,
      rgb(170 205 255 / 20%) 50%,
      rgb(255 255 255 / 10%) 54%,
      transparent 62%
    )
    var(--gx, 20%) 0 / 260% 100% no-repeat;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.pass__main {
  border-radius: 20px 20px 0 0;
  display: grid;
  gap: var(--s3);
}

.pass__stub {
  border-radius: 0 0 20px 20px;
  display: grid;
  gap: var(--s2);
  border-top: 2px dashed rgb(255 255 255 / 70%);
  grid-template-columns: auto 1fr;
  align-items: center;
}

/* The two notches where a real pass tears. They take the page's colour. */
.pass__stub::before {
  content: '';
  position: absolute;
  top: calc(var(--notch) / -2 - 1px);
  left: calc(var(--notch) / -2);
  width: var(--notch);
  height: var(--notch);
  border-radius: 50%;
  background: var(--bg);
  transform: translateZ(1px);
}

.pass__main::before {
  content: '';
  position: absolute;
  right: calc(var(--notch) / -2);
  bottom: calc(var(--notch) / -2 - 1px);
  width: var(--notch);
  height: var(--notch);
  border-radius: 50%;
  background: var(--bg);
  transform: translateZ(1px);
  z-index: 1;
}

.pass__brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgb(255 255 255 / 85%);
  transform: translateZ(10px);
}

.pass__brand img {
  display: block;
  height: 1.5rem;
  width: auto;
}

.pass__route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  transform-style: preserve-3d;
}

.pass__place {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  transform: translateZ(18px);
}

.pass__place small,
.pass__fields small {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgb(255 255 255 / 78%);
}

.pass__place strong {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
  text-shadow: 0 2px 10px rgb(0 10 70 / 35%);
}

.pass__place--to {
  text-align: right;
}

/* The flight line between the two places. The plane sits part-way along it
   and, where the browser supports scroll-linked animation, flies on as the
   pass scrolls away. */
.pass__track {
  position: relative;
  flex: 1;
  min-width: 1.5rem;
  height: 2rem;
  transform-style: preserve-3d;
}

.pass__track::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 50%;
  border-top: 3px dotted rgb(255 255 255 / 60%);
}

.pass__plane {
  position: absolute;
  top: 0;
  left: 40%;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0.22rem;
  border-radius: 50%;
  background: #ffffff;
  color: #1546e6;
  transform: translateZ(36px);
  box-shadow: 0 10px 16px -4px rgb(0 10 70 / 55%);
}

.pass__plane svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(28deg);
}

.pass__fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  justify-content: space-between;
  gap: var(--s2);
  padding-top: var(--s2);
  border-top: 2px solid rgb(255 255 255 / 25%);
  transform: translateZ(8px);
}

.pass__fields > span {
  display: grid;
  gap: 0.1rem;
}

.pass__fieldvalue {
  display: block;
  font-weight: 800;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pass__qr {
  display: block;
  width: 7rem;
  padding: 0.2rem;
  border-radius: 10px;
  background: #ffffff;
  transform: translateZ(30px);
  box-shadow: 0 14px 20px -6px rgb(0 10 70 / 55%);
}

.pass__qr svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.pass__go {
  font-weight: 800;
  transform: translateZ(12px);
}

.pass:hover .pass__go,
.pass:focus-visible .pass__go {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 40rem) {
  .pass {
    grid-template-columns: minmax(0, 1fr) 9.5rem;
  }

  .pass__qr {
    width: 100%;
  }

  .pass__main {
    border-radius: 20px 0 0 20px;
  }

  .pass__stub {
    border-radius: 0 20px 20px 0;
    border-top: 0;
    border-left: 2px dashed rgb(255 255 255 / 70%);
    grid-template-columns: 1fr;
    align-content: space-between;
    justify-items: center;
    text-align: center;
  }

  .pass__stub::before {
    left: calc(var(--notch) / -2 - 1px);
    top: calc(var(--notch) / -2);
  }

  .pass__main::before {
    right: calc(var(--notch) / -2 - 1px);
    bottom: calc(var(--notch) / -2);
  }
}

/* ------------------------------------------------------ departures board -- */

.board {
  border: 3px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}

:root[data-theme='dark'] .board {
  border-color: var(--line-strong);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .board {
    border-color: var(--line-strong);
  }
}

.board__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem var(--s3);
  padding: var(--s2) var(--s3);
  background: var(--teal);
  color: #ffffff;
}

.board__head h2 {
  font-size: var(--step-2);
  color: inherit;
}

.board__head a {
  color: #ffffff;
  font-weight: 700;
  font-size: var(--step--1);
}

.board__sub {
  padding: var(--s1) var(--s3);
  background: var(--surface-tint);
  font-size: var(--step--1);
  color: var(--text-soft);
  max-width: none;
}

.board__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

@media (min-width: 44rem) {
  .board__rows {
    grid-template-columns: 1fr 1fr;
    column-gap: 0;
  }

  .board__rows li:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
}

.board__rows li {
  border-top: 1px solid var(--line);
}

.board__row {
  display: flex;
  align-items: baseline;
  gap: var(--s2);
  padding: 0.95rem var(--s3);
  color: var(--text);
  text-decoration: none;
  font-size: var(--step-1);
}

.board__row:hover,
.board__row:focus-visible {
  background: var(--brand-wash);
  color: var(--text);
}

.board__flag {
  font-size: 2.4rem;
  line-height: 1;
  align-self: center;
}

.board__name {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.board__lead {
  flex: 1;
  min-width: 1rem;
  border-bottom: 2px dotted var(--line-strong);
  transform: translateY(-0.25em);
}

.board__row:hover .board__lead {
  border-color: var(--brand);
}

.board__price {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ------------------------------------------------------------ the route -- */

.route {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s4);
  position: relative;
}

.route li {
  position: relative;
  padding-left: 2.6rem;
}

/* The line a plane would fly, and a stop for each step. */
.route li::before {
  content: '';
  position: absolute;
  left: 0.55rem;
  top: 0.4rem;
  bottom: calc(var(--s4) * -1);
  border-left: 3px dotted var(--line-strong);
}

.route li:last-child::before {
  display: none;
}

.route__stop {
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--surface);
  border: 4px solid var(--teal);
}

.route li:last-child .route__stop {
  background: var(--surface);
  border-color: var(--text);
}

:root[data-theme='dark'] .route li:last-child .route__stop {
  border-color: var(--text);
}

.route h3 {
  font-size: var(--step-2);
  letter-spacing: -0.03em;
}

.route p {
  margin-top: 0.3rem;
  color: var(--text-soft);
  max-width: 46ch;
}

@media (min-width: 52rem) {
  .route {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s4);
  }

  .route li {
    padding: 3rem 0 0;
  }

  .route li::before {
    left: 1.5rem;
    right: calc(var(--s4) * -1);
    top: 0.75rem;
    bottom: auto;
    border-left: 0;
    border-top: 3px dotted var(--line-strong);
  }

  .route__stop {
    top: 0;
  }
}

/* ------------------------------------------------------------ the reasons -- */

.reasons {
  margin: 0;
  display: grid;
  border-top: 3px solid var(--ink);
}

:root[data-theme='dark'] .reasons {
  border-color: var(--line-strong);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .reasons {
    border-color: var(--line-strong);
  }
}

.reasons > div {
  display: grid;
  gap: 0.3rem var(--s4);
  padding-block: var(--s3);
  border-bottom: 1px solid var(--line);
}

.reasons dt {
  font-size: var(--step-2);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.reasons dd {
  margin: 0;
  color: var(--text-soft);
  max-width: 52ch;
}

@media (min-width: 52rem) {
  .reasons > div {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: baseline;
  }
}

/* ------------------------------------------------------------ the sum -- */

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

@media (min-width: 52rem) {
  .compare {
    grid-template-columns: 1fr 1fr;
  }
}

.compare__side {
  padding: var(--s4) var(--s3);
  border-radius: 18px;
  border: 2px solid var(--line-strong);
  background: var(--surface);
}

.compare__side h3 {
  font-size: var(--step-0);
  color: var(--text-soft);
}

.compare__figure {
  margin-top: var(--s1);
  font-size: clamp(2.6rem, 2rem + 3vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.compare__side:not(.compare__side--ours) .compare__figure {
  text-decoration: line-through;
  text-decoration-thickness: 4px;
  text-decoration-color: var(--line-strong);
}

.compare__caption {
  margin-top: 0.4rem;
  color: var(--text-soft);
}

.compare__list {
  margin: var(--s3) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  color: var(--text-soft);
}

.compare__side--ours {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}

.compare__side--ours h3,
.compare__side--ours .compare__caption,
.compare__side--ours .compare__list {
  color: rgb(255 255 255 / 88%);
}

.compare__side--ours .compare__figure {
  color: #ffffff;
}

:root[data-theme='dark'] .compare__side--ours {
  background: #1b2fa8;
  border-color: #1b2fa8;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .compare__side--ours {
    background: #1b2fa8;
    border-color: #1b2fa8;
  }
}

.compare__saving {
  display: inline-block;
  margin-top: var(--s3);
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  background: #ffffff;
  color: #1546e6;
  font-weight: 800;
}

/* ---------------------------------------------------------------- faq -- */

.faq {
  border-top: 3px solid var(--ink);
}

:root[data-theme='dark'] .faq {
  border-color: var(--line-strong);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .faq {
    border-color: var(--line-strong);
  }
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
  padding: var(--s2) 0;
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: '+';
  flex: none;
  font-weight: 400;
  color: var(--brand);
}

.faq details[open] summary::after {
  content: '\2212';
}

.faq details p {
  padding-bottom: var(--s2);
  max-width: 60ch;
  color: var(--text-soft);
}

.faq details a {
  color: var(--brand);
}

/* ---------------------------------------------------------- closing sign -- */

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s5) var(--s4);
  border-radius: 22px;
  background: var(--band-bg);
  color: var(--band-ink);
}

.cta-band h2 {
  font-size: clamp(2rem, 1.4rem + 3vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.cta-band p {
  margin-top: 0.6rem;
  opacity: 0.9;
}

.cta-band .button--accent {
  background: #ffffff;
  color: #1546e6;
  border-radius: 10px;
  font-size: var(--step-1);
}

/* ------------------------------------------------------- the page moves -- */

/* Everything below is tied to scrolling, not to time, so it moves exactly as
   fast as the reader does and stops when they stop. Browsers without
   scroll-linked animation (Firefox, today) get the finished state, which is the
   whole design anyway. Anyone who asks for less motion gets none of it. */

@keyframes pass-print {
  from {
    opacity: 0;
    transform: translateY(-1.75rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pass-stage {
    animation: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* The pass is tipped on the hero and straightens, then swings away as the
       hero leaves. */
    @keyframes pass-leave {
      from {
        transform: rotate(-2.2deg);
      }
      to {
        transform: translateY(3.5rem) rotate(7deg) scale(0.93);
      }
    }

    .pass {
      animation: pass-leave linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }

    @keyframes plane-fly {
      from {
        left: 12%;
      }
      to {
        left: calc(100% - 2rem);
      }
    }

    .pass__plane {
      animation: plane-fly linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 90%;
    }

    /* Departures flip in like a split-flap board as each row arrives. */
    @keyframes flap {
      from {
        opacity: 0;
        transform: perspective(40rem) rotateX(-80deg);
      }
      to {
        opacity: 1;
        transform: none;
      }
    }

    .board__rows li {
      transform-origin: 50% 0;
      animation: flap linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }

    /* The route fills in with the reader: each stop lights up, and the line to
       the next one draws, as it passes the middle of the screen. */
    @keyframes stop-on {
      from {
        background: var(--surface);
        transform: scale(1);
      }
      to {
        background: var(--teal);
        transform: scale(1.18);
      }
    }

    @keyframes draw-down {
      from {
        transform: scaleY(0);
      }
      to {
        transform: scaleY(1);
      }
    }

    @keyframes draw-across {
      from {
        transform: scaleX(0);
      }
      to {
        transform: scaleX(1);
      }
    }

    .route__stop {
      animation: stop-on linear both;
      animation-timeline: view();
      animation-range: entry 35% entry 60%;
    }

    .route li:last-child .route__stop {
      animation-name: stop-on-last;
    }

    @keyframes stop-on-last {
      from {
        background: var(--surface);
        transform: scale(1);
      }
      to {
        background: var(--text);
        transform: scale(1.18);
      }
    }

    .route li::after {
      content: '';
      position: absolute;
      left: 0.55rem;
      top: 0.4rem;
      bottom: calc(var(--s4) * -1);
      border-left: 3px solid var(--teal);
      transform-origin: top;
      animation: draw-down linear both;
      animation-timeline: view();
      animation-range: entry 40% cover 55%;
    }

    .route li:last-child::after {
      display: none;
    }

    @media (min-width: 52rem) {
      .route li::after {
        left: 1.5rem;
        right: calc(var(--s4) * -1);
        top: 0.75rem;
        bottom: auto;
        border-left: 0;
        border-top: 3px solid var(--teal);
        transform-origin: left;
        animation-name: draw-across;
      }
    }

    /* The sum settles: the roaming total gets struck out, our saving stamps in. */
    @keyframes strike {
      from {
        text-decoration-color: transparent;
      }
      to {
        text-decoration-color: var(--bad);
      }
    }

    .compare__side:not(.compare__side--ours) .compare__figure {
      animation: strike linear both;
      animation-timeline: view();
      animation-range: entry 40% cover 40%;
    }

    @keyframes stamp {
      from {
        opacity: 0;
        transform: scale(0.5) rotate(-8deg);
      }
      to {
        opacity: 1;
        transform: rotate(-2deg);
      }
    }

    .compare__saving {
      animation: stamp linear both;
      animation-timeline: view();
      animation-range: entry 50% cover 45%;
    }

    /* The closing sign carries a plane across it. */
    @keyframes cross {
      from {
        transform: translateX(-120%) rotate(28deg);
      }
      to {
        transform: translateX(calc(100vw)) rotate(28deg);
      }
    }

    .cta-band {
      position: relative;
      overflow: hidden;
    }

    .cta-band::after {
      content: '';
      position: absolute;
      right: auto;
      left: 0;
      top: 1.2rem;
      width: 1.8rem;
      height: 1.8rem;
      background: #ffffff;
      clip-path: polygon(0 52%, 100% 0, 72% 100%, 50% 60%);
      animation: cross linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 60%;
    }
  }
}

/* ------------------------------------------- small scroll effects, sitewide -- */

/* Small, quiet, and all driven by scroll position (see "the page moves" above
   for the rules). Each kind of thing arrives its own way: headings draw in,
   rows slide to their place, the two sides of the sum close in on each other,
   cards rise a little. Nothing waits for a timer and nothing repeats. */

main {
  overflow-x: clip;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* A progress line under the header, and the header lifting off the page. */
    @keyframes read-progress {
      from {
        transform: scaleX(0);
      }
      to {
        transform: scaleX(1);
      }
    }

    @keyframes header-lift {
      to {
        box-shadow: 0 10px 24px -18px rgb(0 0 0 / 45%);
      }
    }

    .site-header {
      animation: header-lift linear both;
      animation-timeline: scroll(root);
      animation-range: 0px 140px;
    }

    .site-header::after {
      content: '';
      position: absolute;
      inset: auto 0 -1px 0;
      height: 3px;
      background: var(--brand);
      transform-origin: left;
      animation: read-progress linear both;
      animation-timeline: scroll(root);
    }

    /* The hero's words drift up and soften as the page moves on. */
    @keyframes hero-drift {
      to {
        transform: translateY(-1.75rem);
        opacity: 0.25;
      }
    }

    .home-hero__copy {
      animation: hero-drift linear both;
      animation-timeline: view();
      animation-range: exit 10% exit 95%;
    }

    /* Headings draw in from the left. */
    @keyframes draw-in {
      from {
        opacity: 0;
        transform: translateX(-1rem);
        clip-path: inset(0 100% 0 0);
      }
      to {
        opacity: 1;
        transform: none;
        clip-path: inset(-0.2em -1rem -0.2em 0);
      }
    }

    @keyframes fade-in {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }

    .section__head h2 {
      animation: draw-in linear backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }

    .section__head p {
      animation: fade-in linear backwards;
      animation-timeline: view();
      animation-range: entry 10% entry 80%;
    }

    /* Reasons: the rule under each row draws, the heading slides to its place. */
    @keyframes nudge {
      from {
        opacity: 0;
        transform: translateX(-1.25rem);
      }
      to {
        opacity: 1;
        transform: none;
      }
    }

    .reasons > div {
      position: relative;
    }

    /* The blue rule draws across, then gives way to the grey hairline. */
    @keyframes rule-draw {
      0% {
        transform: scaleX(0);
        opacity: 1;
      }
      65% {
        transform: scaleX(1);
        opacity: 1;
      }
      100% {
        transform: scaleX(1);
        opacity: 0;
      }
    }

    .reasons > div::after {
      content: '';
      position: absolute;
      inset: auto 0 -1px 0;
      height: 2px;
      background: var(--brand);
      transform-origin: left;
      animation: rule-draw linear both;
      animation-timeline: view();
      animation-range: entry 20% cover 40%;
    }

    .reasons dt {
      animation: nudge linear backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }

    .reasons dd {
      animation: fade-in linear backwards;
      animation-timeline: view();
      animation-range: entry 20% entry 90%;
    }

    /* Cards, tiles and answers rise a little as they arrive. */
    @keyframes rise {
      from {
        opacity: 0;
        transform: translateY(0.9rem);
      }
      to {
        opacity: 1;
        transform: none;
      }
    }

    .destination,
    .plan,
    .faq details,
    .panel {
      animation: rise linear backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }

    /* The two sides of the sum close in on each other. */
    @keyframes from-left {
      from {
        opacity: 0;
        transform: translateX(-1.5rem);
      }
      to {
        opacity: 1;
        transform: none;
      }
    }

    @keyframes from-right {
      from {
        opacity: 0;
        transform: translateX(1.5rem);
      }
      to {
        opacity: 1;
        transform: none;
      }
    }

    .compare__side {
      animation: from-left linear backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 75%;
    }

    .compare__side--ours {
      animation-name: from-right;
    }

    /* The closing sign settles into place; the footer fades up behind it. */
    @keyframes settle {
      from {
        opacity: 0;
        transform: scale(0.96);
      }
      to {
        opacity: 1;
        transform: none;
      }
    }

    .cta-band {
      animation: settle linear backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 75%;
    }

    .site-footer {
      animation: fade-in linear backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
  }
}

/* ------------------------------------------------------------------ blog -- */

.blog-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--s4) var(--s3);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}

.blog-card__link {
  display: grid;
  gap: var(--s2);
  color: inherit;
  text-decoration: none;
}

.blog-card__image {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border-radius: var(--r);
  background: var(--surface-tint);
  border: 1px solid var(--line);
}

.blog-card__body {
  display: grid;
  gap: 0.35rem;
}

.blog-card__body time {
  font-size: var(--step--1);
  color: var(--text-soft);
}

.blog-card__body strong {
  font-size: var(--step-1);
  line-height: 1.25;
}

.blog-card__link:hover strong,
.blog-card__link:focus-visible strong {
  color: var(--brand);
  text-decoration: underline;
}

.blog-card__excerpt {
  color: var(--text-soft);
}

.blog-post {
  max-width: 46rem;
  padding-bottom: var(--s5);
}

.crumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--s4);
  font-size: var(--step--1);
  color: var(--text-soft);
}

.blog-post__head {
  display: grid;
  gap: var(--s2);
  margin: var(--s3) 0 var(--s4);
}

.blog-post__head h1 {
  font-size: var(--step-3);
  line-height: 1.1;
  text-wrap: balance;
}

.blog-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: var(--step--1);
  color: var(--text-soft);
}

.blog-post__cover {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border-radius: var(--r-lg);
  margin-bottom: var(--s4);
  border: 1px solid var(--line);
}

.blog-preview {
  margin-top: var(--s3);
  padding: var(--s2) var(--s3);
  border-radius: var(--r-sm);
  background: var(--brand-wash);
  color: var(--text);
}

/* The article text: set for reading, at about 65 characters a line. */
.blog-body {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 42rem;
}

.blog-body > * + * {
  margin-top: 1.25em;
}

.blog-body h2 {
  font-size: var(--step-2);
  line-height: 1.2;
  margin-top: 2em;
  scroll-margin-top: 5rem;
}

.blog-body h3 {
  font-size: var(--step-1);
  line-height: 1.3;
  margin-top: 1.6em;
  scroll-margin-top: 5rem;
}

.blog-body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.blog-body ul,
.blog-body ol {
  padding-left: 1.4em;
}

.blog-body li + li {
  margin-top: 0.4em;
}

.blog-body blockquote {
  border-left: 3px solid var(--brand);
  padding-left: var(--s3);
  color: var(--text-soft);
  font-size: 1.2rem;
}

.blog-body blockquote > * + * {
  margin-top: 0.8em;
}

.blog-body code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface-tint);
  padding: 0.1em 0.35em;
  border-radius: 6px;
}

.blog-body pre {
  overflow-x: auto;
  padding: var(--s3);
  border-radius: var(--r-sm);
  background: var(--surface-tint);
  border: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.5;
}

.blog-body pre code {
  background: none;
  padding: 0;
}

.blog-body hr {
  border: 0;
  border-top: 1px solid var(--line-strong);
  margin-block: 2em;
}

.blog-body figure {
  margin-inline: 0;
}

.blog-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--r);
}

.blog-body figcaption {
  margin-top: 0.6rem;
  font-size: var(--step--1);
  color: var(--text-soft);
  text-align: center;
}

.blog-cta {
  margin-top: var(--s5);
  padding: var(--s4);
  border-radius: var(--r-lg);
  background: var(--brand-wash);
  display: grid;
  gap: var(--s2);
  justify-items: start;
}

/* ---------------------------------------------- refund notice on /help -- */

.refund-notice {
  margin-top: var(--s4);
  padding: var(--s3) var(--s4);
  max-width: var(--page);
  border-radius: var(--r-lg);
  background: var(--brand-wash);
  border: 1px solid var(--line-strong);
  display: grid;
  gap: var(--s2);
}

.refund-notice h2 {
  font-size: var(--step-1);
}

.refund-notice__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--s2);
}

.refund-notice__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s1) var(--s3);
  padding: var(--s2) var(--s3);
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
}

.refund-notice__list li > .muted {
  flex: 1 1 12rem;
}

@media (max-width: 34rem) {
  .blog-body {
    font-size: 1.0625rem;
  }

  .refund-notice {
    padding: var(--s3);
    border-radius: var(--r);
  }
}

/* ----------------------------------------------------------- order page -- */

.confirm__tick {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: var(--s2);
  border-radius: 50%;
  background: var(--good);
  color: #ffffff;
}

.confirm__tick svg {
  width: 1.9rem;
  height: 1.9rem;
}

.track {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s3);
  margin: var(--s3) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--text-soft);
}

.track li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.track__dot {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--surface-tint);
  color: var(--text-soft);
  font-size: 0.75rem;
}

.track .is-done,
.track .is-now {
  color: var(--text);
}

.track .is-done .track__dot {
  background: var(--good);
  color: #ffffff;
}

.track .is-now .track__dot {
  background: var(--brand);
  color: var(--brand-ink);
}

.order-grid {
  display: grid;
  gap: var(--s3);
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  align-items: start;
}

.nextsteps {
  margin: 0;
  padding-left: 1.3rem;
  display: grid;
  gap: var(--s2);
  color: var(--text-soft);
}

.nextsteps strong {
  color: var(--text);
}

/* ------------------------------------------------------------- quantity -- */

.qty {
  margin: 0 0 var(--s3);
  padding: 0;
  border: 0;
}

.qty__options {
  display: grid;
  gap: var(--s2);
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  margin-top: var(--s2);
}

.qty__option {
  position: relative;
  display: block;
  cursor: pointer;
}

.qty__option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.qty__card {
  display: grid;
  gap: 0.15rem;
  height: 100%;
  padding: var(--s2);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.qty__n {
  font-size: var(--step-3);
  line-height: 1;
}

.qty__who {
  font-size: var(--step--1);
  color: var(--text-soft);
}

.qty__price {
  font-weight: 700;
}

.qty__option input:checked + .qty__card {
  border-color: var(--brand);
  background: var(--brand-wash);
}

.qty__option input:focus-visible + .qty__card {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.qty__note {
  margin-top: var(--s2);
  color: var(--good);
  font-weight: 600;
}

.checkout__consent {
  margin-top: var(--s3);
  font-size: var(--step--1);
}

.legal h2 {
  margin-top: var(--s4);
}
