/* Tailwind build directives removed for plain static CSS compatibility. */

@font-face {
  font-family: "Frive Jokker";
  src: url("../fonts/primary/FriveJokker-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Frive Jokker";
  src: url("../fonts/primary/FriveJokker-RegularItalic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Frive Jokker";
  src: url("../fonts/primary/FriveJokker-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Frive Jokker";
  src: url("../fonts/primary/FriveJokker-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Frive Jokker";
  src: url("../fonts/primary/FriveJokker-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Frive Jokker";
  src: url("../fonts/primary/FriveJokker-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Frive Jokker";
  src: url("../fonts/primary/JokkerTRIAL-Heavy.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Perfectly Nineties";
  src: url("../fonts/primary/PerfectlyNineties-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Perfectly Nineties";
  src: url("../fonts/primary/PerfectlyNineties-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

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

:root {
  /* GREYSCALE */
  --raw-black: #000000;
  --raw-grey-80: #333333;
  --raw-grey-60: #666666;
  --raw-grey-40: #999999;
  --raw-grey-20: #cccccc;
  --raw-grey-10: #e9e9e9;
  --raw-grey-5: #f2f2f2;
  --raw-grey-1: #fafafa;
  --raw-white: #ffffff;

  /* PRIMARY - KALE */
  --raw-kale-120: #042d1f;
  --raw-kale-100: #053827;
  --raw-kale-80: #376052;
  --raw-kale-60: #69887d;
  --raw-kale-40: #9bafa9;
  --raw-kale-20: #cdd7d4;

  /* PRIMARY - CREAM */
  --raw-cream-100: #f4e9d5;
  --raw-cream-80: #f6eddd;
  --raw-cream-60: #f8f2e6;
  --raw-cream-40: #fbf6ee;
  --raw-cream-33: #fbf8f1;
  --raw-cream-20: #fdfbf7;

  /* SECONDARY - LIME */
  --raw-lime-100: #c6fa5f;
  --raw-lime-80: #d1fb7f;
  --raw-lime-60: #ddfc9f;
  --raw-lime-40: #e8fdbf;
  --raw-lime-20: #f4fedf;

  /* SECONDARY - TOMATO */
  --raw-tomato-120: #cc3a12;
  --raw-tomato-100: #ff4917;
  --raw-tomato-80: #ff6d45;
  --raw-tomato-60: #ff9274;
  --raw-tomato-40: #ffb6a2;
  --raw-tomato-20: #ffdbd1;

  /* SECONDARY - SQUASH */
  --raw-squash-120: #ffb333;
  --raw-squash-100: #fcc66b;
  --raw-squash-80: #fdd189;
  --raw-squash-60: #fddda6;
  --raw-squash-40: #fee8c4;
  --raw-squash-20: #fef4e1;

  /* SECONDARY - EARTH */
  --raw-earth-100: #bbaf80;
  --raw-earth-80: #c9bf99;
  --raw-earth-60: #d6cfb3;
  --raw-earth-40: #e4dfcc;
  --raw-earth-20: #f1efe6;

  /* SECONDARY - AQUA */
  --raw-aqua-100: #bcdee0;
  --raw-aqua-80: #c9e5e6;
  --raw-aqua-60: #d7ebec;
  --raw-aqua-40: #e4f2f3;
  --raw-aqua-20: #f2f8f9;

  /* SECONDARY - MINT */
  --raw-mint-160: #657c4d;
  --raw-mint-100: #a9ce80;
  --raw-mint-80: #bad899;
  --raw-mint-60: #cbe2b3;
  --raw-mint-40: #ddebcc;
  --raw-mint-20: #eef5e6;

  /* UTILITY */
  --raw-red: #ff0000;
  --raw-amber: #ffc400;
  --raw-green: #008000;

  /* SEMANTIC — text */
  --color-text-body: var(--raw-grey-80);
  --color-text-header: var(--raw-grey-80);
  --color-text-muted: var(--raw-grey-60);
  --color-text-body-inverted: var(--raw-white);
  --color-text-header-inverted: var(--raw-white);
  --color-text-muted-inverted: var(--raw-grey-10);
  --color-text-highlight: #9c3616;

  /* SEMANTIC — interactive */
  --color-interactive-primary: var(--raw-kale-100);
  --color-interactive-primary-hover: var(--raw-kale-120);
  --color-interactive-primary-pressed: var(--raw-kale-80);

  --color-interactive-secondary: var(--raw-white);
  --color-interactive-secondary-hover: var(--raw-white);
  --color-interactive-secondary-pressed: var(--raw-white);

  --color-interactive-secondary-border: var(--raw-kale-100);
  --color-interactive-secondary-border-hover: var(--raw-kale-120);
  --color-interactive-secondary-border-pressed: var(--raw-kale-80);

  --color-interactive-selected: var(--raw-kale-100);
  --color-interactive-links: var(--raw-kale-100);

  --color-interactive-primary-inverted: var(--raw-white);
  --color-interactive-primary-hover-inverted: var(--raw-white);
  --color-interactive-primary-pressed-inverted: var(--raw-white);

  --color-interactive-tertiary-background: var(--raw-white);
  --color-interactive-tertiary-border: var(--raw-kale-100);

  --color-interactive-secondary-disabled: var(--raw-kale-20);
  --color-interactive-links-disabled: var(--raw-grey-60);
  --color-interactive-links-inverted: var(--raw-white);

  --color-interactive-secondary-inverted-border: var(--raw-white);
  --color-interactive-secondary-hover-inverted: var(--raw-white);
  --color-interactive-secondary-selected-inverted: var(--raw-white);
  --color-interactive-selected-inverted: var(--raw-white);

  /* SEMANTIC — surfaces */
  --color-surface-background-light-cream: var(--raw-cream-33);
  --color-surface-background-white: var(--raw-white);
  --color-surface-background-light-grey: var(--raw-grey-1);

  --color-surface-background-brand: var(--raw-kale-100);
  --color-surface-background-brand-cream: var(--raw-cream-100);
  --color-surface-background-dark: var(--raw-grey-80);

  --color-surface-border: var(--raw-grey-10);
  --color-surface-background-focus: var(--raw-kale-80);
  --color-surface-border-focus: var(--raw-kale-80);
  --color-surface-border-disabled: var(--raw-grey-5);
  --color-surface-border-inverted: var(--raw-kale-100);

  --color-surface-divider: var(--raw-grey-10);
  --color-surface-divider-inverted: var(--raw-kale-80);

  --color-surface-background-highlight: var(--raw-lime-100);
  --color-surface-background-highlight-price: var(--raw-tomato-100);

  --color-surface-shadow-card: rgba(0, 0, 0, 0.2);
  --color-shadow-ambient-soft: rgba(0, 0, 0, 0.06);
  --color-shadow-ambient-medium: rgba(0, 0, 0, 0.12);
  --color-surface-background-disabled: rgba(0, 0, 0, 0.4);

  --color-surface-background-overscroll: #1a1a1a;
  --color-shadow-card-dark: rgba(34, 34, 34, 0.4);

  --color-surface-background-tag-vegan: var(--raw-mint-100);
  --color-surface-background-tag-seafood: var(--raw-aqua-100);
  --color-surface-background-tag-meat: var(--raw-tomato-100);
  --color-surface-background-tag-spice: var(--raw-tomato-100);
  --color-surface-background-stars: var(--raw-squash-100);

  --color-surface-background-app-chat: #dde3e1;

  /* SPACING — raw scale */
  --spacing-0: 0px;
  --spacing-1: 1px;
  --spacing-2: 2px;
  --spacing-3: 3px;
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-24: 24px;
  --spacing-28: 28px;
  --spacing-32: 32px;
  --spacing-40: 40px;
  --spacing-44: 44px;
  --spacing-48: 48px;
  --spacing-64: 64px;
  --spacing-80: 80px;
  --spacing-96: 96px;

  /* BORDER — stroke widths (independent tokens, not spacing references)
     - border-default: Standard UI borders (form inputs, cards, dividers)
     - border-thick: Accent/highlight borders, form focus states
     Border colours should use existing semantic tokens such as
     --color-surface-border / --color-surface-border-focus. */
  --border-default: 1px;
  --border-thick: 4px;

  /* RADIUS — semantic */
  --radius-form-field: var(--spacing-4);
  --radius-card: var(--spacing-12);
  --radius-button: 100px;
  --radius-card-large: var(--spacing-24);

  /* Shadow recipes — icons foundation / cards (values match prior literals; colours use --color-shadow-ambient-*) */
  --shadow-icon-card-hover: 0 var(--spacing-2) var(--spacing-12) var(--color-shadow-ambient-soft);
  --shadow-icon-switch-thumb: 0 var(--spacing-1) var(--spacing-3) var(--color-shadow-ambient-medium);

  /* LAYOUT — semantic (responsive at 1024px; use var(--layout-margin) / var(--layout-gutter) everywhere) */
  --layout-margin: var(--spacing-16);
  --layout-gutter: var(--spacing-16);
  --layout-content-max-width: 960px;

  /* COMPONENT — Trustpilot */
  --component-trustpilot-stars-max-width: 120px;
  --component-trustpilot-logo-height: 24px;
  --component-cta-button-height: 52px;
}

@media (min-width: 1024px) {
  :root {
    --layout-margin: var(--spacing-80);
    --layout-gutter: var(--spacing-24);
  }
}

html {
  /* Fallback dark tone that matches the image overlay, so iOS safe areas
     and overscroll regions don't flash the default light background. */
  background-color: var(--color-surface-background-overscroll);
}

body {
  margin: 0;
  font-family: inherit;
  position: relative;
  background-color: transparent;
  color: var(--color-text-body);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-background {
  position: fixed;
  inset: 0;
  /* Extend past the viewport so the image blankets the full screen,
     including iOS safe areas and any overscroll regions. */
  margin: calc(-1 * env(safe-area-inset-top, 0px))
    calc(-1 * env(safe-area-inset-right, 0px))
    calc(-1 * env(safe-area-inset-bottom, 0px))
    calc(-1 * env(safe-area-inset-left, 0px));
  z-index: -1;
  pointer-events: none;
  background-color: var(--color-surface-background-overscroll);
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.page-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/london-marathon-bg.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(2px);
  transform: scale(1.08);
  transform-origin: center;
}

.page-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.50) 100%),
    radial-gradient(73.96% 34.14% at 47.01% 30.78%, rgba(255, 255, 255, 0.00) 0%, rgba(0, 0, 0, 0.40) 100%);
}

h1 {
  margin-top: 0;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--spacing-64);
  padding-top: var(--spacing-48);
  padding-bottom: var(--spacing-48);
  padding-right: var(--layout-margin);
  padding-left: var(--layout-margin);
  text-align: left;
}

@media (min-width: 1024px) {
  .hero {
    align-items: center;
    text-align: center;
  }

  .hero__logo {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
    height: 128px;
    width: auto;
  }

  .content-hero,
  .content-hero__stack {
    align-items: center;
  }
}

.hero__logo {
  display: block;
  align-self: center;
  margin: 0;
  height: 96px;
  width: auto;
  max-width: 100%;
}

@media (max-width: 1023px) {
  .hero__logo {
    align-self: flex-start;
  }
}

.content-hero {
  width: 100%;
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--spacing-48);
}

.content-hero__stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-48);
}

.content-hero__stack > * {
  width: 100%;
}

.content-hero .type-hero-2,
.content-hero .type-headline-3-heavy,
.content-hero .type-headline-3-highlight,
.content-hero .type-headline-3-highlight-underline {
  color: var(--color-text-header-inverted);
  text-shadow: -4px 4px 8px rgba(0, 0, 0, 0.24);
}

.content-hero__uppercase {
  text-transform: uppercase;
}

.content-hero__highlight {
  color: var(--color-surface-background-highlight);
}

.form {
  width: 100%;
  height: auto;
  padding: 0 var(--layout-margin);
  margin-top: calc(-1 * var(--spacing-64));
  margin-bottom: var(--spacing-64);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.container-form {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: var(--spacing-24);
  padding: var(--spacing-24) var(--spacing-16);
  border-radius: var(--radius-card-large);
  box-shadow: -4px 4px 8px 0 var(--color-shadow-card-dark);
  background: var(--color-surface-background-brand);
  color: var(--color-text-body-inverted);
}

@media (min-width: 1024px) {
  .container-form {
    width: 50%;
    max-width: none;
  }
}

.container-form .container-form__intro {
  color: var(--color-text-header-inverted);
}

.container-form__field-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-8);
}

.container-form__fieldset {
  margin: 0;
  padding: 0;
  border: none;
  min-inline-size: 0;
}

.container-form__form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--spacing-24);
}

.container-form .container-form__label {
  color: var(--color-text-body-inverted);
}

.container-form__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-8);
}

