:root {
  --cream: #faf8f5;
  --cream-warm: #f3ebe2;
  --jeanne: #c8373a;
  --ink: #1c1c1e;
  --ink-subtle: rgba(28, 28, 30, 0.64);
  --ink-muted: rgba(28, 28, 30, 0.4);
  --border: #e8e2da;
  --jeanne-soft: rgba(200, 55, 58, 0.08);
  --radius-card: 20px;
  --gutter: clamp(24px, 5vw, 48px);
  --section: clamp(48px, 8vw, 96px);
  --max-width: 720px;
  --max-wide: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 42%, var(--cream) 100%);
  color: var(--ink);
  font-family: "Jost", system-ui, sans-serif;
  font-size: 19px;
  line-height: 1.53;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--jeanne);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: none;
}

h1,
h2,
h3,
.logo-wordmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  color: var(--ink);
  font-weight: 500;
}

h2,
h3 {
  color: var(--jeanne);
  font-weight: 600;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 1.95rem);
  line-height: 1.22;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.25;
}

.eyebrow {
  color: var(--ink-muted);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  color: var(--ink-subtle);
  font-size: 1.15rem;
  line-height: 1.65;
}

.muted {
  color: var(--ink-subtle);
}

.shell {
  width: min(100% - var(--gutter) * 2, var(--max-wide));
  margin-inline: auto;
}

.shell--narrow {
  width: min(100% - var(--gutter) * 2, var(--max-width));
}

.site-header {
  padding: calc(var(--gutter) * 0.75) 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  width: 40px;
  height: 40px;
}

.logo-wordmark {
  font-size: 1.35rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-subtle);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  padding: calc(var(--section) * 0.35) 0 var(--section);
}

.hero__accent {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: var(--jeanne);
  margin-bottom: 1.75rem;
}

.hero__logo {
  width: min(140px, 34vw);
  height: auto;
  margin-bottom: 2rem;
}

.hero__title {
  max-width: 12ch;
}

.hero__copy {
  max-width: 34rem;
  margin-top: 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.btn {
  appearance: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  min-height: 52px;
  padding: 0 1.5rem;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--jeanne);
  box-shadow: 0 10px 28px rgba(200, 55, 58, 0.18);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
}

.section {
  padding: var(--section) 0;
}

.section__intro {
  max-width: 34rem;
  margin-bottom: 2.5rem;
}

.cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hero__use-cases {
  margin-top: 2rem;
}

.cards--capture .card h3 {
  font-size: 1.25rem;
}

.mockup-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .mockup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mockup-panel {
  background: rgba(250, 248, 245, 0.92);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-card) + 4px);
  padding: 1.5rem;
}

.mockup-panel--meds {
  border-color: rgba(200, 55, 58, 0.15);
}

.mockup-label {
  color: var(--jeanne);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  text-transform: none;
}

.mockup-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mockup-item {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 24px 1fr;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.mockup-item:first-child {
  border-top: none;
  padding-top: 0;
}

.mockup-item strong,
.mockup-med strong {
  color: var(--ink);
  display: block;
  font-family: "Jost", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.mockup-item span,
.mockup-med span {
  color: var(--ink-subtle);
  display: block;
  font-size: 0.95rem;
  line-height: 1.5;
}

.mockup-meta {
  color: var(--jeanne) !important;
  display: block;
  font-size: 0.82rem !important;
  font-style: normal;
  margin-top: 0.45rem;
}

.mockup-check {
  align-self: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  height: 20px;
  margin-top: 0.15rem;
  width: 20px;
}

.mockup-check--done {
  align-items: center;
  background: var(--jeanne-soft);
  border-color: rgba(200, 55, 58, 0.35);
  color: var(--jeanne);
  display: flex;
  font-size: 0.72rem;
  justify-content: center;
}

.mockup-item--done strong,
.mockup-item--done span {
  opacity: 0.72;
}

.mockup-caption,
.mockup-disclaimer {
  color: var(--ink-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 1rem 0 0;
}

.mockup-list--meds .mockup-med {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.mockup-list--meds .mockup-med:first-child {
  border-top: none;
  padding-top: 0;
}

.mockup-med--new {
  background: var(--jeanne-soft);
  border-radius: var(--radius-card);
  margin-top: 0.5rem;
  padding: 1rem !important;
}

.mockup-tag {
  color: var(--ink-muted) !important;
  display: inline-block !important;
  font-size: 0.78rem !important;
  margin-top: 0.5rem;
}

.mockup-tag--action {
  color: var(--jeanne) !important;
}

.mockup-record {
  margin-top: 1.25rem;
}

.mockup-record-item {
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding: 0.9rem 1rem;
}

.mockup-record-item span {
  color: var(--ink-subtle);
  display: block;
  font-size: 0.88rem;
}

.mockup-actions {
  color: var(--jeanne);
  display: flex;
  font-size: 0.82rem;
  gap: 0.75rem;
}

.card {
  background: rgba(250, 248, 245, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
}

.card__number {
  color: var(--jeanne);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.card p {
  margin: 0.5rem 0 0;
  color: var(--ink-subtle);
}

.quote-band {
  background: var(--jeanne-soft);
  border: 1px solid rgba(200, 55, 58, 0.12);
  border-radius: var(--radius-card);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.quote-band blockquote {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--jeanne);
}

.quote-band cite {
  display: block;
  margin-top: 1rem;
  color: var(--ink-subtle);
  font-family: "Jost", system-ui, sans-serif;
  font-size: 0.95rem;
  font-style: normal;
}

.cta {
  padding-bottom: calc(var(--section) * 1.2);
}

.cta__panel {
  background: rgba(250, 248, 245, 0.9);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-card) + 4px);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.cta__panel p {
  max-width: 30rem;
  margin: 1rem auto 0;
  color: var(--ink-subtle);
}

.cta__panel .btn {
  margin-top: 1.75rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--ink-subtle);
  font-size: 0.95rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.legal-page {
  padding: calc(var(--section) * 0.5) 0 var(--section);
}

.legal-page h2 {
  margin-top: 2.5rem;
}

.legal-page p,
.legal-page li {
  color: var(--ink-subtle);
}

.legal-page ul {
  padding-left: 1.25rem;
}

.legal-page ul li + li {
  margin-top: 0.35rem;
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hero__title {
    max-width: none;
  }
}
