/*
 * PPL Cruiser site stylesheet.
 *
 * One file for every page: fonts, design tokens, base styles, the shared
 * header and footer, then page components. Fonts are self-hosted from
 * /fonts/ under the SIL Open Font License 1.1 (OFL.txt next to each family).
 * When this file changes, bump the ?<date> query string in the pages' <link>.
 */

/* 1. Fonts ------------------------------------------------------------- */

/* Archivo ExtraBold with its width axis (100-125%): headings and wordmark. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 800;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url(/fonts/archivo/archivo-800-wide-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 800;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url(/fonts/archivo/archivo-800-wide-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Sans, variable 400-600: body copy. */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans/ibm-plex-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans/ibm-plex-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Mono 400/500: small uppercase labels, codes and fares. */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono/ibm-plex-mono-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono/ibm-plex-mono-400-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono/ibm-plex-mono-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono/ibm-plex-mono-500-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2. Design tokens ----------------------------------------------------- */

:root {
  /* Palette: light and flat, with the PPL Cruiser teal as the one accent. */
  --white: #ffffff;
  --surface: #f5f5f3;       /* soft panels */
  --line: #e7e7e4;          /* 1px rules and card outlines */
  --ink: #111214;           /* text, dark outlines, solid buttons */
  --muted: #6b6e73;         /* secondary text (5.1:1 on white) */
  --dark: #0f1011;          /* dark blocks: board, promo card, footer */
  --dark-2: #1b1d20;        /* raised surfaces on dark */
  --dark-line: #2a2d31;     /* rules on dark */
  --on-dark: #f3f4f5;
  --on-dark-muted: #a4a8ae;
  --teal: #31b4b7;          /* brand accent; text on it is --ink (7.4:1) */
  --teal-hover: #45c3c6;
  --teal-tint: #b9e8e9;     /* highlighter stroke */
  --teal-wash: #e3f5f5;     /* pale fills */
  --teal-text: #1c7c7f;     /* teal for text on white (4.9:1) */

  /* Type */
  --font-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --stretch-wide: 125%;     /* wordmark, small display labels */
  --stretch-head: 112%;     /* headings: wide, but long words still fit */

  /* Layout */
  --wrap: 1080px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 112px);
  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 26px;
  --pill: 999px;
  --tap: 44px;              /* minimum touch target */
}

/* 3. Base -------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: var(--stretch-head);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.15; letter-spacing: -0.005em; }
h4 { font-size: 18px; }

p,
ul,
ol,
dl,
address,
blockquote,
figure,
table {
  margin: 0 0 1em;
}

address { font-style: normal; }

strong,
b { font-weight: 600; }

a {
  color: inherit;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

a:hover { text-decoration-color: var(--ink); }

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

::selection { background: var(--teal-tint); color: var(--ink); }

hr {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--line);
}

/* The hidden attribute wins over component display values. */
[hidden] { display: none !important; }

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

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