.container-form .container-form__error-message {
  color: var(--raw-red);
  display: inline-block;
}

.container-form__error-message.is-hidden {
  display: none;
}

.container-form__input {
  width: 100%;
  min-height: var(--spacing-48);
  padding: var(--spacing-12) var(--spacing-16);
  border: var(--border-default) solid var(--color-surface-border);
  border-radius: var(--radius-form-field);
  background: var(--raw-grey-5);
  color: var(--color-text-body);
  outline: none;
  box-shadow: inset 0 0 0 0 var(--color-surface-background-highlight);
}

.container-form__input::placeholder {
  color: var(--color-text-muted);
}

/* Override to 16px minimum prevents iOS Safari from zooming the viewport on input focus.
   The type-body class sets 14px at mobile, which triggers the zoom. */
.container-form .container-form__input.type-body {
  font-size: 16px;
}

.container-form__input:focus,
.container-form__input:focus-visible {
  border-color: var(--color-surface-border);
  box-shadow: inset 0 0 0 var(--border-thick) var(--color-surface-background-highlight);
}

.container-form__input[aria-invalid="true"] {
  border-color: var(--raw-red);
  box-shadow: inset 0 0 0 var(--border-thick) var(--raw-red);
}

.container-form__input[aria-invalid="true"]:focus,
.container-form__input[aria-invalid="true"]:focus-visible {
  border-color: var(--raw-red);
  box-shadow: inset 0 0 0 var(--border-thick) var(--raw-red);
}

