/* ============================================================
   Wesley Travel — wesleytravel.com (root campaign page)
   Mobile-first. Base styles target 390px; media queries scale up.
   ============================================================ */

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  /* Brand */
  --teal:        #00AFAA;
  --teal-dark:   #009490;
  --teal-darker: #007D7A;
  --navy:        #003057;
  --navy-deep:   #00223E;
  --ink:         #231f20;

  /* Neutrals */
  --white:  #ffffff;
  --tint:   #F4F8FA;
  --line:   #E2E8EC;
  --muted:  #5B6B78;
  --danger: #C0392B;

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --wrap:    1180px;
  --gutter:  20px;
  --radius:  14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(0, 48, 87, .08), 0 1px 2px rgba(0, 48, 87, .04);
  --shadow-md: 0 6px 20px rgba(0, 48, 87, .10), 0 2px 6px rgba(0, 48, 87, .06);
  --shadow-lg: 0 18px 50px rgba(0, 34, 62, .22);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg, picture { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

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

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

.sr-only {
  position: absolute; 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: 999;
  background: var(--navy); color: #fff; padding: 12px 18px;
  border-radius: 0 0 var(--radius) 0; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

.accent { color: var(--teal); }
.is-hidden { display: none !important; }

:where(a, button, input, summary):focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, transform .12s ease, box-shadow .18s ease;
}
.btn--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 175, 170, .32);
}
.btn--primary:hover { background: var(--teal-dark); }
.btn--primary:active { transform: translateY(1px); }
.btn--sm  { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn--lg  { min-height: 56px; padding: 16px 34px; font-size: 17px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .62; cursor: not-allowed; }

/* Submit spinner */
.spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn.is-busy .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Nav ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .2s ease, background-color .2s ease;
}
.nav.is-stuck { box-shadow: var(--shadow-sm); background: #fff; }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
/* Padded to a 44px target rather than sized to the artwork. */
.nav__logo { display: flex; align-items: center; min-height: 44px; padding-right: 8px; }
.nav__logo img { width: 148px; height: auto; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
/* "Member Login" — a quiet text link beside the primary CTA (teal stays the
   conversion color; the login link is navy so it never competes with Join). */
.nav__login {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
  font-size: 14px; font-weight: 600; color: var(--navy);
  text-decoration: none; white-space: nowrap;
}
.nav__login:hover { color: var(--teal-darker); text-decoration: underline; text-underline-offset: 3px; }
.nav__actions .btn { white-space: nowrap; }
/* Two nav actions have to share a 390px row with the logo. */
@media (max-width: 479px) {
  .nav__inner { gap: 10px; }
  .nav__logo img { width: 128px; }
  .nav__actions { gap: 6px; }
  .nav__login { font-size: 13.5px; padding: 0 2px; }
  .nav__actions .btn--sm { padding: 10px 14px; font-size: 14px; }
}

@media (min-width: 768px) {
  .nav__inner { min-height: 76px; }
  .nav__logo img { width: 178px; }
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  /* Tight on mobile on purpose: every pixel saved above the form card is
     conversion surface pulled into the first screen. */
  padding: 82px 0 74px;
  background: var(--navy-deep);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Legibility scrim. Mobile stacks copy over the full image, so it needs an
   even vertical wash; desktop only has copy on the left, so the gradient
   lightens toward the right and lets the photograph show through. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 34, 62, .88) 0%, rgba(0, 34, 62, .72) 45%, rgba(0, 34, 62, .84) 100%);
}
@media (min-width: 900px) {
  .hero::before {
    background:
      linear-gradient(100deg, rgba(0, 34, 62, .93) 0%, rgba(0, 34, 62, .80) 42%, rgba(0, 34, 62, .46) 100%);
  }
}

.hero__inner {
  display: grid;
  gap: 30px;
}

