/* Mosey marketing site — design tokens mirror moSey-Brand-Guidelines.pdf exactly.
   Plus Jakarta Sans for display/headers, Inter for body copy. */

:root {
  --accent: #F97316;
  --accent-hover: #EA580C;
  /* LEGAL-1 — a darker step of the brand orange, for accent-coloured TEXT only.
     #F97316 is the brand fill and reads correctly on a button, but as small text
     on the page background it measures 2.7:1, below the 4.5:1 WCAG AA needs. This
     one measures 5.0:1 on every background the site uses. Fills, borders and
     buttons keep --accent; text that happens to be orange uses this. */
  --accent-text: #C2410C;
  --accent-soft: #FFE8D6;
  --accent-faint: #FFF7ED;
  --ink: #221F1D;
  --ink-muted: #6B655C;
  --ink-faint: #9C9589;
  --bg: #FDFBF8;
  --surface: #FFFFFF;
  --divider: #EDE8E1;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-card: 0 4px 20px -4px rgba(34, 31, 29, 0.08), 0 2px 6px -2px rgba(34, 31, 29, 0.04);
  --shadow-header: 0 2px 12px rgba(34, 31, 29, 0.06);
  --shadow-hero-card: 0 16px 36px -8px rgba(0, 0, 0, 0.22);
  --max-width: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #F97316;
    --accent-hover: #FB923C;
    /* On the dark background the brand orange measures 6.2:1, so text uses it
       directly and no darker step is needed. */
    --accent-text: #F97316;
    --accent-soft: #3D2417;
    --accent-faint: #2D1A10;
    --ink: #F5F1EA;
    --ink-muted: #C2B9AC;
    --ink-faint: #80776D;
    --bg: #1C1917;
    --surface: #26221F;
    --divider: #3A342E;
    --shadow-card: 0 4px 20px -4px rgba(0, 0, 0, 0.5);
    --shadow-header: 0 4px 16px rgba(0, 0, 0, 0.35);
  }

  /* SVG Wordmark theme inversion so logo text renders light in dark mode */
  .brand-mark__wordmark,
  .hero__wordmark,
  .site-footer__wordmark {
    filter: invert(0.92) hue-rotate(180deg) brightness(1.2);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.18;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  text-decoration: none;
}
.skip-link:focus {
  left: 16px;
}

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.button:hover {
  transform: translateY(-1px);
}
.button--primary {
  background: var(--accent);
  color: #fff;
}
.button--primary:hover {
  background: var(--accent-hover);
  opacity: 0.95;
}
.button--secondary {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  backdrop-filter: blur(4px);
}
.button--secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #fff;
}
.button--outline {
  background: transparent;
  border-color: var(--divider);
  color: var(--ink);
}
.button--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-header);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
}

.brand-mark__wordmark {
  height: 26px;
  width: auto;
}

.site-nav__list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  color: var(--ink-muted);
  padding: 6px 0;
  position: relative;
  transition: color 0.15s ease;
}

.site-nav__list a:hover {
  color: var(--accent);
}

.site-nav__list a.is-active {
  color: var(--accent);
  font-weight: 700;
}

.site-nav__list a.is-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.hero {
  background: linear-gradient(135deg, #C2410C 0%, #EA580C 45%, #F97316 100%);
  padding: 64px 0 72px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero__wordmark {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.18));
}

.hero__tagline {
  color: #ffffff;
  font-size: clamp(36px, 5.5vw, 60px);
  letter-spacing: -0.015em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.hero__sub {
  color: rgba(255, 255, 255, 0.96);
  font-family: var(--font-body);
  font-size: 18.5px;
  max-width: 580px;
  line-height: 1.55;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.hero__ctas {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero Visual Mockup Element */
.hero__preview {
  margin-top: 36px;
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-hero-card);
  text-align: left;
}

.hero-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hero-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.hero-card__distance {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

.hero-card__title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.hero-card__desc {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 14px;
  line-height: 1.45;
}

.hero-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--divider);
  padding-top: 12px;
}

.hero-card__deal-type {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.hero-card__btn {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
}

/* ---------- Section shell ---------- */

.section {
  padding: 88px 0;
}

.section + .section {
  border-top: 1px solid var(--divider);
}

.section--tinted {
  background: var(--accent-faint);
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(28px, 4vw, 40px);
  max-width: 720px;
  letter-spacing: -0.01em;
}

.section__lede {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 600px;
  margin-top: 16px;
  line-height: 1.55;
}

/* ---------- How It Works Section ---------- */

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

.step-card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-card__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--accent);
  background: var(--accent-soft);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ---------- Benefit cards ---------- */

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

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px -6px rgba(34, 31, 29, 0.12);
}

