/* BloodPril – white & light red theme */
:root {
  --white: #ffffff;
  --blush: #fff5f5;
  --rose-100: #fde6e6;
  --rose-200: #f9cfd1;
  --rose-400: #ee8f96;
  --red: #c93642;
  --red-dark: #a82a35;
  --ink: #3a1d21;
  --muted: #6b5458;
  --line: #f1d4d6;
  --radius: 18px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.05rem; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--rose-400); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; max-width: 65ch; }
.lead { font-size: 1.2rem; color: var(--muted); }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.55rem; font-weight: 700; }
.brand svg { width: 26px; height: 32px; }
.brand b { color: var(--red); font-weight: 700; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a.link { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .96rem; padding: .5rem .8rem; border-radius: 999px; }
.nav a.link:hover { background: var(--rose-100); color: var(--ink); }
.nav a.link[aria-current="page"] { background: var(--rose-100); color: var(--red-dark); }
.menu-btn { display: none; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: inherit; font-weight: 600; padding: .5rem .9rem; border-radius: 999px; cursor: pointer; }

/* Buttons (all link to the official page) */
.btn { display: inline-block; text-decoration: none; text-align: center; background: var(--red); color: #fff; font-weight: 700; font-size: 1rem; padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid var(--red); transition: background-color .15s ease, transform .15s ease; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.small { padding: .55rem 1.1rem; font-size: .93rem; }
.btn.ghost { background: var(--white); color: var(--red-dark); }
.btn.ghost:hover { background: var(--rose-100); color: var(--red-dark); }
.btn.light { background: #fff; color: var(--red-dark); border-color: #fff; }
.btn.light:hover { background: var(--rose-100); border-color: var(--rose-100); color: var(--red-dark); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }

/* Pages */
.js .page { display: none; }
.js .page.active { display: block; }
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.band { background: var(--blush); border-block: 1px solid var(--line); }
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); background: radial-gradient(circle at 85% 20%, var(--rose-100) 0, rgba(253,230,230,0) 55%), var(--white); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.halo { position: relative; }
.halo::before { content: ""; position: absolute; inset: 6% 4% 2%; border-radius: 50%; background: var(--rose-100); z-index: 0; }
.halo img { position: relative; z-index: 1; margin-inline: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.split.flip .media { order: 2; }
.media img { border-radius: 24px; margin-inline: auto; }
.media.panel { background: var(--rose-100); border-radius: 28px; padding: 1.2rem; }
.media.panel img { border-radius: 18px; }
.media.small img { max-width: 300px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--line); }
.facts li { padding: 1.3rem 1.2rem; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
.facts strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--red-dark); }
.facts span { color: var(--muted); font-size: .95rem; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.pillar { border-top: 4px solid var(--rose-400); padding-top: 1rem; }
.pillar p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

.checks { list-style: none; padding: 0; margin: 1rem 0 0; }
.checks li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; max-width: 62ch; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--rose-200) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23a82a35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat; }
.checks.no li::before { background: var(--rose-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%23a82a35' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/70% no-repeat; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.steps li { counter-increment: step; position: relative; padding: .2rem 0 .2rem 3.4rem; min-height: 2.6rem; max-width: 62ch; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
.steps strong { display: block; }

.day { margin-top: 1.5rem; border-left: 3px solid var(--rose-200); max-width: 620px; }
.day div { padding: .2rem 0 1.1rem 1.4rem; position: relative; }
.day div::before { content: ""; position: absolute; left: -9px; top: .55rem; width: 15px; height: 15px; border-radius: 50%; background: var(--white); border: 3px solid var(--red); }
.day b { font-family: var(--serif); font-size: 1.1rem; }
.day span { display: block; color: var(--muted); }

.table-scroll { overflow-x: auto; margin-top: 1.5rem; }
table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { width: 34%; background: var(--blush); font-weight: 700; }
tr:last-child th, tr:last-child td { border-bottom: 0; }

.notice { border-left: 5px solid var(--rose-400); background: var(--blush); padding: 1.1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0; max-width: 780px; }
.notice p { margin: 0; font-size: .98rem; max-width: none; }
.notice p + p { margin-top: .6rem; }

.faq { margin-top: 1.5rem; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.1rem 2.2rem 1.1rem 0; font-weight: 700; font-family: var(--serif); font-size: 1.15rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .7rem; font-size: 1.6rem; color: var(--red); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 1rem; margin: 0; }

.cta-band { background: var(--red); color: #fff; }
.cta-band h2, .cta-band p { color: #fff; }

.site-footer { background: var(--blush); border-top: 1px solid var(--line); padding: 3rem 0 2rem; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.foot-links a { color: var(--ink); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--red); text-decoration: underline; }
.fine { color: var(--muted); font-size: .88rem; max-width: 75ch; }

@media (max-width: 900px) {
  .hero-grid, .split, .foot-grid { grid-template-columns: 1fr; }
  .split.flip .media { order: 0; }
  .pillars { grid-template-columns: 1fr; gap: 1.5rem; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .halo { max-width: 420px; margin-inline: auto; }
  .menu-btn { display: inline-block; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--white); border-bottom: 1px solid var(--line); padding: .6rem 1rem 1rem; }
  .js .nav.open { display: flex; }
  .nav a.link { padding: .8rem 1rem; }
  .nav .btn { margin-top: .5rem; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
