/* ==========================================================================
   Vebsters Founding Expert Network — landing page
   Brand rules enforced here (Developer Brief, Section A):
     · Yellow buttons always use black text. Never white on yellow.
     · Never yellow text on white. On white use Dark Gold #8C6A00.
     · Balance roughly 60% white / 30% black + charcoal / 10% yellow.
     · Hero and footer: black background, white text, yellow accents.
   ========================================================================== */

/* --------------------------------------------------------------- Tokens -- */
:root {
  --yellow:       #F2B705;
  --black:        #111111;
  --white:        #FFFFFF;
  --charcoal:     #2E2E2E;
  --grey:         #F5F5F5;
  --light-yellow: #FFF6D6;
  --dark-gold:    #8C6A00;

  --font-heading: "Merriweather", Cambria, Georgia, "Times New Roman", serif;
  --font-body:    "Inter", Calibri, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap:       1140px;
  --wrap-narrow: 760px;
  --radius:      14px;
  --radius-sm:   8px;
  --radius-pill: 999px;

  --space-section: clamp(3.5rem, 8vw, 6.5rem);

  --shadow-sm: 0 1px 2px rgba(17, 17, 17, .06), 0 2px 8px rgba(17, 17, 17, .05);
  --shadow-md: 0 4px 12px rgba(17, 17, 17, .08), 0 12px 32px rgba(17, 17, 17, .07);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Sticky nav height, so anchor jumps don't hide content behind the bar. */
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--black);
  line-height: 1.25;
  margin: 0 0 .6em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--charcoal); text-underline-offset: .18em; }
a:hover { color: var(--black); }

/* Visible keyboard focus everywhere (Section E: accessibility). */
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 3px;
}
.site-footer :focus-visible,
.hero :focus-visible,
.section--dark :focus-visible { outline-color: var(--yellow); }

/* ------------------------------------------------------------- Utilities -- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}
.wrap--narrow { max-width: var(--wrap-narrow); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--yellow);
  color: var(--black);
  padding: 12px 18px;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------ Typography -- */
.eyebrow {
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--dark-gold);          /* yellow text on white is not allowed */
  margin: 0 0 1rem;
}
.eyebrow--yellow { color: var(--yellow); }   /* only ever on a black surface */

.section__title {
  font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -.015em;
  max-width: 20ch;
}
.section__lead {
  font-size: 1.125rem;
  max-width: 68ch;
  margin-bottom: 2.25rem;
}

.sub-heading {
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--dark-gold);
  margin: 3.25rem 0 1.5rem;
}

.prose { max-width: 68ch; font-size: 1.0625rem; }
.prose p { margin-bottom: 1.15em; }

.note {
  font-style: italic;
  color: var(--charcoal);
  border-left: 3px solid var(--yellow);
  padding-left: 1.1rem;
  margin: 2rem 0 0;
  max-width: 70ch;
}

.closing-line {
  margin-top: 2.5rem;
  max-width: 72ch;
  font-size: 1.0625rem;
}
.closing-line--bold {
  font-weight: 700;
  color: var(--black);
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

/* --------------------------------------------------------------- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .8rem 1.5rem;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

/* Yellow button + black text — the one hard rule. */
.btn--yellow {
  background: var(--yellow);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}
.btn--yellow:hover {
  background: #e0a904;
  color: var(--black);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--yellow:active { transform: translateY(0); }

.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn[disabled], .btn[aria-busy="true"] {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

/* ------------------------------------------------------------- Site nav -- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-nav__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 12px;
}

.brand {
  display: flex;
  flex-direction: column;
  /* Without this the column defaults to align-items:stretch, which pulls the
     logo out to the width of the tag line below it and distorts it. */
  align-items: flex-start;
  gap: 2px;
  text-decoration: none;
  color: var(--white);
  line-height: 1.1;
}
/* Logo artwork from vebsters.com. The nav sits on --black, so this is the
   white-ink variant; the dark-ink one is used only when printing. */
.brand__logo {
  display: block;
  height: 34px;
  width: auto;
}
.brand__tag {
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--yellow);
}

.site-nav__cta { flex: 0 0 auto; }

/* ----------------------------------------------------------------- Hero -- */
.hero {
  background: var(--black);
  color: var(--white);
  padding-block: clamp(3.5rem, 9vw, 7rem);
  position: relative;
  overflow: hidden;
}
/* Subtle yellow glow, keeps the surface from reading as a flat black slab. */
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(242, 183, 5, .16) 0%, rgba(242, 183, 5, 0) 68%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }

