/* PatientLIENQ marketing site (patientlienq.com)
   Palette (official): orange #e67e00, charcoal #141414, gray #909090, white #ffffff.
   Type: Inter with optical sizing (Inter Display at display sizes). ALL CAPS = Bold + tracking. */

:root {
  --orange: #e67e00;
  --orange-deep: #c96d00;
  --orange-soft: rgba(230, 126, 0, 0.12);
  --ink: #141414;
  --ink-2: #1c1c1c;
  --ink-3: #262626;
  --ink-4: #333333;
  --gray: #909090;
  --gray-2: #b9b9b9;
  --gray-3: #dcdcdc;
  --line: #e6e6e6;
  --surface: #f5f5f5;
  --surface-2: #ececec;
  --muted: #5d5d5d;
  --white: #ffffff;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --r-lg: 24px;
  --r: 16px;
  --r-sm: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 70px; }
body {
  margin: 0;
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; }

.wrap { width: min(var(--wrap), calc(100% - 3rem)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--ink); color: #fff; padding: .6rem .9rem; border-radius: 8px; z-index: 100; }

/* ---------- Typography ---------- */
.caps, .eyebrow {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .05em;
}
.eyebrow { font-size: .78rem; color: var(--orange); margin-bottom: 1.1rem; display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--orange); border-radius: 2px; }
.display { font-weight: 700; letter-spacing: -.028em; line-height: 1.02; }
.display-xl { font-size: clamp(2.7rem, 6.2vw, 5.1rem); }
.display-lg { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.display-md { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.display-sm { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -.015em; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); line-height: 1.5; max-width: 62ch; }
.lede strong { color: var(--ink); font-weight: 600; }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 1rem; }
.measure { max-width: 64ch; }
.center { text-align: center; }
.center .lede, .center .measure { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }
.small { font-size: .92rem; }
.lines p + p { margin-top: .35rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; line-height: 1;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px -12px rgba(230,126,0,.9); }
.btn-primary:hover { background: var(--orange-deep); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--surface-2); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost { background: transparent; color: var(--ink); padding-left: .2rem; padding-right: .2rem; border-radius: 0; }
.btn-ghost::after { content: "→"; transition: transform .18s var(--ease); }
.btn-ghost:hover::after { transform: translateX(4px); }
.btn-ghost.on-dark { color: #fff; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; }
.link { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--orange); padding-bottom: 1px; }
.link:hover { border-bottom-color: var(--ink); }
.link.on-dark { color: #fff; }
.link.on-dark:hover { border-bottom-color: #fff; }

/* ---------- Header ---------- */
/* Todd 10-02: off-white surface, 54px, primary nav optically centered in the viewport (three equal grid
   tracks, not flex leftovers), quiet Login, orange Enroll; after scrolling a little translucency, backdrop
   blur, and a hairline. Never a shadow, never a floating pill. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #f7f7f5;
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .28s var(--ease), border-color .28s var(--ease);
}
.site-header.scrolled { background: rgba(247,247,245,.84); border-bottom-color: rgba(20,20,20,.07); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header.scrolled { background: rgba(247,247,245,.97); } }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 1.2rem; height: 54px; width: min(1400px, calc(100% - 2.5rem)); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); grid-column: 1; justify-self: start; }
.brand-icon { width: 30px; height: 30px; display: none; }
.brand-logo { height: 20px; width: auto; display: block; }
.site-footer .brand-logo { height: 22px; }
.site-footer .brand-icon { display: none !important; }
.wordmark { font-weight: 800; font-size: 1.05rem; letter-spacing: .015em; text-transform: uppercase; line-height: 1; }
.wordmark i { font-style: italic; font-weight: 800; }
.wordmark .plus { color: var(--orange); font-style: normal; }
.site-nav { grid-column: 2; justify-self: center; display: flex; align-items: center; gap: 1.75rem; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: .9rem; letter-spacing: -.004em; color: var(--ink); opacity: .74; white-space: nowrap; transition: opacity .15s var(--ease); }
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; }
.site-nav a[aria-current="page"] { font-weight: 600; }
.site-nav .nav-actions-m { display: none; }
.site-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 1.15rem; }
.site-actions .login { text-decoration: none; font-size: .88rem; font-weight: 500; color: var(--ink); opacity: .66; padding: .4rem .1rem; white-space: nowrap; transition: opacity .15s var(--ease); }
.site-actions .login:hover { opacity: 1; }
.site-actions .btn-primary { font-size: .84rem; padding: .5rem .95rem; }
.nav-toggle { display: none; grid-column: 3; justify-self: end; background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; stroke: currentColor; }

/* ---------- Q mark ---------- */
.qmark .ring { fill: none; stroke: currentColor; }
.qmark .tail { fill: none; stroke: var(--orange); stroke-linecap: round; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 5.5vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; background: linear-gradient(180deg, #f4f4f4 0%, #fafafa 55%, #ffffff 100%); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(760px 380px at 84% 10%, rgba(230,126,0,.12), transparent 62%),
    radial-gradient(600px 320px at 8% 90%, rgba(20,20,20,.06), transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { max-width: 13ch; font-size: clamp(2.4rem, 4.6vw, 4rem); }
.hero-cue { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.28)); }
.hero-cue .panel { fill: url(#cueGrad); }
.hero-cue .grid line { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.hero-cue .node { fill: #262626; stroke: rgba(255,255,255,.08); }
.hero-cue .nt { fill: #fff; font-family: var(--font); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.hero-cue .ns { fill: rgba(255,255,255,.55); font-family: var(--font); font-size: 11px; }
.hero-cue .link { stroke: var(--orange); stroke-width: 2; stroke-dasharray: 5 7; stroke-linecap: round; fill: none; opacity: .9; }
.hero-cue .dot { fill: var(--orange); }
.hero-cue .cap { fill: rgba(255,255,255,.62); font-family: var(--font); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 10.5px; }
.hero-cue .live { fill: var(--orange); }
@media (prefers-reduced-motion: no-preference) { .hero-cue .link { animation: dash 14s linear infinite; } .hero-cue .live { animation: pulse 2.4s ease-in-out infinite; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero .tagline { font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.3rem); margin-top: 1.6rem; letter-spacing: -.01em; }
.hero .tagline span { color: var(--orange); margin: 0 .35rem; }
.hero .lede { margin-top: 1rem; }
.hero .cta-row { margin-top: 2.2rem; }
.page-hero { padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { margin-top: 1.2rem; }
.page-hero .cta-row { margin-top: 2rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head .lede { margin-top: 1rem; }
.on-surface { background: var(--surface); }
.on-dark { background: var(--ink); color: #fff; }
.on-dark .muted, .on-dark .lede { color: rgba(255,255,255,.7); }
.on-dark .lede strong { color: #fff; }
.on-dark .eyebrow { color: var(--orange); }
.hairline { border-top: 1px solid var(--line); }

/* ---------- Ecosystem plate ---------- */
.eco-plate {
  position: relative;
  background: linear-gradient(135deg, #a6a6a6 0%, #8e8e8e 55%, #7c7c7c 100%);
  border-radius: 28px;
  padding: clamp(.9rem, 2.2vw, 1.8rem);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.4), inset 0 -1px 0 rgba(0,0,0,.15);
}
.eco-plate::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(55% 60% at 50% 52%, rgba(230,126,0,.14), transparent 70%), repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 48px), repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 48px);
  -webkit-mask: radial-gradient(80% 80% at 50% 50%, #000 40%, transparent 100%); mask: radial-gradient(80% 80% at 50% 50%, #000 40%, transparent 100%);
}
.eco-svg { width: 100%; height: auto; display: block; }
.eco-svg .card { fill: url(#cardGrad); stroke: rgba(255,255,255,.09); stroke-width: 1; filter: url(#cardShadow); }
.eco-svg .card-hi { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 1; }
.eco-svg .t { fill: #fff; font-family: var(--font); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: 15px; }
.eco-svg .b { fill: rgba(255,255,255,.78); font-family: var(--font); font-size: 13.5px; }
.eco-svg .g { fill: #fff; font-family: var(--font); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; }
.eco-svg .gs { fill: rgba(255,255,255,.88); font-family: var(--font); font-size: 13.5px; }
.eco-svg .m { fill: rgba(255,255,255,.8); font-family: var(--font); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 11.5px; }
.eco-svg .rail { stroke: rgba(20,20,20,.28); stroke-width: 6; stroke-linecap: round; fill: none; }
.eco-svg .line { stroke: var(--orange); stroke-width: 2.5; stroke-dasharray: 6 8; stroke-linecap: round; fill: none; }
.eco-svg .dot { fill: var(--orange); }
.eco-svg .dot-ring { fill: none; stroke: var(--orange); stroke-width: 1.5; opacity: .5; }
.eco-svg .hub { fill: #141414; filter: url(#hubShadow); }
.eco-svg .hub-ring { fill: none; stroke: var(--orange); stroke-width: 1.5; opacity: .6; }
.eco-svg .hub-ring2 { fill: none; stroke: var(--orange); stroke-width: 1; opacity: .2; }
@media (prefers-reduced-motion: no-preference) {
  .eco-svg .line { animation: dash 16s linear infinite; }
}
@keyframes dash { to { stroke-dashoffset: -160; } }
.eco-stack { display: none; }
@media (max-width: 720px) {
  .eco-svg { display: none; }
  .eco-stack { display: grid; gap: .7rem; }
  .eco-stack .group { color: #fff; padding: .4rem .2rem .2rem; }
  .eco-stack .group .g { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
  .eco-stack .group .gs { opacity: .85; font-size: .9rem; }
  .eco-stack .node { background: #1b1b1b; color: #fff; border-radius: 14px; padding: 1rem 1.1rem; }
  .eco-stack .node .t { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
  .eco-stack .node .b { opacity: .82; font-size: .92rem; margin-top: .25rem; }
  .eco-stack .hubrow { display: flex; justify-content: center; padding: .5rem 0; }
  .eco-stack .hubrow .hub-circle { width: 68px; height: 68px; border-radius: 20px; background: #141414; display: grid; place-items: center; box-shadow: 0 0 0 1.5px rgba(230,126,0,.6), 0 0 0 9px rgba(230,126,0,.12); }
  .eco-stack .hubrow svg { width: 34px; height: 34px; color: #fff; }
  .eco-stack .connector { width: 3px; height: 22px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--orange) 0 6px, transparent 6px 12px); border-radius: 2px; }
}

/* ---------- Grids and cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.grid-2.top { align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 2.4vw, 2rem); }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--muted); }
.card-dark { background: var(--ink-2); color: #fff; border-color: rgba(255,255,255,.06); }
.card-dark p { color: rgba(255,255,255,.72); }
.rule-top { border-top: 2px solid var(--orange); padding-top: 1.2rem; }
.rule-top h3 { margin-bottom: .5rem; }
.rule-top p { color: var(--muted); }
.because { display: grid; gap: .3rem; margin-top: 1.6rem; font-weight: 600; font-size: clamp(1.1rem, 1.6vw, 1.35rem); letter-spacing: -.01em; }
.because span { display: inline-flex; align-items: baseline; gap: .7rem; }
.because span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); transform: translateY(-2px); }

/* Method */
.method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.method .step { border-top: 1px solid var(--gray-3); padding-top: 1.4rem; position: relative; }
.method .step::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 2px; background: var(--orange); }
.method .step h3 { font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: .9rem; margin-bottom: .6rem; }
.method .step p { font-size: clamp(1.15rem, 1.7vw, 1.45rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.method-line { margin-top: 2.4rem; font-size: 1.1rem; color: var(--muted); }

/* Proof band screens */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.5rem; }
.screen { border-radius: 18px; background: linear-gradient(180deg, #202020, #171717); border: 1px solid rgba(255,255,255,.07); aspect-ratio: 16 / 10.5; padding: 1.1rem; position: relative; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(0,0,0,.9); }
.screen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 30% 0%, rgba(255,255,255,.06), transparent 60%); pointer-events: none; }
.screen .ui { display: grid; gap: .5rem; }
.screen .ui-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .3rem; }
.screen .ui-title { width: 38%; height: 9px; background: rgba(255,255,255,.75); border-radius: 4px; }
.screen .ui-pill { width: 52px; height: 16px; border-radius: 999px; background: var(--orange); }
.screen .ui-row { display: flex; gap: .5rem; align-items: center; }
.screen .ui-row i { height: 8px; border-radius: 4px; background: rgba(255,255,255,.22); flex: 1; }
.screen .ui-row i.w { flex: 2; }
.screen .ui-row i.o { background: rgba(230,126,0,.75); flex: 0 0 40px; }
.screen .ui-row i.s { flex: 0 0 24px; }
.screen .ui-bars { display: flex; align-items: flex-end; gap: 5px; height: 42px; margin-top: .3rem; }
.screen .ui-bars b { flex: 1; background: rgba(255,255,255,.55); border-radius: 3px 3px 0 0; }
.screen .ui-bars b.o { background: var(--orange); }
.screen .ui-stat { display: flex; gap: .7rem; }
.screen .ui-stat span { flex: 1; background: rgba(255,255,255,.07); border-radius: 8px; padding: .55rem .6rem; }
.screen .ui-stat span i { display: block; height: 6px; width: 60%; background: rgba(255,255,255,.35); border-radius: 3px; margin-bottom: .45rem; }
.screen .ui-stat span b { display: block; height: 14px; width: 40%; background: #fff; border-radius: 3px; }
.screen-label { margin-top: .9rem; font-weight: 600; }
.screen-note { color: rgba(255,255,255,.5); font-size: .85rem; margin-top: .2rem; }

/* Pathways */
.pathways { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 1.4rem; }
.pathway { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 2.4vw, 2rem); display: flex; flex-direction: column; gap: 1rem; }
.pathway .who { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--orange); }
.pathway h3 { letter-spacing: -.015em; }
.pathway p { color: var(--muted); }
.pathway .cta-row { margin-top: auto; padding-top: .5rem; }
.sub-products { display: grid; gap: .9rem; margin-top: .4rem; }
.sub-product { border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; background: var(--surface); }
.sub-product.plus { background: var(--ink-2); color: #fff; border-color: transparent; }
.sub-product .name { font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: .95rem; }
.sub-product .name i { font-style: italic; }
.sub-product .name .plus { color: var(--orange); font-style: normal; }
.sub-product h4 { font-size: 1.15rem; letter-spacing: -.015em; margin: .35rem 0 .3rem; }
.sub-product p { font-size: .95rem; color: var(--muted); }
.sub-product.plus p { color: rgba(255,255,255,.75); }
.sub-product .link { margin-top: .6rem; display: inline-block; }

/* Spotlight */
.spotlight { border-radius: 30px; background: var(--ink); color: #fff; padding: clamp(2rem, 5vw, 4.5rem); position: relative; overflow: hidden; }
.spotlight::before { content: ""; position: absolute; right: -10%; top: -30%; width: 55%; height: 140%; background: radial-gradient(closest-side, rgba(230,126,0,.22), transparent); pointer-events: none; }
.spotlight .lede { color: rgba(255,255,255,.72); }
.spotlight .lede strong { color: #fff; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.feature-list li { display: flex; gap: .8rem; align-items: baseline; font-weight: 500; font-size: 1.05rem; }
.feature-list li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); flex: 0 0 9px; transform: translateY(-1px); }
.feature-list.stacked li { padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }

/* Trust */
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 2rem; }
.trust-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); font-weight: 500; display: flex; gap: .8rem; align-items: center; }
.trust-list li::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--orange); flex: 0 0 10px; transform: rotate(45deg) scale(.8); }

/* Final CTA */
.final { padding: clamp(5rem, 10vw, 8rem) 0; text-align: center; }
.final h2 { max-width: 16ch; margin: 0 auto; }
.final .lede { margin: 1.4rem auto 0; }
.final .cta-row { justify-content: center; margin-top: 2.2rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 2.5rem; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-left: auto; }
.footer-nav a { text-decoration: none; color: var(--muted); }
.footer-nav a:hover { color: var(--ink); }
.footer-legal { width: 100%; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); margin-top: .5rem; font-size: .82rem; }

/* ---------- Pricing calculator ---------- */
.calc { display: grid; grid-template-columns: 1.15fr .95fr; border-radius: 28px; overflow: hidden; background: var(--ink); color: #fff; box-shadow: 0 50px 100px -50px rgba(0,0,0,.6); }
.calc-config { padding: clamp(1.5rem, 3vw, 2.6rem); display: grid; gap: 1.8rem; align-content: start; }
.calc-estimate { padding: clamp(1.5rem, 3vw, 2.6rem); background: #1f1f1f; border-left: 1px solid rgba(255,255,255,.06); display: grid; gap: 1.2rem; align-content: start; }
.calc h2 { font-size: 1.5rem; letter-spacing: -.02em; }
.calc .hint { color: rgba(255,255,255,.62); font-size: .95rem; margin-top: .3rem; }
.calc .field { display: grid; gap: .65rem; }
.calc .field-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.calc .field-label { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.calc .field-sub { color: rgba(255,255,255,.62); font-size: .9rem; }
.seg { display: flex; gap: .45rem; flex-wrap: wrap; }
.seg button { background: #262626; color: #fff; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; min-width: 56px; height: 48px; padding: 0 .9rem; font-weight: 600; cursor: pointer; transition: background .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease); }
.seg button:hover { border-color: rgba(255,255,255,.3); }
.seg button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: #1a1a1a; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: .9rem 1rem; }
.switch-row .switch-text { display: grid; gap: .15rem; }
.switch-row .switch-title { font-weight: 600; }
.switch-row .switch-sub { color: rgba(255,255,255,.6); font-size: .88rem; }
.switch { display: inline-flex; align-items: center; gap: .6rem; }
.switch .state { font-size: .85rem; color: rgba(255,255,255,.7); min-width: 7.5em; text-align: right; }
.switch button { width: 52px; height: 30px; border-radius: 999px; background: #3a3a3a; border: 0; position: relative; cursor: pointer; transition: background .18s var(--ease); flex: 0 0 52px; }
.switch button::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .18s var(--ease); }
.switch button[aria-checked="true"] { background: var(--orange); }
.switch button[aria-checked="true"]::after { transform: translateX(22px); }
.disclaimer { color: rgba(255,255,255,.55); font-size: .85rem; }
.ent-note { display: none; background: rgba(230,126,0,.12); border: 1px solid rgba(230,126,0,.45); color: #fff; border-radius: 12px; padding: .8rem .95rem; font-size: .92rem; }
.ent-note.show { display: block; }
.billing { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.billing .seg button { height: 42px; display: inline-flex; align-items: center; gap: .5rem; }
.billing .seg button .pill { font-size: .66rem; padding: .22rem .45rem; background: rgba(255,255,255,.18); }
.billing .seg button[aria-pressed="true"] .pill { background: #fff; color: var(--orange); }
.pill { display: inline-block; background: var(--orange); color: #fff; font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding: .32rem .55rem; border-radius: 999px; }
.est-lines { display: grid; gap: .55rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; }
.est-line { display: flex; justify-content: space-between; gap: 1rem; font-size: .98rem; }
.est-line .lbl { color: rgba(255,255,255,.72); }
.est-line .val { font-variant-numeric: tabular-nums; font-weight: 600; }
.est-line .val.waived { color: var(--orange); }
.total-box { background: #fff; color: var(--ink); border-radius: 16px; padding: 1.2rem 1.3rem; display: grid; gap: .2rem; }
.total-box .tl { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); }
.total-box .tv { font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.total-box .tv small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: .2rem; }
.total-box .ts { color: var(--muted); font-size: .9rem; margin-top: .3rem; }
.calc .btn-primary { width: 100%; }
.calc-state-note { color: rgba(255,255,255,.62); font-size: .9rem; }
.calc-preview-note { display: none; color: var(--orange); font-size: .9rem; }
.calc-preview-note.show { display: block; }
.calc[data-mode="enterprise"] .self-only { display: none; }
.calc[data-mode="self"] .ent-only { display: none; }
.ent-panel { display: grid; gap: .9rem; }
.ent-panel .ent-title { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.ent-panel p { color: rgba(255,255,255,.72); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--gray-3); padding-top: 1rem; position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 700; color: var(--orange); font-size: .85rem; letter-spacing: .06em; margin-bottom: .5rem; }
.steps li p { font-weight: 500; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.15rem 0; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-weight: 400; font-size: 1.4rem; line-height: 1; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.2rem; color: var(--muted); max-width: 70ch; }

/* Statement (security) */
.statement { padding: clamp(4rem, 9vw, 8rem) 0; }
.statement h2 { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -.035em; line-height: .98; max-width: 12ch; }
.statement .split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.statement .lines p { font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 600; letter-spacing: -.012em; line-height: 1.3; }
.statement .lines p:last-child { color: var(--orange); }
.statement .body { color: var(--muted); font-size: 1.1rem; margin-top: 1.4rem; max-width: 52ch; }
.separation { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.2rem; margin-top: 2.5rem; }
.separation .tenant { background: var(--ink); color: #fff; border-radius: 18px; padding: 1.2rem 1.3rem; }
.separation .tenant .n { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: rgba(255,255,255,.65); }
.separation .tenant .rows { display: grid; gap: .45rem; margin-top: .7rem; }
.separation .tenant .rows i { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.2); }
.separation .tenant .rows i:nth-child(2) { width: 70%; }
.separation .tenant .rows i:nth-child(3) { width: 55%; background: rgba(230,126,0,.7); }
.separation .wall { width: 4px; height: 100%; min-height: 120px; border-radius: 4px; background: repeating-linear-gradient(180deg, var(--orange) 0 10px, transparent 10px 18px); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pillar { border-top: 2px solid var(--ink); padding-top: 1.2rem; }
.pillar h3 { font-size: 1.1rem; letter-spacing: -.01em; margin-bottom: .5rem; }
.pillar p { color: var(--muted); font-size: .98rem; }
.note-box { background: var(--surface); border-radius: var(--r-lg); padding: clamp(1.4rem, 2.4vw, 2rem); }
.note-box h3 { margin-bottom: .6rem; }
.note-box p { color: var(--muted); }

/* Roles (platform page) */
.roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.role { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; display: grid; gap: .5rem; }
.role .who { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: var(--orange); }
.role p { font-size: 1.1rem; font-weight: 500; letter-spacing: -.01em; }
.role-close { margin-top: 1.8rem; display: grid; gap: .2rem; font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -.015em; }

/* Login chooser (support) */
.portals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.portal { border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.3rem; text-decoration: none; color: var(--ink); display: grid; gap: .25rem; transition: border-color .15s var(--ease), transform .15s var(--ease); }
.portal:hover { border-color: var(--ink); transform: translateY(-2px); }
.portal .name { font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.portal .name i { font-style: italic; }
.portal .name .plus { color: var(--orange); font-style: normal; }
.portal span.small { color: var(--muted); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .method, .screens, .pathways, .pillars { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .calc-estimate { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .statement .split { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) and (min-width: 901px) {
  .site-nav { gap: 1.1rem; }
  .site-nav a { font-size: .86rem; }
  .site-actions { gap: .9rem; }
  .site-actions .btn-primary { font-size: .8rem; padding: .48rem .8rem; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-actions { display: none; }
  /* The panel hangs off .site-header (sticky, positioned, full width), so left/right 0 is the viewport width.
     justify-self must be stretch here: on an absolutely positioned box, the desktop value center shrinks it to
     its content and centers it between the insets. */
  .site-nav { display: none; position: absolute; justify-self: stretch; left: 0; right: 0; top: 54px; background: #f7f7f5; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 1rem 1.5rem 1.4rem; gap: .2rem; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .7rem 0; font-size: 1.05rem; }
  .site-nav .nav-actions-m { display: flex; flex-direction: column; align-items: stretch; gap: .2rem; margin-top: .4rem; }
  .site-nav .nav-actions-m .login { text-decoration: none; color: var(--ink); opacity: .8; }
  .site-nav .nav-actions-m .btn { margin-top: .6rem; justify-content: center; padding: .7rem 1rem; opacity: 1; }
}
@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { max-width: 15ch; }
  .hero-cue { max-width: 520px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-3, .method, .screens, .pathways, .pillars, .roles, .portals, .trust-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .separation { grid-template-columns: 1fr; }
  .separation .wall { width: 100%; height: 4px; min-height: 0; background: repeating-linear-gradient(90deg, var(--orange) 0 10px, transparent 10px 18px); }
  .btn-lg { width: 100%; }
}

/* ---------- Separation graphic (controlled visibility) ---------- */
.sep-plate { position: relative; background: linear-gradient(135deg, #a6a6a6 0%, #8e8e8e 55%, #7c7c7c 100%); border-radius: 24px; padding: clamp(.8rem, 2vw, 1.4rem); box-shadow: 0 34px 80px -40px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.4); }
.sep-svg { display: block; width: 100%; height: auto; }
.sep-svg .org { fill: url(#cardGrad2); stroke: rgba(255,255,255,.09); filter: url(#sepShadow); }
.sep-svg .ot { fill: #fff; font-family: var(--font); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; }
.sep-svg .os { fill: rgba(255,255,255,.55); font-family: var(--font); font-size: 11.5px; }
.sep-svg .row { fill: rgba(255,255,255,.16); }
.sep-svg .row.hot { fill: rgba(230,126,0,.75); }
.sep-svg .lbl { fill: rgba(255,255,255,.85); font-family: var(--font); font-size: 12px; }
.sep-svg .wall { stroke: var(--orange); stroke-width: 3; stroke-dasharray: 8 8; stroke-linecap: round; fill: none; }
.sep-svg .coord { stroke: rgba(255,255,255,.55); stroke-width: 2; stroke-linecap: round; fill: none; }
.sep-svg .coord-lbl { fill: rgba(255,255,255,.85); font-family: var(--font); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 10.5px; }
.sep-svg .hub { fill: #141414; filter: url(#sepShadow); }
.sep-svg .hub-ring { fill: none; stroke: var(--orange); stroke-width: 1.5; opacity: .6; }
.sep-svg .nope { fill: rgba(255,255,255,.35); font-family: var(--font); font-size: 11px; font-style: italic; }
.statement .sep-plate { margin-top: clamp(2rem, 4vw, 3.5rem); }
.statement .sep-plate .sep-svg { max-width: 1040px; margin: 0 auto; }

/* ---------- Product proof (Inside the PatientLIENQ Ecosystem) ---------- */
.proof-list { display: grid; gap: 0; }
.proof { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(1.6rem, 4vw, 4rem); align-items: center; padding: clamp(2rem, 4vw, 3.2rem) 0; border-top: 1px solid var(--line); }
.proof:last-child { border-bottom: 1px solid var(--line); }
.proof.flip .proof-copy { order: 2; }
.proof.narrow { grid-template-columns: 1fr 1fr; }
.proof.narrow .proof-shot { max-width: 520px; justify-self: center; }
.proof-tag { display: inline-flex; align-items: center; gap: .5rem; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.proof-tag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); transform: rotate(45deg) scale(.85); }
.proof-copy h3 { margin-bottom: .7rem; }
.proof-copy p { color: var(--muted); font-size: 1.08rem; max-width: 46ch; }
.proof-shot { margin: 0; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #3a3a3a, #1c1c1c); box-shadow: 0 46px 90px -44px rgba(0,0,0,.55), 0 0 0 1px rgba(20,20,20,.06); position: relative; }
.proof-shot img { display: block; width: 100%; height: auto; }
.proof-shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.on-dark .proof-shot { box-shadow: 0 46px 90px -44px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); }
.on-dark .proof-copy p, .on-dark .proof-tag { color: rgba(255,255,255,.72); }
.proof-caption { margin-top: 1.2rem; }
.proof-caption h3 { font-size: 1.15rem; letter-spacing: -.012em; margin-bottom: .35rem; }
.proof-caption p { color: var(--muted); font-size: .98rem; }
.on-dark .proof-caption p { color: rgba(255,255,255,.72); }
.cue-shot { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); transform: rotate(-1.2deg); }
.cue-shot img { display: block; width: 100%; height: auto; }
.trust-statement { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; border-left: 3px solid var(--orange); padding-left: 1.2rem; }
@media (max-width: 860px) {
  .proof, .proof.narrow { grid-template-columns: 1fr; }
  .proof.flip .proof-copy { order: 0; }
  .proof.narrow .proof-shot { max-width: 100%; }
  .cue-shot { transform: none; }
}

/* ---------- Homepage V3 (Todd, 2026-09-28): ecosystem as the centerpiece ---------- */
.hero-v3 { text-align: center; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(1.5rem, 3vw, 2.5rem); background: #fff; position: relative; }
.hero-v3::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(760px 340px at 50% 0%, rgba(230,126,0,.07), transparent 65%); }
.hero-v3 .wrap { position: relative; }
.hero-v3 h1 { font-size: clamp(2.2rem, 4.5vw, 3.9rem); max-width: 24ch; margin: 0 auto; letter-spacing: -.03em; line-height: 1.04; }
.hero-v3 h1 span { white-space: nowrap; }
.hero-v3 .sub { font-size: clamp(1.15rem, 1.9vw, 1.55rem); color: var(--muted); margin: 1.3rem auto 0; max-width: 36ch; font-weight: 500; letter-spacing: -.012em; }
.hero-v3 .cta-row { justify-content: center; margin-top: 2rem; }
.eco-v3-head { text-align: center; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.eco-v3-head h2 { max-width: 18ch; margin: 0 auto; }
.eco-v3-head p { margin: 1rem auto 0; max-width: 60ch; color: var(--muted); font-size: 1.1rem; }
.eco-v3-foot { text-align: center; margin: 1.6rem auto 0; max-width: 60ch; color: var(--muted); font-size: 1.05rem; }
.sig { width: 100%; height: auto; display: block; }
.sig .orbit { fill: none; stroke: rgba(20,20,20,.26); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.sig .spoke-rail { stroke: rgba(20,20,20,.28); stroke-width: 6; stroke-linecap: round; fill: none; }
.sig .spoke { stroke: var(--orange); stroke-width: 2.5; stroke-dasharray: 6 9; stroke-linecap: round; fill: none; }
.sig .node { fill: url(#sigCard); stroke: rgba(255,255,255,.09); filter: url(#sigShadow); }
.sig .nt { fill: #fff; font-family: var(--font); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; }
.sig .ns { fill: rgba(255,255,255,.72); font-family: var(--font); font-size: 13px; }
.sig .own { fill: var(--orange); }
.sig .own-ring { fill: none; stroke: var(--orange); stroke-width: 1.5; opacity: .5; }
.sig .hub { fill: #141414; filter: url(#sigHub); }
.sig .hub-ring { fill: none; stroke: var(--orange); stroke-width: 1.5; opacity: .6; }
.sig .hub-ring2 { fill: none; stroke: var(--orange); stroke-width: 1; opacity: .2; }
@media (prefers-reduced-motion: no-preference) { .sig .spoke { animation: dash 14s linear infinite; } }
@media (max-width: 720px) { .sig { display: none; } }
.method-v3 .step p { font-size: 1.15rem; }
.method-close { margin-top: 2.2rem; font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600; letter-spacing: -.012em; }
.serve-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--orange); margin: 0 0 .9rem; }
.serve-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.serve { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 2.4vw, 2rem); display: flex; flex-direction: column; gap: .7rem; }
.serve .name { font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: .95rem; }
.serve .name i { font-style: italic; }
.serve .name .plus { color: var(--orange); font-style: normal; }
.serve h3 { letter-spacing: -.015em; }
.serve p { color: var(--muted); flex: 1; }
.serve .btn-ghost { align-self: flex-start; }
.spot-v3 { border-radius: 30px; background: var(--ink); color: #fff; padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; position: relative; overflow: hidden; }
.spot-v3::before { content: ""; position: absolute; right: -12%; top: -30%; width: 60%; height: 150%; background: radial-gradient(closest-side, rgba(230,126,0,.2), transparent); pointer-events: none; }
.spot-v3 > * { position: relative; }
.spot-v3 .lede { color: rgba(255,255,255,.72); }
.spot-v3 .proof-shot { box-shadow: 0 46px 90px -44px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); }
.trust-v3 { text-align: center; }
.trust-v3 .lede { margin: 1rem auto 0; max-width: 52ch; }
.trust-v3 .trust-statement { margin: 1.8rem auto 0; max-width: 46ch; text-align: left; }
@media (max-width: 860px) { .serve-row { grid-template-columns: 1fr; } .spot-v3 { grid-template-columns: 1fr; } }

/* ---------- V4 refinement (Todd brief, 2026-09-28) ---------- */
/* focus states: visible, brand appropriate */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 2px; }
/* hero: no awkward wrapping; nowrap only where the line fits */
.hero-v3 h1 span { white-space: normal; }
@media (min-width: 640px) { .hero-v3 h1 span { white-space: nowrap; } }
/* signature ecosystem: sequential node activation + a breathing hub (meaning: information moving, a node becoming active) */
@media (prefers-reduced-motion: no-preference) {
  .sig .own, .sig-m .own { transform-box: fill-box; transform-origin: center; animation: nodeActive 7.5s ease-in-out infinite; }
  .sig .own-ring, .sig-m .own-ring { transform-box: fill-box; transform-origin: center; animation: ringActive 7.5s ease-in-out infinite; }
  .sig .own-1, .sig .own-ring-1, .sig-m .own-1, .sig-m .own-ring-1 { animation-delay: 0s; }
  .sig .own-2, .sig .own-ring-2, .sig-m .own-2, .sig-m .own-ring-2 { animation-delay: 2.5s; }
  .sig .own-3, .sig .own-ring-3, .sig-m .own-3, .sig-m .own-ring-3 { animation-delay: 5s; }
  .sig .hub-ring, .sig-m .hub-ring { animation: hubBreathe 7.5s ease-in-out infinite; }
  .sig-m .spoke { animation: dash 14s linear infinite; }
}
@keyframes nodeActive { 0%, 18%, 100% { transform: scale(1); } 8% { transform: scale(1.45); } }
@keyframes ringActive { 0%, 18%, 100% { opacity: .5; transform: scale(1); } 8% { opacity: 1; transform: scale(1.35); } }
@keyframes hubBreathe { 0%, 100% { opacity: .6; } 50% { opacity: .95; } }
/* mobile ecosystem: an intentional small-screen composition, not a compressed desktop */
.sig-m { display: none; width: 100%; height: auto; }
.sig-m .spoke-rail { stroke: rgba(20,20,20,.28); stroke-width: 5; stroke-linecap: round; fill: none; }
.sig-m .spoke { stroke: var(--orange); stroke-width: 2.25; stroke-dasharray: 5 8; stroke-linecap: round; fill: none; }
.sig-m .node { fill: url(#sigCardM); stroke: rgba(255,255,255,.09); filter: url(#sigShadowM); }
.sig-m .nt { fill: #fff; font-family: var(--font); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }
.sig-m .ns { fill: rgba(255,255,255,.72); font-family: var(--font); font-size: 12px; }
.sig-m .own { fill: var(--orange); }
.sig-m .own-ring { fill: none; stroke: var(--orange); stroke-width: 1.5; opacity: .5; }
.sig-m .hub { fill: #141414; filter: url(#sigHubM); }
.sig-m .hub-ring { fill: none; stroke: var(--orange); stroke-width: 1.5; opacity: .6; }
.sig-m .hub-ring2 { fill: none; stroke: var(--orange); stroke-width: 1; opacity: .2; }
@media (max-width: 720px) { .sig-m { display: block; } .eco-stack { display: none !important; } }
/* platform page: two operating models */
.models { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.model { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 2.4vw, 2rem); display: flex; flex-direction: column; gap: .6rem; background: #fff; }
.model .name { font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: .95rem; }
.model .name i { font-style: italic; }
.model .name .plus { color: var(--orange); font-style: normal; }
.model h3 { letter-spacing: -.015em; }
.model p { color: var(--muted); flex: 1; }
.model .btn-ghost { align-self: flex-start; }
.vision-line { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; border-left: 3px solid var(--orange); padding-left: 1.2rem; }
/* method page */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.principle { border-top: 2px solid var(--ink); padding-top: 1.2rem; }
.principle .k { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: var(--orange); }
.principle h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -.02em; margin: .5rem 0 .4rem; }
.principle p { color: var(--muted); }
.method-flow { display: block; width: 100%; height: auto; }
.method-flow .rail { stroke: rgba(20,20,20,.28); stroke-width: 6; stroke-linecap: round; fill: none; }
.method-flow .flow { stroke: var(--orange); stroke-width: 2.5; stroke-dasharray: 6 9; stroke-linecap: round; fill: none; }
.method-flow .box { fill: url(#mfCard); stroke: rgba(255,255,255,.09); filter: url(#mfShadow); }
.method-flow .t { fill: #fff; font-family: var(--font); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; }
.method-flow .b { fill: rgba(255,255,255,.75); font-family: var(--font); font-size: 13px; }
.method-flow .r { fill: rgba(255,255,255,.85); font-family: var(--font); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
@media (prefers-reduced-motion: no-preference) { .method-flow .flow { animation: dash 14s linear infinite; } }
@media (max-width: 860px) { .models, .principles { grid-template-columns: 1fr; } .method-flow { display: none; } }
/* hero on phones: three statements, one per line, sized so none of them wraps */
@media (max-width: 639px) {
  .hero-v3 h1 { font-size: min(2.2rem, 6.5vw); }
  .hero-v3 h1 span { display: block; white-space: nowrap; }
}
/* small phones (320 to 360): card buttons may wrap; the ProviderLIENQ+ wordmark H1 scales with the viewport */
.serve .btn-ghost, .model .btn-ghost, .path .btn-ghost { white-space: normal; text-align: left; }
.serve, .model, .path { min-width: 0; }
.page-hero h1 .wordmark { font-size: inherit; }
@media (max-width: 480px) { .page-hero h1 { font-size: min(2.7rem, 9.5vw); } }

/* ======================= V5 (Todd brief, 2026-10-02): visual conviction ======================= */
/* Hero: the PatientLIENQ wave environment, text crisp, fades into the body */
.hero-wave { position: relative; isolation: isolate; min-height: clamp(560px, 82vh, 780px); display: grid; align-items: center; color: #fff; background: #141414; overflow: hidden; text-align: center; padding: clamp(5rem, 10vh, 7rem) 0 clamp(7rem, 16vh, 11rem); }
.hero-wave .hero-bg, .hero-wave .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-wave .hero-bg img { object-fit: cover; object-position: 42% 58%; display: block; }
.hero-wave .hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20,20,20,.58) 0%, rgba(20,20,20,.30) 42%, rgba(20,20,20,.46) 72%, rgba(20,20,20,.72) 100%); }
.hero-wave .hero-fade { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(90px, 16vh, 160px); pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #ffffff 100%); }
.hero-wave::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 88px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(247,247,245,.16) 0%, rgba(247,247,245,0) 100%); }
.hero-wave .wrap { position: relative; z-index: 1; }
.hero-wave h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); max-width: 24ch; margin: 0 auto; letter-spacing: -.03em; line-height: 1.04; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-wave h1 span { white-space: normal; }
@media (min-width: 640px) { .hero-wave h1 span { white-space: nowrap; } }
@media (max-width: 639px) { .hero-wave h1 { font-size: min(2.2rem, 6.5vw); } .hero-wave h1 span { display: block; white-space: nowrap; } }
.hero-wave .sub { font-size: clamp(1.1rem, 1.8vw, 1.5rem); color: rgba(255,255,255,.86); margin: 1.3rem auto 0; max-width: 48ch; font-weight: 500; letter-spacing: -.012em; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.hero-wave .cta-row { justify-content: center; margin-top: 2rem; }
.hero-wave .btn-primary { box-shadow: 0 10px 30px -10px rgba(230,126,0,.9); }
@media (prefers-reduced-motion: no-preference) { .hero-wave .hero-bg img { animation: waveDrift 36s ease-in-out infinite alternate; transform-origin: 45% 60%; } }
@keyframes waveDrift { from { transform: scale(1); } to { transform: scale(1.035); } }
@media (max-width: 720px) { .hero-wave { min-height: clamp(520px, 78vh, 700px); } .hero-wave .hero-bg img { object-position: 50% 55%; } }

/* Ecosystem V5: flowing paths, travelling information, nodes that wake */
.eco-plate.v5 { background: linear-gradient(160deg, #a9a9a9 0%, #8f8f8f 50%, #7a7a7a 100%); padding: clamp(.8rem, 2vw, 1.4rem); }
.eco-plate.v5::after { background: radial-gradient(55% 60% at 50% 50%, rgba(230,126,0,.12), transparent 70%); mask: none; -webkit-mask: none; }
.sig5 { width: 100%; height: auto; display: block; }
.sig5 .echo { fill: none; stroke: rgba(255,255,255,.10); stroke-width: 1.5; }
.sig5 .echo.d { stroke: rgba(20,20,20,.12); }
.sig5 .rail { fill: none; stroke: rgba(20,20,20,.30); stroke-width: 7; stroke-linecap: round; }
.sig5 .flow { fill: none; stroke: var(--orange); stroke-width: 2.25; stroke-linecap: round; stroke-opacity: .5; stroke-dasharray: 5 9; }
.sig5 .node { fill: url(#s5card); stroke: rgba(255,255,255,.09); filter: url(#s5shadow); transition: stroke .2s var(--ease); }
.sig5 .eco-node:hover .node, .sig5 .eco-node:focus-visible .node { stroke: rgba(230,126,0,.75); }
.sig5 .eco-node { outline: none; cursor: default; }
.sig5 .nt { fill: #fff; font-family: var(--font); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; }
.sig5 .ns { fill: rgba(255,255,255,.72); font-family: var(--font); font-size: 13px; }
.sig5 .hint { fill: rgba(20,20,20,.78); font-family: var(--font); font-size: 12.5px; font-weight: 500; opacity: 0; transition: opacity .25s var(--ease); }
.sig5 .eco-node:hover .hint, .sig5 .eco-node:focus-visible .hint { opacity: 1; }
.sig5 .own { fill: var(--orange); transform-box: fill-box; transform-origin: center; }
.sig5 .own-ring { fill: none; stroke: var(--orange); stroke-width: 1.5; opacity: .45; transform-box: fill-box; transform-origin: center; }
.sig5 .hub { fill: #141414; filter: url(#s5hub); }
.sig5 .hub-ring { fill: none; stroke: var(--orange); stroke-width: 1.5; opacity: .55; }
.sig5 .hub-ring2 { fill: none; stroke: var(--orange); stroke-width: 1; opacity: .18; }
.sig5 .pulse { display: none; fill: var(--orange); filter: url(#s5glow); offset-rotate: 0deg; }
.sig5 .pulse-halo { display: none; fill: none; stroke: var(--orange); stroke-width: 1.5; opacity: .5; offset-rotate: 0deg; }
@media (prefers-reduced-motion: no-preference) {
  @supports (offset-path: path("M0 0 L1 1")) {
    .sig5 .pulse, .sig5 .pulse-halo { display: block; opacity: 0; animation: travel 12s linear infinite; }
    .sig5 .p-b { animation-delay: 4s; } .sig5 .p-c { animation-delay: 8s; }
    .sig5 .flow { animation: dash 14s linear infinite, lit 12s ease-in-out infinite; }
    .sig5 .f1 { animation-delay: 0s, 0s; } .sig5 .f2 { animation-delay: 0s, 4s; } .sig5 .f3 { animation-delay: 0s, 8s; }
    .sig5 .own, .sig5 .own-ring { animation: wake 12s ease-in-out infinite; }
    .sig5 .own-ring { animation-name: wakeRing; }
    .sig5 .w1 { animation-delay: 0s; } .sig5 .w2 { animation-delay: 4s; } .sig5 .w3 { animation-delay: 8s; }
    .sig5 .hub-ring { animation: hubPass 4s ease-in-out infinite; }
  }
}
@keyframes travel { 0% { offset-distance: 0%; opacity: 0; } 2% { opacity: 1; } 31% { opacity: 1; } 33.33% { offset-distance: 100%; opacity: 0; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes lit { 0%, 33% { stroke-opacity: .95; } 40%, 100% { stroke-opacity: .5; } }
@keyframes wake { 0%, 100% { transform: scale(1); } 3% { transform: scale(1.6); } 12% { transform: scale(1); } }
@keyframes wakeRing { 0%, 100% { opacity: .45; transform: scale(1); } 3% { opacity: 1; transform: scale(1.5); } 12% { opacity: .45; transform: scale(1); } }
@keyframes hubPass { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.sig5.m { display: none; }
@media (max-width: 720px) { .sig5.d { display: none; } .sig5.m { display: block; } }
.eco-v3-head p { max-width: 56ch; }

/* Method V5: one connected sequence, not three cards */
.method-seq { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-top: 2.2rem; }
.method-seq::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gray-3); border-radius: 2px; }
.method-seq::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 100%; background: var(--orange); border-radius: 2px; transform-origin: left; transform: scaleX(1); }
.mstep { position: relative; }
.mstep::before { content: ""; position: absolute; top: calc(-2.2rem - 6px); left: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); box-sizing: border-box; }
.mstep .mnum { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: .6rem; }
.mstep h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -.025em; line-height: 1.05; margin-bottom: .55rem; }
.mstep p { font-size: 1.1rem; color: var(--muted); max-width: 30ch; }
@media (prefers-reduced-motion: no-preference) {
  .method-seq::after { animation: fillRail 9s ease-in-out infinite; }
  .mstep::before { animation: markerOn 9s ease-in-out infinite; }
  .mstep:nth-child(2)::before { animation-delay: 3s; } .mstep:nth-child(3)::before { animation-delay: 6s; }
}
@keyframes fillRail { 0% { transform: scaleX(0); } 70%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes markerOn { 0%, 2% { background: #fff; } 6%, 86% { background: var(--orange); } 92%, 100% { background: #fff; } }
@media (max-width: 860px) {
  .method-seq { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 0; padding-left: 1.8rem; }
  .method-seq::before, .method-seq::after { top: 0; bottom: 0; left: 6px; right: auto; width: 2px; height: 100%; transform-origin: top; }
  .mstep::before { top: .35rem; left: calc(-1.8rem - 0px); }
  @media (prefers-reduced-motion: no-preference) { .method-seq::after { animation-name: fillRailV; } }
}
@keyframes fillRailV { 0% { transform: scaleY(0); } 70%, 88% { transform: scaleY(1); } 100% { transform: scaleY(0); } }

/* Who we serve V5: paths with an ecosystem glyph, hover invites */
.serve-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.serve-head .serve-label { margin: 0; }
.glyph { width: 40px; height: 40px; flex: 0 0 40px; }
.glyph .g-hub { fill: #141414; }
.glyph .g-dot { fill: var(--gray-3); }
.glyph .g-dot.on { fill: var(--orange); }
.glyph .g-link { stroke: var(--gray-3); stroke-width: 1.5; fill: none; }
.glyph .g-link.on { stroke: var(--orange); }
.serve { transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.serve:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 24px 50px -36px rgba(0,0,0,.45); }
.serve .serve-head { margin-bottom: .2rem; }

/* ProviderLIENQ+ spotlight V5: one larger, cleaner product moment */
.spot-v5 { border-radius: 30px; background: var(--ink); color: #fff; padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem) 0; position: relative; overflow: hidden; }
.spot-v5::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(230,126,0,.18), transparent); pointer-events: none; }
.spot-v5 .spot-copy { position: relative; max-width: 58ch; }
.spot-v5 .lede { color: rgba(255,255,255,.72); }
.spot-v5 .spot-visual { position: relative; margin: clamp(2rem, 4vw, 3rem) auto 0; max-width: 1040px; border-radius: 20px 20px 0 0; overflow: hidden; box-shadow: 0 -30px 80px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); transform: translateY(2px); }
.spot-v5 .spot-visual img { display: block; width: 100%; height: auto; }

/* Trust V5: controlled, stable */
.trust-v5 { text-align: center; }
.trust-v5 .lede { margin: 1rem auto 0; max-width: 52ch; }
.trust-panel { margin: 2.2rem auto 0; max-width: 760px; background: var(--ink); color: #fff; border-radius: 20px; padding: clamp(1.4rem, 2.6vw, 2.2rem) clamp(1.4rem, 3vw, 2.6rem); text-align: left; position: relative; overflow: hidden; }
.trust-panel::before { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 3px; background: var(--orange); border-radius: 3px; }
.trust-panel p { font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 600; letter-spacing: -.012em; line-height: 1.35; }

/* Closing V5: return to the environment through abstract contours */
.final-wave { position: relative; overflow: hidden; isolation: isolate; }
.final-wave .final-contours { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.final-wave .wrap { position: relative; z-index: 1; }
.final-contours .c { fill: none; stroke-width: 1.5; }
.final-contours .c1 { stroke: rgba(255,255,255,.07); }
.final-contours .c2 { stroke: rgba(255,255,255,.045); }
.final-contours .c3 { stroke: rgba(230,126,0,.42); stroke-width: 1.75; stroke-dasharray: 6 12; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) { .final-contours .c3 { animation: dash 22s linear infinite; } }

/* Header mark = the Q (Todd, 2026-10-02 trial); the wordmark signs off in the footer */
.site-header .brand-icon { display: block; width: 30px; height: 30px; }
.site-header .brand-logo { display: none; }
.site-footer .brand-logo { display: block; height: 22px; width: auto; }
.footer-legal a { color: var(--muted); text-decoration: none; margin-left: auto; }
.footer-legal a:hover { color: var(--ink); }

/* ProviderLIENQ+ uses its real logo wherever it is named as a product (Jon, 2026-10-02) */
.h1-logo img { display: block; width: min(100%, 620px); height: auto; }
.name-logo img { display: block; height: 18px; width: auto; }
.eyebrow-logo::before { display: none; }
.eyebrow-logo img { display: block; height: 22px; width: auto; }
.center .eyebrow-logo img { margin: 0 auto; }

/* ======================= V7 (Todd brief, 2026-10-02): proof, Method, logos ======================= */
/* Labels that name a product in text, deliberately NOT styled as a logo */
.app-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0; }

/* The PatientLIENQ Method: immersive, dark, scroll-driven on desktop, static elsewhere */
.method-7 { background: #141414; color: #fff; position: relative; isolation: isolate; }
.method-7 .m7-echo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.method-7 .m7-echo path { fill: none; stroke: rgba(255,255,255,.05); stroke-width: 1.5; }
.method-7 .m7-track { position: relative; z-index: 1; }
.method-7 .m7-view { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(3rem, 7vh, 5rem) 0; width: min(var(--wrap), calc(100% - 3rem)); margin: 0 auto; }
.method-7 .eyebrow { color: var(--orange); }
.m7-words { margin: 0; display: grid; gap: .1em; font-size: clamp(2.2rem, 4.6vw, 4.2rem); letter-spacing: -.03em; line-height: 1; font-weight: 700; }
.m7-words span { color: rgba(255,255,255,.26); transition: color .6s var(--ease); }
.m7-defs { position: relative; margin-top: 1.6rem; min-height: 3.2em; }
.m7-def { position: absolute; inset: 0 0 auto 0; margin: 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: rgba(255,255,255,.78); opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.m7-results { margin: 1.8rem 0 0; font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 700; letter-spacing: -.025em; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.m7-quiet { margin: .8rem 0 0; color: rgba(255,255,255,.62); font-size: 1.05rem; opacity: 0; transition: opacity .6s var(--ease) .15s; }
.m7-svg { display: block; width: 100%; height: auto; }
.m7-svg .ec { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 1.5; }
.m7-svg .ln { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.3s var(--ease); }
.m7-svg .ln.soft { stroke: rgba(255,255,255,.55); stroke-width: 1.75; }
.m7-svg .nd { fill: #1f1f1f; stroke: rgba(255,255,255,.22); stroke-width: 1.5; transition: fill .5s var(--ease), stroke .5s var(--ease); }
.m7-svg .nd-ring { fill: none; stroke: var(--orange); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.7); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.m7-svg .nd-core { fill: var(--orange); opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.m7-svg .sig { fill: var(--orange); opacity: 0; transition: opacity .4s var(--ease); }
/* stage 1: information becomes visible */
.method-7[data-stage="1"] .w1, .method-7[data-stage="2"] .w2, .method-7[data-stage="3"] .w3 { color: #fff; }
.method-7[data-stage="1"] .d1, .method-7[data-stage="2"] .d2, .method-7[data-stage="3"] .d3 { opacity: 1; transform: none; }
.method-7:not([data-stage="0"]) .p1 { stroke-dashoffset: 0; }
.method-7[data-stage="1"] .sig { opacity: 1; }
/* stage 2: the information reaches an owner */
.method-7[data-stage="2"] .n1 .nd, .method-7[data-stage="3"] .n1 .nd, .method-7[data-stage="4"] .n1 .nd { fill: #141414; stroke: var(--orange); }
.method-7[data-stage="2"] .n1 .nd-core, .method-7[data-stage="3"] .n1 .nd-core, .method-7[data-stage="4"] .n1 .nd-core { opacity: 1; transform: none; }
.method-7[data-stage="2"] .n1 .nd-ring, .method-7[data-stage="3"] .n1 .nd-ring, .method-7[data-stage="4"] .n1 .nd-ring { opacity: .8; transform: none; }
/* stage 3: the system connects */
.method-7[data-stage="3"] .p2, .method-7[data-stage="3"] .p3, .method-7[data-stage="3"] .p4, .method-7[data-stage="4"] .p2, .method-7[data-stage="4"] .p3, .method-7[data-stage="4"] .p4 { stroke-dashoffset: 0; }
.method-7[data-stage="3"] .n2 .nd, .method-7[data-stage="3"] .n3 .nd, .method-7[data-stage="4"] .n2 .nd, .method-7[data-stage="4"] .n3 .nd { stroke: rgba(255,255,255,.7); }
.method-7[data-stage="3"] .n2 .nd-core, .method-7[data-stage="3"] .n3 .nd-core, .method-7[data-stage="4"] .n2 .nd-core, .method-7[data-stage="4"] .n3 .nd-core { opacity: 1; transform: none; }
.method-7[data-stage="3"] .p2 { transition-delay: 0s; } .method-7[data-stage="3"] .p3 { transition-delay: .25s; } .method-7[data-stage="3"] .p4 { transition-delay: .6s; }
/* stage 4: better results follow */
.method-7[data-stage="4"] .m7-words span { color: #fff; }
.method-7[data-stage="4"] .m7-results, .method-7[data-stage="4"] .m7-quiet { opacity: 1; transform: none; }
.method-7[data-stage="4"] .m7-def { opacity: 0; }
/* desktop scroll mode (JS adds .scroll): a tall track with the view pinned */
.method-7.scroll .m7-track { height: 360vh; }
.method-7.scroll .m7-view { position: sticky; top: 0; min-height: 100vh; box-sizing: border-box; }
/* static mode (no JS, reduced motion, phones, tablets): everything visible, stacked definitions */
.method-7.static .m7-view { align-items: start; }
.method-7.static .m7-words span { color: #fff; }
.method-7.static .m7-defs { min-height: 0; display: grid; gap: .9rem; margin-top: 1.4rem; }
.method-7.static .m7-def { position: static; opacity: 1; transform: none; padding-left: 1rem; border-left: 2px solid var(--orange); }
.method-7.static .m7-def::before { content: attr(data-k) " "; color: var(--orange); font-weight: 700; }
.method-7.static .m7-results, .method-7.static .m7-quiet { opacity: 1; transform: none; }
.method-7.static .m7-svg .ln { stroke-dashoffset: 0; transition: none; }
.method-7.static .m7-svg .nd { fill: #141414; stroke: rgba(255,255,255,.7); }
.method-7.static .m7-svg .n1 .nd { stroke: var(--orange); }
.method-7.static .m7-svg .nd-core, .method-7.static .m7-svg .n1 .nd-ring { opacity: 1; transform: none; }
.method-7.static .m7-svg .n1 .nd-ring { opacity: .8; }
@media (max-width: 900px) {
  .method-7 .m7-view { grid-template-columns: 1fr; gap: 2rem; padding: clamp(3rem, 8vw, 4rem) 0; }
  .method-7 .m7-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .m7-words { font-size: clamp(2rem, 9vw, 2.8rem); }
}

/* Real application proof: editorial alternating sequence */
.proof-seq .wrap { width: min(1400px, calc(100% - 3rem)); }
.pf { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.pf + .pf { border-top: 1px solid var(--line); }
.pf.flip { grid-template-columns: 1.15fr .85fr; }
.pf.flip .pf-copy { order: 2; }
.pf-copy h2 { margin-top: 0; }
.pf-copy .lede { margin-top: 1rem; max-width: 40ch; }
.pf-copy .pf-app { margin-top: 1.6rem; display: flex; align-items: center; gap: .6rem; }
.pf-copy .pf-app img { height: 20px; width: auto; display: block; }
.pf-visual { margin: 0; }
.pf-visual img { display: block; width: 100%; height: auto; }
.pf-laptop img { max-width: 820px; margin: 0 auto; filter: drop-shadow(0 28px 36px rgba(0,0,0,.16)); }
.pf-panel img { max-width: 600px; margin: 0 auto; border-radius: 18px; box-shadow: 0 40px 80px -44px rgba(0,0,0,.5), 0 0 0 1px rgba(20,20,20,.06); }
@media (max-width: 900px) { .pf, .pf.flip { grid-template-columns: 1fr; gap: 1.6rem; } .pf.flip .pf-copy { order: 0; } .pf-visual { order: 2; } .pf-visual img { max-width: 100%; } }

/* Workflow panels (cropped interface panels represent the workflow; laptops represent the application) */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 2.5vw, 2rem); }
.panel { margin: 0; }
.panel .pl { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); margin: 0 0 .7rem; }
.panel img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 60px -40px rgba(0,0,0,.5), 0 0 0 1px rgba(20,20,20,.06); }
.panel figcaption { margin-top: .7rem; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
@media (max-width: 720px) { .panels { grid-template-columns: 1fr; } }

/* Method page: the same dark philosophy environment as the homepage Method (Todd polish brief, 2026-10-02) */
.method-page-hero { background: #141414; color: #fff; position: relative; isolation: isolate; overflow: hidden; padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.method-page-hero .wrap { position: relative; z-index: 1; }
.method-page-hero .eyebrow { color: var(--orange); }
.method-page-hero h1 { color: #fff; }
.method-page-hero .lede { color: rgba(255,255,255,.8); }
.method-page-hero .lede strong { color: #fff; }
.method-flow-wrap { margin-top: clamp(2rem, 4vw, 3.5rem); }
.method-page-hero .method-flow .box { fill: url(#mfCard); stroke: rgba(255,255,255,.14); filter: none; }
.method-page-hero .method-flow .rail { stroke: rgba(255,255,255,.12); }
.method-page-hero .method-flow .r { fill: #fff; font-size: 14px; letter-spacing: .14em; }
.method-page-hero .method-flow .b { fill: rgba(255,255,255,.72); }
@media (max-width: 860px) { .method-page-hero .method-flow-wrap { display: none; } }
.method-page-hero .m7-echo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.method-page-hero .m7-echo path { fill: none; stroke: rgba(255,255,255,.05); stroke-width: 1.5; }

/* Production footer (two levels) and hidden-attribute precedence (Oct 8 brief) */
[hidden] { display: none !important; }
.footer-legal-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-left: auto; }
.footer-legal-nav a, .footer-legal a { color: var(--muted); text-decoration: none; margin-left: 0; }
.footer-legal-nav a:hover { color: var(--ink); }

/* Search landing pages (SEO pass, 2026-10-02) */
.page-hero .h1-long { max-width: 24ch; }
.seq { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; counter-reset: seq; }
.seq-item { border-top: 2px solid var(--ink); padding-top: 1.2rem; }
.seq-item::before { counter-increment: seq; content: counter(seq, decimal-leading-zero); display: block; font-weight: 700; letter-spacing: .06em; font-size: .8rem; color: var(--orange); margin-bottom: .6rem; }
.seq-item h3 { font-size: 1.1rem; letter-spacing: -.01em; margin-bottom: .5rem; }
.seq-item p { color: var(--muted); font-size: .98rem; }
.card .eyebrow { display: flex; margin-bottom: .6rem; }

/* AttorneyLIENQ commercial clarity (Todd 10-03): one quiet, confident line. Never a badge, never a price gimmick. */
.no-cost { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .95rem; letter-spacing: -.005em; color: var(--ink); margin: 0; }
.no-cost::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: 0 0 7px; }
.on-dark .no-cost, .final.on-dark .no-cost { color: #fff; }
.serve .no-cost { margin-top: .1rem; }
.page-hero .no-cost { font-size: 1.05rem; margin-top: 1.1rem; }
.final .no-cost { justify-content: center; font-size: 1.02rem; margin-top: .9rem; }
.request-form .lede { max-width: 60ch; }

/* Shared form styles (moved out of contact/index.html 10-03 so the AttorneyLIENQ access request page shares them) */
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; }
.form input, .form select, .form textarea { font: inherit; padding: .8rem .9rem; border: 1px solid var(--gray-3); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: transparent; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }

.form-error { color: var(--ink); font-weight: 600; margin-top: -.3rem; }

/* Footer social marks (Todd 10-06): understated line art in the company squircle, linking to the reserved handles */
.footer-social { display: flex; align-items: center; gap: .55rem; margin-left: 1.2rem; }
.footer-social a { display: inline-flex; color: var(--gray); transition: color .15s var(--ease); }
.footer-social a:hover, .footer-social a:focus-visible { color: var(--ink); }
.footer-social .soc { display: block; width: 28px; height: 28px; }
@media (max-width: 640px) { .footer-social { margin-left: 0; width: 100%; } }

/* V13 (Todd 10-07) */
.serve .sub-note { flex: 0 0 auto; font-size: .88rem; color: var(--muted); margin: 0; }
.examples { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 2.5rem; margin: 0; max-width: 60rem; }
.examples > div { border-top: 1px solid var(--line); padding-top: .9rem; }
.examples dt { font-weight: 600; letter-spacing: -.01em; }
.examples dd { margin: .25rem 0 0; color: var(--muted); }
@media (max-width: 640px) { .examples { grid-template-columns: 1fr; } }
.billing { display: grid; gap: .55rem; }
.billing .billing-label { color: #fff; margin: 0; }
.billing .billing-note { color: rgba(255,255,255,.72); font-size: .9rem; margin: 0; }
.total-box .teq { color: var(--muted); font-size: .92rem; }
.total-box .ts { border-top: 1px solid var(--line); padding-top: .55rem; margin-top: .55rem; }
.fcp { margin-top: .35rem; font-size: .85rem; }
.fcp summary { cursor: pointer; color: rgba(255,255,255,.8); text-decoration: underline dotted; text-underline-offset: 3px; list-style: none; display: inline-block; }
.fcp summary::-webkit-details-marker { display: none; }
.fcp[open] summary { color: #fff; }
.fcp p { color: rgba(255,255,255,.72); margin: .45rem 0 0; max-width: 46ch; }
/* Workflow card captions: real text beneath the screenshot, never clipped (V13 section 18) */
.panel figcaption { margin-top: .85rem; font-weight: 400; font-size: 1rem; line-height: 1.5; letter-spacing: 0; color: var(--muted); height: auto; }
.panel figcaption strong { display: block; color: var(--ink); font-weight: 600; font-size: 1.12rem; letter-spacing: -.012em; margin-bottom: .2rem; }
/* Legal Information & Notices (/legal/): PatientLIENQ's legal document, verbatim, set as readable long-form text */
.legal-toc { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 1.6rem; }
.legal { padding-top: 0; }
.legal-doc { max-width: 72ch; }
.legal-doc h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); margin: 3.2rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.legal-doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-doc h3 { font-size: 1.06rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin: 1.8rem 0 .5rem; }
.legal-doc p { color: var(--ink-4); line-height: 1.65; margin: 0 0 .9rem; }