.badge {
  display: inline-block;
  align-self: start;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 175, 170, .18);
  border: 1px solid rgba(0, 175, 170, .55);
  color: #7FF0EC;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero__title {
  font-size: clamp(2.25rem, 9.5vw, 3.9rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.hero__sub {
  font-size: clamp(.99rem, 3.5vw, 1.175rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, .90);
  max-width: 34em;
  margin-bottom: 18px;
}
.hero__points { display: grid; gap: 9px; }
.hero__points li {
  position: relative;
  padding-left: 29px;
  font-size: 14.75px;
  font-weight: 500;
  color: rgba(255, 255, 255, .95);
}
.hero__points li::before {
  content: "";
  position: absolute;
  left: 0; top: .34em;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Wave divider */
.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 0;
  color: var(--navy); /* the wave is the top edge of the stats bar, so the hero image meets navy — no white band */
  line-height: 0;
  pointer-events: none;
}
.hero__wave svg { width: 100%; height: 46px; }

@media (min-width: 900px) {
  .hero { padding: 150px 0 120px; }
  .hero__inner {
    grid-template-columns: 1fr minmax(400px, 452px);
    gap: 56px;
    align-items: center;
  }
  .hero__wave svg { height: 78px; }
  /* Room to breathe once the form is no longer competing for the fold. */
  .badge { font-size: 12.5px; padding: 7px 15px; margin-bottom: 18px; }
  .hero__sub { margin-bottom: 24px; }
  .hero__points { gap: 12px; }
  .hero__points li { font-size: 15.5px; padding-left: 30px; }
}

/* ─── Cards ──────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ─── Form card ──────────────────────────────────────────── */
.form-card {
  color: var(--ink);
  padding: 24px 20px 22px;
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  scroll-margin-top: 88px;
}
.form-card__title {
  font-size: clamp(1.3rem, 5vw, 1.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--navy);
}
.form-card__sub {
  margin-top: 6px;
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--muted);
}
.form-card__micro {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

@media (min-width: 900px) {
  .form-card { padding: 30px 28px 26px; }
}

/* Fields */
.field { margin-bottom: 15px; }
.field-row { display: grid; gap: 0; }
@media (min-width: 480px) {
  .field-row { grid-template-columns: 1fr 1fr; gap: 14px; }
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.field input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: #fff;
  font: inherit;
  font-size: 16px; /* keeps iOS from zooming on focus */
  color: var(--ink);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field input::placeholder { color: #9AA8B2; }
.field input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 175, 170, .18);
}
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(192, 57, 43, .16); }

/* Password field with a show/hide toggle (mirrors lp-tokens.css) */
.field--password { position: relative; }
.field--password input { padding-right: 64px; }
.field__toggle {
  position: absolute; right: 8px; top: 30px; height: 40px; padding: 0 10px;
  border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 600;
  color: var(--teal-darker); cursor: pointer; border-radius: 8px;
}
.field__toggle:hover { background: var(--tint); }
.field__hint { margin-top: 5px; font-size: 12.5px; color: var(--muted); }
.field__err--form a { color: var(--danger); font-weight: 600; }

.field__err {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--danger);
  min-height: 0;
}
.field__err:empty { display: none; }
.field__err--form {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(192, 57, 43, .08);
  border: 1px solid rgba(192, 57, 43, .28);
}

.turnstile-slot { margin: 4px 0 14px; min-height: 0; }
.turnstile-slot:empty { margin: 0; }

