/* ============================================================
   Foody — site styles

   Palette is Foody's own design system, copied token-for-token
   from dev/theme/colors.js (approved 2026-08-01, light neutrals
   re-tuned 2026-08-22). Light uses the cool-slate ramp; dark is
   soft grey, not true black. Brand yellow is identical in both.
   Icons are Lucide (ISC), inlined as SVG so the pages need no
   scripts and no external requests.
   ============================================================ */

:root {
  color-scheme: light;

  --primary: #f9b009;
  --primary-pressed: #c08800;
  --primary-soft: #fff8e6;
  /* Near-black rather than textPrimary: #343741 on brand yellow is only ~6:1
     and reads muddy at button weight. This is darkColors.textInverse, already
     in the system, and clears 10:1. */
  --on-primary: #16181c;

  --text-primary: #343741;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;

  --background: #ffffff;
  --surface: #f8fafc;
  --surface-alt: #f1f5f9;
  --border: #dce3ec;
  --border-strong: #bdc8d7;

  --success: #06af71;
  --success-strong: #058556;
  --success-soft: #e8faf4;

  --hero-shadow: 0 30px 42px rgba(52, 55, 65, 0.22);
  --shadow-sm: 0 1px 2px rgba(52, 55, 65, 0.06), 0 2px 8px rgba(52, 55, 65, 0.04);
  --shadow-md: 0 4px 12px rgba(52, 55, 65, 0.08), 0 14px 34px rgba(52, 55, 65, 0.07);
  --shadow-lg: 0 14px 30px rgba(52, 55, 65, 0.1), 0 36px 68px rgba(52, 55, 65, 0.1);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --max: 1140px;
  --gutter: 22px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    system-ui, sans-serif;
}

/**
 * Dark is declared twice on purpose. The media query covers visitors who have
 * never touched the switch — but it must not win once someone has explicitly
 * chosen light, hence :not([data-theme="light"]). The attribute rule covers an
 * explicit choice of dark on a system set to light. site.js sets the
 * attribute before first paint.
 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --primary-pressed: #ffc633;
    --primary-soft: #3a2f11;

    --text-primary: #e8eaed;
    --text-secondary: #9aa0a8;
    --text-muted: #6b7178;

    --background: #16181c;
    --surface: #1e2127;
    --surface-alt: #262a31;
    --border: #353a43;
    --border-strong: #434954;

    --success: #2fd396;
    --success-strong: #2fd396;
    --success-soft: #10352a;

    --hero-shadow: 0 30px 46px rgba(0, 0, 0, 0.6);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.55);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --primary-pressed: #ffc633;
  --primary-soft: #3a2f11;

  --text-primary: #e8eaed;
  --text-secondary: #9aa0a8;
  --text-muted: #6b7178;

  --background: #16181c;
  --surface: #1e2127;
  --surface-alt: #262a31;
  --border: #353a43;
  --border-strong: #434954;

  --success: #2fd396;
  --success-strong: #2fd396;
  --success-soft: #10352a;

  --hero-shadow: 0 30px 46px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.55);
}

/**
 * Colour transitions exist only while the switch is being thrown — site.js
 * adds this class for ~400ms. Left on permanently they would fight every hover
 * state and fire on first paint.
 */
:root.theme-animating,
:root.theme-animating *,
:root.theme-animating *::before,
:root.theme-animating *::after {
  transition: background-color 0.38s ease, border-color 0.38s ease, color 0.38s ease,
    box-shadow 0.38s ease, fill 0.38s ease !important;
}

@media (prefers-reduced-motion: reduce) {
  :root.theme-animating,
  :root.theme-animating *,
  :root.theme-animating *::before,
  :root.theme-animating *::after {
    transition: none !important;
  }
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text-secondary);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--primary);
  color: #343741;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.16;
  text-wrap: balance;
}

img {
  max-width: 100%;
  height: auto;
}

