/* ============================================================
   RIHLIX LLC — Design System
   ============================================================ */

/* ── Google Fonts (Inter variable) ──────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ── Custom Properties ──────────────────────────────────── */
:root {
  /* Brand colours */
  --green-50:  #F0FDF4;
  --green-600: #16A34A;
  --green-700: #15803D;
  --green-800: #166534;

  --gray-50:   #F9FAFB;
  --gray-100:  #F3F4F6;
  --gray-200:  #E5E7EB;
  --gray-400:  #9CA3AF;
  --gray-500:  #6B7280;
  --gray-700:  #374151;
  --gray-800:  #1F2937;
  --gray-900:  #111827;
  --white:     #FFFFFF;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --text-base: 1rem;
  --line-body: 1.65;

  /* Spacing */
  --section-py: 5rem;
  --container-max: 1120px;
  --container-px: 1.5rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0,0,0,.07), 0 1px 2px -1px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px 0 rgba(0,0,0,.08);
  --shadow-lg: 0 10px 30px 0 rgba(0,0,0,.10);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 250ms ease;
}

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--line-body);
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

button { cursor: pointer; font-family: inherit; }

/* ── Container ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* ── Typography helpers ─────────────────────────────────── */
.h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--gray-900); }
.h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; color: var(--gray-900); }
.h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; line-height: 1.3; color: var(--gray-900); }
.lead { font-size: 1.125rem; color: var(--gray-500); line-height: 1.7; }
.caption { font-size: 0.875rem; color: var(--gray-500); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
}
.btn-primary:hover { background: var(--green-700); border-color: var(--green-700); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--gray-800);
  border-color: var(--gray-200);
}
.btn-outline:hover { border-color: var(--gray-400); background: var(--gray-50); }

.btn-outline-green {
  background: transparent;
  color: var(--green-600);
  border-color: var(--green-600);
}
.btn-outline-green:hover { background: var(--green-50); }

.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.nav.scrolled {
  border-bottom-color: var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-900);
}

.nav__logo-mark {
  width: 2rem;
  height: 2rem;
  background: var(--green-600);
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600, #4B5563);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav__link:hover { color: var(--gray-900); background: var(--gray-50); }
.nav__link.active { color: var(--green-600); font-weight: 600; }

.nav__cta { margin-left: 0.75rem; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 1rem 0;
}

.nav__mobile.open { display: block; }

.nav__mobile .nav__link {
  display: block;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 3rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 1.5rem;
}

.footer__brand-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.625rem;
}

.footer__brand-mark {
  width: 1.75rem;
  height: 1.75rem;
  background: var(--green-600);
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
}

.footer__tagline { font-size: 0.875rem; line-height: 1.6; }

.footer__col-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.footer__links { display: flex; flex-direction: column; gap: 0.625rem; }

.footer__link {
  font-size: 0.9375rem;
  color: var(--gray-400);
  transition: color var(--t-fast);
}
.footer__link:hover { color: var(--white); }

.footer__products { display: flex; flex-direction: column; gap: 0.625rem; }

.footer__product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  color: var(--gray-400);
  transition: color var(--t-fast);
}
.footer__product-badge:hover { color: var(--white); }

.footer__product-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-600);
  flex-shrink: 0;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy { font-size: 0.875rem; }

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  font-size: 0.875rem;
  color: var(--gray-400);
  transition: color var(--t-fast);
}
.footer__social-link:hover { color: var(--white); }

.footer__legal { display: flex; gap: 1.25rem; }

.footer__legal a {
  font-size: 0.8125rem;
  color: var(--gray-400);
  transition: color var(--t-fast);
}
.footer__legal a:hover { color: var(--gray-200); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  padding: 6rem 0 5rem;
  background: var(--white);
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-50);
  color: var(--green-800);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--green-600);
  border-radius: 50%;
}

.hero__title {
  max-width: 780px;
  margin: 0 auto 1.25rem;
}

