:root {
  --red: #C8412B;
  --red-dark: #A8321F;
  --red-soft: #FBE3DC;
  --navy: #14213D;
  --navy-2: #22325A;
  --cream: #FBF6EE;
  --paper: #FFFFFF;
  --ink: #1E2433;
  --muted: #5B6275;
  --line: #E8DFD2;
  --gold: #F2B84B;
  --good: #3E9B6A;
  --bad: #D9543C;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(20, 33, 61, .08);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--red); }
h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center .lead { margin-inline: auto; }
.eyebrow { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: var(--red); margin-bottom: .6em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 246, 238, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.05rem; }
.brand img { width: 40px; height: 40px; }
.brand small { display: block; font-weight: 600; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--navy); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav-links a:hover { color: var(--red); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--red); color: #fff !important; text-decoration: none; font-weight: 800; padding: 13px 22px; border-radius: 999px; border: 0; cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .15s, background .15s; }
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn.small { padding: 9px 16px; font-size: .9rem; }
.btn.ghost { background: transparent; color: var(--navy) !important; border: 2px solid var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff !important; }
.btn.light { background: #fff; color: var(--navy) !important; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 80px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 .accent { color: var(--red); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.fine { font-size: .9rem; color: var(--muted); }
.badge { display: inline-block; background: var(--navy); color: #fff; font-weight: 800; font-size: .8rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero-art { position: relative; }
.hero-art .mascot { width: min(360px, 80%); margin: 0 auto; animation: float 6s ease-in-out infinite; }
.planet { position: absolute; border-radius: 50%; }
.planet.p1 { width: 70px; height: 70px; background: var(--gold); top: 6%; right: 8%; opacity: .8; }
.planet.p2 { width: 26px; height: 26px; background: var(--navy); bottom: 14%; left: 8%; }
.star { position: absolute; color: var(--red); font-size: 22px; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art .mascot { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; } .hero-art .mascot { width: 220px; } }

/* Doors */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.door { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; text-align: left; }
.door .icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; margin-bottom: 16px; }
.door.kitten .icon { background: #FFF1D6; }
.door.senior .icon { background: #E3EAF7; }
.door.ckd .icon { background: var(--red-soft); }
.door p { color: var(--muted); }
.door ul { padding-left: 18px; margin: 0 0 20px; color: var(--ink); font-size: .95rem; }
.door ul li { margin-bottom: 4px; }
.door .btn { margin-top: auto; align-self: flex-start; }
.door.ckd { border: 2px solid var(--red); }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }

/* Pain / problem band */
.band { background: var(--navy); color: #EEF1F8; }
.band h2 { color: #fff; }
.band .lead { color: #C9D0E0; }
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.quote { background: var(--navy-2); border-radius: 14px; padding: 20px; font-family: var(--display); font-size: 1.15rem; color: #fff; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .quotes { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.feature { background: var(--paper); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.feature .num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--red-soft); color: var(--red); font-weight: 900; margin-bottom: 12px; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

/* Phone preview */
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .preview-grid { grid-template-columns: 1fr; } }
.phone { width: min(340px, 100%); margin: 0 auto; background: var(--navy); border-radius: 40px; padding: 14px; box-shadow: 0 30px 60px rgba(20, 33, 61, .25); }
.screen { background: var(--cream); border-radius: 28px; padding: 20px 16px; min-height: 560px; }
.app-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.app-top .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--red-soft); display: grid; place-items: center; font-size: 22px; }
.app-top b { color: var(--navy); display: block; line-height: 1.2; }
.app-top span { font-size: .78rem; color: var(--muted); }
.app-card { background: #fff; border-radius: 16px; padding: 14px; margin-bottom: 12px; border: 1px solid var(--line); }
.app-card h4 { margin: 0 0 10px; font-size: .85rem; color: var(--navy); font-family: var(--font); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { flex: 1; text-align: center; padding: 10px 6px; border-radius: 12px; font-weight: 800; font-size: .8rem; border: 2px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; font-family: inherit; }
.chip.on { background: var(--good); border-color: var(--good); color: #fff; }
.chip.warn.on { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.chip.bad.on { background: var(--bad); border-color: var(--bad); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal i { aspect-ratio: 1; border-radius: 6px; background: var(--line); }
.cal i.g { background: var(--good); }
.cal i.y { background: var(--gold); }
.cal i.r { background: var(--bad); }
.legend { display: flex; gap: 12px; font-size: .72rem; color: var(--muted); margin-top: 8px; }
.legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; background: var(--c); }
.summary-btn { width: 100%; margin-top: 4px; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li { padding-left: 32px; position: relative; margin-bottom: 12px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font-size: .8rem; font-weight: 900; display: grid; place-items: center; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; align-items: stretch; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan .price { font-family: var(--display); font-size: 2.6rem; color: var(--navy); line-height: 1; margin: 8px 0 4px; }
.plan .price small { font-size: 1rem; color: var(--muted); font-family: var(--font); }
.plan .alt { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; }
.plan li { padding: 7px 0 7px 26px; border-bottom: 1px dashed var(--line); position: relative; font-size: .95rem; }
.plan li::before { content: "✦"; position: absolute; left: 0; color: var(--red); }
.plan .btn { margin-top: auto; }
.plan.featured { border: 2px solid var(--red); position: relative; }
.plan.featured .tag, .plan.crew .tag { position: absolute; top: -13px; left: 24px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.plan.crew { background: var(--navy); color: #EEF1F8; border: 0; position: relative; }
.plan.crew h3, .plan.crew .price { color: #fff; }
.plan.crew .alt, .plan.crew .price small { color: #C9D0E0; }
.plan.crew li { border-color: rgba(255, 255, 255, .15); }
.plan.crew li::before { color: var(--gold); }
.plan.crew .tag { background: var(--gold); color: var(--navy); }
.spots { font-size: .85rem; color: var(--gold); font-weight: 800; margin-bottom: 14px; }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.bonus { margin-top: 32px; background: var(--red-soft); border-radius: var(--radius); padding: 22px 26px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.bonus strong { color: var(--navy); }

/* FAQ */
.faq { max-width: 760px; margin: 32px auto 0; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font-weight: 800; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Waitlist */
.waitlist { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; border-radius: 28px; padding: clamp(32px, 6vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.waitlist h2 { color: #fff; }
.waitlist p { color: #FFE3DB; }
.form { background: #fff; color: var(--ink); border-radius: 20px; padding: 24px; }
.form label { display: block; font-weight: 800; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.form input[type=email], .form input[type=text] { width: 100%; padding: 13px 14px; border: 2px solid var(--line); border-radius: 12px; font-size: 1rem; font-family: inherit; margin-bottom: 16px; }
.form input:focus { outline: none; border-color: var(--red); }
.form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.form legend { font-weight: 800; font-size: .9rem; color: var(--navy); margin-bottom: 8px; }
.opts { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 700; font-size: .95rem; margin: 0 !important; color: var(--ink) !important; }
.opt:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.opt input { accent-color: var(--red); }
.form .btn { width: 100%; }
.form-msg { margin-top: 12px; font-weight: 700; font-size: .95rem; min-height: 1.2em; }
.form-msg.ok { color: var(--good); }
.form-msg.err { color: var(--red-dark); }
.waitlist .form .consent { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.waitlist .form a { color: var(--red); }
@media (max-width: 860px) { .waitlist { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--navy); color: #C9D0E0; padding: 48px 0 32px; margin-top: 80px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.disclaimer { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 20px; font-size: .82rem; color: #9AA3B8; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 0; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal .draft { background: #FFF1D6; border: 1px solid var(--gold); border-radius: 12px; padding: 14px 18px; font-size: .92rem; margin-bottom: 28px; }

/* Kidney page */
.page-hero { padding: 64px 0 32px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .check-list { columns: 1 !important; } }
