:root {
  --sage: #3D6B4F;
  --sage-light: #5A8C6A;
  --sage-pale: #EBF2ED;
  --cream: #FBF7F0;
  --terracotta: #C85E38;
  --ink: #1A1A1A;
  --ink-muted: #5C5C5C;
  --border: #E2DDD8;
  --white: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.2;
  font-weight: 500;
}

/* HERO */
.hero {
  background: var(--sage);
  color: var(--white);
  padding: 80px 48px 96px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--white);
}

.hero h1 em {
  font-style: italic;
  color: rgba(255,255,255,0.75);
}

.hero-lede {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 460px;
}

/* HERO VISUAL */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkin-card, .alert-card {
  background: var(--white);
  border-radius: 16px;
  padding: 20px 24px;
  color: var(--ink);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.checkin-time {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.checkin-label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 12px;
}

.checkin-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.status-dot.taken { background: var(--sage); }

.alert-card {
  border-left: 4px solid var(--terracotta);
}

.alert-header {
  font-size: 11px;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.alert-body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 10px;
}

.alert-footer {
  font-size: 12px;
  color: var(--ink-muted);
}

/* SECTIONS */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px;
}

.section-inner.narrow {
  max-width: 760px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: block;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(28px, 3vw, 42px);
  margin-bottom: 0;
}

.section-header.centered {
  text-align: center;
}

.section-body {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-top: 20px;
}

/* FEATURES */
.features {
  background: var(--white);
}

.section-header {
  margin-bottom: 56px;
}

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

.feature-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: box-shadow 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.feature-card-large {
  grid-row: span 1;
  background: var(--sage-pale);
  border-color: var(--sage-pale);
}

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

.feature-card-large .feature-icon {
  background: var(--white);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--ink);
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* HOW IT WORKS */
.howitworks {
  background: var(--cream);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 56px;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  font-family: 'Fraunces', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--sage);
  opacity: 0.35;
  line-height: 1;
}

.step-content h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* CAREGIVER */
.caregiver {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.caregiver-quote {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}

.caregiver-quote blockquote {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 20px;
}

.caregiver-quote cite {
  font-size: 14px;
  color: var(--ink-muted);
  font-style: normal;
}

.caregiver-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

.stat-value {
  font-family: 'Fraunces', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
  max-width: 220px;
  margin: 0 auto;
}

/* CLOSING */
.closing {
  background: var(--sage);
  color: var(--white);
  padding: 100px 48px;
  text-align: center;
}

.closing h2 {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--white);
  margin-bottom: 24px;
}

.closing h2 em {
  font-style: italic;
  color: rgba(255,255,255,0.7);
}

.closing p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* FOOTER */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 40px 48px;
}

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

.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 13px;
}

.footer-legal p {
  font-size: 12px;
  text-align: right;
  max-width: 420px;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    padding: 60px 24px 80px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: -1;
  }

  .section-inner {
    padding: 60px 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .caregiver-stats {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step {
    grid-template-columns: 48px 1fr;
    gap: 20px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal p {
    text-align: center;
  }
}