/* ---------- Self-hosted fonts (latin + latin-ext subsets) ---------- */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/anton-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/anton-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/archivo-black-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/archivo-black-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Pacifico";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/pacifico-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Pacifico";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/pacifico-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Screen-printed paper palette */
  --paper: #f1e7cf;
  --paper-2: #ecdfbf;
  --paper-3: #f7efdc;
  --ink: #17130e;
  --ink-soft: #5a4f3d;
  /* Buskr blue: matches the app icon / AccentColor (sRGB 0.290, 0.565, 0.886) */
  --blue: #4a90e2;
  --blue-bright: #74a9e8;
  /* Darkened Buskr blue for small text/links on light paper (keeps contrast) */
  --blue-ink: #2f6dc2;
  --gold: #f2b50a;
  --orange: #ef5a24;
  --red: #d8392f;
  --line: var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow-lg: 11px 11px 0 var(--ink);
  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-heavy: "Archivo Black", system-ui, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-script: "Pacifico", ui-rounded, cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font-body);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 1.5px 1.5px, rgba(23, 19, 14, 0.05) 1.5px, transparent 1.6px),
    radial-gradient(circle at 18% 4%, rgba(242, 181, 10, 0.18), transparent 26rem),
    radial-gradient(circle at 84% 0%, rgba(74, 144, 226, 0.16), transparent 28rem);
  background-size: 22px 22px, auto, auto;
  background-attachment: fixed, fixed, fixed;
}

/* Paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  border-bottom: 3px solid var(--ink);
  background: var(--paper-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-script);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  transform: rotate(-4deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heavy);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a {
  padding: 8px 12px;
  border: 2px solid transparent;
  border-radius: 6px;
}

.nav-links a:hover {
  border-color: var(--ink);
  background: var(--gold);
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 12px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-heavy);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(-1.4deg);
  box-shadow: var(--shadow-sm);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 10px;
  font-family: var(--font-heavy);
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

/* Spot-color ink words for poster headlines */
.ink-blue { color: var(--blue); -webkit-text-stroke: 1.5px var(--ink); }
.ink-gold { color: var(--gold); -webkit-text-stroke: 1.5px var(--ink); }
.ink-orange { color: var(--orange); -webkit-text-stroke: 1.5px var(--ink); }
.ink-underline {
  text-decoration: underline;
  text-decoration-thickness: 8px;
  text-underline-offset: 6px;
  text-decoration-color: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(52px, 8vw, 104px) clamp(18px, 5vw, 72px) 64px;
}

.hero,
.brand-story,
.section,
.split-section,
.heritage-section,
.conversion-band,
.cta-section {
  scroll-margin-top: 104px;
}

.hero-copy {
  max-width: 720px;
}

.hero-text {
  max-width: 600px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  font-weight: 500;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* ---------- Buttons (ticket stubs) ---------- */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 3px solid var(--ink);
  border-radius: 6px;
  font-family: var(--font-heavy);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.button-primary {
  background: var(--blue);
  color: var(--ink);
}

.button-secondary {
  background: var(--gold);
  color: var(--ink);
}

.launch-note {
  margin-top: 18px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Marquee (replaces trust strip) ---------- */
.marquee {
  margin-top: 30px;
  padding: 12px 0;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--orange);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 22s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  color: var(--ink);
  font-family: var(--font-heavy);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "\2605";
  margin-left: 22px;
  color: var(--paper-3);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Phone showcase (taped flyer) ---------- */
.phone-showcase {
  display: grid;
  place-items: center;
}

.phone-frame {
  position: relative;
  width: min(330px, 82vw);
  min-height: 640px;
  padding: 16px;
  border: 4px solid var(--ink);
  border-radius: 38px;
  background: var(--paper-3);
  box-shadow: var(--shadow-lg);
  transform: rotate(2.2deg);
}

/* tape pieces */
.phone-frame::before,
.phone-frame::after {
  content: "";
  position: absolute;
  width: 96px;
  height: 30px;
  background: rgba(242, 181, 10, 0.66);
  border: 1px solid rgba(23, 19, 14, 0.35);
}

.phone-frame::before {
  top: -16px;
  left: 30px;
  transform: rotate(-7deg);
}

.phone-frame::after {
  bottom: -14px;
  right: 28px;
  transform: rotate(-5deg);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.phone-status span:first-child {
  width: 84px;
  height: 9px;
  border-radius: 999px;
  background: var(--ink);
  opacity: 0.6;
}

.phone-status span:last-child {
  width: 36px;
  height: 9px;
  border-radius: 999px;
  background: var(--ink);
  opacity: 0.35;
}

.map-card {
  position: relative;
  min-height: 578px;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 26px;
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(23, 19, 14, 0.10) 2px, transparent 2px),
    linear-gradient(rgba(23, 19, 14, 0.10) 2px, transparent 2px),
    radial-gradient(circle at 26% 22%, rgba(74, 144, 226, 0.16), transparent 8rem),
    radial-gradient(circle at 72% 66%, rgba(239, 90, 36, 0.14), transparent 9rem);
  background-size: 46px 46px, 46px 46px, auto, auto;
}

.map-pin {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--blue-bright);
  box-shadow: 0 0 0 7px rgba(74, 144, 226, 0.22);
}

.pin-one { top: 116px; left: 66px; }

.pin-two {
  top: 246px;
  right: 60px;
  background: var(--blue);
  box-shadow: 0 0 0 7px rgba(74, 144, 226, 0.24);
}

.pin-three {
  bottom: 164px;
  left: 92px;
  background: var(--orange);
  box-shadow: 0 0 0 7px rgba(239, 90, 36, 0.2);
}

.map-badge {
  position: absolute;
  max-width: 172px;
  padding: 12px 13px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--paper-3);
  box-shadow: var(--shadow-sm);
}

