/* ZingBuddies — zingbuddies.com
   Build v3.0.0
   Theme: navy #01254A + mustard #F5BA3B + cream #FAF6EC
*/

/* ---------- Tokens ---------- */
:root {
  /* Green ramp — primary/structural */
  --navy-900: #011A34;
  --navy-800: #01254A;
  --navy-700: #073462;
  --navy-600: #0F4A80;
  --navy-500: #1D6199;

  /* Mustard — accent */
  --mustard: #F5BA3B;
  --mustard-600: #D99B1F;
  --mustard-200: #FAE0A8;
  --mustard-100: #FDF1D2;

  --cream: #FAF6EC;
  --cream-2: #F3EAD6;
  --paper: #FFFDF8;

  --ink: #0B1B2E;
  --muted: #56657A;
  --line: rgba(1, 37, 74, 0.16);
  --line-soft: rgba(1, 37, 74, 0.09);

  --white: #ffffff;

  /* Single type family, differentiated by weight and tracking */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  /* Type scale */
  --fs-display: clamp(2.6rem, 1.6rem + 3.6vw, 4.25rem);
  --fs-h1: clamp(2.1rem, 1.5rem + 2.4vw, 3.1rem);
  --fs-h2: clamp(1.7rem, 1.35rem + 1.5vw, 2.4rem);
  --fs-h3: 1.25rem;
  --fs-lede: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  --fs-body: 1rem;
  --fs-sm: 0.9375rem;
  --fs-label: 0.75rem;

  --wrap: 1560px;
  --gutter: clamp(20px, 3.2vw, 56px);
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 6px rgba(1, 26, 52, 0.08);
  --shadow-md: 0 10px 30px rgba(1, 26, 52, 0.12);
  --shadow-lg: 0 24px 60px rgba(1, 26, 52, 0.18);
}

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

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

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

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

a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.022em;
  font-weight: 800;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--navy-800);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; }

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

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

.band { padding-block: clamp(60px, 8vw, 104px); }
.band--tight { padding-block: clamp(44px, 5vw, 64px); }
.band--deep { background: var(--navy-800); color: var(--mustard-100); }
.band--deep h2,
.band--deep h3 { color: var(--white); }
.band--paper { background: var(--paper); }

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mustard-600);
  margin: 0 0 14px;
}
.band--deep .eyebrow { color: var(--mustard); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--muted);
  max-width: 62ch;
}
.band--deep .lede { color: rgba(248, 236, 201, 0.82); }

.section-head { max-width: 68ch; margin-bottom: 44px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease,
    border-color 0.16s ease, box-shadow 0.16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--navy-800); color: var(--mustard-100); }
.btn--primary:hover { background: var(--navy-700); box-shadow: var(--shadow-md); }

.btn--mustard { background: var(--mustard); color: var(--navy-900); }
.btn--mustard:hover { background: var(--mustard-600); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn--ghost:hover { background: var(--navy-800); color: var(--mustard-100); }

.band--deep .btn--ghost { color: var(--mustard-100); border-color: rgba(248, 236, 201, 0.5); }
.band--deep .btn--ghost:hover { background: var(--mustard); color: var(--navy-900); border-color: var(--mustard); }

.btn--sm { padding: 11px 20px; font-size: 0.92rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 245, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: var(--navy-800);
  display: grid;
  place-items: center;
}
.brand-mark span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mustard);
  box-shadow: 0 0 0 4px rgba(227, 178, 60, 0.28);
}
.brand-name {
  font-family: var(--font-display);
  letter-spacing: -0.022em;
  font-weight: 800;
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
  color: var(--navy-800);
}
.brand-tld {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: block;
  margin-top: -3px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--navy-800);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
}
.nav a:hover { background: var(--cream-2); }
.nav a[aria-current="page"] { background: var(--navy-800); color: var(--mustard-100); }

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-800);
  margin-inline: auto;
  border-radius: 2px;
  position: relative;
  content: "";
}
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(52px, 7vw, 92px) clamp(60px, 8vw, 104px);
  background:
    radial-gradient(1000px 460px at 88% -8%, rgba(227, 178, 60, 0.32), transparent 62%),
    var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}