.container-form__time-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-8);
}

.container-form .cta-button {
  width: 100%;
  min-height: var(--component-cta-button-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-8);
  box-sizing: border-box;
  max-width: 100%;
  height: auto;
  padding: var(--spacing-4) var(--spacing-4) var(--spacing-4) var(--spacing-48);
  border: none;
  border-radius: var(--radius-button);
  background-color: var(--color-surface-background-highlight-price);
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.container-form .cta-button:focus-visible {
  outline: var(--border-thick) solid var(--color-surface-background-highlight);
  outline-offset: var(--spacing-4);
}

@media (min-width: 1024px) {
  .container-form .cta-button {
    width: -moz-fit-content;
    width: fit-content;
    align-self: center;
    max-width: 100%;
  }

  .container-form .cta-button-label {
    flex: 0 0 auto;
    width: auto;
    align-self: center;
  }
}

.container-form .cta-button-label {
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-text-body-inverted);
}

@media (min-width: 1024px) {
  .container-form .cta-button-label {
    flex: 0 0 auto;
    width: auto;
    align-self: center;
  }
}

.container-form .cta-button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
  width: calc(var(--component-cta-button-height) - (2 * var(--spacing-4)));
  height: calc(var(--component-cta-button-height) - (2 * var(--spacing-4)));
  overflow: visible;
}