.map-badge strong,
.map-badge span {
  display: block;
}

.map-badge strong {
  margin-bottom: 4px;
  font-family: var(--font-heavy);
  font-size: 0.92rem;
}

.map-badge span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.map-badge-top { top: 30px; left: 22px; transform: rotate(-2deg); }
.map-badge-side { top: 188px; left: 22px; transform: rotate(1.5deg); }

.live-card {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 18px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--paper-3);
  box-shadow: var(--shadow-sm);
}

.live-pill {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  background: var(--gold);
  font-family: var(--font-heavy);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.live-card h2 {
  margin-bottom: 6px;
  font-size: 1.9rem;
}

.live-card p {
  color: var(--ink-soft);
  font-weight: 600;
}

.mini-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.mini-actions span {
  padding: 9px 8px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  text-align: center;
  font-family: var(--font-heavy);
  font-size: 0.8rem;
}

.mini-actions span:nth-child(1) { background: rgba(34, 197, 94, 0.32); }
.mini-actions span:nth-child(2) { background: rgba(239, 90, 36, 0.28); }
.mini-actions span:nth-child(3) { background: rgba(74, 144, 226, 0.3); }

/* ---------- Pasted-flyer sections ---------- */
.section,
.brand-story,
.heritage-section,
.conversion-band,
.split-section,
.cta-section {
  margin: 0 clamp(18px, 5vw, 72px) 34px;
  padding: clamp(30px, 5vw, 58px);
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--paper-3);
  box-shadow: var(--shadow);
}

.brand-story { transform: rotate(-0.6deg); }
.section { transform: rotate(0.5deg); }
.split-section { transform: rotate(-0.5deg); }
.heritage-section { transform: rotate(0.4deg); }

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.brand-story {
  background: var(--blue);
  color: var(--ink);
}

.brand-story .eyebrow {
  background: var(--paper-3);
  color: var(--ink);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.8fr;
  gap: 18px;
}

.story-card {
  padding: 24px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--paper-3);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.story-card-large { background: var(--gold); }