/* 4. Layout ------------------------------------------------------------ */

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--flush-top { padding-top: 0; }
.section--surface { background: var(--surface); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-head h2 { margin: 0; max-width: 16em; }
.section-head p:last-child { margin-bottom: 0; }

.lede {
  max-width: 36em;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

/* 5. Components -------------------------------------------------------- */

/* Small monospace label above headings: "Shop · Subscriptions". */
.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 16px;
  color: var(--muted);
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow--teal { color: var(--teal-text); }

/* Highlighter stroke behind one word of a headline. */
.hl {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.hl::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.46em -0.12em 0.02em -0.1em;
  background: var(--teal-tint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M4 9C47 4 118 2 196 6c3 7 3 19-1 27-60 5-125 6-189 2C2 27 1 17 4 9z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M4 9C47 4 118 2 196 6c3 7 3 19-1 27-60 5-125 6-189 2C2 27 1 17 4 9z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform: rotate(-1.5deg);
}

/* Pill buttons: solid dark, outlined, teal, and outlined on dark. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  border-radius: var(--pill);
  background: var(--white);
  color: var(--ink);
  font: 600 16px/1.2 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover { background: var(--surface); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #2b2d31; }
.btn--teal { border-color: var(--teal); background: var(--teal); color: var(--ink); }
.btn--teal:hover { border-color: var(--teal-hover); background: var(--teal-hover); }
.btn--on-dark { border-color: #4a4e54; background: transparent; color: var(--on-dark); }
.btn--on-dark:hover { border-color: var(--on-dark); background: transparent; }
.btn--small { min-height: var(--tap); padding: 0 18px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }

.btn[disabled],
.btn[aria-disabled="true"] {
  border-color: var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: not-allowed;
}

/* Arrow drawn with a mask so it follows the text colour. */
.arrow::after {
  content: "";
  display: inline-block;
  flex: none;
  vertical-align: -0.15em;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8h10M8.5 3.5 13 8l-4.5 4.5' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8h10M8.5 3.5 13 8l-4.5 4.5' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.15s ease;
}

.arrow:hover::after { transform: translateX(3px); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Underlined text link with an arrow, used beside section headings. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--tap);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

/* Small outlined tags. */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid currentColor;
  border-radius: var(--pill);
  font: 500 12px/1.2 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
}

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

/* Framed picture: thin outline, generous radius. */
.frame {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Status / info line, e.g. for forms that are not live yet. */
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px dashed #b9bbb6;
  border-radius: var(--radius-s);
  background: var(--surface);
  font-size: 15px;
  line-height: 1.5;
}

.notice::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 0.45em;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-wash);
}

.notice p { margin: 0; }

/* 6. Prose: rich text from the old CMS pages --------------------------- */

.prose {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.7;
}

.prose > :last-child { margin-bottom: 0; }
.prose p,
.prose ul,
.prose ol { margin-bottom: 1.15em; }

.prose h2 {
  margin: 1.8em 0 0.55em;
  font-size: clamp(26px, 3vw, 34px);
}

.prose h3 {
  margin: 1.8em 0 0.6em;
  font-size: clamp(21px, 2.2vw, 26px);
}

.prose h2:first-child,
.prose h3:first-child { margin-top: 0; }

.prose ul {
  padding: 0;
  list-style: none;
}

.prose ul > li {
  position: relative;
  margin-bottom: 0.5em;
  padding-left: 30px;
}

.prose ul > li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--teal);
}

.prose ol {
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.prose ol > li {
  position: relative;
  margin-bottom: 0.7em;
  padding-left: 46px;
  counter-increment: step;
}

.prose ol > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0.1em;
  left: 0;
  width: 34px;
  height: 26px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  font: 500 13px/24px var(--font-mono);
  text-align: center;
}

.prose img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.prose th,
.prose td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose blockquote {
  margin: 0 0 1.4em;
  padding-left: 20px;
  border-left: 3px solid var(--teal);
}

/* 7. Forms ------------------------------------------------------------- */

.form { display: grid; gap: 18px; }

.field { display: grid; gap: 8px; }

.field label,
.label {
  color: var(--ink);
  font: 500 12px/1.3 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field .required { color: var(--teal-text); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
select {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 13px 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-s);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  appearance: none;
}

textarea { min-height: 140px; resize: vertical; }

input::placeholder,
textarea::placeholder { color: #8b8e93; }

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--teal-tint);
  outline-offset: 0;
  border-color: var(--ink);
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: var(--tap);
  font-size: 15px;
  cursor: pointer;
}

.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--ink);
}

/* 8. Header ------------------------------------------------------------ */

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  min-height: 76px;
  padding-block: 12px;
}

/* Text wordmark, set in wide Archivo; "PPL" sits on a teal tag. */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--tap);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  font-stretch: var(--stretch-wide);
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.wordmark__tag {
  padding: 5px 7px 4px;
  border-radius: 7px;
  background: var(--teal);
  color: var(--ink);
}

.site-menu {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px 20px;
}