.container-form .cta-button-icon img {
  height: 100%;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.container-form .container-form__terms {
  color: var(--color-text-body-inverted);
}

.container-form .container-form__terms .type-callout-bold {
  color: var(--color-text-body-inverted);
}

.m-0 {
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY TOKENS  (mobile-first, desktop override)
   Format: --type-{role}-{property}
   Highlight variants get separate tokens as sizes differ.
   ═══════════════════════════════════════════════════════ */

:root {
  /* hero-1 */
  --type-hero-1-size: 32px;
  --type-hero-1-lh: 40px;
  --type-hero-1-hl-size: 32px;    /* no mobile highlight variant — falls back to hero-1 */
  --type-hero-1-hl-lh: 40px;

  /* hero-2 */
  --type-hero-2-size: 40px;
  --type-hero-2-lh: 48px;
  --type-hero-2-hl-size: 56px;
  --type-hero-2-hl-lh: 48px;

  /* headline-1 */
  --type-h1-size: 36px;
  --type-h1-lh: 44px;
  --type-h1-hl-size: 48px;
  --type-h1-hl-lh: 40px;
  --type-h1-bold-hl-size: 36px;   /* no mobile variant — falls back to h1 */
  --type-h1-bold-hl-lh: 44px;

  /* headline-2 */
  --type-h2-size: 28px;
  --type-h2-lh: 36px;
  --type-h2-hl-size: 40px;
  --type-h2-hl-lh: 36px;
  --type-h2-bold-hl-size: 28px;   /* no mobile variant — falls back to h2 */
  --type-h2-bold-hl-lh: 36px;

  /* headline-3 */
  --type-h3-size: 20px;
  --type-h3-lh: 28px;
  --type-h3-hl-size: 28px;
  --type-h3-hl-lh: 28px;

  /* sub-headline */
  --type-sub-size: 18px;
  --type-sub-lh: 24px;
  --type-sub-hl-size: 26px;
  --type-sub-hl-lh: 24px;

  /* body */
  --type-body-size: 14px;
  --type-body-lh: 24px;
  --type-body-heavy-hl-size: 20px;
  --type-body-heavy-hl-lh: 24px;

  /* callout */
  --type-callout-size: 12px;
  --type-callout-lh: 20px;
  --type-callout-heavy-hl-size: 16px;
  --type-callout-heavy-hl-lh: 20px;

  /* footnote */
  --type-footnote-size: 10px;
  --type-footnote-lh: 16px;

  /* menu */
  --type-menu-size: 16px;
  --type-menu-lh: 24px;
  --type-menu-sm-size: 14px;
  --type-menu-sm-lh: 24px;

  /* button */
  --type-button-size: 24px;
  --type-button-lh: 32px;

  /* cta */
  --type-cta-size: 16px;
  --type-cta-lh: 24px;
  --type-cta-sm-size: 12px;
  --type-cta-sm-lh: 20px;
}

@media (min-width: 1024px) {
  :root {
    /* hero-1 */
    --type-hero-1-size: 64px;
    --type-hero-1-lh: 72px;
    --type-hero-1-hl-size: 68px;
    --type-hero-1-hl-lh: 72px;

    /* hero-2 */
    --type-hero-2-size: 52px;
    --type-hero-2-lh: 60px;
    --type-hero-2-hl-size: 68px;
    --type-hero-2-hl-lh: 60px;

    /* headline-1 */
    --type-h1-size: 48px;
    --type-h1-lh: 56px;
    --type-h1-hl-size: 68px;
    --type-h1-hl-lh: 56px;
    --type-h1-bold-hl-size: 51px;
    --type-h1-bold-hl-lh: 56px;

    /* headline-2 */
    --type-h2-size: 32px;
    --type-h2-lh: 38px;
    --type-h2-hl-size: 46px;
    --type-h2-hl-lh: 38px;
    --type-h2-bold-hl-size: 30px;
    --type-h2-bold-hl-lh: 36px;

    /* headline-3 */
    --type-h3-size: 24px;
    --type-h3-lh: 32px;
    --type-h3-hl-size: 32px;
    --type-h3-hl-lh: 34px;

    /* sub-headline */
    --type-sub-size: 18px;
    --type-sub-lh: 28px;
    --type-sub-hl-size: 26px;
    --type-sub-hl-lh: 28px;

    /* body */
    --type-body-size: 16px;
    --type-body-lh: 24px;
    --type-body-heavy-hl-size: 24px;
    --type-body-heavy-hl-lh: 24px;

    /* callout */
    --type-callout-size: 14px;
    --type-callout-lh: 20px;
    --type-callout-heavy-hl-size: 20px;
    --type-callout-heavy-hl-lh: 20px;

    /* footnote */
    --type-footnote-size: 12px;
    --type-footnote-lh: 16px;

    /* menu */
    --type-menu-size: 14px;
    --type-menu-lh: 20px;
    /* menu-small: same as mobile */

    /* button, cta: same as mobile */
  }
}


/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY COLOURS — semantic text colour per role
   ═══════════════════════════════════════════════════════ */

[class^="type-hero"],
[class^="type-headline"],
[class^="type-sub-headline"],
.type-button {
  color: var(--color-text-header);
}

[class^="type-body"],
[class^="type-callout"],
[class^="type-footnote"],
[class^="type-menu"],
.type-link,
.type-cta-small {
  color: var(--color-text-body);
}


/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY CLASSES
   Usage: apply a single class to set the full type style.
   ═══════════════════════════════════════════════════════ */

/* --- Hero --- */
.type-hero-1 {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-hero-1-size);
  line-height: var(--type-hero-1-lh);
  font-weight: 400;
  font-style: normal;
}
.type-hero-1-highlight {
  font-family: "Perfectly Nineties", serif;
  font-size: var(--type-hero-1-hl-size);
  line-height: var(--type-hero-1-hl-lh);
  font-weight: 400;
  font-style: italic;
}

.type-hero-2 {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-hero-2-size);
  line-height: var(--type-hero-2-lh);
  font-weight: 800;
  font-style: normal;
}
.type-hero-2-highlight {
  font-family: "Perfectly Nineties", serif;
  font-size: var(--type-hero-2-hl-size);
  line-height: var(--type-hero-2-hl-lh);
  font-weight: 400;
  font-style: italic;
}