.story-card p {
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 24px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.feature-card:nth-child(1) { transform: rotate(-1deg); }
.feature-card:nth-child(2) { transform: rotate(0.8deg); }
.feature-card:nth-child(3) { transform: rotate(-0.6deg); }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.feature-card p,
.checklist p,
.story-card p,
.values-grid span,
.timeline p,
.cta-section p {
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.6;
}

.values-section {
  background: var(--paper-3);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.values-grid div {
  min-height: 184px;
  padding: 22px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.values-grid div:nth-child(1) { background: rgba(242, 181, 10, 0.4); }
.values-grid div:nth-child(2) { background: rgba(74, 144, 226, 0.28); }
.values-grid div:nth-child(3) { background: rgba(239, 90, 36, 0.26); }
.values-grid div:nth-child(4) { background: rgba(34, 197, 94, 0.28); }

.values-grid strong,
.values-grid span {
  display: block;
}

.values-grid strong {
  margin-bottom: 12px;
  font-family: var(--font-heavy);
  font-size: 1.05rem;
}

.values-grid span {
  color: var(--ink);
}

.split-section,
.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  align-items: center;
  gap: 28px;
}

.split-section-alt {
  background: var(--gold);
}

.checklist {
  display: grid;
  gap: 14px;
}

.checklist p {
  position: relative;
  margin: 0;
  padding: 16px 16px 16px 50px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-weight: 600;
}

.checklist p::before {
  content: "\2713";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--gold);
  font-family: var(--font-heavy);
  font-size: 0.85rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-row div {
  padding: 22px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--paper-3);
  box-shadow: var(--shadow-sm);
}

.stat-row strong,
.stat-row span {
  display: block;
}

.stat-row strong {
  margin-bottom: 8px;
  font-family: var(--font-heavy);
  font-size: 1.15rem;
}

.stat-row span {
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.45;
}

.cta-section {
  background: var(--orange);
}

.cta-section .eyebrow {
  background: var(--paper-3);
  color: var(--ink);
}

.heritage-section {
  background-color: var(--paper-3);
  background-image: radial-gradient(circle at 2px 2px, rgba(23, 19, 14, 0.09) 1.5px, transparent 1.6px);
  background-size: 16px 16px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.timeline article {
  position: relative;
  padding: 26px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.timeline article::before {
  content: "";
  display: block;
  width: 48px;
  height: 7px;
  margin-bottom: 18px;
  background: var(--blue);
}

.timeline article:nth-child(2)::before { background: var(--gold); }
.timeline article:nth-child(3)::before { background: var(--orange); }

.timeline span {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-heavy);
  font-size: 1.1rem;
}

.conversion-band {
  text-align: center;
  background: var(--blue);
  color: var(--ink);
}

.conversion-band .eyebrow {
  background: var(--paper-3);
  color: var(--ink);
}

/* On the blue band a blue button would blend in, so the primary CTA
   becomes a cream ticket to keep it readable and prominent. */
.conversion-band .button-primary {
  background: var(--paper-3);
  color: var(--ink);
}

.conversion-band h2 {
  max-width: 940px;
  margin-right: auto;
  margin-left: auto;
}

.conversion-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
  padding: 26px clamp(18px, 5vw, 72px) 44px;
  border-top: 3px solid var(--ink);
  background: var(--paper-3);
  font-family: var(--font-heavy);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a:hover {
  color: var(--blue-ink);
  text-decoration: underline;
}

/* ---------- Legal / support pages ---------- */
.legal-page {
  padding: clamp(40px, 7vw, 80px) clamp(18px, 5vw, 72px) 32px;
}

.legal-hero {
  max-width: 920px;
  margin-bottom: 30px;
}

.legal-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}

.legal-hero p {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.6;
}

.legal-card,
.support-card {
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--paper-3);
  box-shadow: var(--shadow);
}

.legal-card {
  max-width: 980px;
  padding: clamp(26px, 5vw, 52px);
}

.legal-card h2 {
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.support-card p {
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.75;
}

.legal-card a {
  color: var(--blue-ink);
  font-weight: 800;
  text-decoration: underline;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.support-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 26px;
}

.support-card:nth-child(1) { transform: rotate(-0.8deg); }
.support-card:nth-child(2) { transform: rotate(0.6deg); }
.support-card:nth-child(3) { transform: rotate(-0.5deg); }

.support-card h2 {
  font-size: 1.45rem;
}

.support-card p {
  flex: 1;
}

/* ---------- Responsive ---------- */
/* Keep the hero single-column until there is room for two, so the big
   display headline never splits a long word awkwardly. */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

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

  .site-header {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    display: flex;
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    border: 2px solid var(--ink);
    white-space: nowrap;
    background: var(--paper);
  }

  .hero,
  .brand-story,
  .section,
  .split-section,
  .heritage-section,
  .conversion-band,
  .cta-section {
    scroll-margin-top: 132px;
    grid-template-columns: 1fr;
  }

  /* Calm the rotations on small screens to avoid overflow */
  .brand-story,
  .section,
  .split-section,
  .heritage-section,
  .feature-card,
  .support-card {
    transform: none;
  }

  .phone-frame {
    min-height: 560px;
    transform: rotate(1.4deg);
  }

  .map-card {
    min-height: 482px;
  }

  .feature-grid,
  .story-grid,
  .values-grid,
  .timeline,
  .support-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    font-size: 1.45rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding: 40px 16px 36px;
  }

  .section,
  .brand-story,
  .heritage-section,
  .conversion-band,
  .split-section,
  .cta-section {
    margin-right: 16px;
    margin-left: 16px;
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
  }

  .button:hover,
  .button:active {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
}
