/* =========================================================
   ACHC — Stylesheet
   Aesthetic: modern health-tech, dark navy with teal & gold
   ========================================================= */

:root {
  --bg-primary: #0F1923;
  --bg-card: #1A2A38;
  --bg-card-2: #213545;
  --bg-light: #F5F2ED;
  --bg-light-2: #ECE7DE;
  --accent-teal: #2EC4B6;
  --accent-teal-bright: #3FE0CE;
  --accent-gold: #F4A623;
  --accent-gold-bright: #FFBC4A;
  --text-primary: #F5F2ED;
  --text-dark: #1A1A1A;
  --text-muted: #8A9BAD;
  --text-muted-dark: #5A6A78;
  --border-subtle: rgba(245, 242, 237, 0.08);
  --border-dark: rgba(26, 26, 26, 0.1);

  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --container-max: 1240px;
  --section-py: clamp(5rem, 10vw, 9rem);

  --shadow-card: 0 20px 60px -20px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 30px 80px -20px rgba(46, 196, 182, 0.25);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-primary);
  background:
    radial-gradient(ellipse 70% 42% at 82% 6%, rgba(46, 196, 182, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 56% 40% at 10% 18%, rgba(244, 166, 35, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 45% at 75% 48%, rgba(46, 196, 182, 0.12) 0%, transparent 62%),
    radial-gradient(ellipse 48% 34% at 16% 78%, rgba(244, 166, 35, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #102531 0%, #0F1E2A 34%, #0F1923 66%, #0A1219 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Section helpers ---------- */
.section { padding: var(--section-py) 0; position: relative; }
.section--light,
.section--dark,
.section--cream {
  background: transparent;
  color: var(--text-primary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--accent-teal);
}
.section--light .eyebrow,
.section--cream .eyebrow { color: var(--accent-teal-bright); }

h1.display, h2.display {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  letter-spacing: -0.035em;
}
h2.display { font-size: clamp(2rem, 4.5vw, 3.6rem); }
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.55;
}
.section--light .lead, .section--cream .lead { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
  will-change: transform;
}
.btn--teal {
  background: var(--accent-teal);
  color: var(--bg-primary);
}
.btn--teal:hover {
  background: var(--accent-teal-bright);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(46, 196, 182, 0.55);
}
.btn--gold {
  background: var(--accent-gold);
  color: #000000;
}
.btn--gold:hover {
  background: var(--accent-gold-bright);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(244, 166, 35, 0.55);
}
.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.btn--ghost:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  transform: translateY(-2px);
}
.btn .arrow {
  transition: transform 0.25s ease;
}
.btn:hover .arrow {
  transform: translateX(4px);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: rgba(15, 25, 35, 0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}
.navbar.is-scrolled {
  padding: 0.7rem 0;
  background: rgba(15, 25, 35, 0.92);
  border-bottom-color: var(--border-subtle);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-primary);
}
.logo__mark {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-gold) 100%);
  position: relative;
  overflow: hidden;
}
.logo__mark::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--bg-primary);
  border-radius: 6px;
}
.logo__mark span {
  position: relative;
  font-size: 0.85rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.95rem, 1.7vw, 1.65rem);
  list-style: none;
  padding: 0; margin: 0;
}
.nav-links a {
  font-size: clamp(0.78rem, 1.05vw, 0.92rem);
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent-teal);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 0.7rem 1.1rem;
  background: var(--accent-gold);
  color: #000000;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav-links .nav-cta { color: #000000; }
