/* Global type — single source (replaces per-page <link> font loads) */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,500;1,400;1,500&family=Space+Grotesk:wght@500;700&family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&family=Inter+Tight:wght@600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

:root {
  color-scheme: light;
  /* Figma design tokens — colors */
  --color-background: #ffffff;
  --color-surface: #ffffff;
  --color-surface-soft: #e1effd;   /* background/tertiary (footer, soft panels) */
  --color-surface-muted: #f6f8fb;
  --color-success-bg: #dde6f2;     /* background/success (info boxes, badges) */
  --color-tag: #fbebe3;            /* background/secondary (tag pills) */
  --color-border: #c2d4e9;         /* border/decorative */
  --color-border-strong: #91a1bf;  /* border/interactive */
  --color-heading: #2c384b;        /* text/heading */
  --color-body: #566071;           /* text/body */
  --color-muted: #6c727c;          /* text/body-muted */
  --color-disabled-text: #747d82;  /* text/disabled (stepper upcoming) */
  --color-disabled-border: #d4d3d6;/* border/interactive-disabled */
  --color-primary: #ff6b35;        /* legacy homepage accent */
  --color-primary-strong: #ea5520;
  --color-brand: #e26d42;          /* button/background-default (orange CTA) */
  --color-cta: #6077a1;            /* border/interactive-hover (active/select) */
  --color-cta-hover: #52698f;
  --color-ink: #1e2127;            /* dark buttons (Apple Pay) */
  --color-success: #0eaf61;        /* brand/offer (SSL, success) */
  --shadow-medium: 0 12px 42px -4px rgba(1, 15, 49, 0.12), 0 8px 18px -6px rgba(1, 15, 49, 0.12);
  --shadow-card: 0 8px 9px rgba(1, 15, 49, 0.12), 0 12px 21px rgba(1, 15, 49, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 24px;
  --radius-pill: 320px;
  --max-page: 1208px;
  --font-heading: "Crimson Pro", Georgia, "Times New Roman", serif;
  --font-display: "Space Grotesk", Inter, system-ui, sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  left: 16px;
  position: absolute;
  top: -48px;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #edf2f7;
  position: sticky;
  top: 0;
  z-index: 50;
}

.support-strip {
  background: var(--color-surface-soft);
  color: var(--color-heading);
  font-size: 13px;
}

.support-strip__inner,
.nav,
.section,
.footer__inner {
  margin: 0 auto;
  max-width: var(--max-page);
  padding-left: 24px;
  padding-right: 24px;
}

.support-strip__inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: center;
  min-height: 36px;
}

.nav {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  min-height: 80px;
}

.brand {
  align-items: center;
  color: var(--color-heading);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  gap: 12px;
  line-height: 30px;
  text-decoration: none;
}

.brand__mark {
  align-items: center;
  background: var(--color-heading);
  border-radius: var(--radius-md);
  color: #fff;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.nav__links {
  align-items: center;
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  color: var(--color-body);
  font-size: 14px;
  text-decoration: none;
}

.nav__links a:hover {
  color: var(--color-heading);
}

.button {
  align-items: center;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  font-weight: 600;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button--primary {
  background: var(--color-cta);
  color: #fff;
}

.button--primary:hover {
  background: var(--color-cta-hover);
}

.button--dark {
  background: var(--color-ink);
  color: #fff;
}

.button--accent {
  background: var(--color-primary);
  color: #fff;
}

.button--accent:hover {
  background: var(--color-primary-strong);
}

.button--secondary {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-heading);
}

.section {
  padding-bottom: 72px;
  padding-top: 72px;
}

.section--compact {
  padding-bottom: 40px;
  padding-top: 40px;
}

