/* Silverberry Health — site styles. Brand: magenta #C81C6E, teal #1888AB, Poppins. */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/poppins-700.woff2') format('woff2'); }

:root {
  --magenta: #c81c6e;
  --magenta-600: #a9165b;
  --magenta-100: #f9dbe8;
  --magenta-50: #fdf0f5;
  --teal: #1888ab;
  --teal-700: #0d6784;
  --teal-100: #d3ebf3;
  --teal-50: #edf7fa;
  --ink: #0f2731;
  --ink-2: #405964;
  --ink-3: #6a8088;
  --line: #dbe5e9;
  --bg: #ffffff;
  --bg-soft: #f4f8f9;
  --dark: #0b1f28;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 39, 49, .06), 0 8px 24px rgba(15, 39, 49, .07);
  --shadow-lg: 0 2px 4px rgba(15, 39, 49, .05), 0 24px 60px rgba(15, 39, 49, .13);
  --font: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--magenta); text-underline-offset: .18em; }
a:hover { color: var(--magenta-600); }
h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.75rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.35; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 18px; height: 18px; }
.i-xs { width: 14px; height: 14px; display: inline-block; vertical-align: -1px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.35em;
  border-radius: 999px; font: 600 .95rem/1.2 var(--font); text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: .85em 1.7em; font-size: 1rem; }