.hero__sub {
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Section Utilities ──────────────────────────────────── */
.section { padding: var(--section-py) 0; }
.section--alt { background: var(--gray-50); }
.section--green { background: var(--green-50); }
.section--dark { background: var(--gray-900); color: var(--white); }

.section__header { text-align: center; margin-bottom: 3rem; }
.section__header .lead { max-width: 580px; margin: 0.75rem auto 0; }

.section__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

/* ── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.card__body { padding: 1.75rem; }

.card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.card__icon--green { background: var(--green-50); }
.card__icon--blue { background: #EFF6FF; }

.card__title { margin-bottom: 0.5rem; }

.card__text { color: var(--gray-500); font-size: 0.9375rem; line-height: 1.65; }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--green-600);
  transition: gap var(--t-fast), color var(--t-fast);
}
.card__link:hover { gap: 0.625rem; color: var(--green-800); }

/* ── Grid Layouts ───────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Product Sections ───────────────────────────────────── */
.product-section { padding: 4rem 0; border-bottom: 1px solid var(--gray-100); }
.product-section:last-of-type { border-bottom: none; }

.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.product-layout--reverse { direction: rtl; }
.product-layout--reverse > * { direction: ltr; }

.product__status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product__status--beta {
  background: #FEF3C7;
  color: #92400E;
}

.product__status--dev {
  background: #EDE9FE;
  color: #5B21B6;
}

.product__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.product__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.product__title { margin-bottom: 0.5rem; }
.product__tagline { color: var(--gray-500); font-size: 1rem; margin-bottom: 1.25rem; font-style: italic; }
.product__label { font-weight: 600; font-size: 0.875rem; color: var(--gray-700); text-transform: uppercase; letter-spacing: 0.05em; margin: 1.25rem 0 0.5rem; }
.product__desc { color: var(--gray-600, #4B5563); line-height: 1.7; margin-bottom: 1rem; }

.product__features { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }

.product__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.product__feature-check {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--green-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

.product__audience {
  font-size: 0.875rem;
  color: var(--gray-500);
  padding: 0.75rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--green-600);
}

.product__audience strong { color: var(--gray-700); }

/* ── Mockup placeholder ─────────────────────────────────── */
.mockup-placeholder {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 9 / 16;
  max-width: 280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--gray-400);
  font-size: 0.875rem;
  text-align: center;
  padding: 1.5rem;
  border: 2px dashed var(--gray-200);
}

.mockup-placeholder__icon { font-size: 2.5rem; }

.mockup-frame {
  background: var(--gray-900);
  border-radius: 2rem;
  padding: 0.75rem;
  box-shadow: var(--shadow-lg);
  max-width: 260px;
  margin: 0 auto;
}

.mockup-screen {
  background: linear-gradient(160deg, var(--green-50) 0%, var(--gray-100) 100%);
  border-radius: 1.375rem;
  aspect-ratio: 9 / 19;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  text-align: center;
}

.mockup-app-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-800);
}

.mockup-app-sub {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ── Team Cards ─────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; max-width: 800px; margin: 0 auto; }

.team-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.team-card__avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-50), var(--green-600));
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-800);
  flex-shrink: 0;
}

.team-card__name { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.25rem; }
.team-card__role { font-size: 0.875rem; font-weight: 600; color: var(--green-600); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.team-card__bio { font-size: 0.9375rem; color: var(--gray-600, #4B5563); line-height: 1.7; margin-bottom: 1.25rem; text-align: left; }

.team-card__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 1.25rem; }

.tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.tag--green { background: var(--green-50); color: var(--green-800); }

.team-card__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--gray-500);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--t-fast);
}
.team-card__linkedin:hover { color: #0A66C2; }

/* ── Milestones ─────────────────────────────────────────── */
.milestones {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.milestone {
  text-align: center;
  padding: 1.5rem 2rem;
  position: relative;
  flex: 1;
  min-width: 160px;
}

.milestone:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-300);
  font-size: 1.25rem;
  pointer-events: none;
}

.milestone__date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.375rem;
}

.milestone__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.3;
}

/* ── Traction / Stats ───────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.stat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
}

.stat-card__number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-600);
  line-height: 1;
  margin-bottom: 0.375rem;
}

.stat-card__label { font-size: 0.9375rem; color: var(--gray-500); }

/* ── Credentials ────────────────────────────────────────── */
.credentials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

