/* =================================================================
   Trickle Health — landing page styles
   Palette pulled directly from the logo SVG.
   ================================================================= */

:root {
  --green:        #1D9E75;
  --teal:         #1A8A8A;
  --blue-mid:     #1878A5;
  --blue:         #2068BE;
  --ink:          #0D1F2D;
  --ink-soft:     #1F3346;
  --ink-mute:     #5A6B7C;

  --paper:        #F7F9FA;
  --paper-warm:   #EEF3F5;
  --line:         #DBE3E8;
  --line-soft:    #E8EEF1;

  --display: 'Fraunces', Georgia, serif;
  --body: 'Newsreader', Georgia, serif;
  --ui: 'Inter Tight', system-ui, sans-serif;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease-editorial: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05  0 0 0 0 0.12  0 0 0 0 0.18  0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

/* ─── NAV ───────────────────────────────────────────────────── */
nav.top {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(247, 249, 250, 0.96);
  border-bottom: 1px solid var(--line-soft);
}
nav.top .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { width: 34px; height: 34px; display: block; }
.brand-mark circle { transition: transform .3s var(--ease-editorial), opacity .3s; transform-origin: center; }
.brand:hover .brand-mark circle {
  animation: logoDotPulse 1s var(--ease-editorial) forwards;
}
@keyframes logoDotPulse {
  0% { r: 9; opacity: 1; }
  40% { r: 12; opacity: 0.7; }
  100% { r: 9; opacity: 1; }
}
.brand-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.brand-name em { font-style: italic; font-weight: 400; color: var(--teal); }
.nav-links {
  display: flex; gap: 32px; align-items: center;
  font-family: var(--ui);
  font-size: 14px;
}
.nav-links a { color: var(--ink-soft); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--teal); }
.nav-links a.nav-cta,
.nav-links a.nav-cta:visited {
  background: var(--ink);
  color: var(--paper);
  padding: 9px 18px;
  border-radius: 100px;
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.nav-links a.nav-cta:hover { background: var(--teal); color: var(--paper); transform: translateY(-1px); }
@media (max-width: 740px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ─── HERO ──────────────────────────────────────────────────── */
header.hero {
  padding: clamp(60px, 9vw, 120px) 0 clamp(60px, 8vw, 100px);
  min-height: 760px;
  position: relative;
  background:
    radial-gradient(ellipse 90% 60% at 80% 10%, rgba(32,104,190,0.06), transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(29,158,117,0.05), transparent 60%);
}
.eyebrow {
  font-family: var(--ui);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--teal);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--teal); }

h1.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 6.8vw, 80px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 980px;
  font-variation-settings: "opsz" 144;
}
h1.hero-title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(95deg, var(--green) 0%, var(--teal) 25%, var(--blue-mid) 50%, var(--blue) 75%, var(--green) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientCycle 20s ease infinite;
}
@keyframes gradientCycle {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-sub {
  margin-top: 32px;
  font-size: clamp(18px, 1.7vw, 22px);
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.5;
  font-weight: 400;
}
.hero-ctas { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--ui); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: transform .25s var(--ease-editorial), box-shadow .25s var(--ease-editorial), background .25s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 10px 30px -10px rgba(13, 31, 45, 0.5);
}
.btn-primary:hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 14px 34px -10px rgba(26, 138, 138, 0.5), inset 0 0 20px rgba(255,255,255,0.12);
  animation: glowPulse .6s var(--ease-editorial) forwards;
}
@keyframes glowPulse {
  0% { box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 14px 34px -10px rgba(26,138,138,0.5), inset 0 0 0 rgba(255,255,255,0); }
  50% { box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 14px 34px -10px rgba(26,138,138,0.5), inset 0 0 24px rgba(255,255,255,0.15); }
  100% { box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 14px 34px -10px rgba(26,138,138,0.5), inset 0 0 12px rgba(255,255,255,0.06); }
}
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-warm); }
.btn-arrow { transition: transform .25s var(--ease-editorial); }
.btn:hover .btn-arrow { transform: translateX(6px); }

