/* ============================================================
   BLOOD HUB — shared site styles
   Palette + type derived from the app UI and team posters.
   ============================================================ */

:root {
  /* Reds */
  --red: #d42a2a;
  --red-2: #b91f1f;
  --red-bright: #e63946;
  --red-dim: rgba(212, 42, 42, 0.08);
  --red-soft: #fdebeb;
  --red-glow: rgba(212, 42, 42, 0.22);

  /* Neutrals */
  --black: #141414;
  --white: #ffffff;
  --bg: #ffffff;
  --surface: #fbf6f5;
  --surface-2: #ffffff;
  --surface-3: #f8efee;
  --border: rgba(20, 15, 14, 0.09);
  --border-2: rgba(20, 15, 14, 0.15);
  --text: #17130f;
  --text-2: #66605c;
  --text-3: #9c9591;

  --font-display: "Poppins", "Inter", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-script: "Caveat", cursive;
}

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

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

body.menu-open {
  overflow: hidden;
}

/* Subtle dotted texture, echoing the poster's polka-dot flourish */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(
    rgba(212, 42, 42, 0.1) 1.4px,
    transparent 1.4px
  );
  background-size: 22px 22px;
  background-position: -10px -10px;
  pointer-events: none;
  opacity: 0.5;
  mask-image: radial-gradient(
    ellipse 900px 500px at 8% 0%,
    black,
    transparent 70%
  );
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 40px);
  position: relative;
}

/* ─── NAVIGATION ─── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  padding: 18px 0;
  transition:
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(20, 15, 14, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nav-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-logo span {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--black);
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red-2);
}

.nav-cta {
  background: var(--red);
  color: white;
  padding: 8px 20px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

.nav-cta:hover {
  background: var(--red-2);
  box-shadow: 0 8px 24px var(--red-glow);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: transparent;
  border: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--black);
  transition: all 0.3s;
}

/* ─── HERO ─── */

.hero {
  min-height: 100vh;
  min-height: min(100vh, 880px);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(
    ellipse at center,
    rgba(212, 42, 42, 0.1) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(212, 42, 42, 0.25);
  background: var(--red-soft);
  padding: 5px 12px 5px 8px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--red-2);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

h1 {
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  color: var(--black);
}

h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-desc {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--red);
  color: white;
  padding: 14px 26px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}

.btn-dl:hover {
  background: var(--red-2);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px var(--red-glow);
}

.btn-dl svg {
  flex-shrink: 0;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 14px 24px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border-2);
  transition: all 0.2s;
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red-2);
  background: var(--red-dim);
}

.btn-black {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--black);
  color: white;
  padding: 14px 26px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}

.btn-black:hover {
  background: #000;
  transform: translateY(-1px);
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
}

.chip::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* ─── HERO VISUAL ─── */

.hero-visual {
  position: relative;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.screenshot-stack {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.screenshot-main {
  width: 100%;
  border-radius: 32px;
  box-shadow:
    0 40px 80px rgba(20, 15, 14, 0.18),
    0 0 0 8px var(--white),
    0 0 0 9px var(--border-2);
  display: block;
  animation: float 5s ease-in-out infinite;
  mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0.12;
  filter: blur(10px);
  z-index: -1;
}

.float-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 12px;
  box-shadow: 0 20px 40px rgba(20, 15, 14, 0.12);
  z-index: 3;
}

.float-card-1 {
  right: -18px;
  top: 50px;
  animation: float 5s ease-in-out infinite 0.8s;
}

.float-card-2 {
  left: -30px;
  bottom: 90px;
  animation: float 5s ease-in-out infinite 1.6s;
}

.float-card-label {
  font-size: 10px;
  color: var(--text-3);
  margin-bottom: 4px;
  font-weight: 500;
}

.float-card-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.float-card-sub {
  font-size: 10px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ─── SECTION SHARED ─── */

.section {
  padding: 100px 0;
}

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

.eyebrow-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red-2);
  margin-bottom: 14px;
  display: block;
}

.eyebrow-script {
  font-family: var(--font-script);
  font-size: 34px;
  font-weight: 600;
  color: var(--black);
  display: block;
  margin-bottom: 4px;
  line-height: 1;
}

h2 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--black);
}

.section-desc {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 540px;
  font-weight: 400;
}

/* ─── URGENCY STRIP ─── */

.urgency-strip {
  background: var(--red);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
}

