/* ClinQ marketing site - shared styles (brand tokens from product design system) */
:root {
  --primary: #0d9488;
  --primary-600: #0b7a70;
  --primary-50: #f0fdfa;
  --primary-100: #ccfbf1;
  --navy: #0f172a;
  --text-2: #475569;
  --text-3: #64748b;
  --bg: #f8fafc;
  --surface: #ffffff;
  --border: #e5e7eb;
  --success: #059669;
  --warning: #d97706;
  --info: #2563eb;
  --purple: #7c3aed;
  --orange: #ea580c;
  --rose: #e11d48;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-1: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-2: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-3: 0 12px 32px rgba(15, 23, 42, 0.12);
  --font: "Wix Madefor Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-disp: "Wix Madefor Display", "Wix Madefor Text", sans-serif;
}
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { letter-spacing: -0.02em; font-family: var(--font-disp); }

/* ---------- SVG icon system ---------- */
.svgicon { width: 24px; height: 24px; display: inline-block; vertical-align: middle; flex: 0 0 auto; }
.card .icon { color: var(--primary); }
.card .icon .svgicon { width: 24px; height: 24px; }
.contact-card .ic { color: var(--primary); }
.contact-card .ic .svgicon { width: 22px; height: 22px; }
.badge-float .dot { color: var(--primary); }
.badge-float .dot .svgicon { width: 17px; height: 17px; }
.footer-contact li .ic { color: rgba(255,255,255,.7); display: inline-flex; }
.footer-contact li .ic .svgicon { width: 16px; height: 16px; }
.module-block .m-icon { color: var(--primary); }
.module-block .m-icon .svgicon { width: 26px; height: 26px; }
.brand-logo { display: inline-flex; align-items: center; gap: 10px; }
/* mark is sized to the wordmark's CAP height (95.2% of the image box),
   and nudged up 2.4% because the Q's descender pulls the image centre down */