.hero-meta {
  margin-top: 52px;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  font-family: var(--ui);
  font-size: 13px;
  color: var(--ink-mute);
  align-items: center;
}
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; margin-right: 8px; vertical-align: middle; }
.hero-meta .dot.g { background: var(--green); }
.hero-meta .dot.t { background: var(--teal); }
.hero-meta .dot.b { background: var(--blue-mid); }

/* ─── HERO RIPPLE ACCENT ─────────────────────────────────── */
.hero-anim {
  position: absolute;
  left: var(--gutter);
  bottom: 28px;
  width: 70px;
  height: 70px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.55;
}
.ripple-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  border: 0.8px solid var(--teal);
  opacity: 0;
  animation: ringExpand 4s ease-out infinite;
}
.r1 { animation-delay: 0.9s; border-color: var(--teal); }
.r2 { animation-delay: 1.1s; border-color: var(--blue-mid); }
.r3 { animation-delay: 1.3s; border-color: var(--blue); }
@keyframes ringExpand {
  0% { opacity: 0; transform: scale(1); }
  8% { opacity: 0.5; }
  80% { opacity: 0; transform: scale(5); }
  100% { opacity: 0; transform: scale(5); }
}
.ripple-drop {
  position: absolute;
  left: 50%; top: 10%;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0;
  animation: dropFall 4s var(--ease-editorial) infinite;
}
@keyframes dropFall {
  0% { top: 10%; opacity: 0; }
  6% { opacity: 1; }
  24% { top: 48%; opacity: 1; }
  28% { top: 50%; opacity: 0; }
  100% { top: 50%; opacity: 0; }
}
.ripple-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,158,117,0.3) 0%, transparent 70%);
  opacity: 0;
  animation: glowBurst 4s ease-out infinite;
  animation-delay: 0.85s;
}
@keyframes glowBurst {
  0% { opacity: 0; transform: scale(0.5); }
  8% { opacity: 0.6; transform: scale(1); }
  40% { opacity: 0; transform: scale(2); }
  100% { opacity: 0; transform: scale(2); }
}
@media (max-width: 740px) { .hero-anim { display: none; } }

/* Hero phone mock */
.hero-phone {
  position: absolute;
  right: clamp(40px, 6vw, 100px);
  top: 50%;
  transform: translateY(-50%) rotate(-2deg);
  width: 300px;
  height: 600px;
  z-index: 2;
  transition: transform 0.6s var(--ease-editorial);
}

.hero-phone:hover {
  transform: translateY(-50%) rotate(-1deg);
}

.hero-phone-frame {
  width: 100%;
  height: 100%;
  background: var(--ink);
  border-radius: 42px;
  padding: 12px;
  box-shadow:
    0 40px 100px -30px rgba(13, 31, 45, 0.4),
    0 12px 32px -10px rgba(13, 31, 45, 0.25);
}

.hero-phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #F7F9FA 0%, #EEF3F5 100%);
  border-radius: 30px;
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.hero-phone-status {
  display: flex;
  justify-content: space-between;
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}

.hero-phone-signal {
  font-size: 7px;
  letter-spacing: 0.2em;
}

.hero-phone-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 2px;
}

.hero-phone-week {
  font-family: 'Inter Tight', sans-serif;
  font-size: 9px;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}

.hero-phone-greeting {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
}

.hero-phone-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(29, 158, 117, 0.08);
  border-radius: 10px;
  padding: 8px 10px;
}

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

.hero-phone-banner-text {
  font-family: 'Inter Tight', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: var(--ink);
  flex: 1;
  line-height: 1.3;
}

.hero-phone-banner-time {
  font-family: 'Inter Tight', sans-serif;
  font-size: 9px;
  color: var(--ink-mute);
  flex-shrink: 0;
}

.hero-phone-checkins {
  background: white;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(13, 31, 45, 0.04);
}

.hero-phone-checkins-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.hero-phone-checkins-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}

.hero-phone-checkins-count {
  font-family: 'Fraunces', serif;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.hero-phone-checkins-dots {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.hero-phone-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(13, 31, 45, 0.08);
}

.hero-phone-dot-done {
  background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
}

.hero-phone-checkins-labels {
  display: flex;
  justify-content: space-between;
  font-family: 'Inter Tight', sans-serif;
  font-size: 8px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  padding: 0 5px;
}

.hero-phone-card {
  background: white;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(13, 31, 45, 0.04);
}

.hero-phone-card-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.hero-phone-card-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}