.hero__title {
  color: var(--white);
  font-size: clamp(2.125rem, 1.2rem + 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -.02em;
  max-width: 17ch;
  margin-bottom: 1.25rem;
}

.hero__body {
  color: rgba(255, 255, 255, .86);
  font-size: 1.125rem;
  max-width: 60ch;
}

.value-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  margin: 2.25rem 0 2.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  color: var(--white);
}
.value-chain__step {
  border-bottom: 2px solid rgba(242, 183, 5, .55);
  padding-bottom: 2px;
}
.value-chain__arrow { color: var(--yellow); font-weight: 400; }

.hero__note {
  margin-top: 1.25rem;
  font-style: italic;
  color: rgba(255, 255, 255, .7);
  font-size: .9375rem;
}

/* ------------------------------------------------------------- Sections -- */
.section { padding-block: var(--space-section); }
.section--grey { background: var(--grey); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark .section__title { color: var(--white); }
.prose--dark p { color: rgba(255, 255, 255, .85); }

.section--form { background: var(--light-yellow); }

/* ---------------------------------------------------------------- Cards -- */
.card-grid {
  display: grid;
  gap: 1.25rem;
  margin: 0;
}
.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, .07);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card-grid > .card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(242, 183, 5, .5);
}

/* Icon sits in a light-yellow disc with a dark-gold glyph: reads as the
   yellow accent without pushing yellow past its 10% share. */
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--light-yellow);
  color: var(--dark-gold);
  font-size: 1.125rem;
  margin-bottom: 1.1rem;
  flex: 0 0 auto;
}

.card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.card p { font-size: .9375rem; color: var(--charcoal); margin: 0; }

.card--accent { border-left: 4px solid var(--yellow); }
.card--accent p { font-size: 1rem; }

/* Numbered cards (Section 5) — key numbers in yellow, on a black chip. */
.card--numbered { position: relative; padding-top: 2.25rem; }
.card__num {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--black);
  color: var(--yellow);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: .8125rem;
  letter-spacing: .04em;
  padding: .3rem .55rem;
  border-radius: var(--radius-sm);
}
.numbered { counter-reset: none; }

/* ------------------------------------------------------------- Compare -- */
.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}

.compare {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--white);
}
.compare th, .compare td {
  padding: 1rem 1.25rem;
  text-align: left;
  vertical-align: top;
  font-size: .9375rem;
  border-bottom: 1px solid rgba(17, 17, 17, .08);
}
.compare tbody tr:last-child td { border-bottom: 0; }

.compare__head {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.compare__head--muted {
  background: var(--grey);
  color: #6b6b6b;
  width: 42%;
}
.compare__head--brand {
  background: var(--yellow);
  color: var(--black);
}
.compare__muted { background: #FAFAFA; color: #6b6b6b; }
.compare__strong { color: var(--black); font-weight: 700; background: var(--white); }

/* ------------------------------------------------------------- Promise -- */
.promise {
  margin-top: 2.5rem;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 3rem);
  border-left: 6px solid var(--yellow);
}
.promise__title {
  color: var(--yellow);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.promise__lead {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: .9rem;
  max-width: 60ch;
}
.promise p { color: rgba(255, 255, 255, .85); max-width: 68ch; }

/* ---------------------------------------------------------------- Tags -- */
.tags { margin-top: 2.5rem; }
.tags__label {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dark-gold);
  margin-bottom: .85rem;
}
.tags__label--spaced { margin-top: 1.75rem; }
.tags__list { display: flex; flex-wrap: wrap; gap: .6rem; }

.tag {
  display: inline-block;
  padding: .45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
}
.tag--yellow { background: var(--yellow); color: var(--black); }
.tag--grey   { background: var(--grey); color: var(--charcoal); border: 1px solid rgba(17, 17, 17, .09); }

/* --------------------------------------------------------------- LEADX -- */
.leadx {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .75rem;
  max-width: 720px;
  margin: 2rem 0 1.25rem;
}
.leadx__tile {
  background: var(--black);
  border: 2px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leadx__letter {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  color: var(--yellow);
  line-height: 1;
}
.leadx__tile--x {
  background: var(--yellow);
  border-color: var(--yellow);
}
.leadx__tile--x .leadx__letter { color: var(--black); }

.leadx__legend {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--white);
  margin-bottom: 2rem;
}
.leadx__legend span { color: var(--yellow); }

/* -------------------------------------------------------------- Privacy -- */
.privacy {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-top: 1.5rem;
}
.privacy__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--black);
  font-size: 1.125rem;
}
.privacy p { color: rgba(255, 255, 255, .9); font-size: 1.0625rem; margin: 0; }

