/* ============================================================
   LG Guarantee Microsite — Shared Stylesheet
   ============================================================
   DESIGN TOKEN AUDIT — extracted from Figma vJptwkXxWxb6jc75VMO8kR
   Desktop reg form: node 53:708 | Mobile reg form: node 85:715

   TYPE SCALE
   ──────────
   Raw → Rationalised
   14px → 14px  (footer body text — kept as-is)
   16px → 16px  (nav links, button text, footer links — kept as-is)
   18px → 18px  (form labels, inputs, body paragraphs, error text — kept as-is)
   24px → 24px  (card section headings / h2 — kept as-is)
   30px → 32px  (mobile h1 — rationalised from 30px to nearest 8px grid)
   48px → 48px  (desktop h1 — kept as-is)

   SPACING SCALE (8px grid)
   ──────────────────────────
   Raw → Rationalised
    8px  →  8px  (section header padding — kept as-is)
    9px  →  8px  (label-to-input gap — rationalised)
   14px  → 16px  (input vertical padding — rationalised)
   16px  → 16px  (input horizontal padding, button padding — kept as-is)
   19px  → 20px  (footer internal gap — rationalised)
   20px  → 20px  (input grid row gap — kept as-is)
   24px  → 24px  (mobile card horizontal padding — kept as-is)
   25px  → 24px  (input grid column gap — rationalised)
   27px  → 24px  (personal details inner gap — rationalised)
   31px  → 32px  (product/consent inner gap — rationalised)
   34px  → 32px  (mobile footer vertical padding — rationalised)
   36px  → 36px  (nav horizontal padding desktop, section gap — kept as-is)
   56px  → 56px  (card vertical padding, page section top — kept as-is)
   64px  → 64px  (card horizontal padding desktop — kept as-is)
   80px  → 80px  (page horizontal padding desktop — kept as-is)
   89px  → 88px  (nav height — rationalised)
   98px  → 96px  (page bottom padding desktop — rationalised)
  110px  → 112px (footer desktop vertical padding — rationalised)

   BORDER RADIUS
   ─────────────
   6px  → --radius-sm  (inputs, buttons, checkboxes)
   32px → --radius-lg  (white card sections)

   COLOUR PALETTE
   ──────────────
   #f1ede4  → --color-bg          (warm cream page background)
   #ffffff  → --color-surface     (white card background)
   #d4d0ca  → --color-border-nav  (nav bottom border)
   #000000  → --color-text        (primary text)
   #646464  → --color-text-muted  (form labels, placeholders)
   #838586  → --color-border      (input/checkbox borders, upload zone)
   #d7362a  → --color-accent      (required asterisk, checkbox fill, inline links)
   #a50034  → --color-error       (error input border, error message text)
   #ea1817  → --color-brand-red   (CTA button background)
   #333333  → --color-footer-bg   (footer background)
   #f1ede4  → --color-footer-text (footer text — same value as page bg)

   FONT WEIGHTS IN USE
   ────────────────────
   LGEIHeadline Light    (300) — footer body copy (14px)
   LGEIHeadline Regular  (400) — form labels, input placeholders, footer links, error text
   LGEIHeadline Semibold (600) — h1 page title, h2 card section headings
   LGEIText Regular      (400) — nav links, button text, body paragraphs

   UNUSED WEIGHTS — not loaded; add @font-face below if needed:
   LGEIHeadline-Thin.woff2     (weight 100)
   LGEIHeadline-Bold.woff2     (weight 700)
   LGEIText-Light.woff2        (weight 300)
   LGEIText-SemiBold.woff2     (weight 600)
   LGEIText-Bold.woff2         (weight 700)
   ============================================================ */

/* ============================================================
   @font-face — used weights only
   ============================================================ */