/* --- Headline 1 --- */
.type-headline-1 {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-h1-size);
  line-height: var(--type-h1-lh);
  font-weight: 400;
  font-style: normal;
}
.type-headline-1-bold {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-h1-size);
  line-height: var(--type-h1-lh);
  font-weight: 700;
  font-style: normal;
}
.type-headline-1-heavy {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-h1-size);
  line-height: var(--type-h1-lh);
  font-weight: 800;
  font-style: normal;
}
.type-headline-1-highlight {
  font-family: "Perfectly Nineties", serif;
  font-size: var(--type-h1-hl-size);
  line-height: var(--type-h1-hl-lh);
  font-weight: 400;
  font-style: italic;
}
.type-headline-1-bold-highlight {
  font-family: "Perfectly Nineties", serif;
  font-size: var(--type-h1-bold-hl-size);
  line-height: var(--type-h1-bold-hl-lh);
  font-weight: 400;
  font-style: italic;
}

/* --- Headline 2 --- */
.type-headline-2 {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-h2-size);
  line-height: var(--type-h2-lh);
  font-weight: 400;
  font-style: normal;
}
.type-headline-2-bold {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-h2-size);
  line-height: var(--type-h2-lh);
  font-weight: 700;
  font-style: normal;
}
.type-headline-2-heavy {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-h2-size);
  line-height: var(--type-h2-lh);
  font-weight: 800;
  font-style: normal;
}
.type-headline-2-highlight {
  font-family: "Perfectly Nineties", serif;
  font-size: var(--type-h2-hl-size);
  line-height: var(--type-h2-hl-lh);
  font-weight: 400;
  font-style: italic;
}
.type-headline-2-bold-highlight {
  font-family: "Perfectly Nineties", serif;
  font-size: var(--type-h2-bold-hl-size);
  line-height: var(--type-h2-bold-hl-lh);
  font-weight: 400;
  font-style: italic;
}