/* ------------------------------------------------------------- Two col -- */
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.two-col__item {
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, .07);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.two-col__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------- Ticks -- */
.ticks li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .8rem;
  font-size: .9375rem;
}
.ticks li:last-child { margin-bottom: 0; }
.ticks li::before {
  content: "\f00c";                       /* Font Awesome check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: .1em;
  color: var(--dark-gold);
  font-size: .875rem;
}
.ticks--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0 2rem;
}
.ticks--grid li { margin-bottom: .8rem; }

/* ------------------------------------------------------------ Timeline -- */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
  position: relative;
}
/* Connector line threading the step numbers. */
.timeline::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: rgba(17, 17, 17, .12);
}

.timeline__step {
  position: relative;
  padding-top: 3.5rem;
}
.timeline__num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 2px solid rgba(17, 17, 17, .14);
  color: var(--black);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline__step--active .timeline__num {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}
.timeline__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.timeline__step p { font-size: .875rem; color: var(--charcoal); margin: 0; }

/* ----------------------------------------------------------------- FAQ -- */
.faq {
  margin-top: 1.5rem;
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq__item + .faq__item { border-top: 1px solid rgba(17, 17, 17, .08); }
.faq__heading { margin: 0; }

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.45;
  transition: background-color .15s ease;
}
.faq__trigger:hover { background: var(--light-yellow); }

.faq__chevron {
  flex: 0 0 auto;
  color: var(--dark-gold);
  transition: transform .2s ease;
  font-size: .875rem;
}
.faq__trigger[aria-expanded="true"] .faq__chevron { transform: rotate(180deg); }

.faq__panel {
  padding: 0 1.5rem 1.35rem;
}
.faq__panel p {
  font-size: .9375rem;
  color: var(--charcoal);
  margin: 0;
  max-width: 78ch;
}

/* ---------------------------------------------------------------- Form -- */
.form-intro__lead {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1875rem;
  color: var(--black);
  margin-bottom: .75rem;
}

.form {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
  margin-top: 1.5rem;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.field { margin-bottom: 1.35rem; }
.field label,
.field legend {
  display: block;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: .45rem;
  padding: 0;
}
.field--group { border: 0; padding: 0; margin: 0 0 1.35rem; }

.req { color: #B00020; font-weight: 700; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field input[type="file"],
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .95rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid rgba(17, 17, 17, .18);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.6; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--dark-gold);
  box-shadow: 0 0 0 3px rgba(242, 183, 5, .3);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #B00020;
  box-shadow: 0 0 0 3px rgba(176, 0, 32, .12);
}

.field__hint {
  font-size: .8125rem;
  color: #6b6b6b;
  margin: .4rem 0 0;
}

/* Inline errors, plain language (Section C). */
.field__error {
  font-size: .875rem;
  color: #B00020;
  font-weight: 600;
  margin: .4rem 0 0;
  display: none;
}
.field__error:not(:empty) { display: block; }

.choices { display: grid; gap: .6rem; }