svg {
  flex: none;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------------- header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--background) 84%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
}

.site-header::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 30px;
}

.site-nav {
  display: flex;
  align-items: center;
  /* Groups (links / toggle / CTA) sit further apart than links sit from each
     other — .nav-links carries its own tighter gap. */
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--surface-alt);
}

.site-nav .btn {
  padding: 10px 18px;
  font-size: 0.93rem;
}

.site-nav .btn:hover {
  background: var(--primary-pressed);
}

/* ---------------- mobile nav toggle + panel ---------------- */

.nav-toggle {
  display: none;
  flex: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--background);
  color: var(--text-primary);
  cursor: pointer;
  position: relative;
}

.nav-toggle svg {
  position: absolute;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-toggle .ic-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.nav-toggle[aria-expanded="true"] .ic-menu {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.nav-toggle[aria-expanded="true"] .ic-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.mobile-nav {
  display: none;
}

@media (max-width: 720px) {
  .nav-links,
  .appdrop {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    display: block;
    max-height: 0;
    overflow: hidden;
    border-top: 0 solid var(--border);
    background: var(--background);
    opacity: 0;
    transition: max-height 0.32s ease, opacity 0.24s ease;
  }

  .mobile-nav.is-open {
    max-height: 420px;
    opacity: 1;
    border-top-width: 1px;
  }

  .mobile-nav .wrap {
    display: flex;
    flex-direction: column;
    padding-block: 10px;
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 4px;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.98rem;
    font-weight: 500;
    text-decoration: none;
  }

  .mobile-nav a:has(.pf-icon) {
    font-weight: 400;
  }

  .mobile-nav a:active {
    background: var(--surface-alt);
  }

  .mobile-nav-divider {
    height: 1px;
    margin: 8px 4px;
    background: var(--border);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav {
    transition: none;
  }

  .nav-toggle svg {
    transition: none;
  }
}

/* ---------------- theme switch ---------------- */

.theme-toggle {
  flex: none;
  width: 60px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface-alt);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.theme-toggle:hover {
  border-color: var(--text-muted);
}

/* Static rail icons, so both destinations are always readable. */
.theme-toggle .tt-rail {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px;
  color: var(--text-muted);
  pointer-events: none;
}

.theme-toggle .tt-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
  transition: transform 0.42s cubic-bezier(0.34, 1.4, 0.5, 1);
}

.theme-toggle[aria-checked="true"] .tt-thumb {
  transform: translateX(28px);
}

/* Both icons live in the thumb and rotate past each other as it travels. */
.theme-toggle .tt-thumb svg {
  grid-area: 1 / 1;
  transition: transform 0.42s cubic-bezier(0.34, 1.4, 0.5, 1), opacity 0.3s ease;
}

.theme-toggle .tt-sun {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

.theme-toggle .tt-moon {
  transform: rotate(-140deg) scale(0.4);
  opacity: 0;
}

.theme-toggle[aria-checked="true"] .tt-sun {
  transform: rotate(140deg) scale(0.4);
  opacity: 0;
}

.theme-toggle[aria-checked="true"] .tt-moon {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle .tt-thumb,
  .theme-toggle .tt-thumb svg {
    transition-duration: 0.01ms;
  }
}

/* ---------------- get-the-app dropdown ---------------- */

.appdrop {
  position: relative;
}

.appdrop > summary {
  list-style: none;
  cursor: pointer;
}

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

.appdrop > summary .chev {
  transition: transform 0.22s ease;
}

.appdrop[open] > summary .chev {
  transform: rotate(180deg);
}

.appdrop-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  /* Wide enough that "Download on the App Store" — the longest platform
     description — never wraps to a second line. */
  width: max-content;
  min-width: 296px;
  max-width: calc(100vw - 2 * var(--gutter));
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--background);
  box-shadow: var(--shadow-lg);
}

@media (prefers-reduced-motion: no-preference) {
  .appdrop[open] .appdrop-menu {
    animation: drop-in 0.18s ease-out;
  }

  @keyframes drop-in {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.appdrop-menu a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 13px;
  border-radius: 10px;
  color: var(--text-primary);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.appdrop-menu a:hover {
  background: var(--surface-alt);
}

/* Shared by the desktop dropdown AND the mobile panel, which reuses the same
   pf-icon/pf-text markup — these were previously scoped to .appdrop-menu only,
   so in the mobile panel the icon rendered as a bare, unsized inline SVG with
   no tile, misaligned against the row. */
.pf-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  background: var(--surface-alt);
  color: var(--text-primary);
}

.appdrop-menu a:hover .pf-icon {
  background: var(--primary-soft);
}

.pf-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

/* Desktop only: the dropdown has a fixed width sized for this, the mobile
   panel is full-width and should wrap normally like everything else in it. */
.appdrop-menu .pf-text {
  white-space: nowrap;
}

.pf-text strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.pf-text small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.15s ease,
    border-color 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 1px 2px rgba(160, 110, 0, 0.2), 0 8px 20px rgba(249, 176, 9, 0.26);
}

.btn-primary:hover {
  background: var(--primary-pressed);
}

.btn-outline {
  background: var(--background);
  border-color: var(--border-strong);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  background: var(--surface);
}

@media (prefers-reduced-motion: no-preference) {
  .btn:hover {
    transform: translateY(-1px);
  }

  .btn:active {
    transform: translateY(0);
  }
}

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

/* Real store badges from the existing site, kept at their own ratio. */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.store-badges a {
  display: inline-block;
  border-radius: var(--r-sm);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.store-badges img {
  display: block;
  width: auto;
  height: 52px;
}

@media (prefers-reduced-motion: no-preference) {
  .store-badges a:hover {
    transform: translateY(-2px);
  }
}

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  overflow: clip;
  padding: 76px 0 88px;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--background);
  box-shadow: var(--shadow-sm);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
}