.site-nav { margin-inline: auto; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 12px;
  border-radius: var(--pill);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover { background: var(--surface); }
.site-nav a[aria-current="page"] { background: var(--teal-wash); box-shadow: inset 0 0 0 1px var(--teal); }

.site-actions {
  display: flex;
  gap: 8px;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: var(--tap);
  margin-left: auto;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: var(--pill);
  background: var(--white);
  color: var(--ink);
  font: 600 15px/1 var(--font-body);
  cursor: pointer;
}

.menu-toggle__icon,
.menu-toggle__icon::before {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.menu-toggle__icon {
  position: relative;
  transform: translateY(-3px);
}

.menu-toggle__icon::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon { transform: translateY(0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 0; transform: rotate(-90deg); }

/* Between the full desktop bar and the phone menu the links get their
   own row under the wordmark. */
@media (max-width: 1099px) {
  .site-menu { display: contents; }
  .site-actions { margin-left: auto; }
  .site-nav { order: 3; flex-basis: 100%; margin: 0 0 0 -12px; }
}

@media (max-width: 759px) {
  .site-header__bar { min-height: 68px; padding-block: 10px; }
  .wordmark { font-size: 17px; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-menu {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 4px 0 12px;
  }
  .js .site-menu.is-open { display: flex; }
  .js .site-nav { order: 0; margin: 0; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav li + li { border-top: 1px solid var(--line); }
  .js .site-nav a {
    display: flex;
    min-height: 52px;
    padding: 0 4px;
    border-radius: 0;
    font-size: 17px;
  }
  .js .site-nav a[aria-current="page"] { background: none; box-shadow: inset 4px 0 0 var(--teal); padding-left: 16px; }
  .js .site-actions { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
  .js .site-actions .btn { min-height: 52px; }
}

/* 9. Footer ------------------------------------------------------------ */

.site-footer {
  padding: clamp(56px, 7vw, 88px) 0 28px;
  background: var(--dark);
  color: var(--on-dark);
  font-size: 15px;
}

.site-footer a {
  color: var(--on-dark);
  text-decoration: none;
}

.site-footer a:hover { color: var(--teal); }
.site-footer .wordmark { color: var(--on-dark); }
.site-footer .wordmark:hover { color: var(--on-dark); }

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 40px 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--dark-line);
}

.site-footer address {
  margin: 20px 0 8px;
  color: var(--on-dark-muted);
  line-height: 1.6;
}

.site-footer__email {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  text-decoration: underline !important;
  text-decoration-color: var(--teal) !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 0.25em;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-nav__title {
  margin: 0 0 10px;
  color: var(--on-dark-muted);
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding-top: 24px;
  color: var(--on-dark-muted);
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { display: inline-flex; align-items: center; min-height: var(--tap); }

.social {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.site-footer .social a {
  display: grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  border: 1px solid var(--dark-line);
  border-radius: 50%;
}

.site-footer .social a:hover { border-color: var(--teal); }
.social img { width: 22px; height: 22px; }

.payment-logos {
  width: 154px;
  height: auto;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--white);
}

@media (max-width: 899px) {
  .site-footer__top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 599px) {
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .social { margin-left: 0; }
}

/* 10. Shared aviation pieces --------------------------------------------- */

/* Split-flap characters: one dark tile per character, split across the
   middle like a departures display (the split is painted behind the
   character so it never hides a stroke). Codes are padded to three tiles. */
.flaps {
  display: inline-flex;
  flex: none;
  gap: 2px;
}

.flaps > span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 30px;
  border-radius: 4px;
  background: linear-gradient(to bottom, #272a2e 0 calc(50% - 0.5px), #060607 calc(50% - 0.5px) calc(50% + 0.5px), #1b1d20 calc(50% + 0.5px));
  color: var(--teal);
  font: 500 15px/1 var(--font-mono);
}

/* 11. Home --------------------------------------------------------------- */

.hero { padding: clamp(36px, 6vw, 84px) 0 clamp(64px, 8vw, 104px); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

/* Sized so the three lines "Cruise Through / Your Pilot / Examinations"
   fit the copy column at every width. */
.hero h1 {
  margin: 0 0 24px;
  font-size: min(80px, 6.2vw);
  font-stretch: 106%;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.hero .lede { margin-bottom: 32px; }

.hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 400px);
  margin: 0;
}

/* Cabin window: a deep rounded frame with the blind pulled part way down. */
.window {
  aspect-ratio: 4 / 5;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 36% / 29%;
  background: var(--surface);
}

.window__pane {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 34% / 27%;
  background: var(--line);
}

.window__pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

.window__pane::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 18%;
  border-bottom: 1px solid #d4d4cf;
  background: #ecece8;
}

.window__pane::after {
  content: "";
  position: absolute;
  top: calc(18% - 10px);
  left: calc(50% - 22px);
  width: 44px;
  height: 6px;
  border-radius: 3px;
  background: #c9c9c3;
}

/* Instrument-dial badge with tick marks around the rim. */
.gauge {
  position: absolute;
  bottom: 9%;
  left: -40px;
  display: grid;
  place-content: center;
  width: 128px;
  height: 128px;
  margin: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--teal);
  color: var(--ink);
  text-align: center;
}

.gauge::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: repeating-conic-gradient(var(--ink) 0 1.4deg, transparent 1.4deg 15deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px));
}

.gauge__value {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  font-stretch: var(--stretch-wide);
  line-height: 0.9;
}

.gauge__label {
  max-width: 80px;
  margin-top: 4px;
  font: 500 10px/1.25 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Wayfinding signs: the three ways in from the home page. */
.signs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sign {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  height: 100%;
  min-height: 124px;
  padding: 18px 20px 18px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-s);
  background: var(--teal);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.sign:hover { background: var(--teal-hover); }

.sign__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--teal);
}

.sign__icon svg { width: 28px; height: 28px; }

.sign__title {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  font-stretch: var(--stretch-wide);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.sign__text {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.4;
}

/* "Why" band. */
.statement {
  max-width: 24em;
  margin: 0 0 clamp(36px, 5vw, 56px);
  font-family: var(--font-display);
  font-size: clamp(25px, 3.3vw, 40px);
  font-weight: 800;
  font-stretch: 106%;
  line-height: 1.16;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.statement a { text-decoration-thickness: 3px; }

.why-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-list li {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
}

.why-list img {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
}

.why-list h3 { margin-bottom: 8px; font-size: 21px; }
.why-list p { margin: 0; color: var(--muted); }

.why-list__index {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--muted);
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.1em;
}

/* Gate tiles: one per subject. */
.gates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gate {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  height: 100%;
  min-height: 76px;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.gate:hover { border-color: var(--ink); }
.gate .arrow { color: var(--muted); }
.gate:hover .arrow { color: var(--ink); }

.gate__name {
  display: block;
  font-weight: 600;
  line-height: 1.25;
}

.gate__fare {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font: 500 12px/1.3 var(--font-mono);
  letter-spacing: 0.04em;
}

/* Boarding-pass promo card: picture, perforation, then the pass. */
.pass {
  --notch: var(--white);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--dark);
  color: var(--on-dark);
}

.pass__media { padding: clamp(16px, 2.4vw, 28px); }

.pass__media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: var(--radius-m);
  object-fit: cover;
}

.pass__body {
  position: relative;
  padding: clamp(28px, 4.5vw, 56px);
  border-left: 2px dashed var(--dark-line);
}

.pass__body::before,
.pass__body::after {
  content: "";
  position: absolute;
  left: -15px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--notch);
}

