/* ============================================================
   Who's In — shared design system for the subpages
   (features / privacy / terms). The homepage keeps its own
   self-contained inline CSS so the Twilio-approved page never
   regresses; keep tokens here in lockstep with it.
   ============================================================ */
:root {
  --field: #0b3d26;
  --field-2: #072a1a;
  --hero: #0f3d27;
  --hero-2: #0a2e1c;
  --green-700: #12864b;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --mint: #5ef0a3;
  --mint-soft: #9fdcb6;

  --ink: #16201a;
  --ink-2: #5b6b60;
  --ink-3: #93a299;
  --page: #f3f6f3;
  --surface: #ffffff;
  --fill: #edf0ee;
  --line: #e3e8e4;
  --hairline: #eceff0;

  --tint-1: #e7f3eb;
  --tint-2: #d6ecdd;

  --slate: #3f4f5a;
  --burgundy: #5c2230;

  --shadow-card: 0 1px 2px rgba(16, 32, 26, 0.04), 0 14px 34px rgba(16, 32, 26, 0.08);
  --shadow-soft: 0 1px 2px rgba(16, 32, 26, 0.04), 0 6px 18px rgba(16, 32, 26, 0.06);

  --radius-card: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Saira Condensed", "Hanken Grotesk", sans-serif;

  --wrap: 1140px;
  --read: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--page);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--green-600);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
::selection {
  background: rgba(34, 197, 94, 0.28);
  color: var(--ink);
}
.dark ::selection {
  color: #fff;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 26px;
}
.jersey {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.01em;
  display: inline-block;
  transform: skewX(-6deg);
}
.eyebrow {
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-600);
}

/* ---------------- NAV (shared) ---------------- */
header.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
header.nav.scrolled,
header.nav.solid {
  background: rgba(248, 251, 249, 0.82);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom-color: var(--hairline);
  box-shadow: 0 8px 26px -18px rgba(16, 32, 26, 0.35);
}
.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 15px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.brand .logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--field);
  flex: 0 0 auto;
  box-shadow: 0 3px 10px rgba(7, 42, 26, 0.28);
}
.brand .logo-badge svg {
  width: 26px;
  height: 26px;
}
.brand .wordmark {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: #fff;
  transition: color 0.3s ease;
}
header.nav.scrolled .brand .wordmark,
header.nav.solid .brand .wordmark {
  color: var(--ink);
}
nav.links {
  display: flex;
  align-items: center;
  gap: 30px;
}
nav.links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.25s ease;
}
nav.links a:hover {
  color: #fff;
  text-decoration: none;
}
header.nav.scrolled nav.links a,
header.nav.solid nav.links a {
  color: var(--ink-2);
}
header.nav.scrolled nav.links a:hover,
header.nav.solid nav.links a:hover {
  color: var(--green-600);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-500);
  color: var(--field) !important;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 17px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px -6px rgba(34, 197, 94, 0.6);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.nav-cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(34, 197, 94, 0.7);
}
@media (max-width: 860px) {
  nav.links a:not(.nav-cta) {
    display: none;
  }
}

