:root {
  --paper: #FAF6EF;
  --card: #FFFDF9;
  --sand: #F1E7D8;
  --sand-soft: #F7F0E4;
  --ink: #2B2320;
  --terra: #D96C47;
  --terra-dark: #B4532F;
  --amber-dark: #B07818;
  --amber-deep: #7A5A14;
  --green: #6F9A72;
  --green-dark: #4E6B51;
  --green-tint: #EDF3EC;
  --terra-tint: #F9E4DC;
  --amber-tint: #FBEED7;
  --line: #E8DCC9;
  --muted: #7A6E62;
  --body-c: #574B42;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Onest', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }

a { color: var(--terra); text-decoration: none; }
a:hover { color: var(--terra-dark); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra-dark);
}

.btn {
  display: inline-block;
  background: var(--terra);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  padding: 16px 30px;
  border-radius: 12px;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--terra-dark); color: var(--paper); }
.btn-small { font-size: 15px; padding: 10px 22px; border-radius: 10px; }
.btn-inverse { background: var(--paper); color: var(--terra-dark); }
.btn-inverse:hover { background: #F1E7D8; color: var(--terra-dark); }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
}
.logo:hover { color: var(--ink); }
.header-right { display: flex; align-items: center; gap: 24px; }
.header-note { font-size: 14px; color: var(--muted); }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 88px;
}
.hero-text { display: flex; flex-direction: column; gap: 26px; }
.hero-text h1 {
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1.12;
}
.lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--body-c);
  max-width: 560px;
}
.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-note { font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 220px; }

.hero-visual { display: flex; flex-direction: column; align-items: center; }
.hero-arc { margin-bottom: -14px; max-width: 100%; height: auto; }
.hero-arc text { font-family: var(--sans); font-size: 13px; fill: var(--muted); }

.phone-card {
  width: 340px;
  max-width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 24px 48px -28px rgba(43, 35, 32, 0.35);
}
.phone-bar { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; }
.phone-brand { font-family: var(--serif); font-size: 16px; font-weight: 600; }
.phone-muted { font-size: 13px; color: var(--muted); }

.checkin-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--green-tint);
  border-radius: 16px;
  padding: 16px;
}
.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse 2.4s ease-out infinite;
}
.checkin-title { font-size: 15px; font-weight: 600; }
.checkin-sub { font-size: 13px; color: var(--green-dark); margin-top: 3px; }

.doc-card {
  background: var(--sand-soft);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.doc-head { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.med-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.med-row span:last-child { color: var(--muted); }
.warn-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-tint);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--amber-deep);
}
.digest-row { display: flex; align-items: center; gap: 10px; padding: 0 4px; font-size: 13px; color: var(--muted); }

.pain { background: var(--ink); }
.pain-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 88px;
  padding-bottom: 88px;
  text-align: center;
}
.pain h2 {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.25;
  color: var(--paper);
  max-width: 880px;
}
.pain p {
  font-size: clamp(15.5px, 1.4vw, 18px);
  line-height: 1.7;
  color: #CDC2B6;
  max-width: 760px;
}

.section-head { display: flex; flex-direction: column; gap: 14px; }
.section-head h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.2; max-width: 720px; }
.section-sub { font-size: 17px; line-height: 1.6; color: var(--body-c); max-width: 680px; }

.features { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 44px; }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card h3 { font-size: 23px; line-height: 1.3; }
.card p { font-size: 15.5px; line-height: 1.6; color: var(--body-c); }

.icon-tile {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile-terra { background: var(--terra-tint); }
.tile-green { background: var(--green-tint); }
.tile-amber { background: var(--amber-tint); }
.tile-sand { background: var(--sand); }

.chip {
  font-size: 13px;
  font-weight: 600;
  color: var(--terra-dark);
  background: var(--terra-tint);
  padding: 6px 12px;
  border-radius: 999px;
  align-self: flex-start;
}

.steps { background: var(--sand); }
.steps .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 88px;
  padding-bottom: 88px;
}
.step { display: flex; flex-direction: column; gap: 16px; }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--terra);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--terra-dark);
}
.step h4 { font-size: 18px; font-weight: 600; }
.step p { font-size: 15.5px; line-height: 1.6; color: var(--body-c); }

.family { padding-top: 88px; padding-bottom: 8px; display: flex; flex-direction: column; gap: 40px; }

.survey { padding-top: 88px; padding-bottom: 88px; display: flex; justify-content: center; }
.survey-card {
  background: var(--terra);
  border-radius: 24px;
  padding: clamp(36px, 5vw, 64px);
  max-width: 960px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.survey-card h2 { font-size: clamp(25px, 3vw, 38px); line-height: 1.25; color: var(--paper); }
.survey-card p { font-size: 17px; line-height: 1.65; color: rgba(250, 246, 239, 0.92); max-width: 640px; }

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  padding-bottom: 36px;
  border-top: 1px solid var(--line);
}
.footer-left { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 154, 114, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(111, 154, 114, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 154, 114, 0); }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 28px; padding-bottom: 56px; }
  .cards-3 { grid-template-columns: 1fr; }
  .header-note { display: none; }
  .features, .survey { padding-top: 56px; padding-bottom: 56px; }
  .family { padding-top: 56px; }
  .steps .container { padding-top: 56px; padding-bottom: 56px; }
  .pain-inner { padding-top: 56px; padding-bottom: 56px; }
  .cta-row { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-note { max-width: none; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot { animation: none; }
  .btn { transition: none; }
}