.hero-phone-card-num {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.hero-phone-card-trend {
  font-family: 'Inter Tight', sans-serif;
  font-size: 9px;
  font-weight: 500;
  color: var(--green);
}

.hero-phone-trend-down {
  color: #C97A4A;
}

.hero-phone-sparkline {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.spark-bar {
  flex: 1;
  background: rgba(13, 31, 45, 0.12);
  border-radius: 2px;
  min-height: 3px;
}

.spark-bar-active {
  background: linear-gradient(180deg, var(--green) 0%, var(--teal) 100%);
}

.hero-phone-progress {
  width: 100%;
  height: 6px;
  background: rgba(13, 31, 45, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.hero-phone-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green) 0%, var(--teal) 100%);
  border-radius: 3px;
}

@media (max-width: 1100px) {
  .hero-phone {
    display: none;
  }
}

/* ─── SHARED SECTION TYPE ──────────────────────────────────── */
section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section-label {
  font-family: var(--ui);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal);
  margin-bottom: 24px;
  display: inline-block;
}
h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 880px;
  font-variation-settings: "opsz" 96;
}
h2 em { font-style: italic; font-weight: 300; color: var(--teal); }
.lede {
  margin-top: 28px;
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--ink-soft);
  max-width: 660px;
  line-height: 1.55;
}

/* ─── PROBLEM ─────────────────────────────────────────────── */
.problem {
  background: var(--paper-warm);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.problem .section-label {
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.20em;
  color: var(--teal);
  margin-bottom: 48px;
  font-weight: 500;
}
.pullquote {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.22;
  color: var(--ink);
  max-width: 920px;
  margin-top: 8px;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 96;
}
.pullquote::before {
  content: '\201C';
  font-size: 1.3em;
  color: var(--green);
  line-height: 0;
  position: relative;
  top: 0.18em;
  margin-right: 0.05em;
}
.pullquote strong {
  font-weight: 500;
  font-style: normal;
  color: var(--ink);
}
.pullquote-attr {
  margin-top: 28px;
  font-family: var(--ui);
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}

/* ─── STEPS ───────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 28px 24px;
  position: relative;
  transition: transform .3s var(--ease-editorial), box-shadow .3s var(--ease-editorial), border-color .3s;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(13, 31, 45, 0.12);
  border-color: var(--teal);
}
.step-num {
  font-family: var(--display);
  font-size: 14px;
  font-style: italic;
  color: var(--green);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.step-num::before { content: ''; width: 24px; height: 1px; background: var(--green); }
.step:nth-child(2) .step-num { color: var(--teal); }
.step:nth-child(2) .step-num::before { background: var(--teal); }
.step:nth-child(3) .step-num { color: var(--blue-mid); }
.step:nth-child(3) .step-num::before { background: var(--blue-mid); }
.step:nth-child(4) .step-num { color: var(--blue); }
.step:nth-child(4) .step-num::before { background: var(--blue); }
.step h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step p { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.step-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(26, 138, 138, 0.10);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--teal);
}
.step:nth-child(1) .step-icon { background: rgba(29, 158, 117, 0.10); color: var(--green); }
.step:nth-child(3) .step-icon { background: rgba(24, 120, 165, 0.10); color: var(--blue-mid); }
.step:nth-child(4) .step-icon { background: rgba(32, 104, 190, 0.10); color: var(--blue); }
.step-icon svg { width: 22px; height: 22px; }

/* ─── DASHBOARD MOCK SECTION ─────────────────────────────── */
.demo-section { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.demo-section::after {
  content: '';
  position: absolute;
  right: -240px;
  top: -240px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,158,117,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.demo-section::before {
  content: '';
  position: absolute;
  left: -200px;
  bottom: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32,104,190,0.16) 0%, transparent 70%);
  pointer-events: none;
}
.demo-section h2, .demo-section .section-label, .demo-section .lede { color: var(--paper); }
.demo-section .section-label { color: var(--green); }
.demo-section h2 em {
  background: linear-gradient(95deg, var(--green) 0%, var(--teal) 50%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.demo-section .lede { color: rgba(247, 249, 250, 0.72); }

.dashboard-mock {
  margin-top: 60px;
  background: #102639;
  border: 1px solid rgba(247,249,250,0.08);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.dashboard-mock::after {
  content: 'Illustrative example \00B7  mock data';
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--ui);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(247,249,250,0.4);
}
.dash-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(247,249,250,0.08);
  margin-bottom: 24px;
  font-family: var(--ui);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 14px;
}
.dash-patient { display: flex; align-items: center; gap: 12px; }
.dash-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  font-weight: 600;
  font-size: 14px;
}
.dash-name {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  color: var(--paper);
}
.dash-meta { color: rgba(247,249,250,0.5); font-size: 12px; }
.dash-badge {
  background: rgba(29, 158, 117, 0.18);
  color: var(--green);
  padding: 5px 10px;
  border-radius: 100px;
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29,158,117,0.5); opacity: 1; }
  50% { box-shadow: 0 0 0 4px rgba(29,158,117,0); opacity: 0.7; }
}