@font-face {
  font-family: 'LGEIHeadline';
  src: url('../fonts/LGEIHeadline-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: 'LGEIHeadline';
  src: url('../fonts/LGEIHeadline-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

/* ============================================================
   Custom properties — design tokens
   ============================================================ */

:root {
  /* Font families */
  --font-headline: 'LGEIHeadline', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-text: 'LGEIText', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Type scale */
  --text-xs:   0.875rem;  /* 14px — footer body */
  --text-sm:   1rem;      /* 16px — nav links, button, footer links */
  --text-base: 1.125rem;  /* 18px — labels, inputs, body, error */
  --text-lg:   1.5rem;    /* 24px — card section headings */
  --text-xl:   2rem;      /* 32px — mobile h1 (rationalised from 30px) */
  --text-2xl:  3rem;      /* 48px — desktop h1 */

  /* Colours */
  --color-bg:          #f1ede4;
  --color-surface:     #ffffff;
  --color-border-nav:  #d4d0ca;
  --color-text:        #000000;
  --color-text-muted:  #646464;
  --color-border:      #838586;
  --color-accent:      #d7362a;
  --color-error:       #a50034;
  --color-brand-red:   #ea1817;
  --color-footer-bg:   #333333;
  --color-footer-text: #f1ede4;

  /* Border radius */
  --radius-sm: 6px;   /* inputs, buttons, checkboxes */
  --radius-lg: 32px;  /* card sections */

  /* Spacing (8px grid) */
  --space-1:  0.5rem;    /*  8px */
  --space-2:  1rem;      /* 16px */
  --space-3:  1.25rem;   /* 20px */
  --space-4:  1.5rem;    /* 24px */
  --space-5:  2rem;      /* 32px */
  --space-6:  2.25rem;   /* 36px */
  --space-7:  3.5rem;    /* 56px */
  --space-8:  4rem;      /* 64px */
  --space-9:  5rem;      /* 80px */
  --space-10: 5.5rem;    /* 88px — nav height */
  --space-11: 6rem;      /* 96px — page section bottom padding */
  --space-12: 7rem;      /* 112px — footer desktop vertical padding */

  /* Component sizes */
  --container-max: 900px;
  --input-height:  3rem;     /* 48px */
  --nav-height:    var(--space-10);
}

/* ============================================================
   Base reset
   ============================================================ */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-text);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: var(--font-headline);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* ============================================================
   Utilities
   ============================================================ */

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

.text-center { text-align: center; }

[hidden] { display: none !important; }

/* ============================================================
   Layout
   ============================================================ */

.page-wrapper {
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ============================================================
   Navigation
   ============================================================ */

.site-nav {
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding-inline: var(--space-6);
  z-index: 100;
}

.site-nav__logo {
  display: block;
  height: 32px;
  width: 73px;
  flex-shrink: 0;
}

.site-nav__logo img {
  height: 100%;
  width: auto;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
}

.site-nav__link {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  padding: 4px 8px;
  position: relative;
}

/* Red underline animates in from left on hover */
.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-brand-red);
  transition: width 300ms ease;
}

.site-nav__link:hover::after {
  width: 100%;
}

/* Active page link always shows the underline */
.site-nav__link[aria-current="page"]::after {
  width: 100%;
}

/* Sibling fade: dim all links when any is hovered, restore the hovered one */
.site-nav__links:hover .site-nav__link {
  opacity: 0.5;
  transition: opacity 200ms ease;
}

.site-nav__links:hover .site-nav__link:hover {
  opacity: 1;
}

.site-nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  width: 31px;
  height: 24px;
  flex-shrink: 0;
}

.site-nav__hamburger span {
  display: block;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 15px;
  position: absolute;
  transition: transform 300ms ease, opacity 200ms ease;
}

.site-nav__hamburger span:nth-child(1) { width: 31px; top: 0;    left: 0; }
.site-nav__hamburger span:nth-child(2) { width: 25px; top: 11px; left: 6px; }
.site-nav__hamburger span:nth-child(3) { width: 31px; top: 22px; left: 0; }