.hero h1 { margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.08em;
  height: 0.34em;
  background: var(--mustard);
  z-index: -1;
  border-radius: 3px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mustard-600);
  flex: none;
}

/* ---------- PIN gate (signature element) ---------- */
.pingate {
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-top: 30px;
  box-shadow: var(--shadow-md);
}
.pingate-label {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mustard);
  margin: 0 0 12px;
}
.pingate-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pingate input {
  flex: 1 1 190px;
  min-width: 0;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 1.28rem;
  letter-spacing: 0.28em;
  padding: 14px 18px;
  border-radius: 12px;
  border: 2px solid rgba(248, 236, 201, 0.24);
  background: var(--navy-900);
  color: var(--mustard-100);
}
.pingate input::placeholder { color: rgba(248, 236, 201, 0.35); letter-spacing: 0.28em; }
.pingate input:focus { border-color: var(--mustard); outline: none; }

.pingate-result {
  margin-top: 16px;
  font-size: 0.94rem;
  color: rgba(248, 236, 201, 0.86);
  min-height: 1.4em;
}
.pingate-result strong { color: var(--mustard); }
.pingate-result ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pingate-result li {
  font-size: 0.86rem;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(248, 236, 201, 0.1);
  border: 1px solid rgba(248, 236, 201, 0.2);
}

/* ---------- Noticeboard (signature element) ---------- */
.board {
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 20px 20px 26px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.board::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(248, 236, 201, 0.18);
  border-radius: 16px;
  pointer-events: none;
}
.board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 8px 16px;
  position: relative;
}
.board-head h3 {
  font-size: 1.02rem;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.01em;
}
.board-head .board-meta {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mustard);
}

.board-stack { display: grid; gap: 12px; position: relative; }

.note {
  background: var(--paper);
  border-radius: 12px;
  padding: 15px 17px;
  box-shadow: var(--shadow-sm);
  position: relative;
  border-left: 5px solid var(--mustard);
}
.note:nth-child(even) { transform: rotate(-0.35deg); }
.note:nth-child(odd) { transform: rotate(0.3deg); }
.note--alert { border-left-color: #c1401f; }
.note--civic { border-left-color: var(--navy-600); }

.note-tag {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mustard-600);
  display: block;
  margin-bottom: 5px;
}
.note--alert .note-tag { color: #c1401f; }
.note--civic .note-tag { color: var(--navy-600); }

.note p { margin: 0 0 8px; font-size: 0.95rem; line-height: 1.5; }
.note-by { font-size: 0.8rem; color: var(--muted); margin: 0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--mustard);
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mustard-100);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.band--deep .card {
  background: var(--navy-700);
  border-color: rgba(248, 236, 201, 0.16);
}
.band--deep .card p { color: rgba(248, 236, 201, 0.76); }
.band--deep .card-icon { background: rgba(227, 178, 60, 0.18); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  color: var(--navy-800);
  background: var(--mustard);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 500;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  background: rgba(248, 236, 201, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--navy-800); padding: 28px 22px; }
.stat-num {
  font-family: var(--font-display);
  letter-spacing: -0.022em;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--mustard);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.88rem;
  color: rgba(248, 236, 201, 0.76);
  margin: 10px 0 0;
}

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
}
.split > * > :first-child { margin-top: 0; }
.split--flip .split-media { order: -1; }

.split-media {
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 13px; }
.checklist li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 13px;
  align-items: start;
  font-size: 0.99rem;
}
.checklist li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mustard);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
}
.band--deep .checklist li { color: rgba(248, 236, 201, 0.9); }