.ai-summary {
  background: linear-gradient(135deg, rgba(29,158,117,0.08), rgba(32,104,190,0.08));
  border: 1px solid rgba(29,158,117,0.18);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.ai-summary-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--ui);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 10px;
}
.ai-summary-head::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(29,158,117,0.2);
}
.ai-summary p {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.5;
  color: rgba(247,249,250,0.95);
}
.ai-summary p strong { color: var(--green); font-weight: 500; }
.ai-summary p .ai-word {
  opacity: 0;
  transition: opacity .12s ease;
}
.ai-summary p .ai-word.visible { opacity: 1; }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 760px) { .metric-grid { grid-template-columns: repeat(2, 1fr); } }
.metric {
  background: rgba(247,249,250,0.04);
  border: 1px solid rgba(247,249,250,0.08);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--ui);
}
.metric-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(247,249,250,0.5);
  margin-bottom: 6px;
}
.metric-val {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.metric-val .unit { font-size: 12px; color: rgba(247,249,250,0.5); margin-left: 3px; }
.metric-trend { font-size: 11px; margin-top: 4px; }
.metric-trend.up { color: var(--green); }
.metric-trend.down { color: #E68B5C; }

/* ─── USE CASES ──────────────────────────────────────────── */
.usecases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 56px;
}
@media (max-width: 820px) { .usecases { grid-template-columns: 1fr; } }
.usecase { background: var(--paper); padding: 40px 32px; transition: background .3s; position: relative; }
.usecase:hover { background: var(--paper-warm); }
.usecase-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--green);
  margin-bottom: 8px;
}
.usecase:nth-child(2) .usecase-num { color: var(--teal); }
.usecase:nth-child(3) .usecase-num { color: var(--blue-mid); }
.usecase h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.usecase p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 16px; }
.usecase ul { list-style: none; padding: 0; font-family: var(--ui); font-size: 13px; color: var(--ink-mute); }
.usecase li { padding: 4px 0 4px 18px; position: relative; }
.usecase li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 8px; height: 1px;
  background: var(--teal);
}
.use-case-pilot {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(13, 31, 45, 0.08);
  font-family: 'Newsreader', serif;
  font-size: 14px;
  font-style: italic;
  color: var(--ink-mute);
  line-height: 1.5;
}