/* Hamburger → X when drawer is open */
.site-nav__hamburger.is-active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.site-nav__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.site-nav__hamburger.is-active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* ============================================================
   Mobile nav overlay + drawer
   ============================================================ */

.nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 300ms ease, visibility 300ms ease;
  display: none;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85vw;
  max-width: 400px;
  background-color: var(--color-bg);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 300ms ease;
  overflow-y: auto;
  display: none;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.nav-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--space-4);
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.nav-drawer__link::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--color-text);
  border-top: 1.5px solid var(--color-text);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.nav-drawer__link:hover {
  opacity: 0.7;
}

.nav-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding-inline: var(--space-4);
  border-bottom: 1px solid var(--color-border-nav);
  flex-shrink: 0;
}

.nav-drawer__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Page section (wraps heading + cards)
   ============================================================ */

.page-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-7) var(--space-9) var(--space-11);
  flex: 1;
}

.section-heading {
  width: 100%;
  max-width: var(--container-max);
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--color-text);
}

.section-heading h1 {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: var(--text-2xl);
  line-height: 1;
}

.section-heading p {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.22;
}

/* ============================================================
   Cards
   ============================================================ */

.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-8);
  width: 100%;
  max-width: var(--container-max);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card__header {
  display: flex;
  align-items: center;
  padding-top: var(--space-1);
}

/* 12px gap between heading and body copy in non-form cards (e.g. confirmation) */
.card > div > h2 {
  margin-bottom: 12px;
}

.card__header h2 {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: var(--text-lg);
  line-height: 1;
  color: var(--color-text);
  white-space: nowrap;
}

.card__header + .form-fields,
.card__header + .form-row,
.card__header + .checkbox-group {
  margin-top: 12px;
}

/* ============================================================
   Form layout
   ============================================================ */

.form-fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-4);
  row-gap: var(--space-3);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

/* ============================================================
   Form labels & inputs
   ============================================================ */

.form-label {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1;
  display: block;
}

.form-label .required {
  color: var(--color-accent);
}

.form-input,
.form-select {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  height: var(--input-height);
  padding: 14px var(--space-2);
  width: 100%;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input::placeholder,
.form-select::placeholder {
  font-size: var(--text-sm);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-text-muted);
  box-shadow: 0 0 0 2px rgba(100, 100, 100, 0.15);
}

.form-input--error {
  border: 2px solid var(--color-error);
}

.form-input--error:focus {
  border: 2px solid var(--color-error);
  box-shadow: none;
}

.form-select {
  background-image: url('../icons/form-dropdown-chevron.svg');
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.input-icon-wrapper {
  position: relative;
  width: 100%;
}

.input-icon-right {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 100%;
  cursor: pointer;
}

.form-error {
  display: flex;
  align-items: center;
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: var(--text-sm);
  line-height: 1.4;
  padding: 12px 16px;
  border-radius: 6px;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.form-hint {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.4;
  text-align: center;
}

/* ============================================================
   File upload zone
   ============================================================ */

.upload-zone {
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  min-height: 238px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  padding: 14px var(--space-2);
  width: 100%;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.upload-zone:hover {
  border-color: var(--color-text-muted);
  background-color: rgba(241, 237, 228, 0.4);
}

.upload-zone__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--color-accent);
}

/* ============================================================
   Upload status bar (shown after file selection)
   ============================================================ */

.upload-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: var(--text-sm);
}

.upload-status--success {
  background-color: #f0faf0;
  border: 1px solid #c6e6c6;
  color: #1a7a1a;
}

.upload-status__remove {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: opacity 200ms ease;
}

.upload-status__remove:hover {
  opacity: 1;
}

/* ============================================================
   Checkboxes
   ============================================================ */

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.checkbox-input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-surface);
  cursor: pointer;
  position: relative;
}

.checkbox-input:checked::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

.checkbox-label {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.27;
  cursor: pointer;
}