/* ---------- Pricing ---------- */
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}
.price-card--featured {
  border: 2px solid var(--navy-800);
  box-shadow: var(--shadow-md);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--mustard);
  color: var(--navy-900);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
}
.price-amount {
  font-family: var(--font-display);
  letter-spacing: -0.022em;
  font-weight: 800;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 6px 0 4px;
}
.price-amount small {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.price-card .btn { margin-top: auto; }
.price-card .checklist { margin-bottom: 26px; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 44px 20px 0;
  font-family: var(--font-display);
  letter-spacing: -0.022em;
  font-weight: 800;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--navy-800);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 1.5rem;
  color: var(--mustard-600);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; max-width: 70ch; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; max-width: 520px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--navy-800); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 15px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--navy-600); outline: none; }
.field-hint { font-size: 0.83rem; color: var(--muted); }

.form-note {
  font-size: 0.86rem;
  color: var(--muted);
  background: var(--mustard-100);
  border-radius: 11px;
  padding: 14px 16px;
}
.form-status { font-size: 0.94rem; font-weight: 600; color: var(--navy-700); min-height: 1.4em; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--mustard);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 54px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.cta-strip h2 { color: var(--navy-900); margin-bottom: 6px; }
.cta-strip p { color: rgba(15, 23, 32, 0.75); margin: 0; max-width: 52ch; }
.cta-strip .btn--primary { background: var(--navy-800); color: var(--mustard-100); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(248, 236, 201, 0.72);
  padding-block: 62px 30px;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(248, 236, 201, 0.14);
}
.site-footer h4 {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mustard);
  font-weight: 500;
  margin: 0 0 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer a { color: rgba(248, 236, 201, 0.72); text-decoration: none; }
.site-footer a:hover { color: var(--mustard); text-decoration: underline; }
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-tld { color: rgba(248, 236, 201, 0.5); }
.site-footer .brand-mark { background: rgba(248, 236, 201, 0.1); }

.footer-blurb { max-width: 34ch; margin: 16px 0 0; color: rgba(248, 236, 201, 0.6); font-size: 0.9rem; }

.footer-base {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 0.84rem;
  color: rgba(248, 236, 201, 0.5);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--navy-800);
  color: var(--mustard-100);
  padding-block: clamp(56px, 7vw, 86px);
}
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero .lede { color: rgba(248, 236, 201, 0.82); }

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--flip .split-media { order: 0; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-strip { grid-template-columns: 1fr; }

  .nav-toggle { display: block; order: 3; }
  .header-cta .btn--ghost { display: none; }
  .nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 22px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 14px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .btn { width: 100%; }
  .header-cta .btn { width: auto; }
  .hero-actions { display: grid; gap: 10px; }
}

/* ---------- Type scale bindings ---------- */
body { font-size: var(--fs-body); }
.hero h1, .hero-title { font-size: var(--fs-display); line-height: 1.04; }
h1 { font-size: var(--fs-h1); line-height: 1.08; }
h2 { font-size: var(--fs-h2); line-height: 1.12; }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
.lede { font-size: var(--fs-lede); line-height: 1.5; }
.note-tag, .eyebrow, .pill { font-size: var(--fs-label); text-transform: uppercase; }
.note-by { font-size: var(--fs-sm); }

/* ==========================================================================
   Brand logo, photographic hero, store button
   ========================================================================== */

.brand-logo { height: 38px; width: auto; display: block; }
.site-footer .brand-logo { height: 34px; filter: brightness(0) invert(1); opacity: .95; }