.nav-links .nav-cta:hover { color: #000000; }
.nav-cta:hover { background: var(--accent-gold-bright); color: #000000; transform: translateY(-1px); }
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.2s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 8rem 0 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(46, 196, 182, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(244, 166, 35, 0.1) 0%, transparent 60%),
    linear-gradient(180deg, rgba(15, 25, 35, 0.18) 0%, transparent 100%);
}
.hero__noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  mix-blend-mode: overlay;
}
#hero-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.85rem 0.45rem 0.55rem;
  background: rgba(46, 196, 182, 0.12);
  border: 1px solid rgba(46, 196, 182, 0.3);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-teal-bright);
  margin-bottom: 1.75rem;
}
.hero__tag-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-teal-bright);
  position: relative;
}
.hero__tag-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent-teal);
  opacity: 0.6;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent-teal) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  max-width: 38ch;
  line-height: 1.55;
  margin-bottom: 2.5rem;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.hero__meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  max-width: 460px;
}
.hero__meta-item .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.hero__meta-item .label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Hero diagram (right side) */
.hero__diagram {
  position: relative;
  top: 0;
  width: min(100%, 540px);
  height: clamp(460px, 62vh, 520px);
  margin: 0 0 0 auto;
}
.hero__diagram svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.hd-node {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.5);
  min-width: 200px;
}
.hd-node--user { top: 0; left: 0; }
.hd-node--ai { top: 20%; right: 0; border-color: rgba(46, 196, 182, 0.4); }
.hd-node--nudge { top: 40%; left: 8%; border-color: rgba(46, 196, 182, 0.28); }
.hd-node--support { top: 60%; right: 3%; border-color: rgba(244, 166, 35, 0.4); }
.hd-node--connection { bottom: 2%; left: 4%; border-color: rgba(244, 166, 35, 0.35); }
.hd-node__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hd-node--user .hd-node__icon { background: rgba(245, 242, 237, 0.1); color: var(--text-primary); }
.hd-node--ai .hd-node__icon { background: rgba(46, 196, 182, 0.15); color: var(--accent-teal); }
.hd-node--nudge .hd-node__icon { background: rgba(46, 196, 182, 0.12); color: var(--accent-teal-bright); }
.hd-node--support .hd-node__icon { background: rgba(244, 166, 35, 0.15); color: var(--accent-gold); }
.hd-node--connection .hd-node__icon { background: rgba(244, 166, 35, 0.12); color: var(--accent-gold-bright); }
.hd-node__icon svg { width: 18px; height: 18px; }
.hd-node__label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.hd-node__text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}
.hd-line {
  stroke: var(--accent-teal);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 5 5;
  opacity: 0.4;
  stroke-linecap: round;
}
.hd-line--flow {
  stroke-dasharray: 6 8;
  animation: dash 1.5s linear infinite;
}
@keyframes dash {
  to { stroke-dashoffset: -28; }
}
.hd-pulse-dot {
  fill: var(--accent-teal);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bob 2.5s ease-in-out infinite;
}
.scroll-indicator .line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, transparent, var(--accent-teal));
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
  50% { transform: translate(-50%, 6px); opacity: 1; }
}

/* ---------- Problem section (stat cards) ---------- */
.problem {
  position: relative;
}
.problem__header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.stat-card {
  background: rgba(26, 42, 56, 0.78);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 70px -32px rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px -24px rgba(46, 196, 182, 0.26);
}
.stat-card__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 6vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: baseline;
}
.stat-card:nth-child(1) .stat-card__num { color: var(--text-primary); }
.stat-card:nth-child(2) .stat-card__num { color: var(--accent-teal-bright); }
.stat-card:nth-child(3) .stat-card__num { color: var(--accent-gold-bright); }
.stat-card__num small {
  font-size: 0.4em;
  margin-left: 0.1em;
  font-weight: 700;
}
.stat-card__label {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text-muted);
  font-weight: 500;
}
.stat-card__accent {
  position: absolute;
  top: 0; right: 0;
  width: 60px;
  height: 4px;
  border-radius: 0 0 0 8px;
}
.stat-card:nth-child(1) .stat-card__accent { background: var(--bg-primary); }
.stat-card:nth-child(2) .stat-card__accent { background: var(--accent-teal); }
.stat-card:nth-child(3) .stat-card__accent { background: var(--accent-gold); }