/* Interstitial */
.interstitial { text-align: center; padding: 26px 0 22px; }
.interstitial__spinner {
  width: 46px; height: 46px;
  margin: 0 auto 20px;
  border: 4px solid rgba(0, 175, 170, .22);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.interstitial .form-card__sub { margin-bottom: 0; }

/* ─── Stats ──────────────────────────────────────────────── */
.stats {
  background: var(--navy);
  color: #fff;
  padding: 38px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 16px;
  text-align: center;
}
.stat__num {
  font-size: clamp(1.75rem, 7vw, 2.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, .82);
}
@media (min-width: 768px) {
  .stats { padding: 52px 0; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ─── Sections ───────────────────────────────────────────── */
.section { padding: 58px 0; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy .section__intro { color: rgba(255, 255, 255, .84); }

.section__head { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.h2 {
  font-size: clamp(1.6rem, 6.4vw, 2.45rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: inherit;
}
.section:not(.section--navy) .h2 { color: var(--navy); }
.section__intro {
  margin-top: 14px;
  font-size: clamp(.99rem, 3.5vw, 1.1rem);
  color: var(--muted);
  line-height: 1.6;
}
.section__cta { margin-top: 36px; text-align: center; }
.section__micro {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
}
.section--navy .section__micro { color: rgba(255, 255, 255, .72); }

@media (min-width: 768px) {
  .section { padding: 84px 0; }
  .section__head { margin-bottom: 48px; }
}

/* ─── Grids ──────────────────────────────────────────────── */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid { gap: 22px; }
}

/* ─── Feature cards ──────────────────────────────────────── */
.feature { padding: 24px 22px; }
.feature__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  margin-bottom: 15px;
  border-radius: 13px;
  background: rgba(0, 175, 170, .12);
  color: var(--teal-darker);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature__title {
  font-size: 1.09rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ─── Deal cards ─────────────────────────────────────────── */
.deal { overflow: hidden; display: flex; flex-direction: column; }
.deal__media { position: relative; aspect-ratio: 4 / 3; background: var(--line); }
.deal__media img { width: 100%; height: 100%; object-fit: cover; }
.deal__tag {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 34, 62, .28);
}
.deal__body { padding: 16px 17px 18px; display: flex; flex-direction: column; flex: 1; }
.deal__loc {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .045em;
  text-transform: uppercase;
  color: var(--teal-darker);
}
.deal__name {
  margin-top: 6px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}
.deal__meta {
  margin-top: 7px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.deal__price {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: auto;
  padding-top: 15px;
}
.deal__price-col { display: flex; flex-direction: column; gap: 2px; }
.deal__price-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.deal__price-col--ours .deal__price-label { color: var(--teal-darker); }
.deal__price-was {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.deal__price-now {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--navy);
}
.deal__save {
  margin-top: 12px;
  padding: 7px 12px;
  border-radius: 9px;
  background: rgba(0, 175, 170, .10);
  color: var(--teal-darker);
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
}
.deal__save span { font-weight: 600; opacity: .85; }

.deals__note {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ─── Comparison ─────────────────────────────────────────── */
.compare__table-wrap { display: none; }
.compare__cards { display: grid; gap: 14px; }

.compare-card { padding: 18px 18px 16px; }
.compare-card.is-key { border-color: rgba(0, 175, 170, .45); }
.compare-card__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.compare-card__us,
.compare-card__them {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  font-size: 15px;
}
.compare-card__us {
  border-bottom: 1px solid var(--line);
}
.compare-card__us strong { color: var(--teal-darker); }
.compare-card__us span { font-weight: 700; color: var(--navy); text-align: right; }
.compare-card__them strong { color: var(--muted); font-weight: 600; }
.compare-card__them span { color: var(--muted); text-align: right; }
.compare-card strong { font-size: 13px; flex: none; }

@media (min-width: 860px) {
  .compare__cards { display: none; }
  .compare__table-wrap { display: block; overflow-x: auto; }

  .compare {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }
  .compare th, .compare td {
    padding: 16px 20px;
    text-align: left;
    font-size: 15.5px;
    border-bottom: 1px solid var(--line);
  }
  .compare thead th {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--tint);
  }
  .compare thead th.compare__us {
    color: #fff;
    background: var(--teal);
    font-size: 14px;
  }
  .compare tbody th {
    font-weight: 600;
    color: var(--navy);
    width: 34%;
  }
  .compare td { color: var(--muted); }
  .compare td.compare__us {
    color: var(--navy);
    font-weight: 700;
    background: rgba(0, 175, 170, .055);
    border-left: 1px solid rgba(0, 175, 170, .18);
    border-right: 1px solid rgba(0, 175, 170, .18);
  }
  .compare tbody tr:last-child th,
  .compare tbody tr:last-child td { border-bottom: 0; }

  .tick {
    display: inline-block;
    width: 17px; height: 17px;
    margin-right: 9px;
    vertical-align: -3px;
    border-radius: 50%;
    background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
  }
}

/* ─── Steps ──────────────────────────────────────────────── */
.steps { display: grid; gap: 26px; counter-reset: step; }
.step {
  position: relative;
  padding-left: 60px;
}
.step__num {
  position: absolute;
  left: 0; top: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
}
.step__title {
  font-size: 1.13rem;
  font-weight: 700;
  margin-bottom: 7px;
  padding-top: 8px;
}
.step p { font-size: 15px; color: rgba(255, 255, 255, .82); line-height: 1.6; }

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 34px; }
  .step { padding-left: 0; padding-top: 60px; }
  .step__num { top: 0; }
  .step__title { padding-top: 0; }
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 15px 18px;
  font-size: 16px;
  font-weight: 650;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 13px; height: 13px;
  border-right: 2.4px solid var(--teal);
  border-bottom: 2.4px solid var(--teal);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__item[open] summary { border-bottom: 1px solid var(--line); }
.faq__body { padding: 15px 18px 18px; }
.faq__body p { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ─── Final CTA ──────────────────────────────────────────── */
.final-cta {
  padding: 62px 0;
  text-align: center;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.final-cta p {
  margin: 16px auto 28px;
  max-width: 36em;
  font-size: clamp(1rem, 3.6vw, 1.13rem);
  color: rgba(255, 255, 255, .85);
}
.final-cta .section__micro { margin-top: 14px; color: rgba(255, 255, 255, .68); }
@media (min-width: 768px) { .final-cta { padding: 92px 0; } }

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .72);
  padding: 44px 0 30px;
  font-size: 14.5px;
}
.footer__top {
  display: grid;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer__brand img { width: 168px; height: auto; }
.footer__tag { margin-top: 14px; max-width: 30em; line-height: 1.55; }
.footer__cards { display: flex; gap: 8px; margin-top: 16px; }
.footer__cards span {
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .8);
}
.footer__head {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 13px;
}
.footer__col ul { display: grid; gap: 3px; }
.footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px; /* touch target, not visual spacing */
  text-decoration: none;
  transition: color .15s ease;
}
.footer__col a:hover { color: var(--teal); }
.footer__legal {
  margin-top: 24px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .52);
}

@media (min-width: 768px) {
  .footer { padding: 62px 0 34px; }
  .footer__top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
  /* Pointer input — the 44px touch floor would only pad the list out. */
  .footer__col a { min-height: 0; padding: 5px 0; }
}

/* Attribution mirror inputs. `hidden` already does this, but the form's own
   input rules are specific enough to override it — belt and braces so these
   can never take up space. */
.attribution-fields { display: none !important; }