.brand-logo .brand-mark { height: 30px; width: auto; display: block; flex: 0 0 auto; transform: translateY(-0.5px); }
.footer-grid .brand-logo .brand-mark { height: 22px; width: auto; }
@media (max-width: 640px) { .brand-logo .brand-mark { height: 20px; width: auto; } }
.brand-logo svg { width: auto; height: 31px; flex: 0 0 auto; margin-right: 8px; }
/* ClinQ wordmark image lockup - the image IS the logo, no text beside it */
.brand-logo .wordmark { height: 36px; width: auto; display: block; margin: 0; }
.footer-grid .brand-logo .wordmark { height: 23px; }
@media (max-width: 640px) { .brand-logo .wordmark { height: 21px; } }
.h-ic { display: inline-flex; vertical-align: -4px; margin-right: 7px; color: var(--primary); }
.h-ic .svgicon { width: 21px; height: 21px; }
.module-block h3 .h-ic .svgicon { width: 22px; height: 22px; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--navy); background: var(--surface); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-size: 25px; font-weight: 600; letter-spacing: -0.01em; color: #0e3b38; }
.brand span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: #222; font-weight: 500; font-size: 18px; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--navy); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 12px 24px; border-radius: var(--radius); font-weight: 600; font-size: 15px; transition: all .15s; cursor: pointer; border: none; font-family: var(--font); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); box-shadow: var(--shadow-2); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary-50); }
.btn-ghost { color: var(--text-2); padding: 12px 16px; }
.btn-ghost:hover { color: var(--primary); }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-white { background: #fff; color: var(--primary-600); }
.btn-white:hover { box-shadow: var(--shadow-3); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--primary-50) 0%, #ffffff 100%); padding: 88px 0 72px; text-align: center; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 450; letter-spacing: -0.03em; line-height: 1.12; max-width: 820px; margin: 0 auto 20px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p.lead { font-size: 19px; color: var(--text-2); max-width: 640px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--text-3); }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); padding: 18px 0; }
.trust-inner { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; font-size: 14px; font-weight: 600; color: var(--text-2); }
.trust-inner span::before { content: "✓ "; color: var(--success); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.alt { background: var(--bg); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 450; letter-spacing: -0.025em; line-height: 1.14; margin-bottom: 16px; }
.section-head p { color: var(--text-2); font-size: 17px; }

/* ---------- Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-1); transition: all .15s; }
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card .icon { width: 44px; height: 44px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; background: var(--primary-50); }
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--text-2); }
.card .tag { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--primary); background: var(--primary-50); padding: 3px 10px; border-radius: 999px; }

/* ---------- Problem / story ---------- */
.problem-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.problem-row h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.22; margin-bottom: 16px; }
.problem-row p { color: var(--text-2); margin-bottom: 14px; }
.check-list { list-style: none; margin-top: 8px; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--text-2); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-50); color: var(--primary); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.check-list li strong { color: var(--navy); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.price-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-3); }
.price-card .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.price-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.price-card .plan-desc { font-size: 13.5px; color: var(--text-3); margin-bottom: 18px; min-height: 42px; }
.price { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.price small { font-size: 14px; font-weight: 500; color: var(--text-3); }
.price-card ul { list-style: none; margin: 20px 0 26px; flex: 1; }
.price-card li { font-size: 14px; color: var(--text-2); padding: 6px 0 6px 26px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.price-card .btn { width: 100%; text-align: center; }

/* ---------- Module detail rows ---------- */
.module-block { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 16px; }
.module-block .m-icon { width: 56px; height: 56px; border-radius: var(--radius); background: var(--primary-50); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.module-block h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.module-block h3 .pill { font-size: 11.5px; font-weight: 700; vertical-align: middle; margin-left: 8px; color: var(--purple); background: #f3e8ff; padding: 2px 10px; border-radius: 999px; }
.module-block p { font-size: 15px; color: var(--text-2); margin-bottom: 8px; }
.module-block .features { font-size: 13.5px; color: var(--text-3); }
.module-block .features strong { color: var(--text-2); font-weight: 600; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat h3 { font-size: 38px; font-weight: 500; color: var(--primary); letter-spacing: -0.02em; }
.stat p { font-size: 14px; color: var(--text-2); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, #134e4a 100%); color: #fff; text-align: center; padding: 72px 0; }
.cta-band h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 450; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto 30px; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-2); max-width: 560px; margin: 0 auto; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-family: var(--font); font-size: 15px; color: var(--navy); background: var(--surface); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-100); }

/* ---------- Footer contact ---------- */
.footer-contact { list-style: none; margin-top: 14px; }
.footer-contact li { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 8px; font-size: 13.5px; line-height: 1.5; }
.footer-contact li span.ic { flex: 0 0 auto; opacity: .85; }
.footer-contact a { color: rgba(255,255,255,.78); }
.footer-contact a:hover { color: #fff; }

/* ---------- Contact details block ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { min-width: 0; }            /* long emails/addresses must not widen the track */
.contact-card a, .contact-card p { overflow-wrap: anywhere; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-1); }
.contact-card .ic { width: 44px; height: 44px; border-radius: var(--radius); background: var(--primary-50); display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 14px; }
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--text-2); display: block; line-height: 1.6; }
.contact-card a:hover { color: var(--primary); }
.contact-card .label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); margin-top: 10px; }
.office-tag { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--primary); background: var(--primary-50); padding: 2px 10px; border-radius: 999px; margin-bottom: 10px; }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: rgba(255,255,255,.65); padding: 56px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid .brand { color: #fff; margin-bottom: 10px; display: block; }
/* keep the mark + wordmark on one line in the footer (this rule follows .footer-grid .brand) */
.footer-grid .brand-logo { display: inline-flex; align-items: center; gap: 10px; }
.footer-grid h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: rgba(255,255,255,.65); }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* ---------- Hero with photo (two-column) ---------- */
.hero-split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; text-align: left; }
/* photo sits left on desktop; DOM order keeps the headline first so mobile
   still leads with the copy rather than pushing it below the image */

