/* Aevolix Health Partners — website styles (brand pack Nov 2026: navy leads, teal signals) */
@font-face{font-family:"Space Grotesk";font-weight:500;font-display:swap;src:url("/assets/fonts/SpaceGrotesk-500.woff2") format("woff2")}
@font-face{font-family:"Space Grotesk";font-weight:600;font-display:swap;src:url("/assets/fonts/SpaceGrotesk-600.woff2") format("woff2")}
@font-face{font-family:"Space Grotesk";font-weight:700;font-display:swap;src:url("/assets/fonts/SpaceGrotesk-700.woff2") format("woff2")}
@font-face{font-family:"Inter";font-weight:400;font-display:swap;src:url("/assets/fonts/Inter-400.woff2") format("woff2")}
@font-face{font-family:"Inter";font-weight:500;font-display:swap;src:url("/assets/fonts/Inter-500.woff2") format("woff2")}
@font-face{font-family:"Inter";font-weight:600;font-display:swap;src:url("/assets/fonts/Inter-600.woff2") format("woff2")}
:root {
  --ink: #0A1E33;        /* deepest navy: hero, footer */
  --green: #0F2A44;      /* Aevolix navy: headings */
  --green-2: #0B7F72;    /* deep teal: eyebrows, links on white */
  --sage: #0E9F8E;       /* pulse teal: large accents, icons */
  --sage-tint: #F6F8FA;  /* mist */
  --mint: #DDF3F0;       /* tint */
  --text: #3D4F61;       /* slate */
  --muted: #5B6B7B;
  --border: #D5DEE8;
  --white: #fff;
  --radius: 16px;
  --max: 1180px;
  --shadow: 0 10px 30px rgba(15, 42, 68, .08);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--green); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tint { background: var(--sage-tint); }
.section--dark { background: var(--ink); color: #d8e2ec; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.center { text-align: center; }
.eyebrow { display: inline-block; font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-2); margin-bottom: 14px; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--sage); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 48px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: #000; color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo img { height: 52px; width: auto; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--text); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { color: var(--white); text-decoration: none; padding: 10px 20px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green); margin: 5px 0; }
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav li a { display: block; padding: 12px 0; font-size: 17px; }
  .nav .btn { margin-top: 8px; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 15px; text-decoration: none; text-align: center;
  padding: 14px 28px; border-radius: 999px; border: 2px solid var(--green); cursor: pointer;
  background: var(--green); color: var(--white); transition: transform .15s ease, background .15s ease; }
