/* ============================================================
   HOBBY HUB — Landing Page
   "find your fun"
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Baloo Bhaina 2";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/BalooBhaina2-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo Bhaina 2";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/BalooBhaina2-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo Bhaina 2";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/BalooBhaina2-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo Bhaina 2";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/BalooBhaina2-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo Bhaina 2";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/BalooBhaina2-ExtraBold.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/OpenSans-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Neo Sans Std";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Neo_Sans_Std_Light.woff2") format("woff2");
}
@font-face {
  font-family: "Neo Sans Std";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Neo_Sans_Std_Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Neo Sans Std";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Neo_Sans_Std_Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Neo Sans Std";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Neo_Sans_Std_Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Neo Sans Std";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Neo_Sans_Std_Bold.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --hh-lime: #a7c444;
  --hh-mint: #68d89b;
  --hh-green: #1c7048; /* brand green — replaces black for CTAs and panel backgrounds */
  --hh-charcoal: #404041;
  --hh-gradient: linear-gradient(115deg, #a7c444 0%, #68d89b 100%);
  --hh-mint-cta: #86d4a0;
  --hh-mint-band: #9fe3be;
  --hh-mint-100: #d9f2e4;
  --hh-ink: #1a1a1a;
  --hh-ink-2: #4a4a48;
  --hh-ink-3: #5e5e58; /* muted text — darkened to meet WCAG AA (4.5:1) on cream/white */
  --hh-accent-text: #1c7048; /* darker brand-green for accent TEXT on light bg (AA); --hh-mint stays for fills */
  --hh-cream: #ebeadf;
  --hh-cream-2: #f4f3ec;
  --hh-white: #ffffff;
  --hh-line: #deddd2;

  --font-display: "Baloo Bhaina 2", system-ui, sans-serif;
  /* Open Sans Medium for body copy, falling back to Neo Sans Std then system fonts */
  --font-body: "Open Sans", "Neo Sans Std", system-ui, -apple-system, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 10px 30px rgba(26, 26, 26, 0.1);
  --shadow-lg: 0 24px 60px rgba(26, 26, 26, 0.16);
  --shadow-mint: 0 14px 34px rgba(104, 216, 155, 0.34);

  --maxw: 1080px;
}

/* ---------- Reset / base ---------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500; /* Open Sans Medium */
  color: var(--hh-ink);
  background: var(--hh-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
::selection {
  background: var(--hh-mint);
  color: #fff;
}

/* ---------- Brush-stroke underline ---------- */
.swoosh {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.swoosh svg {
  position: absolute;
  left: -2%;
  bottom: -0.18em;
  width: 104%;
  height: 0.26em;
  overflow: visible;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  border: none;
  cursor: pointer;
  padding: 13px 28px;
  border-radius: var(--r-pill);
  transition:
    transform 0.14s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.97);
}
.btn--mint {
  background: var(--hh-mint-cta);
  color: var(--hh-ink);
}
.btn--mint:hover {
  background: #79c994;
  box-shadow: var(--shadow-mint);
}
/* Brand-green button — replaces charcoal throughout */
.btn--green {
  background: var(--hh-green);
  color: #fff;
}
.btn--green:hover {
  background: #155c3a;
  box-shadow: var(--shadow-md);
}
.btn--charcoal {
  background: var(--hh-charcoal);
  color: #fff;
}
.btn--charcoal:hover {
  background: #54545a;
}
.btn--lg {
  padding: 16px 34px;
  font-size: 17px;
}
.btn--block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ============================================================
   NAV — white background
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: var(--hh-white);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hh-line);
  transition: all 0.25s ease;
}
.nav.is-scrolled {
  padding: 12px 40px;
  background: var(--hh-white);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hh-line);
}
.nav__logo {
  height: 72px;
  transition: height 0.25s ease;
}
.nav.is-scrolled .nav__logo {
  height: 56px;
}

.nav__links {
  display: flex;
  gap: 34px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav__links a,
.nav__login {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--hh-ink);
  text-shadow: none;
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease;
}
.nav__login {
  font-weight: 600;
}
.nav.is-scrolled .nav__links a,
.nav.is-scrolled .nav__login {
  color: var(--hh-ink);
  text-shadow: none;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 26px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--hh-ink);
  box-shadow: none;
  transition: background 0.25s ease;
}
.nav.is-scrolled .nav__toggle span {
  background: var(--hh-ink);
  box-shadow: none;
}

