/* DrsOwn public site. Brand guide v1.0, direction A.
   Teal #0CAE96 is 2.80:1 on white, so it is used for fills and accents only;
   teal TEXT uses #098573 (4.55:1). Blue #0152A3 is 7.67:1. */
:root {
  --blue: #0152a3;
  --blue-mid: #0b86c8;
  --teal: #0cae96;
  --teal-text: #098573;
  --ink: #0f2a43;
  --body: #33475b;
  --muted: #4f6071;
  --line: #dde5ee;
  --tint: #f3f7fb;
  --tint-teal: #eaf7f4;
  --white: #ffffff;
  --grad: linear-gradient(120deg, #0152a3 0%, #0b86c8 55%, #0cae96 100%);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 67, 0.08);
  --head: 'Plus Jakarta Sans', 'Figtree', system-ui, sans-serif;
  --text: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--body); font: 17px/1.6 var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue-mid); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.eyebrow { font: 700 0.8rem/1.2 var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-text); margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border-radius: 999px; font: 600 1rem/1 var(--text); text-decoration: none; border: 2px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #014386; }
.btn-ghost { color: var(--blue); border-color: var(--blue); background: #fff; }
.btn-ghost:hover { background: var(--tint); }
.btn-light { background: #fff; color: var(--blue); }
.btn-outline-light { border-color: rgba(255,255,255,0.8); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { height: 40px; width: auto; }
.main-nav { display: none; gap: 22px; margin-left: auto; }
.main-nav a, .menu-panel a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); }
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; text-decoration-color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.menu-panel { position: absolute; right: 0; top: 54px; width: min(280px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; display: flex; flex-direction: column; }
.menu-panel a:not(.btn) { padding: 12px; border-radius: 8px; }
.menu-panel a:not(.btn):hover { background: var(--tint); }
.menu-panel .btn { margin-top: 8px; }
.hide-sm { display: none; }
@media (max-width: 420px) { .brand img { height: 32px; } .header-actions .btn-ghost { padding: 10px 14px; } }
@media (min-width: 640px) { .hide-sm { display: inline-flex; } }
@media (min-width: 1040px) {
  .main-nav { display: flex; }
  .header-actions { margin-left: 8px; }
  .menu { display: none; }
}

/* Sections */
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin-bottom: 36px; }
@media (min-width: 900px) { .section { padding: 96px 0; } }

/* Hero */
.hero { padding: 48px 0 64px; background: radial-gradient(1200px 500px at 90% -10%, #e3f1fb 0%, transparent 60%), radial-gradient(900px 500px at -10% 110%, var(--tint-teal) 0%, transparent 60%); }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-top: 18px; }
.hero-note { font-size: 0.95rem; color: var(--muted); margin-top: 14px; }
@media (min-width: 960px) { .hero { padding: 80px 0 96px; } .hero-grid { grid-template-columns: 1.05fr 1fr; } }

/* Example product card (labelled EXAMPLE DATA, never a real patient) */
.example { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(1, 82, 163, 0.14); overflow: hidden; }
.example-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfdff; }
.example-bar img { height: 22px; width: auto; }
.example-tag { margin-left: auto; font: 700 0.68rem/1 var(--text); letter-spacing: 0.1em; color: var(--muted); border: 1px solid var(--line); padding: 5px 8px; border-radius: 6px; }
.example-body { padding: 18px; }
.example-hi { font: 700 1.05rem/1.2 var(--head); color: var(--ink); margin-bottom: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.stat { background: var(--tint); border-radius: 12px; padding: 12px; }
.stat b { display: block; font: 800 clamp(1rem, 3.6vw, 1.25rem)/1.1 var(--head); color: var(--ink); white-space: nowrap; }
.stat span { font-size: 0.78rem; color: var(--muted); }
.rows { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.rows th { text-align: left; font-weight: 600; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid var(--line); }
.rows td { padding: 9px 6px; border-bottom: 1px solid var(--line); color: var(--ink); }
.rows tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.pill-ok { background: #e3f5ef; color: #07624f; }
.pill-wait { background: #fff4dc; color: #7a5200; }
.pill-info { background: #e5eefa; color: var(--blue); }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr 1fr; } .stats .stat:last-child { display: none; } .rows .hide-xs { display: none; } }

/* Cards */
.cards { display: grid; gap: 18px; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint-teal); color: var(--teal-text); margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; }

/* Why / reasons */
.reasons { display: grid; gap: 18px; counter-reset: r; }
@media (min-width: 900px) { .reasons { grid-template-columns: repeat(3, 1fr); } }
.reason { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-top: 4px solid transparent; border-image: var(--grad) 1; border-image-slice: 1 0 0 0; }

/* Steps */
.steps { display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font: 800 1rem/1 var(--head); margin-bottom: 14px; }
.small-print { font-size: 0.9rem; color: var(--muted); margin-top: 18px; }

/* Lifecycle */
.lifecycle { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .lifecycle { grid-template-columns: repeat(4, 1fr); } }
.stage { padding: 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.stage b { display: block; font: 700 1.05rem/1.2 var(--head); color: var(--ink); margin-bottom: 4px; }
.stage span { font-size: 0.92rem; color: var(--muted); }

/* Split */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--tint-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23098573' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Powered by band */
.powered-band { background: var(--ink); color: #d6e2ee; }
.powered-band h2, .powered-band h3 { color: #fff; }
.powered-band .eyebrow { color: #7fdccb; }
.powered-band .lead { color: #c3d3e3; }
.powered-band .card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); color: #d6e2ee; }
.powered-band a:not(.btn) { color: #9fd0ff; }
.np-badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 8px 14px; margin-bottom: 18px; }
.np-badge span { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.np-badge img, .np-logo { height: 22px; width: auto; }

/* Marketplace */
.market { display: grid; gap: 14px; }
@media (min-width: 640px) { .market { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .market { grid-template-columns: repeat(3, 1fr); } }
.svc { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.svc h3 { margin: 0; }
.svc p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.svc .status { margin-top: auto; padding-top: 10px; font-size: 0.85rem; font-weight: 600; }
.svc.live { border-color: #b9e6dc; box-shadow: inset 4px 0 0 var(--teal); }
.svc.live .status { color: var(--teal-text); }
.svc.soon .status { color: var(--muted); }

/* CTA band */
.cta { background: var(--grad); color: #fff; border-radius: 22px; padding: 40px 24px; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #eef6ff; max-width: 620px; margin: 0 auto; }
.cta .btn-row { justify-content: center; }
@media (min-width: 720px) { .cta { padding: 56px 48px; } }

/* Page header */
.page-head { padding: 48px 0 40px; background: var(--tint); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .page-head { padding: 72px 0 56px; } }

/* Contact */
.contact-grid { display: grid; gap: 18px; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card a.big { font: 700 1.05rem/1.3 var(--head); word-break: break-word; }
.notice { background: #fff8e6; border: 1px solid #f3dfa8; border-radius: 12px; padding: 16px 18px; color: #5c4300; font-size: 0.95rem; }

/* Footer */
.site-footer { background: #0b2036; color: #b9c8d8; padding: 56px 0 28px; margin-top: 0; font-size: 0.95rem; }
.site-footer a { color: #e3ecf5; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h2 { font: 700 0.8rem/1 var(--text); color: #fff; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-grid > :first-child, .footer-grid > .powered { grid-column: 1 / -1; }
.powered-link img { flex-shrink: 0; }
.footer-grid nav, .footer-grid .powered { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } .footer-grid > :first-child, .footer-grid > .powered { grid-column: auto; } }
.footer-logo { height: 32px; width: auto; filter: brightness(0) invert(1); margin-bottom: 12px; }
.footer-tag { color: #fff; font-weight: 600; margin-bottom: 4px; }
.site-footer .muted { color: #9fb2c6; }
.powered-link { display: inline-flex; align-items: center; gap: 10px; background: #fff; padding: 8px 12px; border-radius: 10px; width: fit-content; }
.powered-link span { color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 22px; font-size: 0.85rem; color: #9fb2c6; }
.legal p { margin: 0 0 6px; }

/* v3: top bar, header labels, value strip, core services, partners, service chips */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section[id] { scroll-margin-top: 72px; }

.preview-banner { background: #fff4dc; color: #5c4300; font-size: 0.9rem; text-align: center; padding: 8px 16px; border-bottom: 1px solid #f3dfa8; }
.topbar { background: var(--ink); color: #c3d3e3; font-size: 0.82rem; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; }
.topbar b { color: #fff; font-weight: 600; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-contact { display: flex; gap: 18px; align-items: center; white-space: nowrap; }
.topbar-sub, .topbar-hours { display: none; }
@media (min-width: 640px) { .topbar-hours { display: inline; } }
@media (min-width: 1000px) { .topbar-sub { display: inline; margin-left: 6px; } }

.label-long { display: none; }
@media (min-width: 640px) { .label-long { display: inline; } .label-short { display: none; } }

.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip-row { display: grid; grid-template-columns: 1fr 1fr; }
.strip-item { display: flex; align-items: center; gap: 12px; padding: 18px 8px; font-weight: 600; color: var(--ink); line-height: 1.25; font-size: 0.95rem; }
.strip-item svg { width: 28px; height: 28px; color: var(--teal-text); flex-shrink: 0; }
@media (min-width: 900px) {
  .strip-row { grid-template-columns: repeat(4, 1fr); }
  .strip-item { padding: 22px 20px; }
  .strip-item + .strip-item { border-left: 1px solid var(--line); }
}

.cards-5 { display: grid; gap: 18px; }
@media (min-width: 640px) { .cards-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards-5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .cards-5 { grid-template-columns: repeat(5, 1fr); } .cards-5 .card { padding: 22px 18px; } }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: var(--body); border-top: 4px solid var(--teal); transition: box-shadow 0.15s, transform 0.15s; }
.card-link:nth-child(even) { border-top-color: var(--blue); }
.card-link:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-link p { font-size: 0.95rem; }
.card-link .by { font-size: 0.85rem; font-weight: 600; color: var(--blue); margin: -4px 0 8px; }
.card-link .more { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--blue); }
.card-link .more::after { content: ' \2192'; }
@media (prefers-reduced-motion: reduce) { .card-link { transition: none; } .card-link:hover { transform: none; } }

.partners { display: grid; gap: 18px; }
@media (min-width: 640px) { .partners { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .partners { grid-template-columns: repeat(4, 1fr); } }
.partner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 28px 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.partner p { color: var(--body); font-size: 0.95rem; margin: 0; }
.partner p.muted { color: var(--muted); }
.partner-logo { min-height: 52px; display: flex; align-items: center; justify-content: center; }
.partner-name { margin: 0; font-size: 1.25rem; }
.partner-name img { max-height: 40px; width: auto; max-width: 190px; }
.wordmark { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.wordmark .mono { width: 40px; height: 40px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
.partner .btn { margin-top: auto; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; }
.partner-join { border-style: dashed; background: var(--tint); }
.section-tint .partner-join { background: #fff; }
.draft-tag { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); font: 700 0.66rem/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: #7a5200; background: #fff4dc; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.92rem; }
.chips a:hover { border-color: var(--blue); color: var(--blue); }
.svc .status a { color: var(--teal-text); }
