/* ============================================================
   OmniEHR, design system
   "Calm system, human center."
   Palette: Core Teal / Healing Seafoam / Calm Mist / Soft Sage /
            Human Coral / Warm Sand / Night Ink
   Type: Manrope 800 (display) · 500/400 (text)
   ============================================================ */

:root {
  --teal:    #1E6F6A;
  --teal-deep:#155350;
  --seafoam: #6FBFB0;
  --mist:    #9CC6DC;
  --sage:    #B9D4BC;
  --coral:   #E89B7A;
  --sand:    #F6F1E9;
  --sand-2:  #EFE8DB;
  --ink:     #16323B;
  --muted:   #4E6A76;
  --line:    #E4DBC9;
  --card:    #FCFAF5;

  --font: "Manrope", ui-sans-serif, sans-serif;
  --radius: 16px;
  --wrap: 1140px;
  --shadow: 0 1px 2px rgba(22,50,59,.05), 0 12px 32px -16px rgba(22,50,59,.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

/* grain, barely-there paper texture over the sand */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.5 0 0 0 0 0.42 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.015em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.12rem; line-height: 1.3; }
p { margin: 0; }
a { color: inherit; }

.eyebrow {
  font-size: .78rem; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.accent { color: var(--teal); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--teal); color: #fff;
  font-weight: 800; font-size: .95rem;
  padding: 14px 26px; border-radius: 999px;
  text-decoration: none; border: 1.5px solid var(--teal);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--teal-deep); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: rgba(30,111,106,.07); }
.btn-small { padding: 9px 18px; font-size: .85rem; }
.btn-wide { width: 100%; padding: 15px; font-size: 1rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,241,233,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; }
.brand-logo { height: 54px; width: auto; display: block; }
.brand-word { font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; }
.brand-word em { font-style: normal; color: var(--teal); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { text-decoration: none; font-weight: 800; font-size: .92rem; color: var(--ink); }
.site-nav a:not(.btn):hover { color: var(--teal); }


/* ---------- hero ---------- */
.hero { padding: 96px 0 84px; overflow: hidden; position: relative; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  gap: 56px; align-items: center;
}
.lede { font-size: 1.16rem; color: var(--muted); margin-top: 22px; max-width: 34em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-note { margin-top: 26px; font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.hero-mark { display: grid; place-items: center; }
.mark-lg { width: min(380px, 70vw); height: auto; }
.mark-dim { opacity: .55; }

/* mark motion, a slow, calm orbit; the system turns, the human holds still */
.mark-segments { transform-origin: 110px 110px; animation: orbit 80s linear infinite; }
.mark-dot { transform-origin: 110px 110px; animation: pulse 5s ease-in-out infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }

/* ---------- standards strip ---------- */
.standards { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--sand-2); }
.standards-row { display: flex; align-items: center; gap: 28px; padding: 18px 28px; flex-wrap: wrap; }
.standards-label { font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.standards ul { display: flex; gap: 12px 30px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.standards li { font-size: .88rem; font-weight: 800; color: var(--ink); white-space: nowrap; }
.standards li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--seafoam); margin-right: 9px; vertical-align: 1px; }

/* ---------- platform ---------- */
.platform { padding: 96px 0; }
.section-head { max-width: 46em; }
.section-head h2 { margin-top: 4px; }
.section-lede { color: var(--muted); font-size: 1.08rem; margin-top: 18px; }

.core-card {
  display: grid; grid-template-columns: 110px 1fr; gap: 28px; align-items: center;
  background: var(--ink); color: var(--sand);
  border-radius: var(--radius); padding: 30px 34px;
  margin: 44px 0 18px;
}
.core-card-mark svg { width: 100%; height: auto; }
.core-card h3 { font-size: 1.5rem; color: #fff; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.core-card p { color: #B8C8CE; margin-top: 8px; max-width: 50em; }
.chip {
  font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--seafoam); border: 1px solid rgba(111,191,176,.45);
  padding: 4px 10px; border-radius: 999px;
}

.component-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 992px) { .component-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .component-grid { grid-template-columns: 1fr; } }

.component-card {
  position: relative;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 24px 22px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.component-card:hover { border-color: var(--seafoam); transform: translateY(-3px); box-shadow: var(--shadow); }
.component-dot {
  position: absolute; top: 26px; right: 22px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--sage);
  transition: background .2s ease, transform .2s ease;
}
.component-card:nth-child(3n+1) .component-dot { background: var(--seafoam); }
.component-card:nth-child(3n+2) .component-dot { background: var(--mist); }
.component-card:hover .component-dot { background: var(--coral); transform: scale(1.35); }
.component-tag {
  font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); margin-top: 5px;
}
.component-desc { color: var(--muted); font-size: .94rem; margin-top: 10px; }