.checkbox-label a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-brand-red);
  color: #ffffff;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: var(--text-sm);
  line-height: 1.22;
  height: 40px;
  width: auto;
  min-width: 160px;
  align-self: flex-start;
  padding-inline: var(--space-2);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-primary:active {
  opacity: 0.8;
}

.card .btn-primary {
  margin-top: 20px;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 65px var(--space-9);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.site-footer__logo {
  display: block;
  height: 32px;
  width: 73px;
  flex-shrink: 0;
}

.site-footer__logo img {
  height: 100%;
  width: auto;
}

.site-footer__body {
  font-family: var(--font-headline);
  font-weight: 300;
  font-size: var(--text-xs);
  color: var(--color-footer-text);
  line-height: 1.3;
}

.site-footer__links {
  display: flex;
  gap: 10px;
  list-style: none;
  flex-wrap: wrap;
}

.site-footer__link {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: var(--text-sm);
  color: var(--color-footer-text);
  text-decoration: underline;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.site-footer__link:hover {
  opacity: 0.7;
}

/* ============================================================
   Reference bar (Registration ID display below nav)
   ============================================================ */

.reference-bar {
  background-color: #e5e1d6;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 50px;
  padding-inline: var(--space-6);
}

.reference-bar__inner {
  width: 100%;
  max-width: var(--container-max);
  display: flex;
  justify-content: flex-end;
}

.reference-bar__text {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.15;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ============================================================
   Reference badge (registration ID pill inside card)
   ============================================================ */

.reference-badge {
  display: inline-block;
  padding: 14px 29px;
  background-color: var(--color-bg);
  border-radius: 7px;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 1.75rem; /* 28px — Figma nodes 55:1344 / 91:1481 */
  line-height: 1.15;
  color: var(--color-text);
}

/* ============================================================
   Back-to-top (fixed, appears after 200px scroll)
   ============================================================ */

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-surface);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   Hero — landing page (full-bleed image right, text overlay left)
   ============================================================ */

.hero {
  position: relative;
  min-height: 540px;
  width: 100%;
  overflow: hidden;
  background-color: #e8e8ea;
}

.hero__image-wrapper {
  position: absolute;
  inset: 0 0 0 33%;
  display: block;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: 88px var(--space-9);
  width: 50%;
  min-height: 540px;
  justify-content: center;
}

.hero__heading {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 56px;
  line-height: 0.855;
  color: var(--color-text);
  margin: 0;
}

.hero__subheading {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: 37px;
  line-height: 1;
  color: var(--color-text);
  margin-top: 6px;
}

.hero__body {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.22;
  color: var(--color-text);
  max-width: 403px;
}

.hero__cta {
  align-self: flex-start;
}

.hero__disclaimer {
  font-family: var(--font-text);
  font-weight: 300;
  font-size: 12px;
  line-height: 1.22;
  color: var(--color-text);
  max-width: 350px;
}

/* ============================================================
   How It Works — step cards (4-up grid desktop, 2-up scroll-snap mobile)
   ============================================================ */

.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 117px var(--space-9) 90px;
  width: 100%;
}

.steps__heading {
  width: 100%;
  max-width: var(--container-max);
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--color-text);
}

.steps__heading h2 {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 48px;
  line-height: 1;
}

.steps__heading p {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.22;
}

.steps__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
  max-width: var(--container-max);
}

.step-card {
  background-color: var(--color-surface);
  border-radius: 32px;
  padding: 50px var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 289px;
  color: var(--color-text);
}

.step-card__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: var(--color-text);
  display: block;
}

.step-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.step-card__title {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 27px;
  line-height: 1;
  color: var(--color-text);
  margin-top: auto;
}

.step-card__body {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.22;
  color: var(--color-text);
}

.steps__nav {
  display: none;
}

.steps__nav-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.steps__nav-btn:hover {
  opacity: 0.7;
}

.steps__nav-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* ============================================================
   FAQ accordion
   ============================================================ */