.credential-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.credential-card__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.credential-card__items { display: flex; flex-direction: column; gap: 0.5rem; }

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-600, #4B5563);
}

.credential-item::before {
  content: '▸';
  color: var(--green-600);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  text-align: center;
  padding: 5rem 0;
  background: var(--gray-50);
}

.cta-banner__title { margin-bottom: 0.75rem; }
.cta-banner__sub { color: var(--gray-500); max-width: 520px; margin: 0 auto 2rem; }
.cta-banner__actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── Forms ──────────────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: 1.25rem; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.form__group { display: flex; flex-direction: column; gap: 0.375rem; }

.form__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.form__textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

.form__select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.875rem center; padding-right: 2.5rem; cursor: pointer; }

.form__submit { align-self: flex-start; }

.form__notice {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  display: none;
}

.form__notice--success {
  background: var(--green-50);
  border: 1px solid #BBF7D0;
  color: var(--green-800);
}

.form__notice--error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.form__notice.visible { display: block; }

/* ── Contact Info ───────────────────────────────────────── */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item__icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--green-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.contact-item__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.contact-item__value {
  font-size: 1rem;
  color: var(--gray-800);
  font-weight: 500;
}

.contact-item__value a { color: var(--green-600); transition: color var(--t-fast); }
.contact-item__value a:hover { color: var(--green-800); }

/* ── Social Icons ───────────────────────────────────────── */
.social-links { display: flex; gap: 0.75rem; }

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  color: var(--gray-600, #4B5563);
  font-size: 1rem;
  transition: background var(--t-fast), color var(--t-fast);
}
.social-link:hover { background: var(--green-600); color: var(--white); }

/* ── Page Header ────────────────────────────────────────── */
.page-header {
  padding: 4rem 0 3rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  text-align: center;
}

.page-header .lead { max-width: 600px; margin: 0.75rem auto 0; }

/* ── Divider ────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--gray-100);
  margin: 0;
  border: none;
}

/* ── Connecting Narrative ───────────────────────────────── */
.narrative {
  background: var(--green-50);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border-left: 4px solid var(--green-600);
  max-width: 720px;
  margin: 3rem auto 0;
}

.narrative p { color: var(--gray-700); line-height: 1.75; }
.narrative p + p { margin-top: 0.75rem; }

/* ── Partners CTA form wrapper ──────────────────────────── */
.partners-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

/* ── Vision statement ───────────────────────────────────── */
.vision-block {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}
.vision-block p { color: var(--gray-600, #4B5563); font-size: 1.0625rem; line-height: 1.75; }
.vision-block p + p { margin-top: 0.875rem; }

/* ── Product overview pills ─────────────────────────────── */
.product-pills { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

.product-pill {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: box-shadow var(--t-fast), border-color var(--t-fast);
}
.product-pill:hover { box-shadow: var(--shadow-md); border-color: var(--green-600); }

.product-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-600);
  flex-shrink: 0;
}

.product-pill__name { font-weight: 600; color: var(--gray-900); font-size: 0.9375rem; }
.product-pill__sub { font-size: 0.8125rem; color: var(--gray-500); }

/* ── Join Us ────────────────────────────────────────────── */
.join-section {
  text-align: center;
  padding: 4rem 0;
  border-top: 1px solid var(--gray-100);
}

/* ── Fade-in animation ──────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in { opacity: 0; }
.fade-in.visible { animation: fadeInUp 0.5s ease forwards; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 3.5rem; }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero { padding: 3.5rem 0 3rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-layout--reverse { direction: ltr; }
  .team-grid { grid-template-columns: 1fr; max-width: 420px; }
  .credentials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .milestones { flex-direction: column; align-items: center; }
  .milestone:not(:last-child)::after { content: '↓'; right: auto; top: auto; position: static; display: block; margin: 0.25rem auto 0; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__social, .footer__legal { justify-content: center; }
}

@media (max-width: 480px) {
  .partners-form-wrap { padding: 1.5rem; }
  .narrative { padding: 1.5rem; }
}