/* ============================================================
   HERO — text floats on image with no dark panel
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__collage {
  position: absolute;
  inset: 0;
}
.hero__collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  /* lighter scrim so text is readable without a black box */
  background: rgba(10, 30, 18, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__inner {
  position: relative;
  margin: auto;
  text-align: center;
  padding: 48px 56px;
  max-width: 760px;
  /* No opaque background — text floats directly over the image */
  background: transparent;
  border-radius: 0;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: clamp(44px, 8vw, 86px);
  line-height: 0.98;
  letter-spacing: -1px;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.5),
    0 1px 6px rgba(0, 0, 0, 0.4);
}
.hero__cta {
  margin-top: 40px;
  display: inline-block;
  background: var(--hh-green);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  padding: 16px 38px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
  transition:
    transform 0.14s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}
.hero__cta:hover {
  background: #155c3a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section {
  padding: 96px 24px;
}
.section--cream {
  background: var(--hh-cream);
}
.section--cream-2 {
  background: var(--hh-cream-2);
}
.section--white {
  background: var(--hh-white);
}
.section--mint {
  background: var(--hh-mint);
}
.container {
  max-width: var(--maxw);
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--hh-accent-text);
  margin-bottom: 10px;
}
.eyebrow--lg {
  font-size: clamp(30px, 4vw, 40px);
  margin-bottom: 14px;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--hh-ink);
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.06;
}

/* ---- What is ---- */
.whatis__body {
  max-width: 640px;
  margin: 34px auto 0;
  text-align: center;
}
.whatis__body p {
  font-size: 18px;
  line-height: 1.62;
  color: var(--hh-ink-2);
}
/* consistent paragraph spacing across content sections */
.whatis__body p + p,
.split p + p,
.founder p + p {
  margin-top: 1.6em;
}
.whatis__body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--hh-ink);
  margin: 40px 0 14px;
}
.whatis__body .muted {
  font-size: 17px;
  color: var(--hh-ink-3);
}

/* ---- Beginners guide ---- */
.guide__free {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--hh-ink);
}
.guide__link {
  margin-top: 16px;
}
.guide__link a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--hh-accent-text);
  text-decoration: none;
}
.guide__link a:hover {
  color: #155c3a;
}
.guide__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.04;
  color: var(--hh-ink);
  margin-bottom: 24px;
}

/* ---- Provider split ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.08;
  color: var(--hh-ink);
  margin-bottom: 22px;
}
.split .lead {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.55;
  color: var(--hh-ink);
}
.split p {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--hh-ink-2);
}
.split .muted {
  font-size: 15px;
  line-height: 1.6;
  color: var(--hh-ink-3);
}
.split__media {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Memberships — single tier ---- */
.tiers {
  display: flex;
  gap: 26px;
  justify-content: center;
  align-items: stretch;
  margin-top: 50px;
  flex-wrap: wrap;
}
/* Single-tier layout: cap width so it doesn't span the full container */
.tiers--single {
  justify-content: center;
}
.tiers--single .tier {
  width: 300px;
}
.tier {
  width: 250px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--hh-line);
  position: relative;
  overflow: visible;
}
.tier--pop {
  box-shadow: var(--shadow-lg);
  transform: translateY(-14px);
}
.tier__cap {
  height: 14px;
  background: var(--hh-mint-band);
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.tier--pop .tier__cap {
  height: 20px;
  background: var(--hh-mint);
}
.tier__body {
  padding: 30px 24px 32px;
  text-align: center;
}
.tier__label {
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--hh-ink-3);
}
.tier__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46px;
  color: var(--hh-ink);
  margin: 6px 0 2px;
}
.tier__plan {
  font-size: 13.5px;
  color: var(--hh-ink-3);
  margin-bottom: 26px;
}
.tier__badge {
  position: absolute;
  top: -20px;
  right: -16px;
  width: 72px;
  height: 72px;
  z-index: 2;
  background: var(--hh-mint);
  color: var(--hh-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  clip-path: polygon(
    50% 0%,
    61% 13%,
    78% 7%,
    80% 25%,
    98% 30%,
    88% 45%,
    100% 60%,
    82% 66%,
    84% 84%,
    66% 81%,
    57% 98%,
    44% 86%,
    27% 93%,
    24% 75%,
    6% 72%,
    15% 56%,
    2% 42%,
    19% 36%,
    14% 18%,
    32% 20%,
    38% 3%,
    50% 14%
  );
}

/* ---- Founder ---- */
.founder {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.founder__media {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 34px;
}
.founder__media img {
  width: 100%;
}
.founder h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 40px);
  color: var(--hh-ink);
  margin-bottom: 12px;
}
.founder .lead {
  font-weight: 700;
  font-size: 18px;
  color: var(--hh-ink);
}
.founder p {
  font-size: 16.5px;
  line-height: 1.66;
  color: var(--hh-ink-2);
}
/* scoped under .founder to win over `.founder p` (which was overriding size + colour) */
.founder .founder__purpose {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.15;
  color: var(--hh-accent-text);
  margin-top: 1.6em;
}