.btn:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.btn--light { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.btn--light:hover { background: #0c8f80; border-color: #0c8f80; }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--white); }
.hero .btn--ghost, .section--dark .btn--ghost, .cta-band .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.5); }
.hero .btn--ghost:hover, .section--dark .btn--ghost:hover, .cta-band .btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #1d4466 0%, transparent 60%), linear-gradient(160deg, #163556 0%, var(--ink) 70%); color: #d8e2ec; padding: 96px 0 104px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--sage); }
.hero .lead { color: #c5d3e0; margin-bottom: 32px; }
.hero-note { margin-top: 22px; font-size: 14px; color: #9fb3c7; }
.page-hero { padding: 80px 0 72px; }
.page-hero .lead { margin-bottom: 0; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 64px 0 72px; } }

/* Dashboard illustration (pure CSS, sample figures) */
.mock { background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.35); color: var(--text); font-size: 13px; overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #f6f8fa; border-bottom: 1px solid var(--border); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5dee8; display: inline-block; }
.mock-bar b { margin-left: 10px; font-family: var(--font-head); color: var(--green); font-size: 13px; }
.mock-bar span { margin-left: auto; font-size: 11px; color: var(--muted); background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px; }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.kpi small { display: block; color: var(--muted); font-size: 11px; }
.kpi strong { font-family: var(--font-head); font-size: 20px; color: var(--green); }
.kpi em { font-style: normal; font-size: 11px; color: #0B7F72; margin-left: 4px; }
.chart { border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.chart small { color: var(--muted); font-size: 11px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin-top: 8px; }
.bars div { flex: 1; background: linear-gradient(180deg, var(--green-2), var(--green)); border-radius: 4px 4px 0 0; }
.bars div:nth-child(even) { background: var(--sage); }
.rows { border: 1px solid var(--border); border-radius: 12px; }
.rows div { display: flex; justify-content: space-between; padding: 8px 12px; border-top: 1px solid var(--border); font-size: 12px; }
.rows div:first-child { border-top: 0; color: var(--muted); font-size: 11px; }
.pill { border-radius: 999px; padding: 1px 8px; font-size: 11px; background: var(--mint); color: var(--green); }
.pill--warn { background: #fdf0e1; color: #9a5b13; }
.mock-caption { text-align: center; font-size: 12px; color: #9fb3c7; margin-top: 12px; }

/* Trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--border); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.trust li { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--green); display: flex; align-items: center; gap: 10px; }
.trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230F2A44' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { padding-left: 20px; margin: 0 0 1em; }
.card li { margin: 6px 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--mint); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 26px; height: 26px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.section--dark .card { background: #14304d; border-color: #28486a; box-shadow: none; color: #c9d6e3; }
.section--dark .icon { background: #28486a; }
.section--dark .icon svg { stroke: var(--sage); }
.audience .card { border-top: 4px solid var(--green); }
.audience .card h3 { font-size: 1.35rem; }
.card .more { display: inline-block; margin-top: 8px; font-weight: 700; text-decoration: none; }
.card .more::after { content: " →"; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 88px; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split--rev > :first-child { order: 0; } }
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checklist li { position: relative; padding-left: 32px; margin: 12px 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230F2A44' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.section--dark .checklist li::before { background-color: #28486a; }
.panel { background: var(--sage-tint); border-radius: 20px; padding: 36px; }
.panel h3 { margin-bottom: 16px; }

/* Flow (BAA chain etc.) */
.flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin: 8px 0 0; }
.flow span { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 12px 18px; font-family: var(--font-head); font-weight: 700; color: var(--green); }
.flow b { color: var(--muted); font-weight: 400; }

/* Partner */
.partner { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.partner-mark { width: 120px; height: 120px; border-radius: 24px; background: var(--ink); color: var(--sage); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 44px; }
@media (max-width: 700px) { .partner { grid-template-columns: 1fr; } }

/* Steps */
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 64px; }
.steps .card::before { counter-increment: step; content: counter(step); position: absolute; top: 24px; left: 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--white); font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; font-size: 14px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--green) 0%, var(--ink) 100%); border-radius: 24px; padding: 56px; color: #d8e2ec; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { margin: 0; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; padding: 36px; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--green); font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-details p { margin: 0 0 6px; }
.form { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form .req { color: var(--muted); font-size: 12px; font-weight: 400; margin-left: 4px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .field { margin-bottom: 18px; }
.form input, .form textarea, .form select { width: 100%; font: inherit; color: var(--text); padding: 12px 14px; border: 1px solid #b8c5d3; border-radius: 10px; background: #fff; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.form .hp { position: absolute; left: -9999px; }
.form-note { font-size: 13px; color: var(--muted); margin: 4px 0 16px; }
.form-status { margin: 12px 0 0; font-weight: 600; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } .form .row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: #b6c6d6; padding: 64px 0 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--white); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer p { margin: 0 0 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: #d8e2ec; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand { font-family: var(--font-head); font-size: 1.35rem; color: var(--white); font-weight: 700; margin-bottom: 10px; }
.copyright { margin-top: 48px; padding-top: 24px; border-top: 1px solid #28486a; font-size: 13px; color: #8ea3b8; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* Digital services page (legacy offers) */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.service { background: var(--green); color: var(--white); border-radius: 12px; }
.service summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 22px 22px; font-family: var(--font-head); font-weight: 600; }
.service summary::-webkit-details-marker { display: none; }
.service summary::after { content: "+"; font-size: 1.6rem; font-weight: 300; line-height: 1; transition: transform .2s; }
.service[open] summary::after { transform: rotate(45deg); }
.service ul { margin: 0; padding: 0 22px 22px 40px; font-size: 15px; }
.service li { margin: 5px 0; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }
.offer img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 18px; background: var(--mint); }
.offer .price { font-family: var(--font-head); font-weight: 700; color: var(--green); font-size: 1.15rem; margin-bottom: 10px; }
.offer .btn { margin-top: 8px; }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 14px; font-size: 1.08rem; color: var(--green); }
.quote figcaption { font-size: 14px; color: var(--muted); }

.page-404 { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
@media (max-width: 480px) { .kpi strong { font-size: 16px; } .kpi em { display: block; margin: 0; } .mock-body { padding: 12px; } }

/* Legal / prose pages */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.12rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.prose th { background: var(--sage-tint); font-family: var(--font-head); color: var(--green); }
.prose .meta { color: var(--muted); font-size: 15px; }
.prose .callout { background: var(--sage-tint); border-left: 4px solid var(--green); border-radius: 8px; padding: 16px 20px; margin: 1.4em 0; }
.prose .toc { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 18px 24px; margin: 1.5em 0 2em; }
.prose .toc ol { margin: 0; }
.legal-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; }
@media (max-width: 600px) { .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; } .prose th { border-bottom: 0; } }

/* Aevolix overrides */
.btn { background: #0B7F72; border-color: #0B7F72; }
.btn:hover { background: var(--green); border-color: var(--green); }
.btn--light { background: #0B7F72; border-color: #0B7F72; color: #fff; }
.btn--light:hover { background: #0c8f80; border-color: #0c8f80; color: #fff; }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--green); }
.section--dark .eyebrow, .hero .eyebrow { color: #7FDCCF; }
.hero h1 em { color: #3fc4b3; }
.trust li::before { background-color: var(--mint); }
.logo img { height: 40px; }
.icon svg { stroke: #0B7F72; }
.section--dark .icon svg { stroke: #7FDCCF; }
.audience .card { border-top-color: var(--sage); }
.steps .card::before { background: #0B7F72; }
.staff-link { font-size: 13px !important; color: var(--muted) !important; }