/* ---------------- Buttons ---------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--green-500);
  color: var(--field);
  font-weight: 800;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: 13px;
  box-shadow: 0 14px 34px -12px rgba(34, 197, 94, 0.75);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-primary:hover::before {
  left: 130%;
}
.btn-primary:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -14px rgba(34, 197, 94, 0.85);
}
.btn-primary svg {
  width: 18px;
  height: 18px;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-600);
  font-weight: 700;
  font-size: 15.5px;
}
.btn-ghost .arrow {
  transition: transform 0.2s ease;
}
.btn-ghost:hover {
  text-decoration: none;
}
.btn-ghost:hover .arrow {
  transform: translateX(4px);
}

/* ---------------- Page hero (dark) ---------------- */
.page-hero {
  position: relative;
  background: radial-gradient(120% 120% at 82% -10%, #16543a 0%, var(--hero) 42%, var(--hero-2) 100%);
  color: #fff;
  padding: 156px 0 84px;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 96px);
  z-index: -1;
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -34%;
  right: -8%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(94, 240, 163, 0.15) 0%, transparent 62%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
  animation: aurora-a 16s ease-in-out infinite alternate;
}
@keyframes aurora-a {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-70px, 50px, 0) scale(1.12);
  }
}
.page-hero h1 {
  margin: 20px 0 0;
  font-family: var(--display);
  font-weight: 800;
  transform: skewX(-6deg);
  transform-origin: left;
  text-transform: uppercase;
  font-size: clamp(46px, 7.4vw, 86px);
  line-height: 0.96;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
.page-hero h1 .hl {
  color: var(--mint);
}
.page-hero .lead {
  margin: 22px 0 0;
  font-size: clamp(17px, 2vw, 19.5px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  max-width: 34em;
}
.page-hero .hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.page-hero .btn-ghost {
  color: #fff;
}
.page-hero .btn-ghost:hover {
  color: var(--mint);
}
.page-hero .eyebrow {
  color: var(--mint);
}

/* ---------------- Sections ---------------- */
section.band {
  padding: 92px 0;
}
section.band.dark {
  background: linear-gradient(150deg, var(--field) 0%, var(--field-2) 100%);
  color: #fff;
}
section.band.dark .eyebrow {
  color: var(--mint);
}
.band-head {
  max-width: 640px;
}
.band-head h2 {
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 14px 0 0;
  text-wrap: balance;
}
.band-head h2 em {
  font-style: normal;
  color: var(--green-600);
}
.band.dark .band-head h2 em {
  color: var(--mint);
}
.band-head .lead {
  margin: 16px 0 0;
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.6;
}
.band.dark .band-head .lead {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------------- Cards / bento ---------------- */
.card {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
}
.spot {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(34, 197, 94, 0.09), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .spot:hover {
    transform: translateY(-4px);
    box-shadow: 0 2px 3px rgba(16, 32, 26, 0.05), 0 22px 44px rgba(16, 32, 26, 0.12);
  }
  .spot:hover::before {
    opacity: 1;
  }
}
.pro-pill {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--field);
  color: var(--mint);
  vertical-align: 2px;
}

/* ---------------- Legal pages ---------------- */
.legal-page {
  max-width: var(--read);
  margin: 0 auto;
  padding: 26px 26px 80px;
}
.legal-page .lh {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 46px 0 4px;
}
.legal-page h2 {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}
.legal-page .updated-pill {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
}
.legal-page h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin: 26px 0 7px;
}
.legal-page p {
  font-size: 16px;
  color: var(--ink-2);
  margin: 0 0 12px;
  line-height: 1.65;
}
.legal-page p strong {
  color: var(--ink);
}
.legal-page .highlight {
  background: var(--tint-1);
  border-left: 3px solid var(--green-600);
  border-radius: 0 12px 12px 0;
  padding: 16px 18px;
  margin: 16px 0;
}
.legal-page .highlight p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 0;
}
.contact-item {
  background: var(--surface);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.contact-item dt {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.contact-item dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.5;
}
@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------- Footer (shared) ---------------- */
footer.site {
  background: var(--field-2);
  color: #fff;
  padding: 56px 0 40px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: 40px;
}
.foot-brand p {
  margin: 14px 0 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 26em;
  line-height: 1.6;
}
.foot-links2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.foot-col h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin: 0 0 14px;
}
.foot-col a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  margin: 0 0 10px;
}
.foot-col a:hover {
  color: #fff;
  text-decoration: none;
}
.foot-bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.foot-bottom a {
  color: rgba(255, 255, 255, 0.72);
}
@media (max-width: 800px) {
  .foot-top {
    grid-template-columns: 1fr;
  }
}

/* ---------------- Motion ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.s1 {
  transition-delay: 0.06s;
}
.reveal.s2 {
  transition-delay: 0.14s;
}
.reveal.s3 {
  transition-delay: 0.22s;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0 !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