.hero-split h1 { margin: 0 0 20px; }
.hero-split .hero-actions { justify-content: flex-start; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-3); display: block; }
.hero-photo .badge-float { position: absolute; bottom: 18px; left: -18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-2); padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.hero-photo .badge-float .dot { width: 30px; height: 30px; border-radius: 8px; background: var(--primary-50); display: flex; align-items: center; justify-content: center; font-size: 16px; }

/* ---------- Photo persona cards ---------- */
.card.photo-card { padding: 0; overflow: hidden; }
.card.photo-card .ph { aspect-ratio: 4/3; overflow: hidden; }
.card.photo-card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.card.photo-card:hover .ph img { transform: scale(1.04); }
.card.photo-card .body { padding: 22px 24px 26px; }
.card.photo-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card.photo-card p { font-size: 14px; color: var(--text-2); }

/* ---------- Image banner ---------- */
.img-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); border: 1px solid var(--border); }
.img-banner .photo { min-height: 360px; background-size: cover; background-position: center; }
.img-banner .copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; background: var(--surface); }
.img-banner .copy h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 450; letter-spacing: -0.02em; margin-bottom: 14px; line-height: 1.2; }
.img-banner .copy p { color: var(--text-2); margin-bottom: 12px; }

/* ---------- Screenshots / browser frame ---------- */
.browser-frame { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-3); overflow: hidden; }
.browser-frame .chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg); border-bottom: 1px solid var(--border); }
.browser-frame .chrome span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.browser-frame .chrome span:nth-child(1) { background: #fda4af; }
.browser-frame .chrome span:nth-child(2) { background: #fcd34d; }
.browser-frame .chrome span:nth-child(3) { background: #86efac; }
.browser-frame img { display: block; width: 100%; }
.hero-shot { max-width: 980px; margin: 56px auto -120px; }
.hero-shot + * { padding-top: 160px; }
.card .thumb { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: -12px -12px 16px; }
.card .thumb img { display: block; width: 100%; }

/* ---------- Case studies ---------- */
.scenario { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; margin-bottom: 28px; box-shadow: var(--shadow-1); }
.scenario .s-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.scenario h3 { font-size: 21px; font-weight: 700; }
.scenario .s-meta { font-size: 13.5px; color: var(--text-3); }
.scenario .s-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0; }
.scenario .s-result { background: var(--primary-50); border-radius: var(--radius); padding: 16px; text-align: center; }
.scenario .s-result strong { display: block; font-size: 24px; color: var(--primary-600); letter-spacing: -0.02em; }
.scenario .s-result span { font-size: 13px; color: var(--text-2); }
.scenario blockquote { border-left: 3px solid var(--primary); padding: 4px 0 4px 18px; margin-top: 18px; font-style: italic; color: var(--text-2); }
.scenario blockquote cite { display: block; font-style: normal; font-size: 13px; color: var(--text-3); margin-top: 6px; }
.disclaimer { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: var(--radius); padding: 14px 18px; font-size: 13.5px; max-width: 720px; margin: 0 auto 40px; text-align: center; }

/* ---------- Module detail pages ---------- */
.breadcrumb { font-size: 13.5px; color: var(--text-3); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--primary); }
.feature-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.module-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; }
.module-nav a { font-weight: 600; font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero-split .hero-actions { justify-content: center; }
  .hero-photo { max-width: 460px; margin: 0 auto; }
  .hero-split .hero-photo { order: 0; }
  .hero-photo .badge-float { left: 12px; }
  .img-banner { grid-template-columns: 1fr; }
  .img-banner .photo { min-height: 240px; }
}
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .pricing-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .problem-row { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 24px; gap: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-2); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .grid-3, .grid-4, .grid-2, .pricing-grid, .stats { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 48px; }
  .module-block { grid-template-columns: 1fr; }
}