.pass__body::before { top: -14px; }
.pass__body::after { bottom: -14px; }

.pass .eyebrow { color: var(--teal); }
.pass h2 { color: var(--white); }
.pass p { color: var(--on-dark-muted); }

.pass .chips { margin: 24px 0 28px; }
.pass .chip { border-color: #3d4146; color: var(--on-dark); }

.fares {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.fares a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid #3d4146;
  border-radius: var(--radius-s);
  color: var(--on-dark);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.fares a:hover { border-color: var(--teal); }

.fares__label {
  color: var(--on-dark-muted);
  font: 500 12px/1.3 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fares__price {
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1;
}

.pass__note {
  margin: 18px 0 0;
  color: #80858b !important;
  font: 500 11px/1.4 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Testimonial. */
.quote {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 28px;
  margin: 0;
  padding: clamp(28px, 4.5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
}

.quote::before {
  content: "\201C";
  color: var(--teal);
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 112px);
  font-weight: 800;
  line-height: 0.82;
}

.quote blockquote {
  margin: 0;
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.5;
}

.quote blockquote p { margin: 0; }

.quote figcaption {
  grid-column: 2;
  margin-top: 14px;
  color: var(--muted);
  font: 500 12px/1.5 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote__link { grid-column: 2; justify-self: start; margin-top: 6px; }

/* Mid widths: the three signs become upright cards. */
@media (min-width: 900px) and (max-width: 1099px) {
  .sign { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .sign > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .sign > .arrow { grid-column: 2; grid-row: 1; align-self: center; }
}

@media (max-width: 899px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(36px, 10.6vw, 80px); }
  .hero__visual { justify-self: center; width: min(100%, 360px); }
  .gauge { left: -12px; width: 112px; height: 112px; }
  .gauge__value { font-size: 38px; }
  .signs,
  .why-list { grid-template-columns: minmax(0, 1fr); }
  .sign { min-height: 0; }
  .gates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pass { grid-template-columns: minmax(0, 1fr); }
  .pass__media img { min-height: 0; aspect-ratio: 16 / 9; }
  .pass__body { border-top: 2px dashed var(--dark-line); border-left: 0; }
  .pass__body::before,
  .pass__body::after { top: -15px; bottom: auto; }
  .pass__body::before { left: -14px; }
  .pass__body::after { right: -14px; left: auto; }
}

@media (max-width: 599px) {
  .hero h1 { font-stretch: 104%; }
  .hero .actions .btn { flex: 1 1 auto; }
  .window { aspect-ratio: 5 / 4; border-radius: 30% / 34%; }
  .window__pane { border-radius: 28% / 32%; }
  .gauge { bottom: -18px; left: -6px; width: 96px; height: 96px; }
  .gauge__value { font-size: 32px; }
  .gauge__label { max-width: 64px; font-size: 9px; }
  .gates { grid-template-columns: minmax(0, 1fr); }
  .fares { grid-template-columns: minmax(0, 1fr); }
  .quote { grid-template-columns: minmax(0, 1fr); }
  .quote figcaption,
  .quote__link { grid-column: 1; }
}

/* 12. Page heads and breadcrumbs ---------------------------------------- */

.page-head {
  padding: clamp(20px, 3vw, 32px) 0 clamp(44px, 6vw, 72px);
}

.page-head h1 { margin: 0; max-width: 14em; }
.page-head .lede { margin: 20px 0 0; }
.page-head .eyebrow { margin-top: clamp(24px, 4vw, 48px); }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 10px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font: 500 12px/1.3 var(--font-mono);
  letter-spacing: 0.12em;
  list-style: none;
  text-transform: uppercase;
}

.breadcrumb li { display: flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before { content: "/"; color: #b9bbb6; }

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* 13. Departures board (shop and product pages) ------------------------- */

.board {
  padding: clamp(12px, 2vw, 20px);
  border-radius: var(--radius-l);
  background: var(--dark);
  color: var(--on-dark);
}

.board__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 10px 12px 20px;
}

.board__title {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  font-stretch: var(--stretch-wide);
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.board__meta,
.board__cols,
.board__group {
  color: var(--on-dark-muted);
  font: 500 11px/1.3 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.board__meta { margin: 0; }

.board__cols,
.board__row {
  display: grid;
  grid-template-columns: 44px 70px minmax(0, 1fr) 96px 76px 132px;
  gap: 16px;
  align-items: center;
}

.board__cols {
  padding: 12px;
  border-top: 1px solid var(--dark-line);
}

.board__group {
  margin: 0;
  padding: 18px 12px 10px;
  border-top: 1px solid var(--dark-line);
  color: var(--teal);
}

.board__list {
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}

.board__row {
  min-height: 64px;
  padding: 10px 12px;
  border-radius: var(--radius-s);
  color: var(--on-dark);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.board__row:hover { background: var(--dark-2); }

.board__row[aria-current="page"] {
  background: #13292a;
  box-shadow: inset 0 0 0 1px var(--teal);
}

.board__thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.board__dest {
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.board__access,
.board__fare {
  font: 500 14px/1.3 var(--font-mono);
  white-space: nowrap;
}

.board__access { color: var(--on-dark-muted); }
.board__fare { color: var(--white); }

.board__status {
  justify-self: start;
  padding: 6px 10px;
  border: 1px solid #3d4146;
  border-radius: var(--pill);
  color: #d4d7da;
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.board__row:hover .board__status { border-color: var(--teal); color: var(--teal); }

/* Flap tiles read a little lighter against the board itself. */
.board .flaps > span {
  background: linear-gradient(to bottom, #31353a 0 calc(50% - 0.5px), #060607 calc(50% - 0.5px) calc(50% + 0.5px), #25282c calc(50% + 0.5px));
}

/* Phones: name and fare first, then code, access and remarks. */
@media (max-width: 759px) {
  .board__cols { display: none; }
  .board__row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "dest dest fare"
      "code access status";
    gap: 8px 12px;
    padding: 14px 12px;
  }
  .board__thumb { display: none; }
  .board__row > .flaps { grid-area: code; }
  .board .flaps > span { width: 18px; height: 24px; font-size: 13px; }
  .board__dest { grid-area: dest; font-size: 16px; }
  .board__fare { grid-area: fare; justify-self: end; }
  .board__access { grid-area: access; font-size: 13px; }
  .board__status { grid-area: status; justify-self: end; padding: 5px 8px; font-size: 10px; }
  .board__list li + li .board__row { border-top: 1px solid #1d1f22; border-radius: 0; }
  .board__row[aria-current="page"] { border-radius: var(--radius-s) !important; }
}

/* 14. Product pages ------------------------------------------------------ */

.product {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.product__media {
  aspect-ratio: 1;
  max-width: 460px;
}

.product__info .eyebrow { gap: 12px; }
.product__title { margin: 0 0 20px; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; }

.product__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1;
}

.product__price small {
  color: var(--muted);
  font: 500 13px/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Boarding-pass style facts. */
.ticket {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
}

.ticket > div { padding: 14px 16px; }
.ticket > div + div { border-left: 1px dashed #cfd0cc; }

.ticket dt {
  margin-bottom: 6px;
  color: var(--muted);
  font: 500 11px/1.2 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticket dd {
  margin: 0;
  font-weight: 600;
}

.note {
  margin: 16px 0 0;
  color: var(--muted);
  font: 500 11px/1.4 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shop-intro { margin-bottom: clamp(28px, 4vw, 40px); }

@media (max-width: 899px) {
  .product { grid-template-columns: minmax(0, 1fr); }
  .product__media { max-width: 420px; }
}

@media (max-width: 599px) {
  .ticket { grid-template-columns: minmax(0, 1fr); }
  .ticket > div + div { border-top: 1px dashed #cfd0cc; border-left: 0; }
}

/* 15. Inner pages -------------------------------------------------------- */

.page-head--slim { padding-bottom: clamp(20px, 3vw, 32px); }

.wide-figure {
  margin: 0 0 clamp(40px, 6vw, 72px);
}

.wide-figure img { width: 100%; }

/* Main column with a narrow aside, e.g. About Us. */
.with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.aside-sticky { position: sticky; top: 24px; }

/* Logbook-style facts card. */
.logbook {
  padding: 24px;
  border-radius: var(--radius-m);
  background: var(--surface);
}

.logbook dl { margin: 0 0 20px; }

.logbook dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed #c9cac5;
}

.logbook dt {
  color: var(--muted);
  font: 500 11px/1.6 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logbook dd { margin: 0; font-weight: 600; text-align: right; }

.signature {
  margin-top: 1.4em;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  font-stretch: var(--stretch-wide);
}

/* Numbered checklist cards (Features, Ground School). */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.checklist li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
  counter-increment: item;
}

.checklist li::before {
  content: counter(item, decimal-leading-zero);
  min-width: 34px;
  padding: 5px 0 4px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  font: 500 12px/1 var(--font-mono);
  text-align: center;
}

.checklist--ticks li::before {
  content: "";
  min-width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23111214' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Flight plan: numbered waypoints joined by a dashed track. */
.route {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: waypoint;
}

.route li {
  position: relative;
  min-height: 40px;
  padding: 8px 0 28px 64px;
  counter-increment: waypoint;
}

.route li::before {
  content: counter(waypoint, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  font: 500 13px/1 var(--font-mono);
}

.route li::after {
  content: "";
  position: absolute;
  top: 46px;
  bottom: 6px;
  left: 19px;
  border-left: 2px dashed #b9bbb6;
}

.route li:last-child { padding-bottom: 0; }
.route li:last-child::after { display: none; }
.route li:last-child::before { border-color: var(--teal); background: var(--teal); }

/* Price cards with a checkout button. */
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 24px;
  height: 100%;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-l);
  background: var(--dark);
  color: var(--on-dark);
}

.price-card__label {
  margin: 0 0 8px;
  color: var(--teal);
  font: 500 11px/1.3 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-card__name { margin: 0 0 10px; color: var(--white); font-size: 18px; font-weight: 600; line-height: 1.35; }

.price-card__price {
  margin: 0;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1;
}

/* Fare table (Intensive PPL hourly bundles). */
.fare-table {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.fare-table th,
.fare-table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: middle;
}

.fare-table thead th {
  background: var(--surface);
  color: var(--muted);
  font: 500 11px/1.4 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fare-table tbody th { font-weight: 600; }
.fare-table tbody th,
.fare-table tbody td { border-top: 1px solid var(--line); }

.fare-table td {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  font-stretch: 108%;
  white-space: nowrap;
}

.section-title { margin-bottom: 0.6em; font-size: clamp(28px, 3.4vw, 40px); }
.stack > * + * { margin-top: clamp(40px, 6vw, 64px); }
.measure { max-width: 720px; }

/* Testimonials. */
.quotes { display: grid; gap: 16px; }
.quotes .quote { padding: clamp(24px, 3.5vw, 36px); gap: 8px 20px; }
.quotes .quote::before { font-size: clamp(64px, 7vw, 84px); }
.quotes .quote blockquote { font-size: clamp(18px, 1.7vw, 20px); }

.split--center { align-items: center; }

/* Contact details. */
.contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.contact-list > div {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
}

.contact-list dt {
  color: var(--muted);
  font: 500 11px/1.4 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list dd { margin: 6px 0 0; font-size: 18px; font-weight: 600; line-height: 1.45; }
.contact-list dd a { display: inline-flex; align-items: center; min-height: var(--tap); }

.form-card { padding: clamp(24px, 4vw, 40px); }
.form-card h2 + .notice { margin-top: -4px; }
.form .notice { margin-bottom: 4px; }
.with-aside--left { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
.prose small { color: var(--muted); font-size: 15px; }
.form-card h2 { font-size: clamp(24px, 3vw, 32px); }
.form-narrow { max-width: 520px; }
.form-links { margin: 0; text-align: right; }
.form-links a { display: inline-flex; align-items: center; min-height: var(--tap); }

@media (max-width: 899px) {
  .with-aside,
  .split { grid-template-columns: minmax(0, 1fr); }
  .aside-sticky { position: static; }
}

@media (max-width: 699px) {
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .fare-table,
  .fare-table tbody,
  .fare-table tr,
  .fare-table th,
  .fare-table td { display: block; }
  .fare-table { border: 0; border-radius: 0; overflow: visible; }
  .fare-table thead { display: none; }
  .fare-table tbody tr {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
  }
  .fare-table tbody th { padding: 14px 18px; border: 0; background: var(--surface); border-radius: var(--radius-m) var(--radius-m) 0 0; }
  .fare-table tbody td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 18px;
    font-size: 20px;
  }
  .fare-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font: 500 11px/1.4 var(--font-mono);
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
}

/* 16. Sample test -------------------------------------------------------- */

.exam { max-width: 780px; }

.questions > section {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
}

.exam_start {
  background: var(--surface);
  text-align: center;
}

.exam_start .btn { margin: 8px 0 18px; }
.exam_start_info { margin: 0; color: var(--muted); }

.question_text_and_image p {
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 500;
  line-height: 1.45;
}

.question_image {
  width: 100%;
  max-width: 468px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
}

.question-answers {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.question-answers button {
  display: flex;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 10px 16px 10px 12px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-s);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.question-answers button:hover { background: var(--surface); }
.question-answers.answered button { cursor: default; }
.question-answers.answered li:not(.selected):not(.correct) button { color: var(--muted); border-color: var(--line); background: var(--white); }

.answer-key {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--teal);
  font: 500 14px/1 var(--font-mono);
  text-transform: uppercase;
}

.question-answers li.selected button { background: var(--teal-wash); border-color: var(--teal-text); }
.question-answers li.correct button { background: #e2f3e8; border-color: #23854a; }
.question-answers li.incorrect button { background: #fbe8e6; border-color: #b23a30; }
.question-answers li.correct .answer-key { background: #23854a; color: var(--white); }
.question-answers li.incorrect .answer-key { background: #b23a30; color: var(--white); }

.explanation {
  margin-top: 10px;
  padding: 12px 16px;
  border-left: 3px solid var(--teal);
  background: var(--surface);
  font-size: 15px;
}

.exam_finish { text-align: center; }
.exam_finish h2 { margin-top: 8px; }

.final_score_percentage {
  margin: 8px 0 16px;
  color: var(--teal-text);
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 112px);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1;
}

.time_expired,
.exam-offline-end { display: none; }
.exam_finish.expired .time_expired { display: block; }
.exam_finish.expired .exam_completed { display: none; }
.is-offline .exam_finish > * { display: none; }
.is-offline .exam_finish > .exam-offline-end { display: block; margin: 0; }

.loader_container { display: grid; place-items: center; min-height: 40px; }

.loader {
  width: 32px;
  height: 32px;
  border: 3px solid var(--line);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

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

/* Status bar under the exam: count, timer, score, next button. */
.exam-bar {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}

@media (max-width: 599px) {
  .exam-bar .btn { flex: 1 1 100%; }
}

.score_and_timer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font: 500 13px/1.4 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.time.expiring { color: #b23a30; }
.next_question_button:disabled { border-color: var(--line); background: var(--surface); color: var(--muted); cursor: not-allowed; }

/* 17. Holding pages (checkout, coming soon, 404) -------------------------- */

.holding {
  padding: clamp(56px, 10vw, 120px) 0 var(--section);
  text-align: center;
}

.holding .eyebrow { justify-content: center; }
.holding h1 { margin: 0 auto 20px; font-size: clamp(48px, 9vw, 96px); }
.holding .lede { margin: 0 auto 32px; }
.holding .actions { justify-content: center; }

.holding__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
  margin-top: 20px;
}

.holding__links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-weight: 500;
}

.holding__contact { margin: 16px 0 0; color: var(--muted); }

/* Remarks strip on the holding pages: label plus split-flap "SOON". */
.remarks {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  margin: 0 0 32px;
  padding: 10px 10px 10px 18px;
  border-radius: var(--radius-s);
  background: var(--dark);
  color: var(--on-dark);
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.remarks .flaps > span {
  background: linear-gradient(to bottom, #31353a 0 calc(50% - 0.5px), #060607 calc(50% - 0.5px) calc(50% + 0.5px), #25282c calc(50% + 0.5px));
}

/* 18. Motion preferences ------------------------------------------------ */

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