.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 22%, transparent);
}

.hero h1 {
  margin: 24px 0 0;
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero h1 .accent {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}

.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.07em;
  height: 0.3em;
  background: var(--primary);
  opacity: 0.32;
  border-radius: 4px;
  z-index: -1;
}

.hero p.lead {
  margin: 22px 0 0;
  max-width: 46ch;
  font-size: 1.16rem;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-art img {
  width: min(520px, 100%);
  filter: drop-shadow(var(--hero-shadow));
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art img {
    animation: float 6s ease-in-out infinite;
  }

  @keyframes float {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-12px);
    }
  }
}

/* ---------------- bands ---------------- */

.band {
  padding: 92px 0;
}

.band.tint {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.band-head {
  max-width: 60ch;
  margin-bottom: 46px;
}

.band-head.center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-pressed);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h2.section-title {
  margin: 0;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  letter-spacing: -0.03em;
}

p.section-sub {
  margin: 14px 0 0;
  font-size: 1.08rem;
}

/* ---------------- feature cards ---------------- */

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(264px, 1fr));
}

.card {
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--background);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.band.tint .card {
  background: var(--background);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  font-size: 0.99rem;
}

@media (prefers-reduced-motion: no-preference) {
  .card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
  }
}

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-pressed);
}

/* ---------------- steps ---------------- */

.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(244px, 1fr));
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 58px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 1.02rem;
  font-weight: 700;
}

.step::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 54px;
  right: -24px;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--border-strong) 0 6px,
    transparent 6px 13px
  );
}

.step:last-child::after {
  display: none;
}

.step h3 {
  margin: 0 0 7px;
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  font-size: 0.99rem;
}

/* ---------------- roles ---------------- */

.roles {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
}

.role {
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--background);
}

.role.feature {
  background: linear-gradient(165deg, var(--primary-soft), var(--background) 68%);
  border-color: color-mix(in srgb, var(--primary) 36%, var(--border));
}