.strip-track {
  display: flex;
  gap: 60px;
  animation: marquee 18s linear infinite;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

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

.strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.strip-sep {
  opacity: 0.5;
}

.strip-item svg {
  flex-shrink: 0;
  opacity: 0.9;
}

/* ─── PROBLEM/SOLUTION ─── */

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 60px;
}

.problem-card {
  background: var(--white);
  padding: 44px;
  border: 1px solid var(--border);
}

.problem-card:first-child {
  border-radius: 20px 0 0 20px;
  border-right: none;
}

.problem-card:last-child {
  border-radius: 0 20px 20px 0;
  border-left: 3px solid var(--red);
}

.card-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--black);
}

.card-body {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  font-weight: 400;
}

.card-body strong {
  color: var(--black);
  font-weight: 600;
}

/* ─── FEATURES ─── */

.features-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 52px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.feature-cell {
  background: var(--white);
  padding: 32px 28px;
  transition: background 0.2s;
}

.feature-cell:hover {
  background: var(--surface-3);
}

.feature-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red-soft);
  border: 1px solid rgba(212, 42, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-2);
  margin-bottom: 16px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--black);
}

.feature-desc {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.65;
  font-weight: 400;
}

/* ─── HOW IT WORKS ─── */

.steps-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}

.steps-wrap::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--red) 20%,
    var(--red) 80%,
    transparent
  );
  opacity: 0.35;
}

.step-item {
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin: 0 auto 20px;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(20, 15, 14, 0.05);
}

.step-item:hover .step-num {
  border-color: var(--red);
  color: var(--red-2);
  background: var(--red-soft);
}

.step-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--black);
}

.step-desc {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
  font-weight: 400;
}

/* ─── BUILT FOR BD ─── */

.bd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.bd-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 22px;
  transition: all 0.25s;
}

.bd-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20, 15, 14, 0.06);
}

.bd-card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--black);
}

.bd-card-desc {
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.6;
  font-weight: 400;
}

/* ─── STATS ─── */

.stats-section {
  padding: 80px 0;
}

.stats-inner {
  background: var(--black);
  border-radius: 24px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.stats-inner::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(212, 42, 42, 0.35) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.stats-label-col .eyebrow-label {
  color: var(--red-bright);
  margin-bottom: 10px;
}

.stats-label-col h3 {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.15;
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.stat-item {
  border-left: 2px solid var(--red);
  padding-left: 20px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.stat-lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  font-weight: 400;
}

/* ─── FAQ ─── */

.faq-list {
  margin-top: 52px;
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--black);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  transition: color 0.2s;
  gap: 16px;
}

.faq-q:hover {
  color: var(--red-2);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  font-size: 14px;
  color: var(--text-2);
}

.faq-item.open .faq-icon {
  background: var(--red);
  border-color: var(--red);
  color: white;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-a {
  max-height: 300px;
}

.faq-a p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  padding-bottom: 22px;
  font-weight: 400;
}

/* ─── FOUNDER SPOTLIGHT ─── */

.founder-section {
  padding: 80px 0;
}

.founder-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px;
}

.founder-left {
  text-align: center;
}

.founder-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--red-soft);
  border: 3px solid var(--white);
  outline: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--red-2);
  box-shadow: 0 10px 30px rgba(20, 15, 14, 0.1);
}

.founder-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--black);
}

.founder-role {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 20px;
  font-weight: 400;
}

.founder-socials {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  text-decoration: none;
  transition: all 0.2s;
  font-size: 14px;
}

.social-btn:hover {
  border-color: var(--red);
  color: var(--red-2);
  background: var(--red-soft);
}

.founder-quote {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-2);
  font-weight: 400;
  font-style: italic;
}

.founder-quote::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--red);
  line-height: 0.8;
  display: block;
  margin-bottom: 8px;
  font-style: normal;
}

.founder-more {
  margin-top: 24px;
}

/* ─── DOWNLOAD ─── */

.download-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(
    ellipse at center,
    rgba(212, 42, 42, 0.1) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.download-card {
  max-width: 580px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border-2);
  border-radius: 28px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  box-shadow: 0 40px 80px rgba(20, 15, 14, 0.1);
}

.dl-logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  margin: 0 auto 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dl-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dl-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  color: var(--black);
}

.dl-desc {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 32px;
  font-weight: 400;
  line-height: 1.6;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: white;
  padding: 16px 34px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s;
  margin-bottom: 12px;
}