.faq {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
  padding: 0 var(--space-9) 124px;
  width: 100%;
}

.faq__heading {
  width: 100%;
  max-width: var(--container-max);
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--color-text);
}

.faq__heading h2 {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 48px;
  line-height: 1;
}

.faq__heading p {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.22;
}

.faq__list {
  width: 100%;
  max-width: var(--container-max);
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.faq-item {
  background-color: var(--color-surface);
  border-radius: 32px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  color: var(--color-text);
  text-align: left;
}

.faq-chevron {
  width: 21.5px;
  height: 12px;
  flex-shrink: 0;
  color: var(--color-text);
  transition: transform 300ms ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

.faq-answer > p {
  padding: 0 38px 24px;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.22;
  color: var(--color-text);
}

.faq-item.is-open .faq-answer {
  max-height: 600px;
}

/* ============================================================
   Policy pages (privacy / terms) — no card wrapper, cream bg
   ============================================================ */

.policy {
  max-width: var(--container-max);
  padding: 0 0 var(--space-12);
  margin: 0 auto;
  width: 100%;
}

.policy__section {
  margin-bottom: var(--space-8);
}

.policy__section h2 {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: var(--text-lg);
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--color-text);
}

.policy__section p {
  font-family: var(--font-text);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: 12px;
  color: var(--color-text);
}

.policy__section ul,
.policy__section ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 12px;
}

.policy__section ol {
  list-style: decimal;
}

.policy__section li {
  font-family: var(--font-text);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: 6px;
  color: var(--color-text);
}

.policy__section a {
  color: var(--color-brand-red);
  text-decoration: underline;
}

/* ============================================================
   Tablet — max-width: 1024px (nav hamburger trigger)
   ============================================================ */

@media (max-width: 1024px) {
  .site-nav {
    padding-inline: var(--space-2);
  }

  .site-nav__links {
    display: none;
  }

  .site-nav__hamburger {
    display: block;
  }

  .nav-overlay,
  .nav-drawer {
    display: block;
  }
}

/* ============================================================
   Mobile — max-width: 768px
   ============================================================ */

@media (max-width: 768px) {
  /* Page section */
  .page-section {
    padding: var(--space-7) 18px var(--space-7);
  }

  /* H1 */
  .section-heading h1 {
    font-size: var(--text-xl); /* 32px — rationalised from Figma 30px */
  }

  /* Cards */
  .card {
    padding: var(--space-7) var(--space-4);
  }

  /* Form rows collapse to single column */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .site-footer {
    padding: 40px 18px;
  }

  /* Hero — text first, image below */
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: visible;
  }

  .hero__content {
    position: static;
    width: 100%;
    min-height: 0;
    padding: 18px var(--space-4);
    gap: 15px;
    justify-content: flex-start;
  }

  .hero__heading {
    font-size: 44px;
  }

  .hero__subheading {
    font-size: 30px;
  }

  .hero__image-wrapper {
    position: static;
    inset: auto;
    width: 100%;
    max-height: 440px;
  }

  .hero__image {
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: cover;
  }

  /* Steps — horizontal scroll-snap, 2 visible at a time */
  .steps {
    padding: 56px var(--space-4);
    align-items: stretch;
    gap: 36px;
  }

  .steps__heading h2 {
    font-size: 30px;
  }

  .steps__track {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .steps__track::-webkit-scrollbar {
    display: none;
  }

  .step-card {
    flex: 0 0 calc(50% - 8px);
    scroll-snap-align: start;
  }

  .steps__nav {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    width: 100%;
  }

  /* FAQ */
  .faq {
    padding: 0 var(--space-4) 56px;
    gap: 36px;
  }

  .faq__heading h2 {
    font-size: 30px;
  }

  .faq-question {
    padding: 24px;
    font-size: 20px;
  }

  .faq-answer > p {
    padding: 0 24px 24px;
  }

  /* Policy pages */
  .policy {
    padding: 0 0 var(--space-12);
  }
}
