/* ==========================================================================
   Pata Deals — patadeals.com
   Brand tokens follow the platform apps: Inter, brand red #E01F1F,
   dark slate "ink" shells (#0b1220), light body surfaces.
   ========================================================================== */

:root {
  --red: #e01f1f;
  --red-dark: #b91515;
  --red-soft: #fdecec;
  --ink: #0b1220;
  --ink-2: #0f172a;
  --ink-3: #1e293b;
  --text: #334155;
  --text-soft: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #eaeff6;
  --green: #059669;
  --green-soft: #dcfce7;
  --green-ink: #166534;
  --amber-soft: #fef3c7;
  --amber-ink: #92400e;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(11, 18, 32, 0.18);
  --shadow-sm: 0 4px 14px -6px rgba(11, 18, 32, 0.12);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 800;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.8em 1.6em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 0.97rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}

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

.btn--primary { background: var(--red); color: #fff !important; }
.btn--primary:hover { background: var(--red-dark); }

.btn--ghost {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--light { background: #fff; color: var(--ink) !important; }
.btn--light:hover { background: var(--bg-soft); }

.btn--outline-light {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--outline-light:hover { border-color: #fff; }

/* --------------------------------------------------------------------------
   Top bar + header
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--ink);
  color: #cbd5e1;
  font-size: 0.82rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}

.topbar a { color: #e2e8f0; }
.topbar__group { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 0.4em; }
.topbar__dot { color: var(--red); font-size: 0.7em; }

@media (max-width: 640px) {
  .topbar__inner { justify-content: center; }
  .topbar__group { gap: 0.4rem 1.1rem; justify-content: center; }
  .topbar__group--extra { display: none; }
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 0;
}

.logo { display: inline-flex; align-items: center; color: var(--ink); }
.logo svg { height: 46px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 1.7rem; }

.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  padding: 0.3em 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover { color: var(--red); }
.nav a.is-active { color: var(--red); border-bottom-color: var(--red); }
.nav .btn { margin-left: 0.6rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.25rem 1.2rem;
    display: none;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.55em 0; width: 100%; }
  .nav .btn { margin: 0.6rem 0 0; width: 100%; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(224, 31, 31, 0.10), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(224, 31, 31, 0.07), transparent 60%),
    var(--bg-soft);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 0 4rem;
}

.hero--plain .hero__inner {
  grid-template-columns: 1fr;
  max-width: 780px;
  padding: 3.6rem 0 3rem;
}

.hero .lead { font-size: 1.16rem; color: var(--text); max-width: 34em; }

.hero__ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.6rem; }

.hero__note { margin-top: 1.1rem; font-size: 0.88rem; color: var(--text-soft); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding: 3rem 0; }
  .hero__art { display: none; }
}

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.accent { color: var(--red); }

/* Phone mockup ------------------------------------------------------------ */

.phone {
  width: min(300px, 80vw);
  margin-inline: auto;
  background: var(--ink);
  border-radius: 36px;
  padding: 14px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.phone__screen {
  background: var(--ink-2);
  border-radius: 26px;
  padding: 1.1rem 1rem 1.4rem;
  color: #e2e8f0;
  font-size: 0.8rem;
}

.phone__brand { display: flex; justify-content: space-between; align-items: center; color: #fff; }
.phone__brand svg { height: 26px; width: auto; }
.phone__bell { opacity: 0.6; }

.phone__balance {
  margin-top: 0.9rem;
  background: linear-gradient(135deg, var(--red), #ff5a4e);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  color: #fff;
}
.phone__balance small { display: block; opacity: 0.85; }
.phone__balance strong { font-size: 1.25rem; letter-spacing: -0.02em; }

.phone__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.phone__tile {
  background: var(--ink-3);
  border-radius: 12px;
  padding: 0.6rem 0.5rem;
  text-align: center;
  color: #cbd5e1;
}
.phone__tile span { display: block; font-size: 1.05rem; margin-bottom: 0.15rem; }

.phone__row {
  margin-top: 0.9rem;
  background: var(--ink-3);
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #cbd5e1;
}

.phone__chip {
  background: var(--green-soft);
  color: var(--green-ink);
  padding: 0.1em 0.7em;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 4.5rem 0; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--ink); color: #cbd5e1; }
.section--ink h2, .section--ink h3 { color: #fff; }

.section__head { max-width: 640px; margin-bottom: 2.6rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head p { color: var(--text-soft); font-size: 1.05rem; }
.section--ink .section__head p { color: #94a3b8; }

/* Cards ------------------------------------------------------------------- */

.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-sm);
}

.card--flat { box-shadow: none; }

.card h3 { margin-bottom: 0.45em; font-size: 1.12rem; }
.card p { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 0; }
.card p + p { margin-top: 0.8em; }

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--red-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.section--ink .card {
  background: var(--ink-2);
  border-color: var(--ink-3);
  box-shadow: none;
}
.section--ink .card p { color: #94a3b8; }
.section--ink .card__icon { background: rgba(224, 31, 31, 0.16); }

/* Steps ------------------------------------------------------------------- */

.steps { counter-reset: step; display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }

.steps li {
  counter-increment: step;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.steps li::before {
  content: counter(step);
  flex: 0 0 auto;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-top: 0.15em;
}

.steps strong { color: var(--ink); }

/* Stats ------------------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; text-align: center; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.stat__num {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}
.stat__num .accent { color: var(--red); }
.stat__label { color: #94a3b8; font-size: 0.92rem; margin-top: 0.2rem; }

/* Testimonials ------------------------------------------------------------- */

.quote { display: flex; flex-direction: column; gap: 1.2rem; height: 100%; }
.quote__text { font-size: 1.02rem; color: var(--ink-3); margin: 0; flex: 1; }
.quote__text::before { content: "\201C"; color: var(--red); font-size: 1.6em; font-weight: 800; line-height: 0; margin-right: 0.1em; }
.quote__who { display: flex; align-items: center; gap: 0.8rem; }
.quote__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--red-soft); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.quote__name { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.quote__role { color: var(--text-soft); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* Split feature rows -------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split + .split { margin-top: 4rem; }
.split--reverse > .split__media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 1.6rem; }
  .split--reverse > .split__media { order: 0; }
}

.split__media {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}

.checklist { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 1.35em;
  height: 1.35em;
  margin-top: 0.12em;
  border-radius: 50%;
  background: var(--green-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23166534" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/60% no-repeat;
}
.checklist strong { color: var(--ink); }

/* Badge pills --------------------------------------------------------------- */

.pill {
  display: inline-block;
  padding: 0.2em 0.85em;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--red-soft);
  color: var(--red-dark);
}
.pill--green { background: var(--green-soft); color: var(--green-ink); }
.pill--amber { background: var(--amber-soft); color: var(--amber-ink); }

.card__icon + .pill { margin-bottom: 0.9rem; }

.section__foot {
  text-align: center;
  margin: 2.4rem 0 0;
  color: var(--text-soft);
  font-size: 1.05rem;
}
.section--ink .section__foot { color: #94a3b8; }

/* CTA band ------------------------------------------------------------------ */

.cta-band {
  background: linear-gradient(120deg, var(--red) 0%, #8f1010 100%);
  border-radius: calc(var(--radius) + 6px);
  color: #fff;
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 0.2em; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.cta-band__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Get-the-app band + store badges
   -------------------------------------------------------------------------- */

.getapp {
  background: var(--ink);
  color: #cbd5e1;
  padding: 3.2rem 0;
  border-bottom: 1px solid var(--ink-3);
}

.getapp__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.getapp h2 { color: #fff; margin-bottom: 0.25em; }
.getapp p { margin: 0; color: #94a3b8; max-width: 34em; }

.getapp__note {
  margin-top: 1rem !important;
  font-size: 0.84rem;
  color: #64748b !important;
  max-width: 40em;
}
.getapp__note a { color: #cbd5e1; text-decoration: underline; }

.badges { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  background: #000;
  color: #fff !important;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 0.55em 1.15em;
  text-decoration: none !important;
  min-width: 176px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.store-badge:hover { border-color: #94a3b8; transform: translateY(-1px); }

.store-badge svg { width: 25px; height: 25px; flex: none; fill: #fff; }
.store-badge small { display: block; font-size: 0.66rem; opacity: 0.75; line-height: 1.15; }
.store-badge strong { display: block; font-size: 1.02rem; line-height: 1.15; letter-spacing: -0.01em; }

/* Badges on light surfaces (heroes) */
.badges--light .store-badge { background: var(--ink); border-color: var(--ink-3); }
.badges--light .store-badge:hover { border-color: var(--text-soft); }

/* --------------------------------------------------------------------------
   Tracking widget
   -------------------------------------------------------------------------- */

.track-widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  max-width: 640px;
}

.track-widget__form { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.track-widget__input {
  flex: 1 1 220px;
  padding: 0.75em 1em;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  text-transform: uppercase;
}
.track-widget__input:focus { outline: none; border-color: var(--red); }

.track-widget__result {
  margin-top: 1.3rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
}

.track-widget__route { display: flex; align-items: center; gap: 0.6em; font-weight: 700; color: var(--ink); flex-wrap: wrap; }
.track-widget__muted { color: var(--text-soft); font-size: 0.9em; margin-top: 0.35rem; }
.track-widget__status {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.18em 0.8em;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-ink);
  font-size: 0.85em;
  font-weight: 700;
  text-transform: capitalize;
}
.track-widget__err { color: var(--red-dark); margin: 0; font-weight: 600; }

/* --------------------------------------------------------------------------
   Delivery quote widget
   -------------------------------------------------------------------------- */

.quote-widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
}

.quote-widget h3 { margin-bottom: 1.2rem; }

.quote-widget__form { display: grid; gap: 0.9rem; }

.quote-widget__form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
}

.quote-widget__form select,
.quote-widget__form input {
  padding: 0.65em 0.9em;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-weight: 400;
  background: #fff;
  width: 100%;
}
.quote-widget__form select:focus,
.quote-widget__form input:focus { outline: none; border-color: var(--red); }
.quote-widget__form select:disabled { color: var(--text-soft); }

.quote-widget__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
@media (max-width: 420px) { .quote-widget__row { grid-template-columns: 1fr; } }

.quote-widget__result {
  margin-top: 1.3rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
}

.quote-widget__price {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.quote-widget__muted { color: var(--text-soft); font-size: 0.9em; margin-top: 0.3rem; }
.quote-widget__result .btn { margin-top: 1rem; }
.quote-widget__note { margin-top: 0.8rem; }
.quote-widget__err { color: var(--red-dark); font-weight: 600; margin: 0; }

/* International parcel quote (extends the quote widget) --------------------- */

.intl-types { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.intl-type {
  padding: 0.45em 1em;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.intl-type.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.intl-rows { margin: 0 0 0.6rem; padding: 0; list-style: none; }
.intl-rows li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.2rem 0; font-size: 0.95em; }
.intl-rows li .quote-widget__muted { margin-top: 0; }
.intl-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  font-weight: 800;
  font-size: 1.05em;
  color: var(--ink);
}
.intl-sms { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px dashed var(--line); }
.intl-sms__label { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.intl-sms__row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.intl-sms__input {
  flex: 1 1 180px;
  padding: 0.65em 0.9em;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: #fff;
}
.intl-sms__input:focus { outline: none; border-color: var(--red); }
.intl-sms__ok { color: #166534; font-weight: 600; margin-top: 0.4rem; }

/* --------------------------------------------------------------------------
   Partnerships lead form
   -------------------------------------------------------------------------- */

.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  display: grid;
  gap: 0.9rem;
}

.lead-form h3 { margin-bottom: 0.3rem; }

.lead-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
}

.lead-form input,
.lead-form select {
  padding: 0.65em 0.9em;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-weight: 400;
  background: #fff;
  width: 100%;
}
.lead-form input:focus,
.lead-form select:focus { outline: none; border-color: var(--red); }

/* Honeypot: visually gone, still in the DOM for bots to trip on. */
.lead-form__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-form__note { color: var(--text-soft); font-size: 0.83rem; margin: 0; }

/* --------------------------------------------------------------------------
   Prose (legal / long-form pages)
   -------------------------------------------------------------------------- */

.prose {
  max-width: 780px;
  margin-inline: auto;
  padding: 3.2rem 0 4.5rem;
}

.prose h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 0.4em; }
.prose h2 {
  font-size: 1.4rem;
  margin-top: 2.2em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
}
.prose h3 { font-size: 1.1rem; margin-top: 1.8em; }

.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--red); }

.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }

.prose blockquote {
  margin: 1.6em 0;
  padding: 1.1em 1.4em;
  background: var(--red-soft);
  border-left: 4px solid var(--red);
  border-radius: 0 12px 12px 0;
  color: var(--ink-3);
}
.prose blockquote p:last-child { margin-bottom: 0; }

.prose .meta { color: var(--text-soft); font-size: 0.92rem; }

.table-wrap { overflow-x: auto; margin: 1.4em 0; }

.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.93rem;
}
.prose th, .prose td {
  text-align: left;
  padding: 0.65em 0.9em;
  border: 1px solid var(--line);
  vertical-align: top;
}
.prose th { background: var(--bg-soft); color: var(--ink); }
.prose tr:nth-child(even) td { background: #fbfcfe; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer { background: var(--ink); color: #94a3b8; font-size: 0.92rem; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer .logo { color: #fff; margin-bottom: 0.9rem; }
.footer .logo svg { height: 40px; }

.footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer a { color: #cbd5e1; }
.footer a:hover { color: #fff; }

.footer__contact { margin-top: 1.1rem !important; }
.footer__contact li { display: flex; gap: 0.6rem; align-items: baseline; }
.footer__contact li > span:first-child { flex: 0 0 auto; }

.footer__bottom {
  border-top: 1px solid var(--ink-3);
  padding: 1.3rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