/* ---------- Photographic hero ---------- */
.hero--photo {
  background: var(--navy-800);
  color: var(--white);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.hero--photo .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 0;
  padding-block: 0;
}
.hero-copy { padding: 72px 40px 72px 0; }
.hero--photo .hero-title {
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 22px;
}
.hero--photo .hero-title .hl { color: var(--mustard); }
.hero--photo .lede {
  color: rgba(255,255,255,0.86);
  max-width: 34ch;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
.btn--lg { padding: 17px 28px; font-size: 1.05rem; }

.storebtn {
  display: inline-flex; align-items: center; gap: 11px;
  background: #000; color: #fff; text-decoration: none;
  padding: 11px 20px; border-radius: 12px; line-height: 1.1;
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform .15s ease;
}
.storebtn:hover { transform: translateY(-2px); }
.storebtn small { display: block; font-size: .68rem; letter-spacing: .01em; opacity: .9; }
.storebtn strong { display: block; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }

.hero-trust {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.hero-trust li {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px; padding: 12px 18px;
  font-size: .95rem; font-weight: 500;
}
.ht-ic {
  width: 26px; height: 26px; flex: none;
  display: grid; place-items: center;
  background: rgba(245,186,59,0.16);
  border-radius: 8px; font-size: .82rem;
}

.hero-photo { position: relative; align-self: stretch; }
.hero-photo img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

/* ---------- PIN gate block ---------- */
.section--tight { padding-block: 64px; }
.pingate-wrap { max-width: 640px; }

/* ---------- Photo bands ---------- */
.photo-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  min-height: clamp(420px, 44vw, 620px);
}
.photo-band img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}
.photo-band .pb-copy {
  align-self: center;
  padding: clamp(40px, 5vw, 80px) clamp(28px, 4.5vw, 72px);
  max-width: 62ch;
}
.photo-band .pb-copy h2 { margin-top: 0; }
.photo-band .pb-copy .lede { margin-bottom: 0; }

@media (max-width: 900px) {
  .hero--photo .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 56px 0 40px; }
  .hero-photo { margin-inline: calc(var(--gutter) * -1); }
  .hero-photo img { max-height: 460px; }
  .hero-trust { gap: 8px; }
  .hero-trust li { padding: 10px 14px; font-size: .88rem; }
  .photo-band { grid-template-columns: 1fr; }
  .photo-band .pb-copy { padding: 44px var(--gutter); }
}

/* ---------- Hero refinements ---------- */
.hero--photo .hero-title {
  font-size: clamp(2.4rem, 1.1rem + 3.1vw, 3.75rem);
  overflow-wrap: break-word;
  hyphens: none;
}
.hero--photo .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
.hero-copy { padding-right: 56px; }

/* Hero photo fills its column; the section itself is full-bleed */
@media (min-width: 901px) {
  .hero-photo { width: 100%; }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
}

/* Keep the three trust pills on one line */
.hero-trust { gap: 10px; flex-wrap: nowrap; }
.hero-trust li { padding: 11px 15px; font-size: .92rem; white-space: nowrap; }
@media (max-width: 1100px) { .hero-trust { flex-wrap: wrap; } }

.brand { align-items: center; }
.brand-tld { display: block; margin-top: 2px; }

/* Headline: keep "neighbourhood," intact on one line */
.hero--photo .hero-title {
  font-size: clamp(2.2rem, 0.9rem + 2.75vw, 3.35rem);
  overflow-wrap: normal;
  word-break: keep-all;
}
.hero--photo .hero-title .hl { white-space: nowrap; }

/* ==========================================================================
   Mobile overrides — must stay LAST to win on source order
   ========================================================================== */
@media (max-width: 900px) {
  .hero--photo .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 0;
  }
  .hero-copy { padding: 44px 0 32px; }
  .hero--photo .hero-title {
    font-size: clamp(2rem, 1.2rem + 4.4vw, 2.9rem);
    line-height: 1.05;
  }
  .hero--photo .lede { max-width: none; font-size: 1.02rem; margin-bottom: 28px; }

  .hero-photo {
    width: calc(100% + (var(--gutter) * 2)) !important;
    margin-inline: calc(var(--gutter) * -1) !important;
  }
  .hero-photo img { max-height: 420px; object-position: 60% center; }

  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn--lg,
  .hero-actions .storebtn {
    width: 100%;
    justify-content: center;
    white-space: nowrap;
  }
  .btn--lg { padding: 16px 20px; font-size: 1rem; }
  .storebtn { padding: 10px 18px; }
  .storebtn strong { font-size: 1.05rem; }

  .hero-trust {
    flex-wrap: wrap !important;
    gap: 8px;
    margin-top: 28px;
  }
  .hero-trust li {
    flex: 1 1 auto;
    justify-content: center;
    padding: 10px 12px;
    font-size: .85rem;
  }

  .brand-logo { height: 30px; }
  .brand-tld { font-size: .62rem; }
}