.problem__paragraph {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.source-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2rem;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

/* ---------- How it works ---------- */
.how {
  position: relative;
  overflow: hidden;
}
.how__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(46, 196, 182, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 80% 70%, rgba(244, 166, 35, 0.05) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}
.how__header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.how__steps {
  display: grid;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2rem 2.25rem;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.step::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 100%;
  width: 1px;
  height: 24px;
  background: linear-gradient(180deg, var(--accent-teal), transparent);
  opacity: 0.4;
}
.step:last-child::before { display: none; }
.step:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 196, 182, 0.3);
  background: var(--bg-card-2);
}
.step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.15) 0%, rgba(46, 196, 182, 0.05) 100%);
  border: 1px solid rgba(46, 196, 182, 0.25);
  display: grid;
  place-items: center;
  color: var(--accent-teal);
  flex-shrink: 0;
}
.step__body { padding-top: 0.25rem; }
.step__icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-weight: 600;
}
.step__icon svg { width: 16px; height: 16px; color: var(--accent-teal); }
.step h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}
.step p {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.step p strong { color: var(--text-primary); font-weight: 600; }

.pullquote {
  margin: 5rem auto 3rem;
  max-width: 880px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}
.pullquote::before, .pullquote::after {
  content: '';
  display: block;
  width: 60px; height: 2px;
  background: var(--accent-gold);
  margin: 1.5rem auto;
  opacity: 0.7;
}
.how__cta {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ---------- Privacy ---------- */
.privacy__header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex; flex-direction: column; align-items: center;
}
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.privacy-card {
  background: rgba(26, 42, 56, 0.78);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.privacy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -20px rgba(46, 196, 182, 0.2);
}
.privacy-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-teal) 0%, #1FA89B 100%);
  display: grid; place-items: center;
  color: white;
  margin-bottom: 1.5rem;
}
.privacy-card__icon svg { width: 24px; height: 24px; }
.privacy-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}
.privacy-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- Tools section ---------- */
.tools__header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex; flex-direction: column; align-items: center;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.tool-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 196, 182, 0.3);
  background: var(--bg-card-2);
}
.tool-card:hover::before { transform: scaleX(1); }
.tool-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(46, 196, 182, 0.12);
  color: var(--accent-teal);
  display: grid; place-items: center;
  margin-bottom: 1.5rem;
}
.tool-card__icon svg { width: 22px; height: 22px; }
.tool-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.015em;
}
.tool-card p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- Product preview ---------- */
.product-preview {
  overflow: hidden;
}
.preview-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}
.preview__copy h2 { margin-bottom: 1.4rem; }
.phone-demo {
  display: flex;
  justify-content: center;
}
.phone-demo__shell {
  width: min(100%, 330px);
  border-radius: 42px;
  padding: 0.85rem;
  background: linear-gradient(145deg, rgba(245, 242, 237, 0.18), rgba(46, 196, 182, 0.08));
  border: 1px solid rgba(245, 242, 237, 0.18);
  box-shadow: 0 36px 90px -28px rgba(0, 0, 0, 0.75);
  position: relative;
}
.phone-demo__speaker {
  position: absolute;
  top: 1.15rem;
  left: 50%;
  width: 82px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(245, 242, 237, 0.25);
  z-index: 2;
}
.phone-demo__screen {
  min-height: 500px;
  border-radius: 34px;
  padding: 2rem 1rem 1rem;
  background:
    radial-gradient(ellipse 80% 42% at 50% 0%, rgba(46, 196, 182, 0.18) 0%, transparent 62%),
    linear-gradient(180deg, #102531 0%, #0A1219 100%);
  overflow: hidden;
}
.phone-demo__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.95rem;
}
.phone-demo__top strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}
.phone-demo__kicker,
.phone-demo__status,
.phone-demo__notification span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}
.phone-demo__status {
  color: #000000;
  background: var(--accent-gold);
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  white-space: nowrap;
}
.phone-demo__chat {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 0.78rem;
}
.phone-demo__bubble {
  max-width: 88%;
  padding: 0.68rem 0.78rem;
  border-radius: 18px;
  font-size: 0.84rem;
  line-height: 1.35;
}
.phone-demo__bubble--incoming {
  background: rgba(245, 242, 237, 0.1);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}
.phone-demo__bubble--system {
  justify-self: end;
  background: rgba(46, 196, 182, 0.15);
  border: 1px solid rgba(46, 196, 182, 0.32);
  color: var(--accent-teal-bright);
}
.phone-demo__alert {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.7rem;
  border-radius: 16px;
  background: rgba(244, 166, 35, 0.14);
  border: 1px solid rgba(244, 166, 35, 0.35);
  color: var(--accent-gold-bright);
  font-weight: 700;
  font-size: 0.82rem;
}
.phone-demo__alert-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent-gold);
  box-shadow: 0 0 0 7px rgba(244, 166, 35, 0.12);
  flex-shrink: 0;
}
.phone-demo__notifications {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}
.phone-demo__notification {
  padding: 0.68rem 0.78rem;
  border-radius: 16px;
  background: rgba(245, 242, 237, 0.08);
  border: 1px solid var(--border-subtle);
}
.phone-demo__notification strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-primary);
  font-size: 0.8rem;
  line-height: 1.35;
}
.phone-demo__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.phone-demo__actions button {
  border-radius: 999px;
  padding: 0.68rem 0.72rem;
  background: var(--accent-teal);
  color: #000000;
  font-weight: 800;
  font-size: 0.82rem;
}
.phone-demo__actions button + button {
  background: rgba(245, 242, 237, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

/* ---------- Letters section ---------- */
.letters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.letters__copy h2 { margin-bottom: 1.5rem; }
.letters__copy p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.letters__quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--text-primary);
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 3px solid var(--accent-gold);
  letter-spacing: -0.015em;
  margin-top: 1.5rem;
}
.letters__form {
  background: rgba(26, 42, 56, 0.82);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.65);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}