/* --- Headline 3 --- */
.type-headline-3 {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-h3-size);
  line-height: var(--type-h3-lh);
  font-weight: 400;
  font-style: normal;
}
.type-headline-3-bold {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-h3-size);
  line-height: var(--type-h3-lh);
  font-weight: 700;
  font-style: normal;
}
.type-headline-3-heavy {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-h3-size);
  line-height: var(--type-h3-lh);
  font-weight: 800;
  font-style: normal;
}
.type-headline-3-highlight {
  font-family: "Perfectly Nineties", serif;
  font-size: var(--type-h3-hl-size);
  line-height: var(--type-h3-hl-lh);
  font-weight: 400;
  font-style: italic;
}

.type-headline-3-highlight-underline {
  font-family: "Perfectly Nineties", serif;
  font-size: var(--type-h3-hl-size);
  line-height: var(--type-h3-hl-lh);
  font-weight: 400;
  font-style: italic;
  position: relative;
  display: inline-block;
  z-index: 0;
  padding-bottom: var(--spacing-2);
}

.type-headline-3-highlight-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--spacing-8);
  background: url("../assets/img-highlight-underline.svg") no-repeat left bottom / 100% 100%;
  z-index: -1;
  pointer-events: none;
}

/* --- Sub-headline --- */
.type-sub-headline {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-sub-size);
  line-height: var(--type-sub-lh);
  font-weight: 400;
  font-style: normal;
}
.type-sub-headline-medium {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-sub-size);
  line-height: var(--type-sub-lh);
  font-weight: 500;
  font-style: normal;
}
.type-sub-headline-bold {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-sub-size);
  line-height: var(--type-sub-lh);
  font-weight: 700;
  font-style: normal;
}
.type-sub-headline-heavy {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-sub-size);
  line-height: var(--type-sub-lh);
  font-weight: 800;
  font-style: normal;
}
.type-sub-headline-highlight {
  font-family: "Perfectly Nineties", serif;
  font-size: var(--type-sub-hl-size);
  line-height: var(--type-sub-hl-lh);
  font-weight: 400;
  font-style: italic;
}

/* --- Body --- */
.type-body {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-body-size);
  line-height: var(--type-body-lh);
  font-weight: 400;
  font-style: normal;
}
.type-body-highlight {
  font-family: "Perfectly Nineties", serif;
  font-size: var(--type-body-size);
  line-height: var(--type-body-lh);
  font-weight: 400;
  font-style: italic;
}
.type-body-medium {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-body-size);
  line-height: var(--type-body-lh);
  font-weight: 500;
  font-style: normal;
}
.type-body-bold {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-body-size);
  line-height: var(--type-body-lh);
  font-weight: 700;
  font-style: normal;
}
.type-body-heavy {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-body-size);
  line-height: var(--type-body-lh);
  font-weight: 800;
  font-style: normal;
}
.type-body-heavy-highlight {
  font-family: "Perfectly Nineties", serif;
  font-size: var(--type-body-heavy-hl-size);
  line-height: var(--type-body-heavy-hl-lh);
  font-weight: 400;
  font-style: italic;
}

/* --- Link --- */
.type-link {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-body-size);
  line-height: var(--type-body-lh);
  font-weight: 400;
  font-style: normal;
  text-decoration: underline;
}

/* --- Button --- */
.type-button {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-button-size);
  line-height: var(--type-button-lh);
  font-weight: 800;
  font-style: normal;
}

