:root {
  color-scheme: light;
  --bg: #f4f0e8;
  --surface: #ffffff;
  --surface-2: #efeae0;
  --ink: #1a1815;
  --muted: #635f59;
  --soft: #827c74;
  --accent: #3f7d6f;
  --accent-soft: #ddede7;
  --severity: #b65338;
  --line: rgba(26, 24, 21, 0.11);
  --shadow: 0 18px 46px rgba(37, 30, 20, 0.07);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body.document-page {
  background: #f7f4ed;
}

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

a:hover {
  color: #2d6257;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 232, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav .nav-cta {
  padding: 11px 17px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.hero {
  min-height: min(760px, calc(100vh - 68px));
  padding: 56px 0 48px;
  display: flex;
  align-items: center;
}

.hero-inner,
.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(360px, 485px);
  gap: 62px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 570px;
  font-size: clamp(42px, 6.2vw, 62px);
  line-height: 1.03;
  font-weight: 700;
}

.hero-copy {
  max-width: 516px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: #326b5f;
  color: #fff;
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.launch-note {
  margin: 24px 0 0;
  color: var(--soft);
  font-size: 13px;
}

.phone-stage {
  min-height: 570px;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.phone {
  width: min(352px, 100%);
  min-height: 624px;
  padding: 12px;
  border-radius: 38px;
  background: #151411;
  box-shadow: 0 34px 68px rgba(27, 23, 17, 0.22);
}

.phone-screen {
  min-height: 600px;
  border-radius: 29px;
  overflow: hidden;
  background: var(--bg);
  padding: 30px 16px 72px;
  position: relative;
}

.screen-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

.pet-hello {
  margin-top: 25px;
  display: flex;
  gap: 11px;
  align-items: center;
}

.pet-dot {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.pet-hello strong {
  display: block;
  font-size: 17px;
}

.pet-hello span {
  font-size: 12px;
  color: var(--muted);
}

.screen-card {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.screen-label {
  color: var(--soft);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.med-row {
  margin-top: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.med-row strong {
  display: block;
  font-size: 13px;
}

.med-row span {
  font-size: 11px;
  color: var(--muted);
}

.given {
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.event-row {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.4;
}

.event-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
  background: var(--accent);
}

.tabbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 58px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--soft);
  font-size: 10px;
}

.tabbar strong {
  color: var(--accent);
}

.floating-proof {
  position: absolute;
  left: 0;
  bottom: 104px;
  width: 190px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.floating-proof strong {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}

.floating-proof span {
  color: var(--muted);
  font-size: 12px;
}

.band {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.band.white {
  background: var(--surface);
}

.showcase {
  background: #171713;
  color: #fff;
}

.showcase .eyebrow {
  color: #8cc5b6;
}

.showcase .section-heading p:not(.eyebrow) {
  color: #c9c7bf;
}

.showcase-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #0e100f;
  box-shadow: 0 24px 60px rgba(10, 9, 7, 0.2);
}

.showcase-media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #11120f;
}

.section-heading {
  max-width: 650px;
  margin: 0 0 40px;
}

h2 {
  margin: 0;
  font-size: clamp(29px, 4vw, 38px);
  line-height: 1.15;
}

.section-heading p,
.support-copy,
.caregiver-copy {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature {
  padding: 5px 0 0;
}

.feature-index {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 15px;
}

.feature h3,
.plan h3,
.handoff-card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.26;
}

.feature p,
.plan p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.care-board {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.assignment {
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.assignment:last-child {
  border-bottom: 0;
}

.assignment span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.status {
  align-self: center;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(270px, 380px));
  gap: 18px;
}

.plan {
  min-height: 226px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.plan-price {
  margin-top: 19px;
  font-size: 31px;
  font-weight: 700;
}

.plan-price small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.price-detail {
  color: var(--accent);
  font-weight: 700;
}

.waitlist-wrap {
  display: grid;
  grid-template-columns: 1fr minmax(310px, 440px);
  gap: 54px;
  align-items: start;
}

.waitlist-panel {
  padding: 27px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.waitlist-panel h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.prelaunch-box {
  padding: 15px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: #21483f;
  font-size: 14px;
  line-height: 1.5;
}

.waitlist-frame {
  width: 100%;
  height: 470px;
  border: 0;
}

.consent-note {
  margin: 14px 0 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.5;
}

.footer {
  padding: 30px 0 45px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

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

.document-shell {
  width: min(780px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 60px;
}

.document-shell .brand {
  margin-bottom: 28px;
}

.document {
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.document h1 {
  font-size: clamp(31px, 4vw, 38px);
}

.document h2 {
  margin: 30px 0 8px;
  font-size: 19px;
}

.document p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.document .intro {
  color: var(--ink);
  margin-top: 13px;
}

.date {
  margin-top: 10px !important;
  color: var(--soft) !important;
  font-size: 13px !important;
}

.review-banner {
  margin: 25px 0 3px;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e7d39d;
  background: #fff7df;
  color: #634c18;
  font-size: 13px;
  line-height: 1.5;
}

.contact {
  margin-top: 34px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.contact h2 {
  margin-top: 0;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  font-size: 14px;
}

.handoff {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 18px;
}

.handoff-card {
  width: min(470px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.handoff-card .brand {
  margin-bottom: 30px;
}

.handoff-card p {
  color: var(--muted);
  line-height: 1.6;
}

.handoff-actions {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.report-detail {
  margin: 24px 0;
  padding: 19px;
  border-radius: 8px;
  background: var(--bg);
}

.report-detail strong {
  display: block;
  font-size: 19px;
}

.report-detail span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.error {
  color: var(--severity) !important;
}

.hidden {
  display: none !important;
}

@media (max-width: 860px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-inner,
  .two-column,
  .waitlist-wrap {
    display: block;
  }

  .phone-stage {
    margin-top: 50px;
    min-height: 630px;
    justify-content: center;
  }

  .floating-proof {
    left: max(0px, calc(50% - 205px));
  }

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

  .care-board,
  .waitlist-panel {
    margin-top: 34px;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 32px, var(--max));
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .phone-stage {
    min-height: unset;
    display: block;
  }

  .floating-proof {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .band {
    padding: 55px 0;
  }

  .plans {
    display: block;
  }

  .plan + .plan {
    margin-top: 14px;
  }

  .document-shell {
    padding-top: 26px;
  }

  .handoff-card {
    padding: 25px;
  }
}

@media print {
  .site-header,
  .footer,
  .no-print {
    display: none;
  }

  body,
  .document-page {
    background: #fff;
  }

  .handoff-card,
  .document {
    border: 0;
    box-shadow: none;
    padding: 0;
  }
}
