/* CareNode Landing Page */
:root {
  --teal: #0D5E52;
  --teal-light: #1A7A6B;
  --teal-pale: #E8F4F2;
  --cream: #FAF8F5;
  --warm-gray: #6B6560;
  --charcoal: #1C1917;
  --off-white: #F5F3F0;
  --border: #E5E2DE;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: -0.02em;
}

header nav {
  display: flex;
  gap: 32px;
}

header nav a {
  font-size: 0.9rem;
  color: var(--warm-gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

header nav a:hover { color: var(--teal); }

.header-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--teal);
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
  flex-shrink: 0;
}
.header-cta:hover { background: var(--teal-light); }

/* Hero */
.hero {
  padding: 96px 24px 80px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-lede {
  font-size: 1.1rem;
  color: var(--warm-gray);
  line-height: 1.7;
  max-width: 480px;
}

/* Agent Widget */
.hero-visual {
  display: flex;
  justify-content: center;
}

.agent-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 380px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(13, 94, 82, 0.08);
}

.agent-header {
  background: var(--teal);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
}

.agent-dot {
  width: 8px;
  height: 8px;
  background: #5CF4A0;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.agent-task {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.agent-task:last-child { border-bottom: none; }

.task-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.task-status {
  font-size: 0.85rem;
  color: var(--warm-gray);
}

.task-progress {
  height: 3px;
  background: var(--teal-pale);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.task-progress::after {
  content: '';
  display: block;
  height: 100%;
  width: 60%;
  background: var(--teal);
  border-radius: 2px;
  animation: slide 1.5s ease-in-out infinite;
}

@keyframes slide {
  0% { width: 20%; }
  50% { width: 75%; }
  100% { width: 20%; }
}

.task-complete {
  height: 3px;
  background: var(--teal-pale);
  border-radius: 2px;
  margin-top: 8px;
}

.task-complete::after {
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  background: var(--teal);
  border-radius: 2px;
}

/* Stats Band */
.stats-band {
  background: var(--teal);
  padding: 48px 24px;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.stat-value {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.2);
}

/* Features */
.features {
  padding: 96px 24px;
  background: #fff;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 16px;
}

.features h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--charcoal);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--warm-gray);
  margin-bottom: 56px;
  max-width: 520px;
}

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

.feature-card {
  background: var(--off-white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--warm-gray);
  line-height: 1.65;
}

/* Philosophy */
.philosophy {
  padding: 96px 24px;
  background: var(--cream);
}

.philosophy-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.philosophy-text h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.philosophy-text p {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* Diagram */
.philosophy-diagram {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.diagram-layer {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
}

.layer-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-gray);
  margin-bottom: 8px;
}

.layer-box {
  font-size: 0.95rem;
  color: var(--charcoal);
  font-weight: 500;
}

.layer-box.highlight {
  color: var(--teal);
}

.diagram-arrow {
  display: flex;
  justify-content: center;
  padding: 8px 0;
  color: var(--teal);
}

/* Outcomes */
.outcomes {
  padding: 96px 24px;
  background: var(--teal);
}

.outcomes-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.outcomes .section-label {
  color: rgba(255,255,255,0.6);
}

.outcomes h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #fff;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.outcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 64px;
}

.outcome-metric {
  font-family: 'DM Serif Display', serif;
  font-size: 3.5rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
}

.outcome-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* Closing */
.closing {
  padding: 96px 24px;
  background: #fff;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.closing p {
  font-size: 1.05rem;
  color: var(--warm-gray);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  padding: 56px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-wordmark {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* Social Proof */
.social-proof {
  padding: 56px 24px;
  background: var(--teal-pale);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.proof-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--warm-gray);
}

.proof-logos {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.proof-logo-item {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: var(--teal);
  opacity: 0.75;
  font-weight: 400;
}

/* Email Capture */
.email-capture {
  padding: 96px 24px;
  background: var(--charcoal);
}

.capture-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.capture-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.capture-heading {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.capture-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.capture-form-wrap {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 40px;
}

.capture-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.form-field input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  color: #fff;
  transition: border-color 0.2s, background 0.2s;
}

.form-field input::placeholder { color: rgba(255,255,255,0.35); }

.form-field input:focus {
  outline: none;
  border-color: var(--teal-light);
  background: rgba(255,255,255,0.12);
}

.capture-btn {
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 4px;
}
.capture-btn:hover:not(:disabled) { background: var(--teal-light); }
.capture-btn:active:not(:disabled) { transform: scale(0.99); }
.capture-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.capture-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

.capture-success {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #5CF4A0;
  font-size: 0.9375rem;
  font-weight: 500;
}

/* Closing CTA */
.closing-cta {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  margin-top: 24px;
}
.closing-cta:hover { background: var(--teal-light); }

/* Footer email */
.footer-email {
  display: inline-block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-top: 8px;
  transition: color 0.2s;
}
.footer-email:hover { color: #fff; }

/* Responsive */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 64px 24px 56px; }
  .stats-inner { flex-wrap: wrap; justify-content: center; gap: 24px; }
  .stat-divider { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .philosophy-inner { grid-template-columns: 1fr; gap: 48px; }
  .outcome-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  header nav { display: none; }
  .capture-inner { grid-template-columns: 1fr; gap: 40px; }
  .capture-form-wrap { padding: 28px 24px; }
  .proof-logos { gap: 24px; }
  .header-cta { font-size: 0.8125rem; padding: 7px 16px; }
}