/* --- CTA --- */
.type-cta-default {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-cta-size);
  line-height: var(--type-cta-lh);
  font-weight: 700;
  font-style: normal;
  text-align: center;
}
.type-cta-default-uppercase {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-cta-size);
  line-height: var(--type-cta-lh);
  font-weight: 700;
  font-style: normal;
  text-align: center;
  text-transform: uppercase;
}
.type-cta-small {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-cta-sm-size);
  line-height: var(--type-cta-sm-lh);
  font-weight: 400;
  font-style: normal;
}

/* --- Callout --- */
.type-callout {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-callout-size);
  line-height: var(--type-callout-lh);
  font-weight: 400;
  font-style: normal;
}
.type-callout-highlight {
  font-family: "Perfectly Nineties", serif;
  font-size: var(--type-callout-size);
  line-height: var(--type-callout-lh);
  font-weight: 400;
  font-style: italic;
}
.type-callout-medium {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-callout-size);
  line-height: var(--type-callout-lh);
  font-weight: 500;
  font-style: normal;
}
.type-callout-bold {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-callout-size);
  line-height: var(--type-callout-lh);
  font-weight: 700;
  font-style: normal;
}
.type-callout-heavy {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-callout-size);
  line-height: var(--type-callout-lh);
  font-weight: 800;
  font-style: normal;
}
.type-callout-heavy-highlight {
  font-family: "Perfectly Nineties", serif;
  font-size: var(--type-callout-heavy-hl-size);
  line-height: var(--type-callout-heavy-hl-lh);
  font-weight: 400;
  font-style: italic;
}
.type-callout-link {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-callout-size);
  line-height: var(--type-callout-lh);
  font-weight: 400;
  font-style: normal;
  text-decoration: underline;
}

/* --- Footnote --- */
.type-footnote {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-footnote-size);
  line-height: var(--type-footnote-lh);
  font-weight: 400;
  font-style: normal;
}
.type-footnote-bold {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-footnote-size);
  line-height: var(--type-footnote-lh);
  font-weight: 700;
  font-style: normal;
}
.type-footnote-link {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-footnote-size);
  line-height: var(--type-footnote-lh);
  font-weight: 400;
  font-style: normal;
  text-decoration: underline;
}

/* --- Menu --- */
.type-menu {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-menu-size);
  line-height: var(--type-menu-lh);
  font-weight: 400;
  font-style: normal;
}
.type-menu-small {
  font-family: "Frive Jokker", sans-serif;
  font-size: var(--type-menu-sm-size);
  line-height: var(--type-menu-sm-lh);
  font-weight: 400;
  font-style: normal;
}


/* ═══════════════════════════════════════════════════════
   WHY FRIVE SECTION
   (standalone section, no header/footer/nav)
   ═══════════════════════════════════════════════════════ */
#why-frive.why-frive {
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--spacing-64) var(--layout-margin);
  margin-bottom: var(--spacing-64);
  background-image: linear-gradient(
    180deg,
    rgba(250, 250, 250, 0) 0.25%,
    rgba(250, 250, 250, 0.9) 12.2%,
    rgba(250, 250, 250, 0.9) 91.7%,
    rgba(250, 250, 250, 0) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--spacing-48);
  align-items: flex-start;
}

.why-frive__heading {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-0);
}

.why-frive__heading-line1 {
  margin: 0;
  text-transform: uppercase;
  color: var(--color-text-header);
}

.why-frive__heading-line2 {
  margin: 0;
  text-transform: lowercase;
  color: var(--color-text-header);
}

.why-frive__cards-row {
  /* Scroll container: add a small internal gutter so shadows aren't clipped at the
     scrollport edges, while keeping alignment to the section padding. */
  width: calc(100% + (2 * var(--layout-margin)));
  margin-left: calc(-1 * var(--layout-margin));
  margin-right: calc(-1 * var(--layout-margin));
  display: flex;
  flex-wrap: nowrap;
  gap: var(--spacing-16);
  overflow-x: auto;
  overflow-y: visible;
  padding: var(--spacing-8) var(--layout-margin) var(--spacing-24) var(--layout-margin);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge Legacy */
}

.why-frive__cards-row::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* On larger viewports, keep the row as a single, non-wrapping line. */
@media (min-width: 1024px) {
  .why-frive__heading {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap; /* force a single line on desktop */
  }

  .why-frive__heading-line1,
  .why-frive__heading-line2 {
    display: inline;
    white-space: nowrap;
  }

  .why-frive__heading-line1 {
    margin-right: var(--spacing-12); /* space between the two <p> elements */
  }

  .why-frive__cards-row {
    overflow-x: visible;
    overflow-y: visible;
    width: 100%;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--spacing-24);
  }
}

