@font-face {
  font-family: Innova Arabic;
  src: url("assets/arabic-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Innova Arabic;
  src: url("assets/arabic-bold.woff") format("woff");
  font-weight: 600 900;
  font-display: swap;
}
:root {
  --navy: #091d36;
  --deep: #06162c;
  --text: #102c48;
  --muted: #4c647b;
  --blue: #006eb2;
  --blue-dark: #005b98;
  --line: #dceaf3;
  --ice: #f2faff;
  --white: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; color: var(--text); background: var(--white); font: 400 1rem/1.78 "Innova Arabic", Tahoma, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--navy); }
p { color: var(--muted); }
img { max-width: 100%; display: block; }
bdi { white-space: nowrap; }
:focus-visible { outline: 3px solid #0085cf; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 100px)); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; pointer-events: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; z-index: 5; top: 10px; inset-inline-start: 10px; padding: 10px 18px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 21px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1.6;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.button.primary { background: var(--blue); color: #fff; box-shadow: 0 5px 14px #006eb222; }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { border-color: #caddea; color: #143b5c; background: #ffffffd9; }
.button.secondary:hover { border-color: #80bada; background: #e9f8ff; }
.button.small { min-height: 42px; padding: 6px 18px; font-size: .875rem; }

.site-header { position: sticky; top: 0; z-index: 4; background: #fffffff5; border-bottom: 1px solid #dceaf2; backdrop-filter: blur(14px); }
.header-inner { height: 75px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 26px; }
.brand { justify-self: start; display: inline-flex; align-items: center; flex: none; gap: 10px; width: max-content; max-width: 100%; }
.brand span { font: 800 1.06rem/1.15 Arial, sans-serif; letter-spacing: .055em; color: #102943; white-space: nowrap; }
.brand b { color: #007cbd; font-weight: 800; }
.site-nav, .header-actions { display: flex; align-items: center; }
.site-nav { gap: clamp(22px, 3vw, 48px); font-size: .9375rem; }
.site-nav a { padding-block: 7px; color: #36536e; white-space: nowrap; }
.site-nav a:hover { color: var(--blue); }
.header-actions { justify-self: end; gap: 9px; }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #f4faff; color: var(--navy); font-size: 1.1rem; }

.hero {
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 6% 15%, #d6f2ff 0, #e7f6fe 30%, transparent 68%), linear-gradient(115deg, #ecf8ff, #f9fcff 74%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(to right, #1e83ba13 1px, transparent 1px), linear-gradient(to bottom, #1e83ba13 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(100deg, #000, #0007 40%, transparent 68%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 730px;
  height: 220px;
  left: -250px;
  bottom: -89px;
  border: 1px solid #7dcdeb60;
  border-radius: 50%;
  box-shadow: 0 -17px 0 -16px #71c5e847, 0 -35px 0 -34px #79ccef47, 0 -57px 0 -56px #8ad3ef47;
  transform: rotate(-17deg);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(315px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(30px, 5vw, 84px);
  padding-block: 74px 54px;
}
.hero-copy { padding-bottom: 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-dark); font-size: .875rem; font-weight: 700; line-height: 1.6; }
.eyebrow > span { width: 17px; height: 2px; border-radius: 99px; background: #159dd8; }
.hero h1 { font-size: clamp(2.55rem, 4.55vw, 4.1rem); line-height: 1.27; font-weight: 800; margin: 13px 0 16px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-copy p { font-size: 1.0625rem; max-width: 435px; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
.hero-figure { position: relative; min-width: 0; }
.dashboard { background: #fff; border: 1px solid #c3dce9; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 63px -24px #1a5a856b, 0 8px 16px #21578014; }
.window-bar { padding: 8px 14px; min-height: 41px; background: #f9fdff; border-bottom: 1px solid #e1edf4; display: flex; align-items: center; justify-content: space-between; }
.window-title { display: flex; align-items: center; gap: 6px; font: 700 .78rem/1 Arial, sans-serif; color: #234769; }
.window-dots { display: flex; align-items: center; gap: 5px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #b8d6e8; }
.window-dots i:first-child { background: #43b6e7; }
.dash-body { display: grid; grid-template-columns: 113px minmax(0, 1fr); background: #f1f7fb; }
.dash-nav { background: #08223c; padding: 19px 7px; display: grid; gap: 6px; align-content: start; color: #c1d4e6; font-size: .625rem; }
.dash-nav > span { display: flex; align-items: center; gap: 6px; border-radius: 5px; min-height: 30px; padding: 4px 6px; white-space: nowrap; }
.dash-nav .icon { width: 13px; height: 13px; color: #88cbe8; }
.dash-nav .dash-selected { background: #134368; color: #fff; font-weight: 700; }
.dash-content { padding: 16px 17px 18px; min-width: 0; }
.dash-heading { display: flex; justify-content: space-between; align-items: end; gap: 5px; margin-bottom: 11px; }
.dash-heading div span, .dash-heading strong { display: block; }
.dash-heading div span { font-size: .635rem; color: #556f86; }
.dash-heading strong { color: var(--navy); font-size: 1.06rem; line-height: 1.5; }
.dash-date { color: #345773; background: #fff; border: 1px solid #e3edf5; border-radius: 6px; padding: 3px 8px; white-space: nowrap; font-size: .625rem; }
.dash-date .icon { color: #0075b4; }
.kpi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-bottom: 10px; }
.kpi { display: grid; align-content: center; justify-items: start; gap: 2px; min-width: 0; background: #fff; border: 1px solid #e2edf4; border-radius: 7px; padding: 8px 9px 7px; }
.kpi-icon { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 5px; font-size: .66rem; }
.kpi strong { font: 700 1.3rem/1.1 Arial, sans-serif; color: var(--navy); margin-top: 3px; }
.kpi span { font-size: .65rem; color: #455f76; line-height: 1.5; white-space: nowrap; }
.dash-table { padding: 8px 10px 9px; background: #fff; border: 1px solid #e2edf4; border-radius: 7px; }
.dash-table > strong { display: block; padding-block: 1px 4px; font-size: .73rem; }
table { width: 100%; border-collapse: collapse; text-align: start; }
th, td { text-align: start; }
.dash-table th, .dash-table td { padding: 3px 4px; font-size: .64rem; border-bottom: 1px solid #edf3f7; }
.dash-table th { background: #f4f9fc; color: #425f78; }
.dash-table tbody tr:last-child td { border-bottom: 0; }
.status { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: .79rem; line-height: 1.65; white-space: nowrap; font-weight: 700; }
.dash-table .status { font-size: .6rem; padding: 1px 5px; }
.blue, .cyan { color: #0069a8; background: #e2f4fd; }
.amber { color: #875109; background: #fff0d8; }
.mint { color: #00715c; background: #def8ef; }
.lavender { color: #5047a7; background: #eeeaff; }
.float-card { position: absolute; left: -25px; bottom: 44px; display: flex; gap: 9px; align-items: center; padding: 8px 10px 8px 13px; color: var(--navy); border: 1px solid #d4e9f2; border-radius: 11px; background: #fff; box-shadow: 0 12px 32px #1d618548; }
.float-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: #00725e; background: #dcf8ec; }
.float-card strong, .float-card small { display: block; line-height: 1.6; white-space: nowrap; }
.float-card strong { font-size: .72rem; }
.float-card small { font-size: .62rem; color: #4e677d; }
.hero-figure figcaption { text-align: center; padding-top: 10px; font-size: .75rem; color: #42617a; }

.quick-facts { background: #f8fcff; border-block: 1px solid #deedf6; }
.facts-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 72px; align-items: center; }
.facts-inner > div { display: flex; align-items: center; justify-content: center; padding: 6px 12px; gap: 9px; color: #2f4c66; font-size: .875rem; font-weight: 700; }
.facts-inner > div + div { border-inline-start: 1px solid #dcebf4; }
.facts-inner .icon { color: #007bbb; width: 19px; height: 19px; }
.section { padding-block: 84px; }
.section-intro h2, .trial-copy h2 { margin-top: 7px; font-size: clamp(1.85rem, 3.1vw, 2.72rem); line-height: 1.38; font-weight: 800; }
.section-intro p { margin-top: 11px; }
.centered { text-align: center; }
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin-top: 29px; }
.feature { background: #fafdff; border: 1px solid var(--line); border-radius: 15px; padding: 23px 24px 25px; }
.feature-icon { display: inline-grid; place-items: center; width: 45px; height: 45px; border-radius: 11px; font-size: 1.1rem; }
.feature h3 { margin: 10px 0 4px; font-size: 1.11rem; line-height: 1.65; }
.feature p { font-size: 1rem; line-height: 1.8; }

.preview { color: #fff; position: relative; background: radial-gradient(ellipse at 4% 0%, #103f63, transparent 55%), #071b32; isolation: isolate; }
.preview::before { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 67%; opacity: .45; background: url("assets/innova-sweep.webp") center bottom / 100% 100% no-repeat; mask-image: linear-gradient(to bottom, transparent, #000 75%); }
.preview .eyebrow, .trial .eyebrow { color: #79e1ff; }
.preview .eyebrow > span, .trial .eyebrow > span { background: #46cefa; }
.preview h2 { color: #fff; }
.preview-intro { display: flex; gap: 18px 42px; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.preview-intro p { color: #c3daea; max-width: 360px; }
.preview-surface { border-radius: 18px; background: #0d2a43; border: 1px solid #335774; overflow: hidden; box-shadow: 0 22px 60px #0004; }
.tabs { display: flex; gap: 8px; align-items: center; padding: 11px; border-bottom: 1px solid #355873; }
.tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px; border-radius: 8px; padding: 5px 16px; color: #c4d9ea; background: transparent; border: 1px solid transparent; white-space: nowrap; font-size: .9375rem; font-weight: 700; }
.tabs button:hover { background: #173b57; color: #fff; }
.tabs button[aria-selected="true"] { background: #19496d; color: #f2fcff; border-color: #39729a; }
.tabs button[aria-selected="true"] .icon { color: #7ce1ff; }
.tabs button:focus-visible { outline-color: #8ce9ff; outline-offset: 2px; }
.demo-panel { background: #fff; padding: 23px 25px 25px; min-height: 367px; }
.demo-panel:focus-visible { outline-offset: -4px; }
.panel-title { display: flex; align-items: start; justify-content: space-between; gap: 8px; margin-bottom: 17px; }
.panel-title h3 { font-size: 1.28rem; }
.panel-title p { font-size: .9375rem; }
.sample-tag { display: inline-block; margin-top: 3px; padding: 4px 9px; border-radius: 6px; white-space: nowrap; color: #42617b; background: #ebf5fb; font-size: .75rem; }
.filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.filter { min-height: 35px; color: #34526c; background: #fff; border: 1px solid #d9e7f0; border-radius: 7px; padding: 3px 11px; font-size: .875rem; }
.filter:hover { background: #f0faff; }
.filter[aria-pressed="true"] { color: #075f9a; background: #e8f6ff; border-color: #b4dced; font-weight: 700; }
.filter-count { color: #4e667d; margin-inline-start: auto; white-space: nowrap; font-size: .8125rem; }
.demo-table { color: var(--text); font-size: .9375rem; }
.demo-table th, .demo-table td { padding: 8px 12px; border-bottom: 1px solid #e6eff5; }
.demo-table th { color: #345573; background: #f0f7fb; font-weight: 700; white-space: nowrap; }
.demo-table th:first-child { border-start-start-radius: 7px; }
.demo-table th:last-child { border-start-end-radius: 7px; }
.patient-tile { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 13px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); }
.patient-tile strong, .patient-tile small { display: block; }
.patient-tile small { color: #49657c; }
.patient-summary { margin-inline-start: auto; }
.finance-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 13px; }
.finance-cards > div { padding: 8px 11px; border: 1px solid #deedf5; border-radius: 8px; background: #f7fcff; color: #48647c; }
.finance-cards > div:last-child { background: #e7f7fd; border-color: #cce8f5; }
.finance-cards span, .finance-cards strong { display: block; }
.finance-cards strong { color: #0b4467; font-size: 1.15rem; }

.faq { background: #fbfdff; }
.faq-grid { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr); gap: clamp(26px, 6vw, 100px); align-items: start; }
.faq-list { display: grid; gap: 9px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; list-style: none; padding: 13px 16px; min-height: 52px; line-height: 1.6; font-weight: 700; border-radius: 11px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 400 1.26rem/1 Arial, sans-serif; color: var(--blue); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { background: #f5fbff; }
.faq-list details p { padding: 0 16px 13px; }

.trial { padding-top: 12px; }
.trial-shell { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; gap: clamp(18px, 5vw, 68px); padding: clamp(28px, 5vw, 63px); border-radius: 22px; background: radial-gradient(ellipse at 100% 0%, #14537a, transparent 60%), #082139; color: #fff; }
.trial-shell::before { position: absolute; z-index: -1; content: ""; width: 480px; height: 235px; right: -171px; bottom: -150px; transform: rotate(-18deg); border-radius: 50%; border: 1px solid #3ba9d578; box-shadow: 0 -20px 0 -19px #3ba9d555, 0 -46px 0 -45px #3ba9d555; }
.trial-copy h2 { color: #fff; margin-bottom: 13px; }
.trial-copy h2 bdi { color: #8de6ff; font-family: Arial, sans-serif; }
.trial-copy p { color: #d0e5f2; }
.trial-points { display: grid; gap: 7px; margin-top: 17px; color: #e1f0f9; font-size: .9375rem; }
.trial-points > span { display: flex; align-items: center; gap: 8px; }
.trial-points .icon { color: #6ce0fa; }
.trial-form { min-width: 0; padding: 20px; border: 1px solid #e3eff5; border-radius: 15px; color: var(--text); background: #fff; }
.trial-form h3 { font-size: 1.19rem; margin-bottom: 13px; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form-fields .full { grid-column: 1 / -1; }
.form-fields label { display: grid; gap: 4px; color: #254360; font-size: .875rem; font-weight: 700; }
.form-fields input, .form-fields select { display: block; width: 100%; min-width: 0; min-height: 45px; padding: 6px 9px; border: 1px solid #cfe2ed; border-radius: 8px; background: #f8fcff; color: var(--navy); font-size: 1rem; font-weight: 400; }
.form-fields input::placeholder { color: #56718a; opacity: 1; }
.form-fields select { appearance: none; padding-inline-end: 31px; background: linear-gradient(45deg, transparent 51%, #3c6787 51%) left 14px top 50% / 5px 5px no-repeat, linear-gradient(135deg, #3c6787 51%, transparent 51%) left 9px top 50% / 5px 5px no-repeat, #f8fcff; }
.submit-button { width: 100%; margin-top: 13px; }
.form-note { margin-top: 8px; text-align: center; font-size: .8125rem; }
.request-preview { margin-top: 13px; padding: 12px; border: 1px solid #c9e8f3; background: #effaff; border-radius: 9px; }
.request-preview p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 5px 0 10px; font-size: .9375rem; }
.request-preview h4:focus { outline: none; }
.request-preview .button { min-height: 44px; }

.site-footer { border-top: 1px solid var(--line); background: #f4faff; }
.footer-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 13px; padding-block: 11px; font-size: .875rem; color: #405c74; }
.footer-inner > a:last-child { font-weight: 700; color: var(--blue-dark); }
.footer-inner > a:last-child:hover { text-decoration: underline; }

@media (max-width: 1070px) {
  .wrap { width: calc(100% - 68px); }
  .hero-grid { gap: 30px; }
  .dash-body { grid-template-columns: 93px minmax(0, 1fr); }
  .dash-content { padding-inline: 12px; }
}
@media (max-width: 820px) {
  html { scroll-padding-top: 82px; }
  .wrap { width: calc(100% - 44px); }
  .header-inner { height: 66px; grid-template-columns: 1fr 1fr; gap: 10px; }
  .menu-toggle { display: grid; place-items: center; }
  .site-nav { display: none; position: absolute; inset: 100% 0 auto; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px #0a335717; padding: 8px 22px 12px; }
  .site-nav.is-open { display: grid; gap: 0; }
  .site-nav a { min-height: 45px; padding: 9px 8px; }
  .site-nav a + a { border-top: 1px solid #eaf2f7; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; padding-block: 46px 33px; gap: 23px; }
  .hero-copy { text-align: center; padding: 0; }
  .hero h1 { font-size: clamp(2.45rem, 7vw, 3.45rem); margin: 8px 0 13px; }
  .hero-copy p { margin-inline: auto; }
  .hero-actions { justify-content: center; margin-top: 16px; }
  .hero-figure { width: min(100%, 555px); }
  .float-card { left: -10px; }
  .facts-inner > div { font-size: .8125rem; }
  .section { padding-block: 61px; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trial { padding-top: 10px; }
  .trial-shell { gap: 29px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .site-nav { padding-inline: 16px; }
  .brand { gap: 6px; }
  .brand span { font-size: .85rem; letter-spacing: .02em; }
  .brand img { width: 31px; height: 31px; }
  .button.small { padding-inline: 10px; }
  .header-actions { gap: 6px; }
  .hero-grid { padding-top: 35px; }
  .hero-copy p { font-size: 1rem; line-height: 1.8; }
  .hero-actions { gap: 7px; }
  .hero-actions .button { padding-inline: 11px; min-height: 48px; font-size: .875rem; }
  .hero-actions .icon { font-size: .9rem; }
  .hero-figure figcaption { font-size: .72rem; }
  .dash-body { grid-template-columns: 38px minmax(0, 1fr); }
  .dash-nav { padding-inline: 4px; }
  .dash-nav > span { justify-content: center; padding-inline: 2px; }
  .dash-nav > span > span { display: none; }
  .dash-content { padding-inline: 8px; }
  .kpi { padding-inline: 5px; }
  .kpi-grid { gap: 4px; }
  .kpi span { white-space: normal; }
  .float-card { display: none; }
  .facts-inner { width: calc(100% - 16px); min-height: 66px; }
  .facts-inner > div { display: grid; gap: 3px; justify-items: center; text-align: center; padding-inline: 3px; font-size: .71rem; line-height: 1.55; }
  .facts-inner .icon { height: 17px; width: 17px; }
  .section { padding-block: 48px; }
  .features-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 19px; }
  .feature { padding: 15px 17px 17px; }
  .feature h3 { margin-top: 7px; }
  .preview-intro, .faq-grid { display: grid; gap: 8px; }
  .preview-intro p { margin-top: 0; }
  .tabs { gap: 3px; padding: 6px; }
  .tabs button { flex: 1; padding-inline: 5px; gap: 4px; min-height: 44px; font-size: .81rem; }
  .demo-panel { padding: 13px 10px 15px; min-height: 333px; }
  .panel-title { gap: 5px; margin-bottom: 13px; }
  .panel-title h3 { font-size: 1.035rem; }
  .panel-title p { font-size: .875rem; }
  .sample-tag { font-size: .66rem; padding-inline: 4px; }
  .filter-bar { gap: 4px; }
  .filter { padding-inline: 6px; font-size: .775rem; min-height: 38px; }
  .filter-count { font-size: .72rem; }
  .demo-table th, .demo-table td { font-size: .8rem; padding: 8px 4px; }
  .demo-table .status { padding-inline: 4px; font-size: .71rem; }
  .finance-cards > div { padding-inline: 5px; font-size: .76rem; }
  .finance-cards strong { font-size: .93rem; }
  .faq-grid { gap: 17px; }
  .trial { padding-top: 0; }
  .trial-shell { display: grid; grid-template-columns: minmax(0, 1fr); padding: 21px 15px 15px; gap: 18px; }
  .trial-form { padding: 13px; }
  .form-fields { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; padding-block: 12px; }
  .footer-inner > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media (max-width: 560px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .header-actions .button { white-space: nowrap; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .tabs button { min-width: 0; }
}
@media (max-width: 360px) {
  .brand img { width: 28px; height: 28px; }
  .brand span { font-size: .75rem; }
  .header-actions .button { padding-inline: 7px; font-size: .8rem; }
  .menu-toggle { width: 38px; }
  .tabs button { font-size: .84rem; }
  .tabs button .icon { display: none; }
}

.clinic-details {
  background: linear-gradient(180deg, #f1faff 0%, #fff 80%);
  border-bottom: 1px solid var(--line);
}
.detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: end;
  gap: 12px 30px;
  margin-bottom: 22px;
}
.detail-intro p { max-width: 390px; }
.detail-viewer {
  border: 1px solid #cde2ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 46px #104e7410;
}
.detail-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border-radius: 17px 17px 0 0;
  background: #092742;
}
.detail-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #cfdfed;
  font-size: .9375rem;
  font-weight: 700;
}
.detail-tabs button:hover { background: #163d5d; color: #fff; }
.detail-tabs [aria-selected="true"] { background: #164468; border-color: #3b7aa2; color: #fff; }
.detail-tabs [aria-selected="true"] .icon { color: #83e5ff; }
.detail-tabs button:focus-visible { outline-color: #8ce9ff; outline-offset: 2px; }
.detail-panel {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(18px, 4vw, 55px);
  align-items: center;
  padding: clamp(19px, 3.5vw, 42px);
  border-radius: 0 0 17px 17px;
}
.detail-panel:focus-visible { outline-offset: -4px; }
.detail-copy h3 { font-size: clamp(1.28rem, 2vw, 1.8rem); line-height: 1.5; margin: 0 0 9px; }
.detail-copy > p { max-width: 45ch; }
.detail-points { list-style: none; margin: 15px 0 0; padding: 0; display: grid; gap: 9px; }
.detail-points li { position: relative; color: #264862; padding-inline-start: 23px; }
.detail-points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 3px;
  top: .52em;
  width: 10px;
  height: 6px;
  border: solid #087780;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.specimen-stage {
  display: grid;
  place-items: center;
  min-height: 385px;
  min-width: 0;
  padding: clamp(12px, 3vw, 27px);
  border: 1px solid #daecf5;
  border-radius: 13px;
  background: radial-gradient(ellipse at top left, #dff4ff, transparent 72%), #f2f9fd;
}
.document-sample, .clinic-sample {
  width: min(100%, 445px);
  min-width: 0;
  padding: 17px;
  border: 1px solid #d5e3ed;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 10px 27px #143e6020;
}
.document-brand { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 2px solid #0084bf; }
.document-brand img { flex: none; }
.document-brand strong, .document-brand small { display: block; line-height: 1.48; }
.document-brand strong { color: #203d57; font-size: .9375rem; }
.document-brand small { color: var(--muted); font-size: .8125rem; }
.sample-rx { margin-inline-start: auto; color: var(--blue); font: 700 1.55rem/1 Georgia, serif; padding-inline-start: 5px; }
.document-title, .clinic-sample-head { display: flex; align-items: center; justify-content: space-between; column-gap: 7px; }
.document-title { margin-block: 10px 6px; }
.document-title h4, .clinic-sample-head h4 { font-size: 1.075rem; line-height: 1.5; }
.document-title .sample-tag, .clinic-sample-head .sample-tag { margin: 0; }
.document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 12px;
  margin: 0 0 10px;
  padding: 8px 9px;
  border: 1px solid #e4eef4;
  border-radius: 6px;
  background: #f7fbfe;
}
.document-grid dt { font-size: .8125rem; color: var(--muted); }
.document-grid dd { margin: 0; font-size: .875rem; font-weight: 700; color: #153951; overflow-wrap: anywhere; }
.document-table { font-size: .875rem; }
.document-table :is(th, td) { padding: 5px 6px; border-bottom: 1px solid #e6eef3; }
.document-table th { color: #245372; background: #ebf6fc; }
.document-footer { display: flex; align-items: end; justify-content: space-between; gap: 8px; padding-top: 10px; color: var(--muted); font-size: .75rem; }
.signature { padding-top: 4px; border-top: 1px dashed #9fb9ca; text-align: center; min-width: 75px; }
.receipt-view { width: min(100%, 391px); }
.sample-switch, .member-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 9px; }
.sample-switch button, .member-tabs button {
  min-height: 40px;
  padding: 5px 7px;
  border: 1px solid #c9deea;
  border-radius: 7px;
  background: #fff;
  color: #284962;
  font-size: .875rem;
  font-weight: 700;
}
.sample-switch button:hover, .member-tabs button:hover { background: #eff9fd; }
.sample-switch [aria-selected="true"], .member-tabs [aria-selected="true"] { background: #e4f5fc; border-color: #8ac1df; color: #005788; }
.receipt-rows { margin: 9px 0 12px; }
.receipt-rows > div, .insurance-ledger dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 3px 0; border-bottom: 1px dashed #e1eaf0; }
.receipt-rows dt, .insurance-ledger dt { color: var(--muted); font-size: .875rem; }
.receipt-rows dd, .insurance-ledger dd { margin: 0; color: #1d3b55; font-size: .875rem; font-weight: 700; }
.receipt-total { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 9px; border-radius: 7px; background: #e6f8f3; color: #075948; }
.receipt-total span { font-size: .875rem; }
.receipt-total strong { font-size: 1.17rem; white-space: nowrap; }
.clinic-sample-head { margin-bottom: 11px; }
.clinic-sample-head small { color: var(--blue-dark); font-size: .8125rem; }
.member-tabs { gap: 8px; margin-bottom: 12px; }
.member-tabs button { min-height: 52px; display: flex; align-items: center; justify-content: start; gap: 8px; text-align: start; }
.member-tabs button .icon { color: var(--blue); }
.member-tabs button strong, .member-tabs button small { display: block; line-height: 1.58; }
.member-tabs button small { font-weight: 400; font-size: .8125rem; }
.member-panel > p { margin-bottom: 7px; font-size: .875rem; font-weight: 700; color: #214a66; }
.member-panel .document-grid { margin-bottom: 0; }
.coverage-heading { display: flex; justify-content: space-between; gap: 8px; color: #204963; font-size: .875rem; }
.coverage-meter { display: flex; height: 9px; gap: 3px; margin: 6px 0 9px; border-radius: 6px; overflow: hidden; }
.coverage-meter span:first-child { flex: 4; background: #0077b4; }
.coverage-meter span:last-child { flex: 1; background: #52c7c4; }
.coverage-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 0 0 10px; font-size: .875rem; }
.coverage-legend > div { padding-inline-start: 6px; border-inline-start: 2px solid #0077b4; }
.coverage-legend > div + div { border-color: #52c7c4; }
.coverage-legend dt { color: var(--muted); }
.coverage-legend dd { margin: 0; font-weight: 700; color: #204963; }
.insurance-ledger { border: 1px solid var(--line); border-radius: 7px; background: #f7fbfe; }
.insurance-ledger summary { padding: 7px; cursor: pointer; font-size: .875rem; font-weight: 700; color: #005b92; }
.insurance-ledger dl { margin: 0 9px 8px; }
.insurance-ledger dl > div:last-child { border-bottom: 0; }

@media (min-width: 821px) and (max-width: 1000px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 16px; }
  .site-nav { justify-content: center; gap: 17px; }
}
@media (max-width: 820px) {
  .detail-intro { grid-template-columns: 1fr; }
  .detail-intro p { margin: 0; }
  .detail-panel { grid-template-columns: minmax(0, 1fr); }
  .specimen-stage { grid-row: 1; min-height: 0; }
}
@media (max-width: 560px) {
  .detail-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; padding: 6px; }
  .detail-tabs button { min-height: 43px; gap: 5px; font-size: .875rem; }
  .detail-viewer { margin-inline: -4px; }
  .detail-panel { padding: 13px; }
  .specimen-stage { padding: 7px; }
  .document-sample, .clinic-sample { padding: 10px; }
  .document-title .sample-tag, .clinic-sample-head .sample-tag { font-size: .72rem; }
}