/* ---- Final CTA — green panel replaces black ---- */
.final {
  position: relative;
  min-height: 340px;
  display: flex;
  overflow: hidden;
}
.final__collage {
  position: absolute;
  inset: 0;
}
.final__collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.final__scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 18, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.final__inner {
  position: relative;
  margin: auto;
  text-align: center;
  padding: 34px 40px 60px;
  max-width: 520px;
  background: var(--hh-green);
  border-radius: 0;
}
.final h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 46px);
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.2);
}
.final p {
  font-weight: 600;
  font-size: 17px;
  color: #fff;
  margin-bottom: 26px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* ---- Founding member band — green panel replaces black ---- */
.founding {
  position: relative;
  min-height: 440px;
  display: flex;
  overflow: hidden;
}
.founding__media {
  position: absolute;
  inset: 0;
}
.founding__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founding__overlay {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 48px clamp(24px, 8vw, 96px);
}
.founding__panel {
  max-width: 520px;
  background: var(--hh-green);
  border-radius: var(--r-lg);
  padding: 40px 44px;
}
.founding__text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.25;
  color: #fff;
  margin-bottom: 28px;
}
.founding__cta {
  display: inline-block;
  background: var(--hh-mint-band);
  color: var(--hh-ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  padding: 15px 40px;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  transition:
    transform 0.14s ease,
    box-shadow 0.18s ease;
}
.founding__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ---- Footer ---- */
.footer {
  background: var(--hh-ink);
  color: #fff;
  padding: 56px 40px 40px;
}
.footer__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__logo {
  height: 92px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
  margin-bottom: 20px;
}

/* Contact info block in footer brand column */
.footer__contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}
.footer__contact-info a {
  color: rgba(255, 255, 255, 0.78);
}
.footer__contact-info a:hover {
  color: #fff;
}
.footer__contact-info address {
  font-style: normal;
  margin-top: 4px;
}
.footer__social {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.footer__social a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}
.footer__social a:hover {
  color: var(--hh-mint);
}

.footer__col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--hh-mint);
  margin-bottom: 14px;
}
.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
}
.footer__col a:hover {
  color: #fff;
}
.footer__bar {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   SIGN-UP POP-UP
   ============================================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 20, 14, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.popup-overlay[hidden] {
  display: none;
}
.popup {
  position: relative;
  background: var(--hh-white);
  border-radius: var(--r-lg);
  padding: 48px 44px 44px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--hh-ink-3);
  padding: 6px;
  border-radius: var(--r-sm);
  transition: color 0.18s ease;
}
.popup__close:hover {
  color: var(--hh-ink);
}
#tallyFrame {
  width: 100%;
  border: 0;
}
.popup__logo {
  height: auto;
  width: 120px;
  margin-bottom: 32px;
  display: block;
}
.popup__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 32px);
  color: var(--hh-ink);
  margin-bottom: 8px;
}
.popup__sub {
  font-size: 15px;
  color: var(--hh-ink-3);
  margin-bottom: 20px;
  padding-bottom: 8px;
}
.popup__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.popup__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.popup__field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--hh-ink-2);
}
.popup__field label span {
  color: var(--hh-green);
}
.popup__field input {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 11px 14px;
  border: 1.5px solid var(--hh-line);
  border-radius: var(--r-sm);
  outline: none;
  color: var(--hh-ink);
  background: var(--hh-cream-2);
  transition: border-color 0.18s ease;
}
.popup__field input::placeholder {
  color: var(--hh-ink-2);
  opacity: 1;
}
.popup__field input:focus {
  border-color: var(--hh-green);
  background: #fff;
}
.popup__submit {
  margin-top: 8px;
  font-size: 16px;
  padding: 14px 28px;
}
.popup__submit:disabled {
  opacity: 0.7;
  cursor: default;
}