.dl-btn:hover {
  background: var(--red-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px var(--red-glow);
}

.dl-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dl-meta {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 16px;
}

.dl-meta span {
  margin: 0 6px;
}

.dl-meta span::before {
  content: "·";
  margin-right: 12px;
}

.dl-meta span:first-child::before {
  content: "";
  margin: 0;
}

/* ─── PAGE HERO ─── */

.page-hero {
  padding: 136px 0 72px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(
    ellipse at center,
    rgba(212, 42, 42, 0.12) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.page-hero .eyebrow-script {
  font-size: 40px;
}

.page-hero h1 {
  font-size: 52px;
}

.page-hero .hero-desc {
  margin: 0 auto;
  max-width: 560px;
}

.page-hero-wave {
  position: relative;
  height: 60px;
  margin-top: -20px;
}

.page-hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================================
   TEAM GRID
   ============================================================ */

.team-section {
  padding: 36px 0 100px;
}

.team-group {
  margin-bottom: 88px;
}

.team-group:last-of-type {
  margin-bottom: 0;
}

.team-group-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}

.team-group-head .eyebrow-label {
  margin-bottom: 10px;
}

.team-group-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.team-group-desc {
  font-size: 14.5px;
  color: var(--text-3);
  line-height: 1.6;
}

.team-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
}

/* Leadership row — single featured card, always centered */
.team-row-lead {
  gap: 0;
}

/* Coordinators / Ambassadors rows — responsive, wraps to any member count */
.team-row-grid {
  max-width: 960px;
  margin: 0 auto;
}

/* General team card */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 280px;
  flex: 0 1 280px;
}

/* Leadership card — larger, featured */
.team-row-lead .team-card {
  width: min(400px, 100%);
  flex-basis: 400px;
  border: 1px solid var(--border-2);
  box-shadow: 0 0 0 6px var(--red-soft);
}

.team-row-lead .team-photo-wrap {
  aspect-ratio: 1 / 1;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-2);
  box-shadow: 0 24px 50px rgba(20, 15, 14, 0.1);
}

.team-row-lead .team-card:hover {
  box-shadow: 0 24px 50px rgba(20, 15, 14, 0.1), 0 0 0 6px var(--red-soft);
}

.team-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: var(--white);
  color: var(--red-2);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(20, 15, 14, 0.12);
}

.team-photo-wrap {
  position: relative;
  width: 100%;
  background: linear-gradient(160deg, var(--red) 0%, #7a1414 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.team-photo-wrap::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.team-photo-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

.team-card-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-row-lead .team-card-body {
  padding: 28px 28px 30px;
  text-align: center;
  align-items: center;
}

.team-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 7px;
}

.team-row-lead .team-name {
  font-size: 21px;
}

.team-role {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
  min-height: 39px;
  margin-bottom: 18px;
}

.team-row-lead .team-role {
  font-size: 14px;
  color: var(--red-2);
  font-weight: 600;
  min-height: 0;
}

.team-socials {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.team-socials .social-btn {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

/* ─── PILLARS ─── */

.pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}

.pillar {
  text-align: center;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--red);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--black);
}

.pillar-desc {
  font-size: 12.5px;
  color: var(--text-3);
}

/* ─── TEAM CTA ─── */

.team-cta-band {
  margin-top: 70px;
  background: var(--black);
  border-radius: 24px;
  padding: 54px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.team-cta-band::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(212, 42, 42, 0.4) 0%,
    transparent 70%
  );
}

.team-cta-band h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  position: relative;
}

.team-cta-band p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 460px;
  margin: 0 auto 26px;
  line-height: 1.6;
  position: relative;
}

/* ─── FOOTER ─── */

footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.65;
  max-width: 250px;
  font-weight: 400;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  text-decoration: none;
  font-size: 13px;
  color: var(--text-2);
  transition: color 0.2s;
  font-weight: 400;
}

.footer-links li a:hover {
  color: var(--red-2);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 400;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 12px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--red-2);
}

/* ─── MOBILE NAV OVERLAY ─── */

.mobile-nav {
  position: fixed;
  top: 76px;
  left: 16px;
  right: 16px;
  z-index: 130;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border-2);
  border-radius: 18px;
  padding: 20px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
  box-shadow: 0 18px 40px rgba(20, 15, 14, 0.14);
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav a {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  border-radius: 10px;
}

.mobile-nav a:hover {
  color: var(--red-2);
  background: var(--red-dim);
}

.mobile-nav-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-2);
  background: none;
  border: none;
}

/* ─── FADE IN ─── */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ─── MOBILE ─── */