.choice {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .9375rem;
  color: var(--charcoal);
  cursor: pointer;
  padding: .6rem .8rem;
  border: 1.5px solid rgba(17, 17, 17, .12);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, background-color .15s ease;
}
.choice:hover { border-color: var(--dark-gold); background: var(--light-yellow); }

.choice input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: .15rem 0 0;
  accent-color: var(--dark-gold);
  cursor: pointer;
}

.choice--consent { border: 0; padding: 0; background: none; }
.choice--consent:hover { background: none; }
.choice--consent span { font-size: .875rem; line-height: 1.6; }

.form__note {
  font-style: italic;
  color: var(--charcoal);
  font-size: .9375rem;
  margin: 1.75rem 0 1rem;
  text-align: center;
}
.form__required-note {
  text-align: center;
  font-size: .8125rem;
  color: #6b6b6b;
  margin: 1rem 0 0;
}

.form__status {
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 600;
}
.form__status:not(:empty) {
  padding: .9rem 1.1rem;
  margin-bottom: 1.5rem;
}
.form__status--error {
  background: #FDECEF;
  border: 1px solid #B00020;
  color: #8B0019;
}

/* On-screen confirmation (Section D.1) — light yellow box. */
.confirm {
  background: var(--light-yellow);
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  margin-top: 1.5rem;
}
.confirm__title {
  font-size: 1.375rem;
  margin-bottom: .9rem;
}
.confirm p { font-size: 1rem; color: var(--charcoal); margin-bottom: .8rem; }
.confirm p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------- Footer -- */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, .78);
  padding-block: clamp(2.5rem, 6vw, 4rem);
  font-size: .9375rem;
}
.site-footer__logo {
  display: block;
  height: 30px;
  width: auto;
}
.site-footer__sub { color: rgba(255, 255, 255, .65); font-size: .9375rem; }
.site-footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }

.site-footer__promise {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin: .85rem 0 .35rem;
}
.site-footer__leadx { color: var(--yellow); font-weight: 600; margin: 0; }

.site-footer__top { padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .14); }

.site-footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: flex-end;
  justify-content: space-between;
}
.site-footer__contact p { margin: 0 0 .45rem; }
.site-footer__legal-name { color: var(--white); font-weight: 600; }
.site-footer a { color: var(--white); text-decoration-color: rgba(255, 255, 255, .4); }
.site-footer a:hover { color: var(--yellow); text-decoration-color: var(--yellow); }

.site-footer__links {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ----------------------------------------------------------- Responsive -- */
@media (max-width: 1024px) {
  .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline::before { display: none; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 76px; }

  .site-nav__inner { min-height: 64px; }
  .brand__tag { display: none; }
  .site-nav__cta { font-size: .8125rem; padding: .6rem 1rem; }

  /* Section 9 timeline goes vertical on mobile (per the brief). */
  .timeline { grid-template-columns: 1fr; gap: 1.5rem; }
  .timeline__step {
    padding-top: 0;
    padding-left: 3.5rem;
    position: relative;
  }
  .timeline__step::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 44px;
    bottom: -1.5rem;
    width: 2px;
    background: rgba(17, 17, 17, .12);
  }
  .timeline__step:last-child::before { display: none; }

  .leadx { gap: .5rem; }
  .leadx__tile { border-radius: var(--radius-sm); }

  .value-chain { font-size: .9375rem; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .card-grid--4,
  .card-grid--3,
  .card-grid--2 { grid-template-columns: 1fr; }

  .privacy { flex-direction: column; gap: 1rem; }
  .choice--consent { padding: 0; }

  .btn--lg { padding: .9rem 1.5rem; font-size: .9375rem; }
}

/* ------------------------------------------------------ Reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .card-grid > .card:hover { transform: none; }
}

/* ------------------------------------------------------------- Printing -- */
@media print {
  .site-nav, .site-footer__links, .form, .confirm { display: none; }
  .hero, .section--dark, .site-footer { background: none; color: #000; }
  .hero__title, .promise__title, .promise__lead { color: #000; }
  /* The footer logo is white ink, which would vanish on paper — invert it.
     The nav logo needs no rule here: .site-nav is hidden when printing. */
  .site-footer__logo { filter: invert(1); }
}