.eyebrow {
  color: var(--color-primary);
  font-size: 12px;
  letter-spacing: 1.5px;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.heading-xl,
.heading-lg,
.heading-md {
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0;
  margin: 0;
}

.heading-xl {
  font-size: clamp(46px, 8vw, 86px);
  line-height: 0.95;
  max-width: 780px;
}

.heading-lg {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
}

.heading-md {
  font-size: 36px;
  line-height: 1.1;
}

.lead {
  color: var(--color-body);
  font-size: 20px;
  margin: 20px 0 0;
  max-width: 700px;
}

.hero {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  min-height: 640px;
  padding-top: 48px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__media {
  align-self: center;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
}

.trust-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item,
.step-card,
.feature-card,
.offer-card,
.info-card,
.legal-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.trust-item {
  background: var(--color-surface-soft);
  color: var(--color-heading);
  font-size: 14px;
  padding: 18px;
}

.section-heading {
  margin: 0 auto 40px;
  max-width: 940px;
  text-align: center;
}

.grid-3 {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}

.step-card,
.feature-card,
.offer-card {
  background: var(--color-surface);
  padding: 24px;
}

.step-card__number {
  align-items: center;
  background: var(--color-primary);
  border-radius: var(--radius-pill);
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  height: 28px;
  justify-content: center;
  margin-bottom: 18px;
  width: 48px;
}

.icon-circle {
  align-items: center;
  background: var(--color-surface-soft);
  border-radius: var(--radius-lg);
  color: var(--color-heading);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 16px;
  width: 48px;
}

.card-title {
  color: var(--color-heading);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 10px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
}

.offer-card__price {
  color: var(--color-heading);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin: 12px 0;
}

.offer-card__image {
  background: linear-gradient(135deg, #f8fbff, var(--color-surface-soft));
  border-radius: var(--radius-lg);
  margin: 16px 0;
  min-height: 130px;
  padding: 18px;
}

.letter-mini {
  background: #fff;
  border: 1px solid #d6e2f2;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 32px rgba(44, 56, 75, 0.12);
  height: 120px;
  margin: 0 auto;
  max-width: 160px;
  padding: 20px;
}

.letter-line {
  background: #cbd8ea;
  border-radius: 2px;
  height: 6px;
  margin-bottom: 8px;
}

.letter-line:nth-child(2) {
  width: 72%;
}

.letter-line:nth-child(3) {
  margin-top: 20px;
  width: 88%;
}

.letter-line:nth-child(4) {
  width: 64%;
}

.offer-card .button {
  margin-top: auto;
}

.date-panel,
.payment-shell {
  background: var(--color-surface-soft);
}

.date-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-medium);
  margin: 0 auto;
  max-width: 760px;
  padding: 32px;
}

.list-check {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.list-check li {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.list-check li::before {
  color: var(--color-success);
  content: "✓";
  flex: 0 0 auto;
  font-weight: 700;
}

.site-footer {
  background: var(--color-surface-soft);
  color: var(--color-body);
  font-size: 14px;
}

.footer__inner {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding-bottom: 32px;
  padding-top: 32px;
}

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

.footer__links a {
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--color-heading);
}

.payment-page {
  background: var(--color-background);
}

.payment-layout {
  align-items: flex-start;
  display: grid;
  gap: 24px;
  grid-template-columns: 720px 360px;
  justify-content: center;
  padding: 40px 24px 56px;
}

.payment-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-medium);
  padding: 40px;
}

.payment-card__heading {
  margin-bottom: 28px;
  text-align: center;
}

.payment-price {
  align-items: center;
  color: var(--color-heading);
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 20px;
}

.card-logos {
  display: inline-flex;
  gap: 16px;
}

.card-logo {
  align-items: center;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 54px;
}

.field-grid {
  display: grid;
  gap: 16px;
}