.btn-primary { background: var(--magenta); color: #fff; box-shadow: 0 6px 18px rgba(200, 28, 110, .28); }
.btn-primary:hover { background: var(--magenta-600); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-teal { background: var(--teal-700); color: #fff; }
.btn-teal:hover { background: #0a536b; color: #fff; }
.btn-white { background: #fff; color: var(--magenta); }
.btn-white:hover { background: var(--magenta-50); color: var(--magenta-600); }
.btn-outline-white { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-white:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow .i { transition: transform .18s; }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 36px; height: auto; }
.brand-name { font-weight: 600; font-size: 1.18rem; letter-spacing: -.01em; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 10px; color: var(--ink); font: 500 .94rem/1.2 var(--font); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav-link:hover { color: var(--magenta); background: var(--magenta-50); }
.nav-link[aria-current="page"], .nav-link[data-current] { color: var(--magenta); }
.nav-button .i { transition: transform .2s; }
.nav-button[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav-item { position: relative; }
.menu { position: absolute; top: calc(100% + 12px); left: -20px; width: min(640px, 90vw); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.menu-link { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.menu-link .i { color: var(--teal-700); margin-top: 2px; }
.menu-link b { display: block; font-weight: 600; font-size: .95rem; }
.menu-link small { display: block; color: var(--ink-3); font-size: .82rem; line-height: 1.4; }
.menu-link:hover { background: var(--bg-soft); color: var(--ink); }
.menu-link-wound { background: var(--teal-50); }
.menu-link-wound:hover { background: var(--teal-100); }
.menu-all { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; justify-content: flex-end; padding: 10px 12px 4px; font-weight: 600; font-size: .9rem; text-decoration: none; }
.menu-all .i { width: 16px; height: 16px; }
.header-cta { display: flex; gap: 10px; margin-left: auto; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .i:last-child, .nav-toggle[aria-expanded="true"] .i:first-child { display: none; }
.nav-toggle[aria-expanded="true"] .i:last-child { display: block; }
.mobile-nav { border-top: 1px solid var(--line); background: #fff; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mobile-nav .wrap { display: flex; flex-direction: column; padding: 12px 0 24px; }
.mobile-nav a { padding: 12px 4px; color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--bg-soft); }
.mobile-sub { display: flex; flex-direction: column; padding-left: 16px; }
.mobile-sub a { font-weight: 400; font-size: .95rem; color: var(--ink-2); padding: 9px 4px; }
.mobile-cta { display: grid; gap: 10px; margin-top: 18px; }
.mobile-cta a { border-bottom: 1.5px solid transparent; }
.mobile-cta .btn-primary { color: #fff; }
.mobile-cta .btn-ghost { border-color: var(--line); }

@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: #b9cbd2; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { text-align: center; }
.section-head p { font-size: 1.1rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--magenta); margin-bottom: 14px; }
.section-dark .eyebrow { color: #f07bb0; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--ink-2); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 104px); }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(800px 480px at 88% 8%, rgba(24, 136, 171, .13), transparent 65%),
    radial-gradient(700px 420px at 8% 92%, rgba(200, 28, 110, .09), transparent 65%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 .accent { color: var(--magenta); }
.hero .lede { max-width: 600px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-family { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: .9rem; color: var(--ink-3); }
.hero-family a { color: var(--ink); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.hero-family a:hover { color: var(--magenta); }
.hero-family .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.ribbon { position: absolute; z-index: -1; pointer-events: none; opacity: .5; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* hero visual: one visit, six agents */
.visit-stage { position: relative; }
.visit-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 22px; max-width: 470px; margin-left: auto; }
.visit-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 18px; border-bottom: 1px solid var(--line); }
.visit-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .88rem; color: var(--ink); }
.visit-live .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 4px var(--magenta-100); }
.wave { display: flex; align-items: center; gap: 3px; height: 26px; }
.wave i { width: 3px; height: 40%; border-radius: 3px; background: var(--teal); opacity: .75; }
.visit-steps { list-style: none; margin: 0; padding: 14px 0 6px; display: grid; gap: 8px; }
.visit-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--bg-soft); }
.vs-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #fff; color: var(--teal-700); border: 1px solid var(--line); flex: none; }
.vs-icon .i { width: 20px; height: 20px; }
.vs-text { flex: 1; min-width: 0; line-height: 1.3; }
.vs-text b { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); }
.vs-text small { display: block; font-size: .8rem; color: var(--ink-3); }
.vs-check { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--magenta); color: #fff; flex: none; }
.vs-check .i { width: 15px; height: 15px; stroke-width: 2.4; }
.visit-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px 2px; font-size: .85rem; color: var(--ink-2); }
.visit-foot span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.visit-sign { background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .82rem; }
.float-chip { position: absolute; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px 8px 10px; box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.float-chip .i { width: 18px; height: 18px; color: var(--magenta); }
.chip-a { left: 2%; top: -20px; }
.chip-b { right: 6%; bottom: -20px; }
.chip-b .i { color: var(--teal-700); }
@media (max-width: 1180px) { .chip-a, .chip-b { display: none; } }
@media (max-width: 900px) { .visit-card { margin: 8px auto 0; } }

@media (prefers-reduced-motion: no-preference) {
  .wave i { animation: wave 1.1s ease-in-out infinite alternate; animation-delay: var(--d); }
  .visit-steps li { animation: step-in .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.35s + var(--i) * .42s); }
  .visit-steps li .vs-check { animation: pop .35s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(.6s + var(--i) * .42s); }
  .visit-sign { animation: glow 2.4s ease-in-out 3.4s infinite; }
  .float-chip { animation: float 6s ease-in-out infinite; }
  .chip-b { animation-delay: -3s; }
}
@keyframes wave { from { height: 18%; } to { height: 100%; } }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(15, 39, 49, .0); } 50% { box-shadow: 0 0 0 6px rgba(200, 28, 110, .18); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* sub-page hero */
.hero-sub { padding-bottom: clamp(48px, 7vw, 88px); }
.hero-sub-inner { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(32px, 5vw, 64px); align-items: end; }
.hero-sub h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
.hero-points { list-style: none; margin: 0; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 14px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 500; font-size: .98rem; line-height: 1.45; }
.hero-points .i { color: var(--magenta); margin-top: 2px; stroke-width: 2.2; }
@media (max-width: 900px) { .hero-sub-inner { grid-template-columns: 1fr; } }

/* ---------- stats / problem ---------- */
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat-num { font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 600; color: var(--magenta); letter-spacing: -.03em; line-height: 1; margin-bottom: 14px; }
.stat-num small { font-size: .45em; color: var(--ink-2); letter-spacing: 0; margin-left: 4px; }
.stat p { color: var(--ink); font-weight: 500; margin-bottom: 12px; }
.stat cite { display: block; font-style: normal; font-size: .78rem; color: var(--ink-3); line-height: 1.45; }
@media (max-width: 860px) { .stat-band { grid-template-columns: 1fr; } }

/* ---------- agents ---------- */
.agents-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.agent-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.agent-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.agent-card p { margin: 0; font-size: .98rem; }
.agent-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.agent-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); }
.agent-icon.agent-pingoo, .agent-icon.agent-coding { background: var(--magenta-50); color: var(--magenta); }
.agent-num { font-size: .8rem; font-weight: 600; color: var(--ink-3); letter-spacing: .06em; }
@media (max-width: 980px) { .agents-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .agents-grid { grid-template-columns: 1fr; } }

.agent-rows { display: grid; gap: 16px; }
.agent-row { display: grid; grid-template-columns: 200px 1fr; gap: 28px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.agent-row-head { display: flex; flex-direction: column; gap: 14px; }
.agent-row h3 { font-size: 1.35rem; }
.agent-row p { margin-bottom: .7em; }
.agent-review { display: flex; gap: 8px; align-items: flex-start; color: var(--ink); font-weight: 500; font-size: .95rem; margin: 0 !important; }
.agent-review .i { color: var(--magenta); margin-top: 3px; stroke-width: 2.2; }
@media (max-width: 720px) { .agent-row { grid-template-columns: 1fr; gap: 14px; } .agent-row-head { flex-direction: row; align-items: center; } }

/* ---------- pillars (practice / you / patients) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 34px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.pillar::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--teal); }
.pillar:nth-child(2)::after { background: var(--magenta); }
.pillar:nth-child(3)::after { background: linear-gradient(90deg, var(--teal), var(--magenta)); }
.pillar-k { font-size: .8rem; font-weight: 600; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }
.pillar h3 { font-size: 1.45rem; margin: 10px 0 18px; }
.pillar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.pillar li b { display: block; color: var(--ink); font-weight: 600; font-size: .98rem; }
.pillar li span { font-size: .95rem; }
@media (max-width: 920px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- flow ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: flow; position: relative; }
.flow li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.flow-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; margin-bottom: 18px; }
.flow li:nth-child(4) .flow-n { background: var(--magenta); }
.flow h3 { font-size: 1.2rem; }
.flow p { margin: 0; font-size: .96rem; }
@media (max-width: 980px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* ---------- principles (dark) ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; }
.principle { background: var(--dark); padding: 32px 28px; }
.principle .n { font-size: .8rem; font-weight: 600; color: #f07bb0; letter-spacing: .08em; }
.principle h3 { margin: 12px 0 10px; font-size: 1.2rem; }
.principle p { margin: 0; font-size: .96rem; }
.dark-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.big-quote { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; color: #fff; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 20px; }
.big-quote em { font-style: normal; color: #f07bb0; }
@media (max-width: 920px) { .principles { grid-template-columns: 1fr; } .dark-split { grid-template-columns: 1fr; } }

.evidence { margin-top: 28px; padding: 24px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); }
.evidence p { margin: 0 0 10px; color: #dce8ec; }
.evidence cite { font-style: normal; font-size: .8rem; color: #8ea6af; }

/* ---------- specialties ---------- */
.spec-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 961px) { .spec-layout > .reveal:first-child { position: sticky; top: calc(var(--header-h) + 24px); } }
@media (max-width: 960px) { .spec-layout { grid-template-columns: 1fr; } }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tiles-3, .page-specialties .tiles { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .tiles-3, .page-specialties .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiles, .tiles-3, .page-specialties .tiles { grid-template-columns: 1fr; } }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink-2); }
.tile b { color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.tile > span:not(.tile-icon):not(.tile-go) { font-size: .9rem; line-height: 1.5; }
.tile-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--magenta-50); color: var(--magenta); margin-bottom: 12px; }
.tile-go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; color: var(--magenta); font-weight: 600; font-size: .88rem; }
.tile-wound { background: var(--teal-50); border-color: var(--teal-100); }
.tile-wound .tile-icon { background: #fff; color: var(--teal-700); }
.tile-wound .tile-go { color: var(--teal-700); }

/* picker / combobox */
.picker { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.picker-label { display: block; font-weight: 600; color: var(--ink); font-size: 1.1rem; margin-bottom: 12px; }
.combo { position: relative; }
.combo-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.combo-icon + .combo-input { padding-left: 48px; }
.combo-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); max-height: 300px; overflow-y: auto; }
.combo-list li { padding: 10px 12px; border-radius: 10px; cursor: pointer; color: var(--ink); font-size: .95rem; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.combo-list li small { color: var(--ink-3); font-size: .78rem; white-space: nowrap; }
.combo-list li.wound small { color: var(--teal-700); font-weight: 600; }
.combo-list li[aria-selected="true"], .combo-list li:hover { background: var(--bg-soft); }
.combo-list li mark { background: none; color: var(--magenta); font-weight: 600; }
.combo-list .empty { color: var(--ink-3); cursor: default; }
.picker-result:not(:empty) { margin-top: 18px; }
.result-card { border-radius: 14px; padding: 18px 20px; background: var(--bg-soft); border: 1px solid var(--line); }
.result-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.result-card p { font-size: .94rem; margin-bottom: 12px; }
.result-card.wound { background: var(--teal-50); border-color: var(--teal-100); }
.result-card .row { display: flex; flex-wrap: wrap; gap: 10px; }
.result-card .btn { min-height: 40px; font-size: .88rem; padding: .55em 1.1em; }

/* ---------- wound callout ---------- */
.wound-callout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 4vw, 56px); padding: clamp(28px, 4vw, 48px); border-radius: 26px; background: linear-gradient(135deg, var(--teal-50), #fff 70%); border: 1px solid var(--teal-100); }
.wound-callout .eyebrow { color: var(--teal-700); }
.wound-callout h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.wc-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wc-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.wc-col h3 { font-size: 1.02rem; margin-bottom: 2px; }
.wc-col-ws { border-color: var(--teal-100); box-shadow: 0 0 0 3px rgba(24, 136, 171, .08); }
.wc-sub { font-size: .84rem; color: var(--ink-3); margin-bottom: 14px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 9px; align-items: flex-start; font-size: .93rem; line-height: 1.45; color: var(--ink); }
.checks .i { color: var(--magenta); margin-top: 2px; stroke-width: 2.3; }
.wc-col-ws .checks .i { color: var(--teal-700); }
@media (max-width: 960px) { .wound-callout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .wc-compare { grid-template-columns: 1fr; } }

/* ---------- split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-rev > :first-child { order: 0; } }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.feature-list .fi { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); }
.feature-list b { display: block; color: var(--ink); font-weight: 600; }
.feature-list span { font-size: .96rem; }

.panel { border-radius: 24px; padding: clamp(28px, 4vw, 44px); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel-soft { background: var(--bg-soft); box-shadow: none; }

/* integrations */
.logos-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.logo-pill { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--ink); font-size: .92rem; }

/* family */
.family { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.family-card { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.family-card.is-here { border-color: var(--magenta-100); box-shadow: 0 0 0 3px rgba(200, 28, 110, .07); }
.family-tag { align-self: flex-start; font-size: .74rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); margin-bottom: 18px; }
.family-card.is-here .family-tag { background: var(--magenta-50); color: var(--magenta); }
.family-card h3 { font-size: 1.3rem; }
.family-card p { font-size: .96rem; }
.family-card .link-arrow { margin-top: auto; }
@media (max-width: 920px) { .family { grid-template-columns: 1fr; } }

/* docs grid on specialty pages */
.doc-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.doc-grid li { padding: 26px 24px; border-top: 3px solid var(--magenta); background: var(--bg-soft); border-radius: 0 0 var(--radius) var(--radius); }
.doc-grid li:nth-child(even) { border-top-color: var(--teal); }
.doc-grid h3 { font-size: 1.08rem; }
.doc-grid p { margin: 0; font-size: .95rem; }
@media (max-width: 980px) { .doc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .doc-grid { grid-template-columns: 1fr; } }
.spec-note { display: flex; gap: 10px; align-items: flex-start; margin: 24px 0 0; padding: 16px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .95rem; }
.spec-note .i { color: var(--teal-700); margin-top: 2px; }

/* research list */
.pubs { display: grid; gap: 16px; }
.pub { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pub-venue { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-700); }
.pub h3 { font-size: 1.15rem; }
.pub p { font-size: .96rem; margin-bottom: 10px; }
@media (max-width: 680px) { .pub { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--magenta); color: #fde7f0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .07); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(52px, 7vw, 84px) 0; }
.cta-band h2 { color: #fff; margin-bottom: 10px; max-width: 640px; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
@media (max-width: 860px) { .cta-inner { flex-direction: column; align-items: flex-start; } }

/* ---------- forms ---------- */
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 920px) { .form-layout { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea, .combo-input, .seg {
  width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink); background: #fff; border: 1.5px solid var(--line);
  border-radius: 12px; padding: 13px 15px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .combo-input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(24, 136, 171, .15); }
.field.invalid input, .field.invalid textarea, .field.invalid .combo-input { border-color: var(--magenta); }
.field-error { display: none; color: var(--magenta-600); font-size: .84rem; margin-top: 6px; }
.field.invalid .field-error { display: block; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choice-row legend { font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 8px; padding: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; color: var(--ink); background: #fff; transition: all .15s; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-foot p { margin: 0; font-size: .84rem; color: var(--ink-3); max-width: 380px; }
.form-status { display: none; margin-top: 20px; padding: 16px 18px; border-radius: 14px; font-size: .95rem; }
.form-status.error { display: block; background: var(--magenta-50); color: var(--magenta-600); border: 1px solid var(--magenta-100); }
.form-success { text-align: center; padding: 32px 8px; }
.form-success .ok { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--magenta); color: #fff; display: grid; place-items: center; }
.form-success .ok .i { width: 30px; height: 30px; stroke-width: 2.4; }
.btn[disabled] { opacity: .65; cursor: progress; }
.aside-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.aside-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.aside-list .i { color: var(--magenta); margin-top: 2px; stroke-width: 2.2; }
.aside-note { margin-top: 28px; padding: 18px 20px; border-radius: 14px; background: var(--teal-50); font-size: .92rem; color: var(--ink); }

/* ---------- prose (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: #9fb5bd; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; padding: 72px 0 48px; }
.footer-grid h2 { font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-grid a { display: block; color: #c9d8dd; text-decoration: none; padding: 4px 0; }
.footer-grid a:hover { color: #fff; }
.footer-note { display: block; font-size: .8rem; color: #718b94; margin: -2px 0 8px; }
.brand-light, .brand-light:hover { color: #fff; }
.footer-brand p { margin: 18px 0 0; max-width: 340px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .84rem; color: #c9d8dd; }
.footer-badges span { display: inline-flex; align-items: center; gap: 6px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px 0 32px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #718b94; }
.footer-base p { margin: 0; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound img { width: 90px; margin: 0 auto 28px; }

/* ---------- reveal on scroll (no JS; browsers without support just show content) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media print { .site-header, .cta-band, .site-footer { display: none; } }
.doc-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .doc-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .doc-grid-3 { grid-template-columns: 1fr; } }
.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) { .cols-2 { grid-template-columns: 1fr; } }
.footer-social { margin-top: 18px !important; }
.footer-social a { display: inline-flex; align-items: center; gap: 10px; padding: 0; color: #fff; font-weight: 500; }
.footer-social a .i { width: 26px; height: 26px; }
.footer-social a:hover { color: #f07bb0; }

/* legal pages */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3.1rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal p, .legal li { font-size: 1rem; }
.legal address { font-style: normal; padding: 18px 22px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); line-height: 1.8; }
.legal .callout { padding: 16px 20px; border-radius: 14px; background: var(--magenta-50); color: var(--ink); font-size: .95rem; }
.toc { margin: 28px 0 8px; padding: 22px 26px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); }
.toc ol { columns: 2; column-gap: 32px; margin: 0; padding-left: 1.3em; }
.toc li { font-size: .92rem; margin-bottom: .35em; break-inside: avoid; }
.toc a { text-decoration: none; color: var(--ink); }
.toc a:hover { color: var(--magenta); }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* contact details */
.contact-block { margin-top: 28px; display: grid; gap: 16px; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.contact-block p { margin: 0; color: var(--ink); line-height: 1.55; }
.contact-block .label { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.contact-inline { margin-top: 18px; color: var(--ink); }
.footer-badges a { display: inline-flex !important; align-items: center; gap: 6px; padding: 0 !important; color: #c9d8dd; }
.footer-contact { margin: 12px 0 0 !important; }
.footer-contact a { display: inline-flex !important; align-items: center; gap: 8px; color: #fff !important; font-weight: 500; }