@media (max-width: 420px) {
  .hero-trust li { flex: 1 1 100%; justify-content: flex-start; }
}

/* ---------- Full-bleed layout ---------- */
.photo-band,
.hero--photo {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
}

/* Hero copy stays inside the readable column, photo runs to the edge */
.hero--photo .hero-grid {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Prose keeps a comfortable measure even in a wide container */
.band p,
.page-hero .lede { max-width: 68ch; }
.section-head { max-width: 72ch; }

/* Cards breathe rather than stretch on very wide screens */
@media (min-width: 1200px) {
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .photo-band { min-height: 0; }
  .photo-band img { min-height: 320px; max-height: 420px; object-position: center 30%; }
  .photo-band .pb-copy { max-width: none; }
}

/* ---------- v1.1.0 fixes ---------- */

/* Store buttons: two side by side, marked as not-yet-live */
.storebtn--soon {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.82);
  cursor: default;
  padding: 10px 18px;
}
.storebtn--soon:hover { transform: none; }
.storebtn--soon strong { font-size: 1.02rem; }
.storebtn--soon small { opacity: .75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* Photo bands: give the copy side real room so the image isn't over-cropped */
.photo-band { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.photo-band img { object-position: center 35%; }

/* Mid-page sections: consistent vertical rhythm under the hero */
.band { padding-block: clamp(56px, 6vw, 96px); }
.band--tight { padding-block: clamp(40px, 4vw, 64px); }
.section-head { margin-bottom: clamp(28px, 3vw, 44px); }

/* Split media column shouldn't outgrow its half on wide screens */
.split-media { max-width: 100%; }
.split > * { min-width: 0; }

@media (max-width: 900px) {
  .photo-band { grid-template-columns: 1fr; }
  .hero-actions .storebtn--soon { width: auto; flex: 1 1 auto; justify-content: center; }
}

/* ---------- v2.0.0 — ZingBuddies brand lockup ---------- */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: block;
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--navy-800);
}
.brand-tld {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 3px;
}
/* Footer sits on navy, so invert */
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-tld { color: rgba(255,255,255,0.58); }

@media (max-width: 600px) {
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 1.25rem; }
  .brand-tld { font-size: 0.6rem; }
}

/* ---------- v3.0.0 — auth, legal and contact pages ---------- */
.auth-card {
  max-width: 520px;
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-md);
}
.auth-card h1 { margin-top: 6px; font-size: var(--fs-h2); }
.auth-card .lede { font-size: 1.02rem; }
.auth-alt {
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-sm); color: var(--muted);
}
.notice {
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 22px 0;
  font-size: var(--fs-sm);
}
.notice p { margin: 0; max-width: none; }
.notice--info {
  background: var(--mustard-100);
  border-left: 4px solid var(--mustard);
  color: var(--ink);
}
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.stack label { font-weight: 600; font-size: var(--fs-sm); margin-top: 10px; }
.stack input {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}
.stack input:focus-visible { outline: 3px solid var(--mustard); outline-offset: 1px; }
.stack .btn { margin-top: 16px; }

/* Legal / long-form pages */
.prose { max-width: 74ch; }
.prose h2 {
  font-size: 1.45rem;
  margin-top: 2.2em;
  padding-top: 1.1em;
  border-top: 1px solid var(--line-soft);
}
.prose h2:first-of-type { border-top: 0; margin-top: .4em; padding-top: 0; }
.prose p, .prose li { line-height: 1.65; }
.prose .checklist { margin: 1em 0 1.4em; }
.meta-line { font-size: var(--fs-sm); color: var(--muted); margin-top: 10px; }