@media (max-width: 900px) {
  h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }

  h2 {
    font-size: 30px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-visual {
    order: -1;
  }

  .screenshot-stack {
    max-width: 260px;
  }

  .float-card-1 {
    right: 0;
  }

  .float-card-2 {
    left: 0;
  }

  .features-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .steps-wrap::after {
    display: none;
  }

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

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px;
  }

  .founder-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px;
  }

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

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

  .problem-card:first-child {
    border-radius: 20px 20px 0 0;
    border-right: 1px solid var(--border);
    border-bottom: none;
  }

  .problem-card:last-child {
    border-radius: 0 0 20px 20px;
    border-left: none;
    border-top: 3px solid var(--red);
  }

  .download-card {
    padding: 40px 28px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  /* Leadership card remains centered */
  .team-row-lead {
    min-height: auto;
  }

  /* Coordinator/Ambassador cards settle into 2 columns on tablet */
  .team-row-grid {
    max-width: 620px;
  }

  .team-row-grid .team-card {
    width: 280px;
    flex: 0 1 280px;
  }

  .pillars-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 540px) {
  .container {
    padding: 0 18px;
  }

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

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

  /* Leadership card remains centered on mobile */
  .team-row-lead .team-card {
    width: 100%;
    max-width: 320px;
  }

  /* Grid rows become single column on small screens */
  .team-row-grid {
    max-width: 320px;
  }

  .team-row-grid .team-card {
    width: 100%;
    max-width: 320px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

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

  h2 {
    font-size: 26px;
  }

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

  .dl-actions {
    flex-direction: column;
    align-items: center;
  }

  .team-cta-band {
    padding: 40px 24px;
  }
}

/* ============================================================
   LEGAL / UTILITY PAGES
   Privacy Policy, Delete Account, Child Safety
   ============================================================ */

.legal-nav {
  position: sticky;
  top: 0;
  z-index: 120;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.legal-nav .nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-back {
  text-decoration: none;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-back:hover {
  color: var(--red-2);
}

.policy-header {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.policy-header .container {
  max-width: 920px;
  margin: 0 auto;
}

.policy-header h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--black);
}

.policy-meta {
  font-size: 13.5px;
  color: var(--text-3);
  font-weight: 400;
  line-height: 1.7;
}

.policy-meta strong {
  color: var(--text-2);
  font-weight: 600;
}

.policy-body {
  padding: 56px 0 100px;
}

.policy-body .container {
  max-width: 920px;
  margin: 0 auto;
}

.policy-intro {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  font-weight: 400;
  margin-bottom: 48px;
  max-width: 680px;
}

.policy-section {
  padding: 36px 0;
  border-top: 1px solid var(--border);
}

.policy-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.policy-section .section-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--red-2);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.policy-section h2 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
  color: var(--black);
}

.policy-section p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 14px;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section a {
  color: var(--red-2);
  text-decoration: none;
}

.policy-section a:hover {
  text-decoration: underline;
}

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

.policy-list li {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.75;
  font-weight: 400;
  padding-left: 20px;
  position: relative;
}

.policy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.policy-list li strong {
  color: var(--black);
  font-weight: 600;
}

.step-list {
  list-style: none;
  margin: 20px 0;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-list li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-list li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red-soft);
  border: 1px solid rgba(212, 42, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--red-2);
}

.step-list .step-text {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.75;
  font-weight: 400;
  padding-top: 4px;
}

.step-list .step-text strong {
  color: var(--black);
  font-weight: 600;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.info-table th {
  background: var(--surface);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--black);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.info-table tr:last-child td {
  border-bottom: none;
}

.info-table td:first-child {
  color: var(--black);
  font-weight: 600;
}

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 20px 0;
}

.callout p {
  color: var(--text-2);
  margin-bottom: 0;
}

.callout p strong {
  color: var(--black);
  font-weight: 600;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 16px;
  padding: 32px;
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}

.contact-item .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 6px;
}

.contact-item .value {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--black);
}

.contact-item a {
  color: var(--red-2);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.mailto-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--red);
  color: white;
  padding: 14px 26px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s;
  margin-top: 8px;
}

.mailto-btn:hover {
  background: var(--red-2);
  box-shadow: 0 12px 32px var(--red-glow);
  transform: translateY(-1px);
}

.legal-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.legal-footer .container {
  max-width: 920px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 640px) {
  .policy-header h1 {
    font-size: 30px;
  }

  .policy-header {
    padding: 44px 0 32px;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-table {
    display: block;
    overflow-x: auto;
  }
}