/* ==========================================================================
   Homepage v2 — dark graphic hero (white nav stays above it), rails pills,
   product frame, persona ledger. Typeface: Wix Madefor.
   ========================================================================== */
.hero-dark { position: relative; background: #0b1220; color: #fff; overflow: hidden; }
.hero-dark::before { content:""; position:absolute; inset:0; background:
  radial-gradient(900px 620px at 78% 40%, rgba(20,184,166,.32), transparent 60%),
  radial-gradient(700px 500px at 88% 82%, rgba(13,148,136,.20), transparent 65%),
  radial-gradient(560px 420px at 6% 6%, rgba(30,58,90,.5), transparent 70%); }
.hero-dark .container { position: relative; }
.hero-grid { display:grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items:center; padding: 84px 0 96px; text-align:left; }
.hero-dark h1 { font-size: clamp(38px,4.9vw,64px); font-weight: 420; letter-spacing:-0.035em; line-height:1.06; max-width:none; margin:0 0 24px; }
.hero-dark h1 em { font-style:normal; color:#5eead4; }
.hero-dark .lead { color: rgba(255,255,255,.72); font-size:18px; margin: 0 0 34px; max-width: 48ch; }
.hero-dark .hero-actions { justify-content:flex-start; }
.hero-dark .hero-note { color: rgba(255,255,255,.45); }
.btn-glass { background: rgba(94,234,212,.10); color:#5eead4; border:1px solid rgba(94,234,212,.4); }
.btn-glass:hover { background: rgba(94,234,212,.18); }

.orb { position:relative; height: 480px; }
.orb .ring { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); border:1.5px solid rgba(94,234,212,.15); border-radius:26%; }
.orb .r1 { width:280px; height:280px; border-color:rgba(94,234,212,.42); box-shadow:0 0 90px rgba(20,184,166,.25), inset 0 0 60px rgba(20,184,166,.10); }
.orb .r2 { width:396px; height:396px; }
.orb .r3 { width:512px; height:512px; border-color:rgba(94,234,212,.07); }
.orb .core { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:112px; filter:drop-shadow(0 0 34px rgba(20,184,166,.55)); }
.orb .chip { position:absolute; background:rgba(15,23,42,.72); backdrop-filter:blur(8px); border:1px solid rgba(94,234,212,.25);
  border-radius:14px; padding:13px 17px; font-size:13.5px; line-height:1.5; box-shadow:0 18px 44px rgba(0,0,0,.35); }
.orb .chip b { display:flex; align-items:center; gap:8px; color:#fff; font-weight:600; }
.orb .chip b::before { content:""; width:8px; height:8px; border-radius:50%; background:#5eead4; box-shadow:0 0 10px #5eead4; }
.orb .chip span { color:rgba(255,255,255,.55); }
.orb .c1 { top:36px; right:0; } .orb .c2 { bottom:92px; left:-8px; } .orb .c3 { bottom:-10px; right:52px; }

.rails { padding: 0 0 64px; }
.rails h4 { font-size:12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:rgba(255,255,255,.4); text-align:center; margin-bottom:20px; }
.pills { display:flex; justify-content:center; gap:13px; flex-wrap:wrap; }
.pill { display:inline-flex; align-items:center; gap:9px; border:1px solid rgba(94,234,212,.28); background:rgba(94,234,212,.06);
  color:rgba(255,255,255,.85); border-radius:999px; padding:10px 19px; font-size:14px; font-weight:600; }
.pill .svgicon { width:16px; height:16px; color:#5eead4; }

.frame { max-width: 980px; margin:0 auto; border-radius:16px; overflow:hidden; box-shadow:0 40px 90px rgba(15,23,42,.18); border:1px solid var(--border); background:#fff; }
.frame .bar { display:flex; gap:7px; align-items:center; background:#eef1f5; padding:12px 16px; }
.frame .bar i { width:11px; height:11px; border-radius:50%; background:#d4dae2; }
.frame img { display:block; width:100%; }

.ledger { border-top:1px solid var(--border); margin-top:44px; }
.person { display:grid; grid-template-columns:64px 250px 1fr; gap:36px; align-items:start; padding:32px 0; border-bottom:1px solid var(--border); }
.person .ic { width:52px; height:52px; border-radius:14px; background:var(--bg); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; color:var(--primary); }
.person h3 { font-size:20px; font-weight:550; letter-spacing:-0.01em; padding-top:11px; }
.person p { padding-top:11px; max-width:62ch; color:var(--text-2); font-size:15.5px; }
.person p b { color:var(--navy); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns:1fr; padding:56px 0 64px; text-align:center; }
  .hero-dark .hero-actions { justify-content:center; }
  .hero-dark .lead { margin-left:auto; margin-right:auto; }
  .orb { height:380px; margin-top:8px; }
  .person { grid-template-columns:52px 1fr; }
  .person p { grid-column:2; padding-top:2px; }
}
@media (max-width: 640px) {
  .orb { height:330px; } .orb .r3 { display:none; }
  .orb .chip { font-size:12px; padding:10px 13px; }
  .rails { padding-bottom:48px; }
}

/* ---------- Adjustments ---------------------------------------------------- */
/* Header CTA: a nav button, not a page button - shorter and lighter than .btn-lg */
.nav-cta .btn-primary { padding: 9px 18px; font-size: 14px; font-weight: 500; border-radius: 9px; }

/* Lighter type throughout: the ClinQ wordmark is a thin geometric face, so the
   page follows it. Madefor Display is variable 400-800, so these interpolate. */
h1, h2 { font-weight: 450; }
h3 { font-weight: 550; }
.kicker { font-weight: 600; }
.btn { font-weight: 500; }
.card h3, .module-block h3 { font-weight: 550; }
.hero .lead, .lead { font-weight: 400; }
.pill { font-weight: 500; }
.metric b, .frame .ui .tile b { font-weight: 500; }
.nav-links a { font-weight: 450; }

/* ---------- "Every department, one record" hero graphic (About) -------------
   Replaces the stock portrait: no people, no photography to go soft, and it
   states the product thesis instead of decorating it. Pure SVG + text, so it
   stays sharp at any size and costs nothing to load. */
.clinq-web { position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 1 / 1; }
.clinq-web .cw-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.clinq-web .cw-lines line { stroke: var(--primary); stroke-width: 1; opacity: .28; }
.clinq-web .cw-lines .dot { fill: var(--primary); opacity: .55; }
.clinq-web .cw-lines .orbit { fill: none; stroke: var(--primary); stroke-width: 1; opacity: .16; stroke-dasharray: 3 7; }
.clinq-web .cw-lines .orbit.faint { opacity: .10; stroke-dasharray: none; }
.clinq-web .cw-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46%; aspect-ratio: 1/1; border-radius: 50%; background: #fff; border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(15,23,42,.10); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 10px; }
.clinq-web .cw-core img { width: 34px; margin-bottom: 10px; }
.clinq-web .cw-core b { font-size: 15px; font-weight: 550; letter-spacing: -0.01em; color: var(--navy); }
.clinq-web .cw-core span { font-size: 12.5px; color: var(--text-3); margin-top: 3px; }
.clinq-web .cw-node { position: absolute; transform: translate(-50%,-50%); background: #fff;
  border: 1px solid var(--border); border-radius: 10px; padding: 9px 13px; text-align: center;
  box-shadow: var(--shadow-1); white-space: nowrap; }
.clinq-web .cw-node b { display: block; font-size: 13px; font-weight: 550; color: var(--navy); letter-spacing: -0.01em; }
.clinq-web .cw-node span { display: block; font-size: 11px; color: var(--text-3); margin-top: 1px; }
@media (max-width: 860px) { .clinq-web { max-width: 440px; } .clinq-web .cw-node { padding: 7px 10px; }
  .clinq-web .cw-node b { font-size: 11.5px; } .clinq-web .cw-node span { display: none; } }
@media (max-width: 560px) { .clinq-web { max-width: 340px; } .clinq-web .cw-node b { font-size: 10px; }
  .clinq-web .cw-core b { font-size: 13px; } .clinq-web .cw-core span { font-size: 11px; } }

/* ==========================================================================
   HERO — LIGHT VARIANT (comparison). Add "hero-lite" alongside "hero-dark".
   ========================================================================== */
.hero-dark.hero-lite { background: #fff; color: var(--navy); border-bottom: 1px solid rgba(15,23,42,.07); }
.hero-lite::before { background:
  radial-gradient(880px 620px at 76% 34%, rgba(13,148,136,.10), transparent 62%),
  radial-gradient(680px 520px at 92% 88%, rgba(13,148,136,.07), transparent 66%),
  linear-gradient(180deg, #ffffff 0%, #f5faf9 100%); }
.hero-lite::after { content:""; position:absolute; inset:0; pointer-events:none;
  background-image: radial-gradient(rgba(13,148,136,.38) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(820px 620px at 72% 46%, #000 0%, rgba(0,0,0,.35) 55%, transparent 78%);
          mask-image: radial-gradient(820px 620px at 72% 46%, #000 0%, rgba(0,0,0,.35) 55%, transparent 78%); }
.hero-lite h1 { color: var(--navy); }
.hero-lite h1 em { color: var(--primary); }
.hero-lite .lead { color: var(--text-2); }
.hero-lite .hero-note { color: var(--text-3); }
.hero-lite .btn-glass { background:#fff; color: var(--primary); border:1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.hero-lite .btn-glass:hover { background:#f8fafc; border-color: rgba(13,148,136,.42); }

.hero-lite .orb .ring { border-color: rgba(13,148,136,.20); }
.hero-lite .orb .r1 { border-color: rgba(13,148,136,.30); background:#fff;
  box-shadow: 0 24px 60px rgba(13,148,136,.16), 0 0 0 10px rgba(255,255,255,.7), inset 0 0 60px rgba(13,148,136,.04); }
.hero-lite .orb .r2 { border-color: rgba(13,148,136,.22); background: rgba(255,255,255,.45); }
.hero-lite .orb .r3 { border-color: rgba(13,148,136,.13); background: rgba(255,255,255,.30); }
.hero-lite .orb .core { filter: drop-shadow(0 10px 26px rgba(13,148,136,.28)); }
.hero-lite .orb .chip { background:#fff; backdrop-filter:none; border:1px solid var(--border);
  box-shadow: 0 14px 34px rgba(15,23,42,.10); }
.hero-lite .orb .chip b { color: var(--navy); }
.hero-lite .orb .chip b::before { background: var(--primary); box-shadow:0 0 0 3px rgba(13,148,136,.14); }
.hero-lite .orb .chip span { color: var(--text-3); }

.hero-lite .rails h4 { color: var(--text-3); }
.hero-lite .pill { background:#fff; border:1px solid var(--border); color: var(--text-2);
  box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.hero-lite .pill .svgicon { color: var(--primary); }
.hero-lite .rails { border-top: 1px solid rgba(15,23,42,.06); padding-top: 44px; margin-top: 8px; }

/* ---------- Legal pages (privacy, terms) ---------- */
.legal { max-width: 780px; margin: 0 auto; }
.legal .updated { color: var(--text-3); font-size: 14px; margin-bottom: 28px; }
.legal h2 { font-family: var(--font-disp); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px 22px; }
.legal li { margin-bottom: 6px; }
.legal a { text-decoration: underline; }