/* ============================================================
   RESPONSIVE — tablet
   ============================================================ */
@media (max-width: 960px) {
  .nav,
  .nav.is-scrolled {
    padding: 14px 24px;
  }
  .nav__links {
    display: none;
  }
  .nav__login {
    display: none;
  }
  .nav__toggle {
    display: flex;
  }

  /* mobile drawer */
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    transform: none;
    width: min(78vw, 320px);
    background: var(--hh-white);
    padding: 90px 28px 40px;
    box-shadow: var(--shadow-lg);
    z-index: 60;
  }
  .nav__links.is-open a {
    color: var(--hh-ink);
    text-shadow: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    padding: 14px 0;
    border-bottom: 1px solid var(--hh-line);
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 22, 18, 0.45);
    z-index: 55;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split__media {
    aspect-ratio: 16/10;
    max-height: 420px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   RESPONSIVE — mobile
   ============================================================ */
@media (max-width: 600px) {
  .section {
    padding: 64px 20px;
  }
  .hero {
    min-height: 92vh;
  }
  .hero__inner {
    padding: 120px 20px 90px;
  }
  .hero__cta {
    font-size: 16px;
    padding: 15px 28px;
  }

  .whatis__body p {
    font-size: 16.5px;
  }
  .whatis__body h3 {
    font-size: 25px;
  }

  .tier {
    width: 100%;
    max-width: 340px;
  }
  .tier--pop {
    transform: none;
  }
  .tiers--single .tier {
    width: 100%;
    max-width: 340px;
  }

  .final__inner {
    padding: 40px 20px;
  }

  .founding__overlay {
    padding: 36px 20px;
  }
  .founding__panel {
    padding: 30px 26px;
  }

  .footer {
    padding: 48px 24px 36px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer__bar {
    flex-direction: column;
    gap: 8px;
  }

  .popup {
    padding: 40px 24px 36px;
  }
}

@media (max-width: 560px) {
  .popup-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .popup {
    max-width: 100%;
    width: 100%;
    min-height: 85vh;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    padding: 32px 24px 40px;
    overflow-y: auto;
  }
  .popup__close {
    top: 12px;
    right: 12px;
  }
}

/* ============================================================
   LEGAL / PROSE PAGES — privacy, terms
   ============================================================ */
.legal {
  /* clear the fixed nav, then standard section rhythm */
  padding: 160px clamp(24px, 5vw, 48px) 96px;
  background: var(--hh-cream);
}
.legal__inner {
  max-width: 760px;
  margin: 0 auto;
}
.legal__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--hh-accent-text);
  margin-bottom: 10px;
}
.legal__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--hh-ink);
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.06;
}
.legal__updated {
  margin-top: 12px;
  font-size: 15px;
  color: var(--hh-ink-3);
}
.legal__body {
  margin-top: 40px;
}
.legal__body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--hh-ink);
  margin: 40px 0 14px;
}
.legal__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--hh-ink);
  margin: 26px 0 10px;
}
.legal__body p {
  font-size: 17px;
  line-height: 1.66;
  color: var(--hh-ink-2);
}
.legal__body p + p {
  margin-top: 1.6em;
}
.legal__body ul {
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--hh-ink-2);
  font-size: 17px;
  line-height: 1.66;
}
.legal__body li {
  margin-top: 8px;
}
.legal__body a {
  color: var(--hh-accent-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal__body a:hover {
  color: var(--hh-green);
}
.legal__body address {
  font-style: normal;
  line-height: 1.6;
}
.legal__back {
  display: inline-block;
  margin-top: 48px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--hh-accent-text);
}
.legal__back:hover {
  color: var(--hh-green);
}

@media (max-width: 600px) {
  .legal {
    padding-top: 130px;
    padding-bottom: 64px;
  }
  .legal__body p,
  .legal__body ul {
    font-size: 16px;
  }
  .legal__body h2 {
    font-size: 23px;
  }
}