.benefit-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 20px;
}

.benefit-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h3 {
  font-size: 18.5px;
  margin-bottom: 10px;
}

.benefit-card p {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ---------- Comparison table ---------- */

.compare-table-wrap {
  margin-top: 40px;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--divider);
  position: relative;
  box-shadow: var(--shadow-card);
}

.scroll-hint {
  display: none;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 12px;
  text-align: right;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--surface);
  min-width: 940px;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 18px 20px;
  vertical-align: top;
  border-bottom: 1px solid var(--divider);
  line-height: 1.5;
}

.compare-table thead th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  white-space: nowrap;
  border-bottom: 2px solid var(--divider);
}

.compare-table tbody th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  background: var(--bg);
}

.compare-table tbody td {
  color: var(--ink-muted);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table__row-label {
  background: var(--bg);
}

.compare-table__mosey {
  background: var(--accent-soft);
  color: var(--ink) !important;
  font-weight: 600;
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.compare-table thead .compare-table__mosey {
  color: var(--accent) !important;
  font-size: 15.5px;
  font-weight: 800;
}

/* ---------- Marketing snapshot ---------- */

.snapshot-card {
  margin-top: 48px;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.snapshot-card__mission {
  padding: 44px;
  border-right: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.snapshot-card__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.snapshot-card__mission-text {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  font-family: var(--font-body);
}

.snapshot-card__tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-muted);
  margin-top: auto;
}

.snapshot-card__details {
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.snapshot-block p {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.snapshot-block p:last-child {
  margin-bottom: 0;
}

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

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

.snapshot-list li {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink-muted);
  padding-left: 22px;
  position: relative;
}

.snapshot-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Coupon CTA — Coupon Tear detail ---------- */

.coupon-cta {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-align: center;
}

.coupon-cta__top {
  padding: 48px 40px 36px;
}

.coupon-cta__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.coupon-cta__title {
  font-size: 32px;
  margin-bottom: 12px;
}

.coupon-cta__body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.55;
}

.coupon-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--bg);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--divider);
  margin-top: 18px;
}

.coupon-tear {
  position: relative;
  height: 0;
  border-top: 2px dashed var(--divider);
}

.coupon-tear::before,
.coupon-tear::after {
  content: '';
  position: absolute;
  top: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
}

.coupon-tear::before {
  left: -8px;
}

.coupon-tear::after {
  right: -8px;
}

.coupon-cta__bottom {
  padding: 36px 40px 48px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.site-footer {
  border-top: 1px solid var(--divider);
  padding: 56px 0 44px;
  background: var(--surface);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.site-footer__wordmark {
  height: 22px;
  width: auto;
}

.site-footer__tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-muted);
}

.site-footer__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 6px 0;
}

.site-footer__nav a {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer__nav a:hover {
  color: var(--accent);
}

.site-footer__address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-faint);
}

.site-footer__address-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-muted);
}

.site-footer__address a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer__address a:hover {
  color: var(--accent);
}

.site-footer__copyright {
  font-size: 13px;
  color: var(--ink-faint);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav__list {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--divider);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .site-nav__list.is-open {
    max-height: 360px;
  }

  .site-nav__list li {
    border-top: 1px solid var(--divider);
  }

  .site-nav__list a {
    display: block;
    padding: 16px 24px;
  }

  .site-nav__list a.is-active::after {
    display: none;
  }

  .hero {
    padding: 56px 0 60px;
  }

  .section {
    padding: 64px 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .snapshot-card {
    grid-template-columns: 1fr;
  }

  .snapshot-card__mission {
    border-right: none;
    border-bottom: 1px solid var(--divider);
    padding: 32px;
  }

  .snapshot-card__details {
    padding: 32px;
  }

  .coupon-cta__top {
    padding: 36px 24px 28px;
  }

  .coupon-cta__bottom {
    padding: 28px 24px 36px;
  }

  .scroll-hint {
    display: block;
  }
}

/* LEGAL-1 — the second footer row, added 19 September 2026.
   Set slightly smaller and lighter than the primary footer nav so the two rows
   read as a hierarchy rather than as one wrapped list. */
.site-footer__nav--legal {
  margin-top: -6px;
  gap: 18px;
}

.site-footer__nav--legal a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
}

.site-footer__nav--legal a:hover {
  color: var(--accent-text);
}