.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--text-primary);
  background: rgba(245, 242, 237, 0.07);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(245, 242, 237, 0.45); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
  background: rgba(245, 242, 237, 0.1);
}
.form-field textarea {
  resize: vertical;
  min-height: 110px;
  font-family: var(--font-body);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.letters__form button { width: 100%; justify-content: center; margin-top: 0.5rem; }
.letters__form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
  line-height: 1.45;
}

/* ---------- Impact ---------- */
.impact {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.impact__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(46, 196, 182, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.impact__header { margin-bottom: 4rem; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}
.impact-stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.75rem;
}
.impact-stat .label {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}
.impact__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

/* ---------- GoFundMe ---------- */
.fund__header {
  text-align: center;
  margin-bottom: 3rem;
  display: flex; flex-direction: column; align-items: center;
}
.fund__embed {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(26, 42, 56, 0.82);
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.65);
}
.fund__footnote {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

/* ---------- Get involved ---------- */
.involved__header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex; flex-direction: column; align-items: center;
}
.involved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.involved-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.involved-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 166, 35, 0.3);
}
.involved-card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}
.involved-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.involved-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 2rem;
  flex-grow: 1;
}
.involved-card .btn { align-self: flex-start; }
.share-row {
  display: flex; gap: 0.6rem;
  margin-top: auto;
}
.share-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(245, 242, 237, 0.05);
  border: 1px solid var(--border-subtle);
  display: grid; place-items: center;
  color: var(--text-muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.share-btn:hover {
  color: var(--accent-gold);
  border-color: rgba(244, 166, 35, 0.4);
  background: rgba(244, 166, 35, 0.08);
}
.share-btn svg { width: 16px; height: 16px; }

/* ---------- About / Origin ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.about__copy h2 { margin-bottom: 1.5rem; }
.about__copy p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.about__copy .memory {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  font-style: italic;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-primary);
  margin-top: 2rem;
}
.about__photos {
  position: relative;
  aspect-ratio: 4/5;
}
.about__photos img {
  position: absolute;
  border-radius: 16px;
  box-shadow: 0 20px 50px -15px rgba(15, 25, 35, 0.25);
  object-fit: cover;
}
.about__photos img:nth-child(1) {
  top: 0; left: 0;
  width: 65%; height: 75%;
  z-index: 2;
}
.about__photos img:nth-child(2) {
  bottom: 0; right: 0;
  width: 60%; height: 65%;
  z-index: 1;
}

/* ---------- Footer ---------- */
.footer {
  background: rgba(10, 18, 25, 0.72);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}
.footer__brand .logo { margin-bottom: 1rem; }
.footer__tag {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 28ch;
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 0.6rem; }
.footer ul a {
  font-size: 0.93rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer ul a:hover { color: var(--accent-teal); }
.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.footer__safe {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 50ch;
  line-height: 1.5;
}
.footer__safe strong { color: var(--accent-gold); font-weight: 600; }
.footer__copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: right;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__diagram { top: 0; width: min(100%, 460px); height: 580px; margin: 0 auto; }
  .stats-grid,
  .privacy-grid,
  .tools-grid,
  .impact-grid,
  .involved-grid { grid-template-columns: 1fr; }
  .letters-grid,
  .preview-grid,
  .about-grid { grid-template-columns: 1fr; }
  .preview__copy { text-align: center; }
  .preview__copy .eyebrow { justify-content: center; }
  .preview__copy .lead { margin-inline: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(85vw, 360px);
    background: var(--bg-card);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.5);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: block; }
  .hero { padding-top: 7rem; }
  .step { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.75rem; }
  .step::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .letters__form { padding: 1.75rem; }
  .phone-demo__shell { width: min(100%, 340px); }
  .phone-demo__screen { min-height: 510px; }
  .phone-demo__actions { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__copy { text-align: left; }
  .hero__diagram { height: 560px; }
  .hd-node { min-width: min(78vw, 250px); padding: 0.75rem 0.9rem; }
  .hd-node__text { font-size: 0.85rem; }
  .hero__meta { gap: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}
