/* HumaTwin / HDT Health presentation site (site/README.md). Colours from apps/brand. */
:root {
  --bg: #ffffff; --text: #16202e; --muted: #5a6778; --line: #e3e8ef; --card: #f5f8fc;
  --accent: #1f6feb; --accent-2: #0b3d91; --on-accent: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b1220; --text: #e8eef7; --muted: #9fb0c6; --line: #1f2a3c; --card: #111a2c; --accent: #5b9bff; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: inherit; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.top nav { display: flex; gap: 18px; align-items: center; font-size: .95rem; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--text); }

/* Hero */
.hero { background: linear-gradient(135deg, #2f80ff, #0b3d91); color: var(--on-accent); }
.hero .hero-body { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.15; margin: 0 0 16px; letter-spacing: -.01em; }
.hero p { font-size: 1.15rem; margin: 0 0 28px; opacity: .93; max-width: 36em; }
.hero .top a, .hero .top .brand { color: var(--on-accent); }
.hero .top nav a { color: rgba(255,255,255,.85); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.btn.primary { background: #fff; color: #0b3d91; }
.btn.ghost { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.watch { width: min(300px, 70vw); justify-self: center; filter: drop-shadow(0 18px 40px rgba(0,0,0,.35)); }

/* Sections */
section { padding: 64px 0; }
section h2 { font-size: 1.8rem; margin: 0 0 8px; letter-spacing: -.01em; }
.lead { color: var(--muted); margin: 0 0 32px; max-width: 44em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card h3 { margin: 10px 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.two ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.two li { margin: 4px 0; }
.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.note { font-size: .92rem; color: var(--muted); }

footer { padding: 32px 0 48px; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--muted); }

@media (max-width: 820px) {
  .hero .hero-body { grid-template-columns: 1fr; padding-top: 24px; }
  .grid, .two { grid-template-columns: 1fr; }
  .top nav .hide-sm { display: none; }
}