.role-top {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
  color: var(--primary-pressed);
}

.role h3 {
  margin: 0;
  font-size: 1.2rem;
}

.role p {
  margin: 0 0 20px;
  font-size: 0.99rem;
}

.role .role-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  align-self: flex-start;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
  transition: gap 0.15s ease;
}

.role .role-cta:hover {
  gap: 11px;
}

/* ---------------- closing cta ---------------- */

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 64px 32px;
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, #ffc93f, var(--primary) 54%, #e09b00);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta-panel h2 {
  margin: 0;
  color: #2b2205;
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  letter-spacing: -0.03em;
}

.cta-panel p {
  margin: 14px auto 0;
  max-width: 52ch;
  color: rgba(43, 34, 5, 0.78);
  font-size: 1.08rem;
}

.cta-panel .store-badges {
  justify-content: center;
}

/* ---------------- prose (legal) ---------------- */

.prose {
  max-width: 70ch;
  margin-inline: auto;
  padding: 58px 0 88px;
}

.prose h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: -0.032em;
}

.prose .intro {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.prose h2 {
  margin: 46px 0 12px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 30px 0 8px;
  font-size: 1.05rem;
}

.prose p {
  margin: 0 0 14px;
}

.prose ul {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}

.prose li {
  position: relative;
  margin: 9px 0;
  padding-left: 26px;
}

.prose li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.prose a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.prose a:hover {
  text-decoration-thickness: 3px;
}

/* ---------------- contact ---------------- */

.contact-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
  margin: 34px 0 8px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
}

.contact-card-link {
  position: relative;
  /* Reserves room for the arrow, which is positioned out of flow below —
     otherwise it sits inline and eats the width the value text needs to
     avoid wrapping mid-word. */
  padding-right: 40px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease,
    background-color 0.2s ease;
}

.contact-card-link:hover {
  background: var(--background);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

@media (prefers-reduced-motion: no-preference) {
  .contact-card-link:hover {
    transform: translateY(-2px);
  }
}

.contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-pressed);
}

.contact-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-body .label {
  margin: 0 0 3px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-body .value {
  color: var(--text-primary);
  font-weight: 600;
  /* break-word only splits a word when it would otherwise overflow, and
     prefers the <wbr> hints in the markup (after "@", before ".com", after
     "/") over an arbitrary mid-word cut — anywhere ignored those entirely. */
  overflow-wrap: break-word;
}

.contact-body .value wbr {
  line-height: 0;
}

.contact-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--text-muted);
  transition: transform 0.18s ease, color 0.18s ease;
}

.contact-card-link:hover .contact-arrow {
  color: var(--text-primary);
  transform: translateX(3px);
}

/* ---------------- footer ---------------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 58px 0 50px;
  background: var(--surface);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.6fr 1fr 1fr;
}

.footer-grid h4 {
  margin: 0 0 14px;
  color: var(--text-primary);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li {
  margin: 9px 0;
}

.site-footer .brand img {
  height: 28px;
}

.site-footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.site-footer .tagline {
  margin: 14px 0 0;
  max-width: 36ch;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.87rem;
}

/* ---------------- responsive ---------------- */

@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero p.lead {
    margin-inline: auto;
  }

  .hero .btn-row,
  .hero .store-badges {
    justify-content: center;
  }

  .hero-art {
    order: -1;
  }

  .hero-art img {
    width: min(400px, 84%);
  }

  .step::after {
    display: none;
  }

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

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .band {
    padding: 64px 0;
  }

  .band-head {
    margin-bottom: 34px;
  }

  .btn-row .btn {
    width: 100%;
  }

  .store-badges img {
    height: 46px;
  }

  .cta-panel {
    padding: 46px 20px;
    border-radius: var(--r-lg);
  }

  .prose h2 {
    margin-top: 38px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