.platform-foot { margin-top: 34px; font-size: 1.05rem; font-weight: 800; color: var(--teal); }

/* ---------- why ---------- */
.why { padding: 96px 0; background: var(--sand-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-list { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 0; }
.why-list li {
  display: grid; grid-template-columns: 120px 1fr; gap: 28px;
  padding: 36px 4px; border-top: 1px solid var(--line);
}
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-num {
  font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.6px var(--teal);
}
.why-list h3 { font-size: 1.35rem; }
.why-list p { color: var(--muted); margin-top: 10px; max-width: 52em; }
@media (max-width: 576px) {
  .why-list li { grid-template-columns: 1fr; gap: 10px; }
  .why-num { font-size: 2rem; }
}

/* ---------- access / form ---------- */
.access { padding: 100px 0 110px; }
.access-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 60px; align-items: start; }
.access-copy h2 { margin-top: 4px; }
.access-copy p:last-child { color: var(--muted); margin-top: 18px; font-size: 1.08rem; }

.access-form {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
  display: grid; gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.access-form label { display: grid; gap: 7px; font-size: .82rem; font-weight: 800; letter-spacing: .04em; color: var(--ink); }
.access-form input, .access-form select, .access-form textarea {
  font: inherit; font-weight: 500; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px; width: 100%;
}
.access-form input:focus, .access-form select:focus, .access-form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30,111,106,.14);
}
.access-form textarea { resize: vertical; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.3em; font-weight: 800; font-size: .92rem; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: #B4543B; }

@media (max-width: 768px) {
  .hero-grid, .access-grid { grid-template-columns: 1fr; }
  .hero-mark { order: -1; }
  .mark-lg { width: min(240px, 56vw); }
  .core-card { grid-template-columns: 1fr; }
  .core-card-mark { display: none; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #B8C8CE; padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.footer-brand img { max-width: 320px; height: auto; }
.footer-brand p { margin-top: 18px; font-size: .95rem; }
.footer-meta { font-size: .85rem; display: grid; gap: 10px; }
.footer-co { font-weight: 800; color: #fff; font-size: 1rem; }
.footer-copy { margin-top: 14px; color: #7E97A1; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
.component-card.reveal { transition-delay: calc(var(--i, 0) * 45ms); }

@media (prefers-reduced-motion: reduce) {
  .mark-segments, .mark-dot { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   v1.1 additions, subpages, roadmap, platform detail, admin
   ============================================================ */

.text-link { color: var(--teal); font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--seafoam); }
.text-link:hover { border-bottom-color: var(--coral); }

/* ---------- subpage hero ---------- */
.page-hero { padding: 84px 0 56px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }

/* ---------- roadmap ---------- */
.roadmap { padding: 96px 0; }
.release-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 992px) { .release-grid { grid-template-columns: 1fr; } }
.release-card {
  position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 24px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.release-card:hover { border-color: var(--seafoam); transform: translateY(-3px); box-shadow: var(--shadow); }
.release-card.reveal { transition-delay: calc(var(--i, 0) * 90ms); }
.release-num {
  display: inline-block;
  font-size: 2.2rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--teal);
  margin-bottom: 14px;
}
.release-card h3 { font-size: 1.25rem; }
.release-card > p { color: var(--muted); font-size: .95rem; margin-top: 10px; }
.release-components { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.release-components li {
  font-size: .76rem; font-weight: 800; letter-spacing: .05em;
  background: var(--sand-2); border: 1px solid var(--line);
  padding: 5px 11px; border-radius: 999px;
}

/* ---------- release chips ---------- */
.release-key { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.release-chip {
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}
.release-chip.r1 { background: rgba(30,111,106,.12);  color: var(--teal-deep); }
.release-chip.r2 { background: rgba(156,198,220,.28); color: #2C586E; }
.release-chip.r3 { background: rgba(232,155,122,.22); color: #9C4F30; }

/* ---------- platform detail list ---------- */
.pf-list { padding: 72px 0 100px; }
.pf-item { padding: 36px 4px; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.pf-item:first-child { border-top: 1px solid var(--line); }
.pf-head { display: grid; grid-template-columns: 86px 1fr auto; gap: 22px; align-items: center; }
.pf-index {
  font-size: 2.1rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.4px var(--seafoam);
}
.pf-head h2 { font-size: 1.6rem; }
.pf-body { margin: 18px 0 0 108px; max-width: 56em; }
.pf-short { color: var(--ink); font-weight: 800; }
.feature-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.feature-list li { position: relative; padding-left: 24px; color: var(--muted); font-size: .96rem; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--seafoam);
}
@media (max-width: 768px) {
  .pf-head { grid-template-columns: 1fr auto; }
  .pf-index { display: none; }
  .pf-body { margin-left: 0; }
}
.pf-cta { text-align: center; padding: 72px 20px 8px; }
.pf-cta p { color: var(--muted); max-width: 40em; margin: 16px auto 28px; }

/* ---------- security / company ---------- */
.sec-section { padding: 72px 0 100px; }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 992px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .sec-grid { grid-template-columns: 1fr; } }
.sec-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.sec-card:hover { border-color: var(--seafoam); transform: translateY(-3px); box-shadow: var(--shadow); }
.sec-card h3 { font-size: 1.15rem; }
.sec-card p { color: var(--muted); font-size: .95rem; margin-top: 10px; }

.sec-note {
  margin-top: 40px;
  background: var(--ink); color: #B8C8CE;
  border-radius: var(--radius); padding: 34px 36px;
}
.sec-note h3 { color: #fff; font-size: 1.3rem; }
.sec-note p { margin-top: 14px; max-width: 62em; }
.sec-note .text-link { color: var(--seafoam); border-bottom-color: rgba(111,191,176,.5); }

.company-story h2 { font-size: 1.7rem; }
.company-story p { color: var(--muted); font-size: 1.05rem; margin-top: 16px; max-width: 56em; }
.product-row { margin-top: 64px; }
.product-row h2 { font-size: 1.7rem; margin-bottom: 24px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 992px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.product-card h3 { font-size: 1.15rem; }
.product-card p { color: var(--muted); font-size: .94rem; margin-top: 10px; }
.product-status { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-top: 14px; }

/* ---------- component card links ---------- */
.component-link { display: block; text-decoration: none; color: inherit; }

/* ---------- footer nav ---------- */
.footer-grid { grid-template-columns: 1.2fr .6fr 1fr; }
.footer-nav { display: grid; gap: 10px; align-content: start; }
.footer-nav a { color: #B8C8CE; text-decoration: none; font-size: .92rem; font-weight: 800; }
.footer-nav a:hover { color: var(--seafoam); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- admin table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--sand-2); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .nowrap { white-space: nowrap; }
.admin-table .msg { max-width: 34em; color: var(--muted); }

/* ============================================================
   v1.3, responsive system (Bootstrap breakpoint scale:
   576 / 768 / 992 / 1200), mobile nav, auth, FAQ, CTA, legal
   ============================================================ */

/* ---------- fluid spacing on small screens ---------- */
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 56px 0 56px; }
  .platform, .why, .roadmap { padding: 64px 0; }
  .access { padding: 64px 0 72px; }
  .page-hero { padding: 56px 0 40px; }
  .sec-section, .pf-list { padding: 48px 0 72px; }
  .core-card { padding: 24px 22px; }
  .sec-note { padding: 26px 24px; }
  .access-form { padding: 24px 20px; }
  .pf-body { max-width: none; }
}
@media (max-width: 576px) {
  .hero-actions .btn { width: 100%; text-align: center; }
  .standards-row { gap: 14px; padding: 16px 20px; }
}

/* comfortable touch targets everywhere */
.btn, .site-nav a, .footer-nav a { min-height: 44px; }
.site-nav a { display: inline-flex; align-items: center; }

/* ---------- mobile navigation ---------- */
.nav-toggle {
  display: none;
  background: none; border: 1.5px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 992px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 20px 18px;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) {
    padding: 13px 6px; border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .site-nav a:last-of-type:not(.btn) { border-bottom: none; }
  .site-nav .btn { margin-top: 14px; text-align: center; justify-content: center; }
}

/* skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--teal); color: #fff; font-weight: 800;
  padding: 12px 20px; border-radius: 0 0 10px 0; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- auth pages ---------- */
.auth-section { padding: 72px 0 110px; display: grid; }
.auth-card {
  width: min(460px, 100%); margin: 0 auto;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 38px 34px; box-shadow: var(--shadow);
}
@media (max-width: 576px) { .auth-card { padding: 28px 20px; } }
.auth-card .auth-mark { width: 64px; height: 64px; margin: 0 auto 18px; display: block; }
.auth-card h1 { font-size: 1.7rem; text-align: center; }
.auth-sub { color: var(--muted); text-align: center; margin: 10px 0 26px; font-size: .96rem; }
.auth-form { display: grid; gap: 16px; }
.auth-form label { display: grid; gap: 7px; font-size: .82rem; font-weight: 800; letter-spacing: .04em; }
.auth-form input, .auth-form select {
  font: inherit; font-weight: 500; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 13px 14px; width: 100%; min-height: 48px;
}
.auth-form input:focus, .auth-form select:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30,111,106,.14);
}
.auth-alt { text-align: center; margin-top: 22px; font-size: .92rem; color: var(--muted); }
.auth-note {
  margin-top: 22px; padding: 14px 16px; border-radius: 10px;
  background: var(--sand-2); border: 1px solid var(--line);
  font-size: .88rem; color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq { padding: 96px 0; background: var(--sand-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-list { margin-top: 40px; display: grid; gap: 0; max-width: 56em; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; font-weight: 800; font-size: 1.06rem;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--teal); color: var(--teal);
  display: grid; place-items: center;
  font-size: 1.2rem; font-weight: 500; line-height: 1;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq-item p { color: var(--muted); padding: 0 44px 24px 4px; max-width: 52em; }

/* ---------- closing CTA band ---------- */
.cta-band { padding: 96px 0; background: var(--ink); position: relative; overflow: hidden; }
.cta-inner { text-align: center; position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.cta-band p { color: #B8C8CE; max-width: 38em; margin: 18px auto 30px; font-size: 1.08rem; }
.btn-light { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.btn-light:hover { background: #fff; }

/* ---------- legal pages ---------- */
.legal { padding: 56px 0 100px; }
.legal-body { max-width: 46em; }
.legal-body h2 { font-size: 1.25rem; margin-top: 40px; }
.legal-body p, .legal-body li { color: var(--muted); margin-top: 12px; font-size: .98rem; }
.legal-body ul { padding-left: 22px; margin: 8px 0 0; }
.legal-updated { font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer-legal { display: flex; gap: 18px; margin-top: 16px; }
.footer-legal a { color: #7E97A1; font-size: .85rem; text-decoration: none; font-weight: 800; }
.footer-legal a:hover { color: var(--seafoam); }

/* ============================================================
   v1.4.1, RESPONSIVE SYMMETRY
   Desktop (>768px): editorial split layout, text left, mark
   right, asymmetric on purpose.
   Mobile (≤768px): every section collapses to a single column
   organized symmetrically around the centerline.

   MOBILE COLLAPSE MAP (top to bottom, all centered):
   - Header  : brand left, hamburger right (≤992); menu full-width
   - Hero    : mark → eyebrow → headline → lede → buttons
               (full-width ≤576) → status note
   - Standards: label → chips wrap, centered
   - Platform: head → OmniCore card → cards 2-col (≤992) → 1-col (≤576)
   - Why     : head → rows; number above text ≤576
   - Roadmap : head → R1/R2/R3 stacked
   - Access  : head → form, single centered column
   - FAQ     : head → accordion, full-width
   - Footer  : single centered column
   ============================================================ */
@media (max-width: 768px) {
  /* section heads center when columns collapse */
  .section-head { margin-left: auto; margin-right: auto; text-align: center; }
  .section-lede { margin-left: auto; margin-right: auto; }
  .platform-foot { text-align: center; }

  /* hero: centered stack, mark on the centerline above the words */
  .hero-grid {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 32px;
  }
  .hero-mark { order: -1; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-copy .lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-note { text-align: center; }

  /* standards strip centers */
  .standards-row { justify-content: center; }
  .standards ul { justify-content: center; }

  /* access: centered single column, form fields stay left-aligned */
  .access-grid {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 32px;
  }
  .access-copy { max-width: 44em; }
  .access-form { width: 100%; text-align: left; }

  /* subpage heroes center */
  .page-hero { text-align: center; }
  .page-hero .lede { margin-left: auto; margin-right: auto; }
  .release-key { justify-content: center; }

  /* footer: single centered column */
  .footer-grid { text-align: center; }
  .footer-brand img { margin: 0 auto; }
  .footer-nav { justify-items: center; }
  .footer-legal { justify-content: center; }
}
@media (max-width: 576px) {
  .why-list li { text-align: center; }
  .why-list p { margin-left: auto; margin-right: auto; }
}

/* 404, the notfound hero modifier the template always referenced */
.hero.notfound { padding: 110px 0 130px; }
.hero.notfound .lede { max-width: 30em; }
.hero.notfound .hero-mark svg { opacity: .35; }

/* ════ v1.6, the palette deployed: new pages, admin chrome, a11y ════ */

/* keyboard-first: a visible focus ring everywhere */
:focus-visible { outline: 3px solid var(--seafoam); outline-offset: 2px; border-radius: 4px; }

/* page-hero accent variants, the logo palette as section identity */
.page-hero { border-top: 4px solid var(--teal); }
/* centered hero variant (matches centered content sections below) */
.page-hero.ph-center { text-align: center; }
.page-hero.ph-center .lede { margin-left: auto; margin-right: auto; }
.page-hero.ph-center .eyebrow { display: block; }
.page-hero.ph-seafoam { border-top-color: var(--seafoam); }
.page-hero.ph-coral { border-top-color: var(--coral); }
.page-hero.ph-sage { border-top-color: var(--sage); }
.page-hero.ph-mist { border-top-color: var(--mist); }
.ph-seafoam .eyebrow { color: var(--seafoam); }
.ph-coral .eyebrow { color: var(--coral); }
.ph-sage .eyebrow { color: #5E8763; }
.ph-mist .eyebrow { color: #4179A0; }

/* dotted explainer lists (pricing model, contact points) */
.model-list, .contact-points { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 26px; }
.model-list li, .contact-points li { display: flex; gap: 18px; align-items: flex-start; }
.model-dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 7px; flex: 0 0 auto; background: var(--teal); }
.md-teal { background: var(--teal); }
.md-seafoam { background: var(--seafoam); }
.md-coral { background: var(--coral); }
.md-sage { background: var(--sage); }
.md-mist { background: var(--mist); }
.model-list h3, .contact-points h3 { margin: 0 0 4px; font-size: 1.05rem; }
.model-list p, .contact-points p { margin: 0; color: var(--muted); }
.price-model, .profiles, .contact { padding: 72px 0; }
.profiles { background: var(--sand-2); }

/* deployment profile cards */
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.profile-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 24px; border-top: 5px solid var(--teal);
  box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0;
}
.profile-card.pc-sage { border-top-color: var(--sage); }
.profile-card.pc-teal { border-top-color: var(--teal); }
.profile-card.pc-coral { border-top-color: var(--coral); }
.profile-card.pc-seafoam { border-top-color: var(--seafoam); }
.profile-kicker { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.profile-card h3 { margin: 0 0 10px; font-size: 1.3rem; }
.profile-desc { color: var(--muted); margin: 0 0 18px; flex: 1; }
.profile-mods { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.profile-mods li {
  font-size: .78rem; font-weight: 800; padding: 5px 12px; border-radius: 999px;
  background: var(--sand); border: 1px solid var(--line);
}
.pc-sage .profile-mods li { background: rgba(185,212,188,.3); }
.pc-teal .profile-mods li { background: rgba(30,111,106,.08); }
.pc-coral .profile-mods li { background: rgba(232,155,122,.16); }
.profiles-foot { margin-top: 26px; color: var(--muted); font-size: .92rem; max-width: 52em; }

/* contact layout */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-copy h2 { margin-top: 0; }
.contact .access-form { margin: 0; }

/* light ghost button for the dark cta band */
.bg-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.bg-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* admin chrome, deliberately not the marketing site */
.admin-body { background: var(--sand); margin: 0; }
.admin-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--teal-deep); color: #fff; padding: 14px 22px; flex-wrap: wrap;
}
.admin-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; }
.admin-brand svg { width: 26px; height: 26px; }
.admin-brand em { font-style: normal; color: var(--seafoam); }
.admin-chip {
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: var(--coral); color: var(--ink); border-radius: 999px; padding: 3px 10px; margin-left: 6px;
}
.admin-count { font-size: .85rem; opacity: .85; }
.admin-main { padding: 26px 22px 60px; max-width: 1180px; margin: 0 auto; }
.admin-empty { color: var(--muted); font-size: 1.05rem; padding: 40px 0; text-align: center; }
.admin-note { margin-top: 22px; font-size: .82rem; color: var(--muted); max-width: 56em; }

/* responsiveness for the new layouts */
@media (max-width: 992px) {
  .profile-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 576px) {
  .model-list li, .contact-points li { gap: 12px; }
  .admin-bar { padding: 12px 14px; }
}

.admin-export { font-weight: 800; color: var(--seafoam); text-decoration: none; border: 1px solid rgba(111,191,176,.5); border-radius: 999px; padding: 5px 14px; font-size: .82rem; }
.admin-export:hover { background: rgba(111,191,176,.12); }

/* patient portal entry + legal notes (v1.9) */
.portal-paths{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:8px auto 48px;max-width:920px;}
.portal-path{background:var(--sand-2,#fcfaf5);border:1px solid var(--line,#e4dbc9);border-radius:16px;padding:32px;display:flex;flex-direction:column;}
.portal-path h2{margin:0 0 10px;font-size:1.5rem;line-height:1.2;}
.portal-path p{color:var(--muted,#5a7480);margin:0 0 24px;line-height:1.6;flex:1 1 auto;}
.portal-path .btn{margin-top:0;align-self:flex-start;}
.legal-body{margin-left:auto;margin-right:auto;}
.btn-outline{background:transparent;border:2px solid var(--teal,#1e6f6a);color:var(--teal,#1e6f6a);}
.legal-note{background:rgba(111,191,176,.12);border:1px solid rgba(111,191,176,.4);border-radius:10px;padding:14px 16px;font-size:.92rem;color:var(--ink-2,#2c4a52);}
.patient-band{background:var(--sand-2,#fcfaf5);border-top:1px solid var(--line,#e4dbc9);border-bottom:1px solid var(--line,#e4dbc9);padding:44px 0;}
.patient-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;}
.patient-inner h2{margin:0 0 6px;}
.patient-inner p{margin:0;color:var(--muted,#5a7480);max-width:60ch;}
@media(max-width:768px){.portal-paths{grid-template-columns:1fr;}.patient-inner{flex-direction:column;align-items:flex-start;}}

/* footer mobile collapse (v1.9 fix): a later 3-column .footer-grid rule
   overrode the earlier mobile single-column rule, causing horizontal
   overflow on phones. This wins the cascade by position. */
.footer-legal { flex-wrap: wrap; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand img { max-width: 100%; height: auto; }
  .brand-logo { height: 44px; }
  .footer-nav, .footer-legal { flex-wrap: wrap; }
}

/* cookie consent banner (v1.11) */
.cookie-banner[hidden]{display:none;}
.cookie-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:1000;max-width:720px;margin:0 auto;background:var(--ink,#16323b);color:#E6EEF0;border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:16px 20px;display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap;box-shadow:0 20px 50px -20px rgba(0,0,0,.6);}
.cookie-text{margin:0;font-size:.88rem;line-height:1.5;flex:1;min-width:240px;}
.cookie-text a{color:var(--seafoam,#6fbfb0);}
.cookie-actions{display:flex;gap:10px;flex:0 0 auto;}
.cookie-banner .btn{padding:8px 18px;font-size:.9rem;}
.cookie-banner .btn-outline{color:#E6EEF0;border-color:rgba(255,255,255,.4);}
@media(max-width:560px){.cookie-banner{flex-direction:column;align-items:stretch;}.cookie-actions{justify-content:flex-end;}}