/* ─── FEATURE GRID ───────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 56px;
}
@media (max-width: 820px) { .features-grid { grid-template-columns: 1fr; } }
.feature { background: var(--paper); padding: 36px 30px; transition: background .3s; }
.feature:hover { background: var(--paper-warm); }
.feature-icon { width: 30px; height: 30px; color: var(--teal); margin-bottom: 20px; }
.feature h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.feature p { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }


/* ─── FOUNDER ────────────────────────────────────────────── */
.founder { background: var(--paper); }
.founder .wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: flex-start;
}
@media (max-width: 820px) { .founder .wrap { grid-template-columns: 1fr; gap: 32px; } }
.founder-portrait {
  width: 220px; height: 270px;
  border-radius: 8px;
  overflow: hidden;
}
.founder-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.02);
}
.founder .section-label,
.founder-text .section-label {
  display: block !important;
  font-family: 'Fraunces', serif !important;
  font-size: clamp(28px, 3vw, 38px) !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  color: var(--teal) !important;
  text-transform: none !important;
  margin-bottom: 32px !important;
  font-variation-settings: "opsz" 144 !important;
}
.founder-quote em { font-style: italic; color: var(--teal); font-weight: 300; }
.founder-sig {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-soft);
  margin-top: 28px;
}
.founder-sig small {
  display: block;
  font-family: var(--ui);
  font-style: normal;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 6px;
}
.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ui);
  font-style: normal;
  font-size: 12px;
  color: var(--teal);
  text-decoration: none;
  margin-top: 10px;
  letter-spacing: 0.02em;
  transition: color .2s;
}
.founder-linkedin:hover { color: var(--green); text-decoration: underline; }
.founder-linkedin svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ─── FINAL CTA ──────────────────────────────────────────── */
.final { background: var(--ink); color: var(--paper); text-align: center; position: relative; overflow: hidden; }
.final::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,138,138,0.16) 0%, transparent 60%);
  pointer-events: none;
}
.final .wrap { position: relative; z-index: 2; }
.final h2 { color: var(--paper); margin: 0 auto; }
.final h2 em {
  background: linear-gradient(95deg, var(--green), var(--teal), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.final .lede { color: rgba(247, 249, 250, 0.72); margin: 28px auto 0; }
.final .hero-ctas { justify-content: center; }
.final .btn-primary { background: var(--paper); color: var(--ink); }
.final .btn-primary:hover { background: var(--green); color: var(--paper); }
.final .btn-ghost { color: var(--paper); border-color: rgba(247, 249, 250, 0.28); }
.final .btn-ghost:hover { background: rgba(247, 249, 250, 0.08); border-color: var(--paper); }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: rgba(247,249,250,0.5);
  padding: 40px 0 50px;
  font-family: var(--ui);
  font-size: 13px;
  border-top: 1px solid rgba(247,249,250,0.08);
}
footer .wrap {
  display: flex; flex-direction: column; gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  width: 28px;
  height: 28px;
  display: block;
}
.footer-tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  color: rgba(247,249,250,0.6);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
footer a {
  color: rgba(247,249,250,0.7);
  text-decoration: none;
  margin-right: 22px;
  transition: color .2s;
}
footer a:hover { color: var(--paper); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.footer-contact-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  color: var(--paper);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: fit-content;
}
.footer-contact-link svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.footer-contact-link:hover {
  opacity: 1;
}
.footer-contact-link:hover svg {
  opacity: 1;
}
.footer-contact-linkedin svg {
  color: #0A66C2;
  opacity: 1;
}
.footer-contact-linkedin:hover svg {
  color: #0A66C2;
  opacity: 1;
}
.footer-legal { font-size: 12px; color: rgba(247,249,250,0.4); }

/* ─── REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-editorial), transform .7s var(--ease-editorial);
}
.reveal.in { opacity: 1; transform: translateY(0) scale(1); }
.reveal-scale {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity .7s var(--ease-editorial), transform .7s var(--ease-editorial);
}
.reveal-scale.in { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }
.stagger-child > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease-editorial), transform .5s var(--ease-editorial);
}
.stagger-child.in > * { opacity: 1; transform: translateY(0); }
.stagger-child.in > *:nth-child(1) { transition-delay: 0s; }
.stagger-child.in > *:nth-child(2) { transition-delay: .07s; }
.stagger-child.in > *:nth-child(3) { transition-delay: .14s; }
.stagger-child.in > *:nth-child(4) { transition-delay: .21s; }
.stagger-child.in > *:nth-child(5) { transition-delay: .28s; }
.stagger-child.in > *:nth-child(6) { transition-delay: .35s; }

/* Founder section paragraph spacing - consolidated override */
.founder-text p {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 580px;
  margin-bottom: 1.6em !important;
  line-height: 1.65;
}

.founder-text p:last-of-type {
  margin-bottom: 0 !important;
}

.founder-text .founder-quote {
  font-family: 'Newsreader', serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-soft);
  letter-spacing: 0;
  max-width: 580px;
  margin-bottom: 1.6em;
}