.why-frive__card {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 274 / 487;
  border-radius: var(--radius-card);
  border: var(--border-thick) solid var(--color-surface-border);
  /* `filter: drop-shadow` tends to render outside scroll containers better than `box-shadow`. */
  box-shadow: none;
  filter: drop-shadow(-4px 4px 4px var(--color-shadow-card-dark));
  overflow: visible; /* keep default painting, shadows/filters can spill outside */
}

@media (max-width: 1023px) {
  .why-frive__card {
    flex: 0 0 auto;
    width: 274px;
    height: 487px;
    aspect-ratio: auto;
  }
}

.why-frive__card-media {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.why-frive__card-gradient {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  background: linear-gradient(
    58.8deg,
    rgb(0, 0, 0) 1.6%,
    rgba(102, 102, 102, 0) 65.2%
  );
  pointer-events: none;
  z-index: 1;
}

.why-frive__card-text {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: var(--spacing-12);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-12);
}

.why-frive__card-title {
  margin: 0;
  text-transform: uppercase;
  color: var(--color-text-body-inverted);
}

@media (min-width: 1024px) {
  .why-frive__card-title.type-headline-1-heavy {
    font-size: var(--type-h2-size);
    line-height: var(--type-h2-lh);
  }
}

/* Narrow desktop: reduce headline size to prevent vertical overflow in cards */
@media (min-width: 1024px) and (max-width: 1099px) {
  .why-frive__card-title.type-headline-1-heavy {
    font-size: var(--type-h3-size);
    line-height: var(--type-h3-lh);
  }
}

.why-frive__card-subtitle {
  margin: 0;
  color: var(--color-text-body-inverted);
}

.cta-pill-highlight {
  width: 100%;
  height: var(--component-cta-button-height);
  border: none;
  border-radius: var(--radius-button);
  background: var(--color-surface-background-highlight-price);
  color: var(--color-text-body-inverted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-align: center;
  font-family: "Frive Jokker", sans-serif;
  font-weight: 800;
  font-size: var(--type-button-size);
  line-height: var(--type-button-lh);
}

.cta-pill-highlight:hover {
  background: var(--raw-tomato-120);
}

.cta-pill-highlight:focus-visible {
  outline: var(--border-thick) solid var(--color-surface-background-highlight);
  outline-offset: var(--spacing-4);
}

@media (min-width: 1024px) {
  .cta-pill-highlight {
    width: max-content;
    min-width: max-content;
    max-width: 100%;
    align-self: center;
    padding: 0 var(--spacing-32);
  }
}

.why-frive__cta {
  padding: 0 var(--spacing-16);
}

/* ═══════════════════════════════════════════════════════
   FOOTER (closing section)
   ═══════════════════════════════════════════════════════ */
#footer.footer {
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--spacing-24) var(--layout-margin) var(--spacing-64) var(--layout-margin);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-48);
  align-items: flex-start;
  justify-content: flex-start;
  background: transparent;
  color: var(--color-text-body-inverted);
}

@media (min-width: 1024px) {
  #footer.footer {
    align-items: center;
    text-align: center;
  }

  /* Exclude pill CTA: width 100% would override .cta-pill-highlight max-content hug */
  #footer.footer > *:not(.what-30-gets-you__cta) {
    width: 100%;
  }

  .what-30-gets-you__body > p {
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
  }
}

.what-30-gets-you__headline {
  width: 100%;
  text-transform: uppercase;
  color: var(--color-text-header-inverted);
}

.what-30-gets-you__headline-highlight {
  color: var(--raw-lime-100);
}

.what-30-gets-you__body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24);
  color: var(--color-text-body-inverted);
}

.what-30-gets-you__hero {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-0);
  text-transform: uppercase;
  color: var(--color-text-header-inverted);
}

.what-30-gets-you__subheading {
  width: 100%;
  text-transform: uppercase;
  color: var(--raw-lime-100);
}

.what-30-gets-you__cta {
  /* Vertical only: avoid `padding` shorthand overriding `.cta-pill-highlight` horizontal `--spacing-32` on desktop */
  padding-block: var(--spacing-4);
  text-transform: uppercase;
}

.what-30-gets-you__logo-slot {
  width: 100%;
  flex: 1 0 0%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

@media (min-width: 1024px) {
  #footer.footer .what-30-gets-you__logo-slot {
    align-items: center;
  }
}

.what-30-gets-you__logo {
  height: var(--spacing-96);
  width: auto;
  display: block;
}