.field-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.field label {
  color: var(--color-body);
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.field input,
.field textarea {
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  color: var(--color-heading);
  min-height: 52px;
  padding: 12px 16px;
  width: 100%;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.checkboxes {
  display: grid;
  gap: 16px;
  margin: 16px 0;
}

.checkbox {
  align-items: flex-start;
  color: var(--color-body);
  display: flex;
  font-size: 12px;
  gap: 10px;
}

.checkbox input {
  accent-color: var(--color-cta);
  height: 18px;
  margin-top: 1px;
  width: 18px;
}

.secure-line {
  align-items: center;
  color: var(--color-success);
  display: flex;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  margin: 24px 0 16px;
}

.payment-actions {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.descriptor {
  color: var(--color-muted);
  font-size: 12px;
  margin: 16px 0 0;
  text-align: center;
}

.side-panel {
  display: grid;
  gap: 16px;
}

.side-panel__box {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 24px;
}

.side-panel__copy {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

/* Checkout page chrome: centered logo header + slim footer */
.nav--center {
  justify-content: center;
}

.eyebrow--muted {
  color: var(--color-muted);
}

.list-check--muted {
  gap: 16px;
  margin: 16px 0 0;
}

.list-check--muted li {
  color: var(--color-body);
  font-size: 14px;
}

.list-check--muted li::before {
  color: var(--color-border-strong);
}

.site-footer--checkout {
  background: var(--color-surface-soft);
}

.footer-slim {
  align-items: center;
  color: var(--color-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px;
  justify-content: center;
  margin: 0 auto;
  max-width: var(--max-page);
  min-height: 66px;
  padding: 0 24px;
}

.footer-slim a {
  color: var(--color-muted);
  text-decoration: none;
}

.footer-slim a:hover {
  color: var(--color-heading);
}

.footer-slim__sep {
  color: var(--color-border-strong);
}

.legal-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 300px;
}

.legal-card {
  background: var(--color-surface);
  padding: 32px;
}

.legal-card h2 {
  color: var(--color-heading);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  margin: 32px 0 12px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  max-width: 78ch;
}

.notice {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-lg);
  color: #9a3412;
  padding: 16px;
}

[data-needs-confirmation] {
  background: rgba(255, 247, 237, 0.62);
  border-radius: 4px;
  padding: 0 3px;
}

.mobile-menu-button {
  display: none;
}

@media (max-width: 980px) {
  .hero,
  .grid-3,
  .grid-2,
  .trust-row,
  .footer__inner,
  .payment-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .payment-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  .payment-card {
    padding: 24px;
  }
}

@media (max-width: 760px) {
  .support-strip {
    display: none;
  }

  .nav {
    min-height: 64px;
  }

  .brand {
    font-size: 20px;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .nav__links {
    background: #fff;
    border-bottom: 1px solid #edf2f7;
    display: none;
    gap: 0;
    left: 0;
    padding: 12px 24px 24px;
    position: absolute;
    right: 0;
    top: 64px;
  }

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

  .nav__links a {
    display: block;
    padding: 12px 0;
  }

  .nav > .button {
    display: none;
  }

  .section {
    padding-bottom: 52px;
    padding-top: 52px;
  }

  .heading-xl {
    font-size: 48px;
  }

  .hero__actions,
  .payment-actions,
  .field-row {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    display: grid;
  }

  .payment-price {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ============================================================
   Checkout page — pixel-faithful port of Figma step-5-payment
   Frame 3326:30969 (1600 wide, content 1104 centered)
   ============================================================ */
.co {
  background: #fff;
  color: var(--color-body);
  font-family: var(--font-body);
}

.co-nav {
  align-items: center;
  background: #fff;
  display: flex;
  height: 80px;
  justify-content: center;
}

.co-logo {
  color: var(--color-heading);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.co-main {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1104px;
  padding: 40px 16px 56px;
}

/* ---- left column: payment card ---- */
.co-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 9px rgba(1, 15, 49, 0.12), 0 12px 21px rgba(1, 15, 49, 0.12);
  box-sizing: content-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px;
  width: 640px;
}

.co-title {
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  text-align: center;
}

.co-payment {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.co-price {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: center;
}

.co-price__text {
  color: var(--color-heading);
  font-size: 16px;
  margin: 0;
}

.co-price__text strong {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.co-cards {
  display: flex;
  gap: 16px;
}

.co-cardlogo {
  align-items: center;
  background: #fff;
  border: 1.28px solid #dfdfdf;
  border-radius: 6.4px;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 54px;
}

.co-cardlogo__mc { height: 16px; width: 27px; }
.co-cardlogo__visa { height: 13px; width: 41px; }

/* ---- form ---- */
.co-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.co-field {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.co-label {
  color: var(--color-body);
  font-size: 12px;
  font-weight: 600;
}

.co-input {
  align-items: center;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border-strong);
  border-radius: 12px;
  display: flex;
  gap: 8px;
  padding: 12px 16px;
}

.co-input__icon {
  flex: 0 0 auto;
  height: 24px;
  width: 24px;
}

.co-input input {
  background: transparent;
  border: 0;
  color: var(--color-muted);
  flex: 1 0 0;
  font-size: 16px;
  min-width: 0;
  outline: none;
  padding: 0;
}

.co-input input::placeholder { color: var(--color-muted); }

.co-row {
  display: flex;
  gap: 16px;
}

/* ---- checkboxes ---- */
.co-checks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.co-check {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 8px;
}

.co-check input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.co-check__box {
  border: 1px solid var(--color-border-strong);
  border-radius: 4px;
  flex: 0 0 auto;
  height: 20px;
  position: relative;
  width: 20px;
}

.co-check input:checked + .co-check__box {
  background: var(--color-cta);
  border-color: var(--color-cta);
}

.co-check input:checked + .co-check__box::after {
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  height: 9px;
  left: 7px;
  position: absolute;
  top: 3px;
  transform: rotate(45deg);
  width: 5px;
}

.co-check input:focus-visible + .co-check__box {
  outline: 2px solid var(--color-cta);
  outline-offset: 2px;
}

.co-check__label {
  color: var(--color-body);
  font-size: 12px;
}

/* ---- SSL line ---- */
.co-ssl {
  align-items: center;
  color: var(--color-success);
  display: flex;
  font-family: "Inter Tight", var(--font-body);
  font-size: 16px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  line-height: 24px;
  margin: 0;
}

.co-ssl img { height: 24px; width: 24px; }

/* ---- buttons ---- */
.co-buttons {
  display: flex;
  gap: 16px;
}

.co-btn {
  align-items: center;
  border: 0;
  border-radius: 320px;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex: 1 0 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  gap: 8px;
  justify-content: center;
  min-width: 0;
  padding: 12px 16px;
}

.co-btn img { height: 24px; width: 24px; }
.co-btn--primary { background: var(--color-cta); }
.co-btn--dark { background: var(--color-ink); }

.co-descriptor {
  color: var(--color-body);
  font-size: 12px;
  margin: 0;
  text-align: center;
}

/* ---- right column ---- */
.co-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 360px;
}

.co-offers {
  border: 1px solid var(--color-border);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.co-offers__title {
  color: var(--color-heading);
  font-size: 12px;
  letter-spacing: 1.5px;
  margin: 0;
  text-transform: uppercase;
}

.co-offers__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.co-offers__list li {
  align-items: center;
  color: var(--color-body);
  display: flex;
  font-size: 14px;
  gap: 8px;
  height: 24px;
}

.co-offers__list img {
  flex: 0 0 auto;
  height: 12px;
  width: 16px;
}

.co-publisher {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

/* ---- footer ---- */
.co-footer {
  align-items: center;
  background: var(--color-surface-soft);
  display: flex;
  justify-content: center;
  padding: 24px 16px;
}

.co-footer p {
  color: var(--color-body);
  font-size: 14px;
  margin: 0;
  text-align: center;
}

/* ---- responsive ---- */
@media (max-width: 880px) {
  .co-main {
    align-items: stretch;
    flex-direction: column;
    max-width: 640px;
  }
  .co-card { width: auto; box-sizing: border-box; padding: 24px; }
  .co-side { width: auto; }
}

/* ============================================================
   Funnel steps 1-4 — pixel-faithful port of Figma desktop frames
   Shared chrome reuses .co-nav / .co-logo / .co-main / .co-side / .co-footer
   ============================================================ */
.fn-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 9px rgba(1, 15, 49, 0.12), 0 12px 21px rgba(1, 15, 49, 0.12);
  box-sizing: content-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px;
  width: 640px;
}

.fn-title {
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  text-align: center;
}

.fn-title em {
  color: var(--color-brand);
  font-style: italic;
}

/* ---- accordion ---- */
.fn-acc {
  border: 1px solid var(--color-border-strong);
  border-radius: 12px;
}

.fn-acc > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 24px;
}

.fn-acc > summary::-webkit-details-marker { display: none; }

.fn-acc__icon {
  flex: 0 0 auto;
  height: 24px;
  width: 24px;
}

.fn-acc__badge {
  align-items: center;
  background: var(--color-success-bg);
  border-radius: 6px;
  display: flex;
  flex: 0 0 auto;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.fn-acc__badge img { height: 12px; width: 10px; }

.fn-acc__text { flex: 1 0 0; min-width: 0; }
.fn-acc__text strong {
  color: var(--color-heading);
  display: block;
  font-size: 16px;
  font-weight: 600;
}
.fn-acc__text span {
  color: var(--color-body);
  display: block;
  font-size: 14px;
}
.fn-acc__text em {
  color: var(--color-muted);
  display: block;
  font-size: 12px;
  font-style: italic;
}

.fn-acc__chev {
  flex: 0 0 auto;
  height: 24px;
  transition: transform 160ms ease;
  width: 24px;
}
.fn-acc[open] .fn-acc__chev { transform: rotate(180deg); }

.fn-acc__body {
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 24px;
  padding: 16px 0 24px;
}

/* ---- radios ---- */
.fn-radios { display: flex; gap: 24px; }
.fn-radio { align-items: center; cursor: pointer; display: flex; gap: 8px; }
.fn-radio input { position: absolute; opacity: 0; height: 0; width: 0; }
.fn-radio__dot {
  border: 1px solid var(--color-border-strong);
  border-radius: 320px;
  flex: 0 0 auto;
  height: 20px;
  position: relative;
  width: 20px;
}
.fn-radio input:checked + .fn-radio__dot { border-color: var(--color-cta); }
.fn-radio input:checked + .fn-radio__dot::after {
  background: var(--color-cta);
  border-radius: 320px;
  content: "";
  height: 14px;
  left: 2px;
  position: absolute;
  top: 2px;
  width: 14px;
}
.fn-radio span { color: var(--color-body); font-size: 14px; }
.fn-radio input:checked ~ span { font-weight: 600; }

/* ---- fields ---- */
.fn-field { display: flex; flex: 1 0 0; flex-direction: column; gap: 8px; min-width: 0; }
.fn-field--w152 { flex: 0 0 152px; }
.fn-label { color: var(--color-body); font-size: 12px; font-weight: 600; }
.fn-input,
.fn-select {
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  gap: 8px;
  padding: 12px 16px;
}
.fn-select { border-color: var(--color-border-strong); justify-content: space-between; }
.fn-input input {
  background: transparent;
  border: 0;
  color: var(--color-muted);
  flex: 1 0 0;
  font-size: 14px;
  min-width: 0;
  outline: none;
  padding: 0;
}
.fn-input input::placeholder { color: var(--color-muted); }
.fn-select span { color: var(--color-body); font-size: 14px; }
.fn-select img { height: 24px; width: 24px; }
.fn-row { display: flex; gap: 16px; }

/* ---- right column: progression + details ---- */
.fn-panel {
  border: 1px solid var(--color-border);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}
.fn-panel__title {
  color: var(--color-heading);
  font-size: 12px;
  letter-spacing: 1.5px;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.fn-stepper { display: flex; flex-direction: column; gap: 12px; }
.fn-step { align-items: center; display: flex; gap: 16px; }
.fn-step__num {
  align-items: center;
  border: 1px solid var(--color-disabled-border);
  border-radius: 320px;
  color: var(--color-disabled-text);
  display: flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.fn-step__label { color: var(--color-disabled-text); font-size: 12px; }
.fn-step.is-done .fn-step__num { border-color: var(--color-border); color: var(--color-body); }
.fn-step.is-done .fn-step__label { color: var(--color-body); }
.fn-step.is-active .fn-step__num {
  background: var(--color-cta);
  border-color: var(--color-cta);
  color: #fff;
}
.fn-step.is-active .fn-step__label { color: var(--color-cta); font-weight: 600; }

/* ---- step-2 option cards ---- */
.fn-option {
  align-items: center;
  border: 1px solid var(--color-border-strong);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  gap: 16px;
  padding: 24px;
  text-decoration: none;
}
.fn-option__badge {
  align-items: center;
  background: var(--color-success-bg);
  border-radius: 6px;
  display: flex;
  flex: 0 0 auto;
  height: 48px;
  justify-content: center;
  width: 48px;
}
.fn-option__badge img { height: 24px; width: 24px; }
.fn-option__text { flex: 1 0 0; min-width: 0; }
.fn-option__text strong {
  color: var(--color-heading);
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.fn-option__text span { color: var(--color-body); display: block; font-size: 14px; }
.fn-option__arrow { flex: 0 0 auto; height: 24px; width: 24px; }

.fn-cta {
  align-items: center;
  background: var(--color-brand);
  border: 0;
  border-radius: 28px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  gap: 12px;
  justify-content: center;
  padding: 10px 16px;
  text-decoration: none;
}
.fn-cta img { height: 24px; width: 24px; }

.fn-detail-box {
  background: var(--color-success-bg);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
}
.fn-detail-box__head { align-items: center; display: flex; gap: 8px; justify-content: center; }
.fn-detail-box__head img { height: 16px; width: 16px; }
.fn-detail-box__head strong { color: var(--color-heading); font-size: 14px; font-weight: 600; }
.fn-detail-box p { color: var(--color-body); font-size: 12px; margin: 0; }
.fn-detail-box p strong { font-weight: 600; }

@media (max-width: 880px) {
  .fn-card { width: auto; box-sizing: border-box; padding: 24px; }
}

/* ---- step-3 letter type cards + print options ---- */
.fn-letter {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  gap: 16px;
  padding: 24px;
  position: relative;
}
.fn-letter.is-selected { border-color: var(--color-cta); }
.fn-letter__badge {
  background: var(--color-cta);
  border-radius: 320px;
  color: #fff;
  font-size: 12px;
  left: 15px;
  letter-spacing: 1.5px;
  padding: 4px 8px;
  position: absolute;
  text-transform: uppercase;
  top: -13px;
}
.fn-letter__left { display: flex; flex: 1 0 0; flex-direction: column; gap: 12px; min-width: 0; }
.fn-letter__head { align-items: baseline; display: flex; gap: 10px; }
.fn-letter__head .fn-radio__dot { align-self: center; }
.fn-letter__name { color: var(--color-heading); font-size: 16px; font-weight: 600; }
.fn-letter__name small { color: var(--color-body); font-size: 14px; font-weight: 400; }
.fn-letter__desc { color: var(--color-body); font-size: 14px; margin: 0; }
.fn-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fn-tag {
  background: var(--color-tag);
  border-radius: 320px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
}
.fn-letter__right { align-items: flex-end; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.fn-letter__price { color: var(--color-heading); font-size: 16px; font-weight: 600; white-space: nowrap; }
.fn-letter__env { height: 104px; width: 200px; object-fit: contain; }

.fn-divider { background: var(--color-border); border: 0; height: 1px; margin: 0; width: 100%; }
.fn-options-title {
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  margin: 0;
  text-align: center;
}
.fn-print-group { display: flex; flex-direction: column; gap: 8px; }
.fn-print-group > .fn-label { margin: 0; }
.fn-print-row { display: flex; gap: 16px; }
.fn-print-opt {
  align-items: center;
  border: 1px solid var(--color-border-strong);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex: 1 0 0;
  gap: 8px;
  min-width: 0;
  padding: 12px 16px;
}
.fn-print-opt.is-selected { border-color: var(--color-cta); }
.fn-print-opt__text strong { color: var(--color-body); display: block; font-size: 14px; font-weight: 400; }
.fn-print-opt.is-selected .fn-print-opt__text strong { font-weight: 600; }
.fn-print-opt__text span { color: var(--color-muted); display: block; font-size: 12px; }

/* ---- step-4 recap ---- */
.fn-recap { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.fn-recap__h { color: var(--color-heading); font-size: 16px; font-weight: 600; margin: 0; }
.fn-recap__block { display: flex; flex-direction: column; gap: 4px; }
.fn-recap__label { color: var(--color-muted); font-size: 12px; margin: 0 0 4px; }
.fn-recap__name { color: var(--color-heading); font-size: 14px; font-weight: 600; margin: 0; }
.fn-recap__block p { color: var(--color-body); font-size: 14px; margin: 0; }
.fn-recap__edit { color: var(--color-body); display: inline-block; font-size: 13px; margin-top: 8px; text-decoration: underline; }
.fn-recap__rowhead { align-items: center; display: flex; justify-content: space-between; }
.fn-recap__meta { color: var(--color-muted); font-size: 12px; margin: 8px 0 0; }

/* selected radio dot for letter cards & print options (no native input) */
.fn-letter.is-selected .fn-radio__dot,
.fn-print-opt.is-selected .fn-radio__dot { border-color: var(--color-cta); }
.fn-letter.is-selected > .fn-letter__left .fn-radio__dot::after,
.fn-print-opt.is-selected .fn-radio__dot::after {
  background: var(--color-cta);
  border-radius: 320px;
  content: "";
  height: 14px;
  left: 2px;
  position: absolute;
  top: 2px;
  width: 14px;
}


/* ============================================================
   Material Symbols icons — site-wide
   ============================================================ */
.material-symbols-outlined { font-variation-settings: 'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24; line-height: 1; vertical-align: middle; }
/* funnel chrome */
.fn-acc__icon.material-symbols-outlined { color: var(--color-heading); font-size: 24px; }
.fn-acc__badge .material-symbols-outlined { color: var(--color-heading); font-size: 15px; }
.fn-acc__chev.material-symbols-outlined { color: #739cb3; font-size: 24px; }
.fn-select .material-symbols-outlined { color: #739cb3; font-size: 24px; }
.fn-cta .material-symbols-outlined { font-size: 22px; }
.fn-detail-box__head .material-symbols-outlined { color: var(--color-heading); font-size: 16px; }
.fn-option__badge .material-symbols-outlined { color: var(--color-heading); font-size: 26px; }
.fn-option__arrow.material-symbols-outlined { color: var(--color-brand); font-size: 24px; }
/* checkout (paiement) */
.co-input__icon.material-symbols-outlined { color: var(--color-brand); font-size: 22px; }
.co-ssl .material-symbols-outlined { color: var(--color-success); font-size: 22px; }
.co-btn .material-symbols-outlined { font-size: 22px; }
.co-offers__list .material-symbols-outlined { color: var(--color-border); font-size: 18px; }

/* Funnel right column sticky on desktop */
@media (min-width: 881px) {
  .co-side { position: sticky; top: 24px; align-self: flex-start; }
}

/* ============================================================
   "Aperçu du courrier" preview modal (step-2 sub-screens)
   ============================================================ */
.rp-modal { align-items: center; display: none; inset: 0; justify-content: center; padding: 24px; position: fixed; z-index: 100; }
.rp-modal.is-open { display: flex; }
.rp-modal__backdrop { background: rgba(1, 15, 49, 0.45); inset: 0; position: absolute; }
.rp-modal__dialog {
  background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-medium);
  display: flex; flex-direction: column; gap: 24px; max-height: 86vh; max-width: 560px;
  overflow: auto; padding: 32px; position: relative; width: 100%;
}
.rp-modal__title { color: var(--color-heading); font-family: var(--font-heading); font-size: 28px; font-weight: 400; margin: 0; text-align: center; }
.rp-modal__preview {
  background: var(--color-surface-soft); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  color: var(--color-body); font-size: 14px; line-height: 1.5; padding: 20px;
}
.rp-modal__preview strong { color: var(--color-heading); }
.rp-modal__doc { align-items: center; display: flex; gap: 10px; }
.rp-modal__doc .material-symbols-outlined { color: var(--color-heading); font-size: 28px; }
.rp-modal__actions { display: flex; gap: 16px; }
.rp-mbtn {
  align-items: center; border-radius: 28px; cursor: pointer; display: flex; flex: 1 0 0;
  font: inherit; font-size: 16px; font-weight: 600; gap: 8px; justify-content: center;
  min-width: 0; padding: 12px 16px; text-decoration: none;
}
.rp-mbtn--outline { background: #fff; border: 1px solid var(--color-border-strong); color: var(--color-heading); }
.rp-mbtn--solid { background: var(--color-brand); border: 1px solid var(--color-brand); color: #fff; }
@media (max-width: 768px) { .rp-modal__actions { flex-direction: column; } }

/* ── Feedback batch: CTA one-line, sticky footer, centered short content ── */
/* #2 — CTA text never wraps */
.fn-cta, .hp-cta, .co-btn, .hp-btn-primary, .hp-btn-outline { white-space: nowrap; }
.fn-cta span, .co-btn span { white-space: nowrap; }
/* #5 — footer always at viewport bottom; short funnel content stays centered */
body.co { display: flex; flex-direction: column; min-height: 100vh; }
body.co .co-main { flex: 1 0 auto; }
@media (min-width: 881px) { body.co .co-main { align-items: flex-start; } body.co .co-side { align-self: flex-start; } }

/* ============================================================
   Logged-in nav widget (avatar + account dropdown) — used on
   account pages + dashboard (replaces the "Connexion" button).
   ============================================================ */
.acct-menu { position: relative; }
.acct-menu__btn {
  align-items: center; background: #fff; border: 1px solid var(--color-border-strong);
  border-radius: 320px; color: var(--color-heading); cursor: pointer; display: inline-flex;
  font: inherit; font-weight: 600; gap: 8px; padding: 5px 12px 5px 6px;
}
.acct-menu__avatar {
  align-items: center; background: var(--color-brand); border-radius: 320px; color: #fff;
  display: inline-flex; flex: 0 0 auto; height: 28px; justify-content: center; width: 28px;
}
.acct-menu__avatar .material-symbols-outlined { font-size: 18px; }
.acct-menu__name { font-size: 14px; }
.acct-menu__chev { font-size: 18px; transition: transform 160ms ease; }
.acct-menu:hover .acct-menu__chev, .acct-menu:focus-within .acct-menu__chev { transform: rotate(180deg); }
.acct-menu__panel {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium); display: flex; flex-direction: column; gap: 2px; min-width: 224px;
  opacity: 0; padding: 8px; pointer-events: none; position: absolute; right: 0; top: calc(100% + 8px);
  transform: translateY(8px); transition: opacity 160ms ease, transform 160ms ease; visibility: hidden; z-index: 60;
}
.acct-menu:hover .acct-menu__panel, .acct-menu:focus-within .acct-menu__panel {
  opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible;
}
.acct-menu__panel a {
  align-items: center; border-radius: var(--radius-md); color: var(--color-heading); display: flex;
  font-size: 14px; gap: 10px; padding: 10px 12px; text-decoration: none;
}
.acct-menu__panel a:hover { background: var(--color-surface-soft); }
.acct-menu__panel a .material-symbols-outlined { color: var(--color-muted); font-size: 20px; }
.acct-menu__panel hr { background: var(--color-border); border: 0; height: 1px; margin: 4px 0; }
@media (max-width: 768px) { .acct-menu__name { display: none; } }

/* ============================================================
   Mobile funnel bottom: reduced footer flush to the screen edge
   (no white below it) with the fixed "Étape suivante" CTA pinned
   just above it, always brand-orange. Scoped to pages that have a
   fixed mobile CTA so other pages keep their normal footer flow.
   ============================================================ */
@media (max-width: 768px) {
  /* kill the white reserve that used to sit under the footer */
  body.co:has(.m-cta-bar),
  body.co:has(.fn-cta.m-only) {
    padding-bottom: 0 !important;
  }
  /* move the clearance onto the content so the footer can go flush */
  body.co:has(.m-cta-bar) .co-main,
  body.co:has(.fn-cta.m-only) .co-main {
    padding-bottom: 124px !important;
  }
  /* reduced footer: pinned flush to the very bottom, last thing on screen */
  body.co:has(.m-cta-bar) .co-footer,
  body.co:has(.fn-cta.m-only) .co-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 !important;
    padding: 14px 16px !important;
    z-index: 40;
  }
  /* fixed CTA sits directly above the footer, never clipped */
  body.co .m-cta-bar,
  body.co a.fn-cta.m-only {
    bottom: 56px !important;
    top: auto !important;
  }
  /* the "Étape suivante" CTA is always brand-orange */
  body.co .m-cta-bar .fn-cta,
  body.co a.fn-cta.m-only {
    background: var(--color-brand) !important;
    color: #fff !important;
  }
}

/* Logged-in nav declutter on mobile (only pages with the account widget) */
@media (max-width: 768px) {
  .hp-nav:has(.acct-menu) .hp-nav__item { display: none; }
}

/* Account section mobile: stop tab strip from forcing horizontal overflow */
@media (max-width: 768px) {
  .acct-side, .acct-side__nav { min-width: 0; max-width: 100%; }
  .acct-side__user, .acct-side__logout { display: none; }
}

/* ============================================================
   Shared hp- shell (marketing nav + footer) + generic-text
   gabarit. Used by the legal/text pages so they match the rest
   of the site. The hp- pages also define these inline (identical
   values, loaded after this file) so there is no visual conflict.
   ============================================================ */
.hp { background: #fff; color: var(--color-body); }

/* ---- nav ---- */
.hp-nav {
  align-items: center; background: #fff; display: flex; justify-content: space-between;
  margin: 0 auto; max-width: 1320px; padding: 0 56px; min-height: 80px;
}
.hp-nav__left { align-items: center; display: flex; gap: 32px; }
.hp-logo { color: var(--color-heading); font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 30px; text-decoration: none; }
.hp-nav__menu { align-items: center; display: inline-flex; gap: 6px; padding: 12px 16px; background: transparent; border: 0; cursor: pointer; font: inherit; }
.hp-nav__menu, .hp-nav__item { color: var(--color-heading); font-size: 16px; text-decoration: none; }
.hp-nav__item { padding: 0 16px; }
.hp-nav__right { align-items: center; display: flex; gap: 16px; }
.hp-btn-outline { align-items: center; border: 1px solid var(--color-brand); border-radius: var(--radius-pill); color: var(--color-brand); display: inline-flex; font-weight: 600; gap: 8px; padding: 12px 16px; text-decoration: none; }
.hp-btn-primary { align-items: center; background: var(--color-brand); border: 1px solid var(--color-brand); border-radius: var(--radius-pill); color: #fff; display: inline-flex; font-weight: 600; gap: 8px; padding: 12px 16px; text-decoration: none; }
.hp-btn-primary:hover, .hp-btn-outline:hover { transform: translateY(-1px); }

/* ---- Material Symbols ---- */
.hp .material-symbols-outlined, .hp-footer .material-symbols-outlined { font-variation-settings: 'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24; line-height: 1; vertical-align: middle; }
.hp-nav__menu .material-symbols-outlined { font-size: 20px; }
.hp-contact-item .material-symbols-outlined { color: var(--color-heading); font-size: 22px; margin-top: 2px; }
.hp-select__box .material-symbols-outlined { font-size: 22px; }

/* ---- mega menu ---- */
.hp-mega { position: relative; }
.hp-mega__chev { transition: transform 160ms ease; }
.hp-mega:hover .hp-mega__chev, .hp-mega:focus-within .hp-mega__chev { transform: rotate(180deg); }
.hp-mega__panel { background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-medium); display: grid; gap: 24px; grid-template-columns: 360px 280px; left: 0; opacity: 0; padding: 24px; pointer-events: none; position: absolute; top: calc(100% + 4px); transform: translateY(8px); transition: opacity 160ms ease, transform 160ms ease; visibility: hidden; z-index: 60; }
.hp-mega:hover .hp-mega__panel, .hp-mega:focus-within .hp-mega__panel { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; }
.hp-mega__list { display: flex; flex-direction: column; gap: 12px; }
.hp-mega__item { align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius-lg); display: flex; gap: 12px; padding: 16px; text-decoration: none; }
.hp-mega__item:hover { border-color: var(--color-cta); }
.hp-mega__badge { align-items: center; background: var(--color-success-bg); border-radius: var(--radius-md); color: var(--color-heading); display: inline-flex; flex: 0 0 auto; height: 40px; justify-content: center; width: 40px; }
.hp-mega__badge .material-symbols-outlined { font-size: 22px; }
.hp-mega__text { flex: 1 0 0; min-width: 0; }
.hp-mega__text strong { color: var(--color-heading); display: block; font-size: 16px; font-weight: 600; }
.hp-mega__text strong em { font-style: italic; }
.hp-mega__text span { color: var(--color-muted); display: block; font-size: 13px; }
.hp-mega__arrow { color: var(--color-brand); font-size: 24px; }
.hp-mega__preview { align-items: center; background: var(--color-surface-soft); border-radius: var(--radius-lg); display: flex; justify-content: center; padding: 24px; }
.hp-mega__preview img { max-width: 100%; }

/* ---- footer ---- */
.hp-footer { background: var(--color-surface-soft); margin-top: 56px; }
.hp-footer__inner { display: flex; gap: 40px; justify-content: space-between; margin: 0 auto; max-width: 1320px; padding: 40px 56px 0; }
.hp-footer__col { display: flex; flex: 1; flex-direction: column; gap: 16px; }
.hp-footer__h { color: var(--color-heading); font-family: var(--font-heading); font-size: 30px; font-weight: 400; margin: 0; }
.hp-footer__links { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.hp-footer__links a { color: var(--color-body); font-size: 16px; text-decoration: none; }
.hp-footer__links a:hover { color: var(--color-heading); }
.hp-contact-item { align-items: flex-start; display: flex; gap: 8px; }
.hp-contact-item svg { color: var(--color-heading); flex: 0 0 auto; margin-top: 2px; }
.hp-contact-item strong { color: var(--color-heading); display: block; font-size: 16px; }
.hp-contact-item a, .hp-contact-item p { color: #366478; display: block; font-size: 16px; margin: 4px 0 0; text-decoration: underline; }
.hp-contact-item p { font-style: normal; }
.hp-select { display: flex; flex-direction: column; gap: 8px; }
.hp-select > span { color: var(--color-body); font-size: 16px; }
.hp-select__box { align-items: center; border: 1px solid var(--color-border-strong); border-radius: var(--radius-lg); color: var(--color-body); display: flex; font-size: 16px; justify-content: space-between; padding: 12px 16px; }
.hp-social { display: flex; gap: 16px; justify-content: space-between; }
.hp-social a { color: var(--color-heading); }
.hp-cookie { color: var(--color-body); font-size: 16px; text-decoration: underline; }
.hp-copyright { color: var(--color-body); font-size: 14px; padding: 24px 0 40px; text-align: center; }

/* ============================================================
   Generic-text gabarit — legal / long-form text pages.
   Title + numbered sections, comfortable reading measure,
   design-system typography (Crimson Pro headings, Source Sans body).
   ============================================================ */
.hp main.section { padding-top: 56px; padding-bottom: 64px; }
.hp .legal-card { background: transparent; margin: 0 auto; max-width: 880px; padding: 0; }
.hp .legal-card .eyebrow { color: var(--color-brand); }
.hp .legal-card .heading-md { font-size: 44px; line-height: 1.08; margin: 0 0 20px; }
.hp .legal-card h2 { color: var(--color-heading); font-family: var(--font-heading); font-size: 27px; font-weight: 400; line-height: 1.2; margin: 36px 0 12px; }
.hp .legal-card h2:first-of-type { margin-top: 24px; }
.hp .legal-card p, .hp .legal-card li { color: var(--color-body); font-size: 17px; line-height: 1.7; max-width: none; }
.hp .legal-card p { margin: 0 0 14px; }
.hp .legal-card ul, .hp .legal-card ol { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.hp .legal-card a { color: var(--color-link, #366478); text-decoration: underline; }
.hp .legal-card .notice { margin: 20px 0 28px; }

@media (max-width: 980px) {
  .hp-nav, .hp-footer__inner { padding-left: 24px; padding-right: 24px; }
  .hp-footer__inner { flex-direction: column; }
  .hp-nav__menu, .hp-nav__item { display: none; }
}
@media (max-width: 768px) {
  .hp-footer__inner { padding-left: 16px; padding-right: 16px; }
  .hp-nav { padding-left: 16px; padding-right: 16px; min-height: 64px; }
  .hp-nav__left { gap: 0; }
  .hp-mega, .hp-mega__panel { display: none !important; }
  .hp-btn-outline, .hp-btn-primary { font-size: 14px; padding: 10px 12px; }
  .hp-footer__inner { padding-top: 32px; gap: 32px; }
  .hp-footer__h { font-size: 22px; }
  .hp-footer__links a { font-size: 15px; }
  .hp-contact-item strong, .hp-contact-item a, .hp-contact-item p { font-size: 15px; }
  .hp-social { justify-content: flex-start; gap: 20px; }
  .hp-copyright { font-size: 13px; padding: 20px 16px 32px; }
  .hp .legal-card .heading-md { font-size: 32px; }
  .hp .legal-card h2 { font-size: 23px; }
}
