/* Appopty marketing site. Rose on deep plum; layout shared with the Netopty, Secopty and Sysopty sites. */

/* Self-hosted fonts (SIL Open Font License; see /fonts/OFL-*.txt). Latin subset only. */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/poppins-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/poppins-latin-600.woff2") format("woff2");
}

:root {
  --bg: #170a0f;
  --bg-2: #210e15;
  --card: #2c131c;
  --cyan: #f43f5e;
  --teal: #e11d48;
  --cyan-soft: #fda4af;
  --text: #f5f9fc;
  --text-2: #dcc3ca;
  --text-3: #ae929a;
  --border: rgba(230, 130, 150, 0.16);
  --border-strong: rgba(244, 63, 94, 0.38);
  --glow: 0 0 0 1px rgba(244, 63, 94, 0.18), 0 10px 40px -12px rgba(244, 63, 94, 0.35);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1200px;
  --gutter: 24px;
  --header-h: 76px;
  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle network texture behind the page, strongest at the top right like the mockup. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 88% -6%, rgba(244, 63, 94, 0.13), transparent 70%),
    radial-gradient(700px 480px at 6% 104%, rgba(225, 29, 72, 0.09), transparent 70%),
    url("../img/network-texture.svg") right top / 900px auto no-repeat;
  opacity: 0.9;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-soft); }
a:hover { color: var(--text); }

:focus-visible { outline: 2px solid var(--cyan-soft); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--cyan); color: var(--bg); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--font-head); color: var(--text); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 14px;
}

.section { padding: 88px 0; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 600; line-height: 1.2; }
.section-head p { color: var(--text-2); margin-top: 12px; font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 10px; border: 1px solid transparent;
  font: 600 17px/1 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--cyan); color: #22060d; box-shadow: 0 8px 28px -10px rgba(244, 63, 94, 0.7); }
.btn-primary:hover { background: #fb7185; color: #22060d; box-shadow: 0 10px 34px -8px rgba(244, 63, 94, 0.85); }
.btn-secondary { background: rgba(44, 19, 28, 0.6); color: var(--text); border-color: rgba(225, 185, 195, 0.38); }
.btn-secondary:hover { border-color: var(--cyan); color: var(--text); background: rgba(44, 19, 28, 0.95); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(23, 10, 15, 0.72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(23, 10, 15, 0.92); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 42px; height: 42px; }
.brand span { font: 600 32px/1 var(--font-head); letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }

.nav-list { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-list a:not(.btn) { color: var(--text); text-decoration: none; font-size: 16px; font-weight: 500; opacity: .9; padding: 6px 0; }
.nav-list a:not(.btn):hover, .nav-list a[aria-current="true"] { color: var(--cyan-soft); opacity: 1; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 10px;
  background: transparent; border: 1px solid var(--border-strong); color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.6vw, 58px); font-weight: 600; line-height: 1.1; }
.hero h1 .accent { color: var(--cyan); display: block; }
.hero-lede { color: var(--text-2); font-size: 19px; line-height: 1.6; margin-top: 22px; max-width: 590px; color: #f0dde2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; }
.hero-actions .btn { min-width: 186px; }

.report-stack { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; margin-left: auto; width: 100%; }
.report-stack .page {
  position: absolute; background: #fff; border-radius: 3px; overflow: hidden;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.report-stack .page img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.report-stack .page-3 { width: 54%; top: 0;    right: 0;    aspect-ratio: 1 / 1.414; opacity: .92; }
.report-stack .page-2 { width: 56%; top: 4.5%; right: 7%;   aspect-ratio: 1 / 1.414; opacity: .96; }
.report-stack .page-1 { width: 62%; top: 11%;  left: 4%;    aspect-ratio: 1 / 1.414; }
.report-stack button.page { padding: 0; border: 0; cursor: zoom-in; }
.report-stack button.page:hover { box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.75), 0 0 0 2px var(--cyan); }

/* ---------- Features ---------- */
.features { padding: 8px 0 0; }
.feature-panel {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, rgba(44, 19, 28, 0.85), rgba(33, 14, 21, 0.85));
  border: 1px solid var(--border); border-radius: var(--radius);
  list-style: none; margin: 0; padding: 0;
}
.feature { text-align: center; padding: 30px 22px 32px; position: relative; }
.feature + .feature::before {
  content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 1px; background: var(--border);
}
.icon-box {
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1.5px solid var(--border-strong); color: var(--cyan);
  background: rgba(244, 63, 94, 0.06);
}
.icon-box svg { width: 30px; height: 30px; }
.feature h3 { font-size: 19px; font-weight: 600; }
.feature p { color: var(--text-2); margin-top: 8px; font-size: 16px; line-height: 1.55; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 22px; }
.gallery-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.gallery-row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.shot-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 16px 18px; margin: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.shot-card:hover, .shot-card:focus-within { border-color: var(--border-strong); box-shadow: var(--glow); }
.shot-card h3 { font-size: 18px; font-weight: 600; margin: 2px 2px 12px; }
.shot-frame {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  background: #fff; border-radius: var(--radius-sm); overflow: hidden; position: relative;
}
.shot-frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; padding: 10px 10px 0; }
.gallery-row-3 .shot-frame img { aspect-ratio: 4 / 3; }
.shot-frame .zoom-hint {
  position: absolute; right: 10px; top: 10px;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px;
  background: rgba(23, 10, 15, 0.82); color: var(--text); border-radius: 8px;
  font: 500 13px/1 var(--font-body); opacity: 1;
  transition: opacity .18s ease, transform .18s ease;
}
.shot-frame .zoom-hint svg { width: 14px; height: 14px; }
.shot-frame:hover .zoom-hint, .shot-frame:focus-visible .zoom-hint { opacity: 1; transform: none; }
.shot-frame .fig-caption {
  display: block; padding: 6px 12px 10px; text-align: center;
  color: #8f747c; font: italic 12.5px/1.4 var(--font-body);
}
.shot-card figcaption { color: var(--text-2); font-size: 15px; line-height: 1.55; margin: 12px 2px 0; }
.shot-card figcaption .fig { color: var(--text-3); font-size: 13px; display: block; margin-top: 4px; }

.sample-note { color: var(--text-3); font-size: 14px; margin-top: 18px; }

/* ---------- Interactive topology ---------- */
.topology-panel {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; position: relative;
}
.topology-stage {
  position: relative; border-radius: var(--radius-sm); overflow: hidden; background: #fff;
  aspect-ratio: 16 / 10;
}
.topology-stage img, .topology-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #fff; }
.topology-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(23, 10, 15, 0) 40%, rgba(23, 10, 15, 0.35));
}
.topology-overlay .btn { box-shadow: 0 10px 40px -6px rgba(0, 0, 0, 0.6); }
.topology-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 14px; color: var(--text-2); font-size: 15px; }
.topology-meta ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; }
.topology-meta li { display: inline-flex; align-items: center; gap: 8px; }
.topology-meta li svg { width: 16px; height: 16px; color: var(--cyan); }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.benefit {
  background: rgba(44, 19, 28, 0.7); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 20px 24px;
}
.benefit .icon-box { margin: 0 0 14px; width: 46px; height: 46px; border-radius: 10px; }
.benefit .icon-box svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 18px; font-weight: 600; }
.benefit p { color: var(--text-2); font-size: 15.5px; margin-top: 6px; }

/* ---------- Pricing ---------- */
.pricing-panel {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 36px;
}
.pricing-panel h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 600; line-height: 1.2; }
.pricing-panel p { color: var(--text-2); margin-top: 12px; }
.pricing-panel ul { margin: 16px 0 0; padding: 0; list-style: none; color: var(--text-2); display: grid; gap: 8px; }
.pricing-panel li { display: flex; gap: 10px; align-items: flex-start; }
.pricing-panel li svg { width: 18px; height: 18px; flex: none; color: var(--cyan); margin-top: 4px; }
.pricing-cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; justify-self: end; }

/* ---------- CTA band ---------- */
.cta-band {
  display: flex; align-items: center; gap: 28px;
  background: linear-gradient(90deg, rgba(44, 19, 28, 0.95), rgba(33, 14, 21, 0.95));
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  padding: 30px 40px; box-shadow: var(--glow);
}
.cta-band .cta-icon { width: 60px; height: 60px; color: var(--cyan); flex: none; }
.cta-band h2 { font: 500 clamp(22px, 2.4vw, 28px)/1.35 var(--font-head); flex: 1; }
.cta-band .btn { flex: none; min-width: 196px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0 40px; color: var(--text-3); font-size: 14.5px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-inner .brand img { width: 30px; height: 30px; }
.footer-inner .brand span { font-size: 22px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--cyan-soft); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0;
  background: rgba(14, 6, 9, 0.985); color: var(--text);
}
.lightbox::backdrop { background: rgba(14, 6, 9, 0.7); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.lb-title { font: 600 16px/1.3 var(--font-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-tools { display: flex; gap: 8px; flex: none; }
.lb-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 9px; cursor: pointer;
  background: rgba(44, 19, 28, 0.9); color: var(--text); border: 1px solid var(--border-strong);
}
.lb-btn:hover { background: #3d1a26; }
.lb-btn svg { width: 20px; height: 20px; }
.lb-btn.text { width: auto; padding: 0 12px; font: 600 14px/1 var(--font-body); }
.lb-viewport { position: relative; overflow: hidden; cursor: grab; touch-action: none; }
.lb-viewport.dragging { cursor: grabbing; }
.lb-viewport img {
  position: absolute; left: 50%; top: 50%; max-width: none; user-select: none; -webkit-user-drag: none;
  background: #fff; transform-origin: 0 0; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.lb-caption { padding: 10px 16px 14px; color: var(--text-2); font-size: 14.5px; border-top: 1px solid var(--border); text-align: center; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-nav.prev { left: 12px; }
.lb-nav.next { right: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-list { gap: 24px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .feature-panel { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3)::before { display: none; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--border); }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-row-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-row-3 > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  :root { --header-h: 68px; }
  .brand span { font-size: 27px; }
  .brand img { width: 36px; height: 36px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #170a0f; border-bottom: 1px solid var(--border); box-shadow: 0 24px 40px -12px rgba(0, 0, 0, 0.7);
    padding: 8px var(--gutter) 22px; display: none;
  }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 1px solid var(--border); font-size: 17px; }
  .nav-list li:last-child { margin-top: 16px; }
  .nav-list .btn { width: 100%; }

  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .report-stack { margin: 0 auto; max-width: 480px; }
  .pricing-panel { grid-template-columns: 1fr; }
  .pricing-cta { justify-self: start; }
  .cta-band { flex-direction: column; text-align: center; padding: 28px 24px; }
  .section { padding: 68px 0; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero h1 { font-size: 36px; }
  .hero-lede { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .feature-panel { grid-template-columns: 1fr; }
  .feature::before { display: none; }
  .feature + .feature { border-top: 1px solid var(--border); }
  .gallery-row-2, .gallery-row-3 { grid-template-columns: 1fr; }
  .gallery-row-3 > :last-child { grid-column: auto; }
  .benefits { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .pricing-panel { padding: 24px 20px; }
  .topology-stage { aspect-ratio: 4 / 3; }
  .lb-tools .lb-btn.text { display: none; }
  .shot-frame .zoom-hint { opacity: 1; transform: none; }
}

.section.tight-top { padding-top: 8px; }
.section.tight { padding-top: 8px; padding-bottom: 8px; }

/* Eyebrows keep their accent inside sections whose paragraphs are muted. */
.section-head p.eyebrow, .pricing-panel p.eyebrow { color: var(--cyan); margin-top: 0; }

/* Gallery thumbnails: a legible crop of the figure; the lightbox shows all of it. */
.shot-frame img.fit-cover { object-fit: cover; padding: 0; }
.shot-frame img.pos-top { object-position: 50% 0; }
.shot-frame img.pos-center { object-position: 50% 50%; }

.topology-note { color: var(--text-3); font-size: 14px; margin: 8px 2px 0; }
.footer-legal { flex-basis: 100%; font-size: 13px; color: var(--text-3); margin: 0; }
.footer-legal a { color: var(--text-2); }
/* Footer links are standalone targets: at least 24px high (WCAG 2.2 target size). */
.footer-links a { display: inline-block; padding: 6px 2px; }

/* ---------- Service positioning (2026-10) ---------- */
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.services-head { margin-bottom: 28px; }
.vendor-note { color: var(--text-3); font-size: 14px; margin: 16px 2px 0; text-align: center; }

/* How it works: three numbered steps joined by a rule */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step {
  position: relative; background: rgba(44, 19, 28, 0.7); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 22px 24px;
}
.step-number {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font: 600 18px/1 var(--font-head); color: #22060d; background: var(--cyan); margin-bottom: 14px;
  box-shadow: 0 6px 20px -6px rgba(244, 63, 94, 0.7);
}
.step + .step::after {
  content: ""; position: absolute; top: 44px; left: -18px; width: 18px; height: 2px; background: var(--border-strong);
}
.step h3 { font-size: 19px; font-weight: 600; }
.step p { color: var(--text-2); font-size: 15.5px; margin-top: 6px; }

/* Managed service statement */
.managed-panel {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center;
  background: linear-gradient(120deg, rgba(225, 29, 72, 0.16), rgba(44, 19, 28, 0.95) 45%);
  border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 40px; box-shadow: var(--glow);
}
.managed-panel h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.2; }
.managed-panel p { color: var(--text-2); margin-top: 14px; }
.split-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.split-list li { background: rgba(23, 10, 15, 0.55); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; }
.split-list strong { display: block; font: 600 15px/1.3 var(--font-head); color: var(--cyan-soft); margin-bottom: 4px; }
.split-list span { color: var(--text-2); font-size: 15px; }

/* Engagement model: two service components */
.engagement { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.engagement > li { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 26px 24px; }
.engagement .tag { font: 600 12.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.engagement h3 { font-size: 21px; font-weight: 600; margin-top: 8px; }
.engagement ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; color: var(--text-2); font-size: 15.5px; }
.engagement ul li { display: flex; gap: 10px; align-items: flex-start; }
.engagement ul svg { width: 18px; height: 18px; flex: none; color: var(--cyan); margin-top: 3px; }
.engagement-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.engagement-foot p { color: var(--text-2); max-width: 640px; }
.field .hint { color: var(--text-3); font-weight: 400; font-size: 13.5px; }

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
  .step + .step::after { display: none; }
  .managed-panel { grid-template-columns: 1fr; padding: 28px 22px; }
  .engagement { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .step { padding: 18px 18px 20px; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
  .step-number { margin: 0; grid-row: span 2; }
  .engagement > li { padding: 20px 18px; }
  .engagement-foot .btn { width: 100%; }
}
.cta-band .cta-copy { flex: 1; }
.cta-band .cta-copy h2 { flex: none; }
.cta-band .cta-copy p { color: var(--text-2); margin-top: 6px; font-size: 16px; }
.managed-panel p.eyebrow { color: var(--cyan); margin-top: 0; }

/* Phones: the service sections stay concise (tighter vertical rhythm, same content). */
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 24px; }
  .section-head p { font-size: 16.5px; }
  .feature { padding: 22px 18px 24px; }
  .feature .icon-box { margin-bottom: 12px; width: 50px; height: 50px; }
  .benefit { padding: 18px 18px 20px; }
  .managed-panel { padding: 24px 18px; gap: 20px; }
  .split-list li { padding: 12px 14px; }
}
/* Paired form fields line up on their inputs even when one label wraps. */

/* ---------- Sample report download and findings showcase ---------- */
.sample-download {
  display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap;
  margin-top: 26px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 26px;
}
.sample-download h3 { font-size: 19px; font-weight: 600; }
.sample-download p { color: var(--text-2); font-size: 15px; margin-top: 4px; }
.sample-download > div { flex: 1 1 420px; }
.sample-download .btn { flex: none; }
.insights { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.insight-note { color: var(--text-3); font-size: 14px; margin-top: 18px; }
.insight-excerpt { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 20px 0 0; color: var(--text-2); font-size: 15px; }
.insight-excerpt li { display: inline-flex; align-items: center; gap: 8px; }
.insight-excerpt .sev { display: inline-block; min-width: 2ch; padding: 1px 8px; border-radius: 6px; font-weight: 600; font-size: 13.5px; text-align: center; background: rgba(44, 19, 28, 0.9); border: 1px solid var(--border); color: var(--text); }
@media (max-width: 1080px) { .insights { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 880px) { .insights { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .sample-download { padding: 18px; }
  .sample-download .btn { width: 100%; }
}

/* ---------- Vendor support ---------- */
.vendor-support { margin-top: 32px; text-align: center; }
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  max-width: 880px;
  padding: 0;
  margin: 16px auto 0;
}
.vendor-grid li {
  display: grid;
  place-items: center;
  min-height: 84px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--text);
}
.vendor-grid img { width: 100%; max-width: 148px; height: 48px; object-fit: contain; }
.vendor-grid .vendor-card-labeled { align-content: center; gap: 4px; }
.vendor-label { color: var(--bg); font-size: 12px; font-weight: 600; line-height: 1.25; }
.vendor-support .vendor-note { color: var(--text-2); margin: 16px auto 0; max-width: 680px; }

@media (max-width: 600px) {
  .vendor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vendor-grid li { min-height: 68px; }
  .vendor-grid img { height: 38px; }
}

/* ---------- Planned architecture ---------- */
.architecture { margin: 36px 0 0; }
.architecture figcaption { margin-bottom: 16px; }
.architecture-artwork { display: block; }
.architecture-artwork img {
  width: 100%;
  border-radius: var(--radius);
}

/* Hospital documentation cost and effort infographic */
.cost-infographic { margin: 0 0 24px; padding: clamp(20px, 4vw, 40px); border: 1px solid var(--border-strong); border-radius: var(--radius); background: linear-gradient(145deg, var(--card), var(--bg-2)); }
.cost-infographic h3 { margin: 8px 0; font-size: clamp(24px, 4vw, 38px); }
.cost-infographic figcaption > p:last-child, .cost-note { color: var(--text-2); }
.cost-effort { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; gap: 28px; margin: 24px 0; }
.cost-highlight strong { display: block; color: var(--cyan); font-size: clamp(48px, 8vw, 84px); line-height: 1; }
.cost-highlight span { display: block; margin-top: 8px; }
.cost-bars p { margin: 12px 0 6px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.cost-track { display: block; height: 10px; border-radius: 10px; background: var(--bg); overflow: hidden; }
.cost-track > span { display: block; height: 100%; border-radius: inherit; }
.cost-manual { width: 100%; background: var(--text-2); }
.cost-delivered { width: 4%; background: var(--cyan); }
.cost-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; }
.cost-options div { padding: 14px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--bg-2); }
.cost-options dd { margin: 4px 0 0; font-size: clamp(17px, 2.2vw, 25px); font-weight: 700; }
.cost-saving strong, .cost-options div:last-child dd { color: var(--cyan); }
.cost-note { margin-top: 10px; font-size: 13px; }
@media (max-width: 760px) { .cost-effort { grid-template-columns: 1fr; gap: 10px; } .cost-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 360px) { .cost-options { grid-template-columns: 1fr; } }

/* Compact samples and service guidance */
.deliverable-formats { margin: 0 0 14px; color: var(--text-2); line-height: 1.65; }
#sample-reports .sample-download { margin: 0 0 22px; }
.more-examples summary, .faq-list summary { cursor: pointer; padding-block: 12px; }
.more-examples[open] summary { margin-bottom: 10px; }
.outcome-summary p { padding: 16px 0; border-block: 1px solid var(--border); color: var(--text-2); }
.outcome-summary strong { color: var(--text); }
.outcome-summary a { margin-inline-start: 6px; }
.prerequisite-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; padding: 0; list-style: none; margin-top: 12px; }
.prerequisite-list .feature { text-align: left; padding: 10px 0; border: 0; border-top: 1px solid var(--border); }
.prerequisite-list h4 { margin: 0 0 4px; }
.architecture-open { display: inline-block; margin-top: 8px; text-decoration: underline; }
.cost-model-title { margin: 0 0 10px; }
.cost-note { font-size: 14px; }
.vendor-group-title { margin: 22px 0 0; font-size: 17px; }
.coverage-guide { text-align: left; max-width: 880px; margin: 28px auto 0; }
.coverage-guide dl { margin: 12px 0 0; }
.coverage-guide dl div { display: grid; grid-template-columns: 1fr 2fr; gap: 6px 22px; padding: 12px 0; border-top: 1px solid var(--border); }
.coverage-guide dt { font-weight: 600; }
.coverage-guide dd { margin: 0; color: var(--text-2); }
.faq-list { max-width: 880px; }
.faq-list .feature { border: 0; border-top: 1px solid var(--border); text-align: left; padding: 0; }
.faq-list .feature p { margin: 0 0 14px; }
.enquiry-actions { display: grid; gap: 8px; justify-items: start; }
.enquiry-actions [hidden], .enquiry-actions [role="status"]:empty { display: none; }
@media (max-width: 760px) {
  .hero-grid { gap: 22px; }
  .hero-actions { margin-top: 20px; }
  .report-stack { aspect-ratio: 2 / 1; max-width: 380px; margin-inline: auto; }
  .report-stack .page-1, .report-stack .page-3 { display: none; }
  .report-stack .page-2 { width: 100%; height: 100%; top: 0; right: 0; }
  .prerequisite-list, .coverage-guide dl div { grid-template-columns: 1fr; }
  .enquiry-actions { justify-items: center; }
}

/* ---------- Hero proof and coverage tables ---------- */
.hero-proof { color: var(--text-2); font-size: 16px; margin-top: 18px; max-width: 590px; padding-left: 14px; border-left: 2px solid var(--cyan); }
.hero h1 { font-size: clamp(36px, 4.1vw, 52px); }
.hero-proof strong { color: var(--text); }
.coverage-scroll { overflow-x: auto; margin-top: 18px; }
.coverage-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.coverage-table caption { text-align: left; font-family: var(--font-head); font-weight: 600; color: var(--text); padding-bottom: 8px; }
.coverage-table th, .coverage-table td { padding: 10px 12px; border-top: 1px solid var(--border); text-align: left; }
.coverage-table thead th { color: var(--text-2); font-weight: 600; border-top: 0; }
.coverage-table tbody th { font-weight: 600; color: var(--text); }
.coverage-table td { color: var(--cyan-soft); }

/* ---------- Visual refresh (2026-11) ---------- */
/* Light band: the white report pages sit on a light surface and break up the navy. */
.section.band-light {
  --text: #210e15; --text-2: #5e3540; --text-3: #734a55; --card: #ffffff;
  --border: rgba(33, 14, 21, 0.14); --border-strong: rgba(190, 18, 60, 0.5);
  --cyan-soft: #9f1239; --glow: 0 10px 34px -14px rgba(33, 14, 21, 0.35);
  background: #fbf3f5; color: var(--text); padding: 72px 0; color-scheme: light;
}
.band-light .eyebrow, .band-light .section-head p.eyebrow { color: #be123c; }
.band-light a:hover { color: var(--text); }
.band-light .btn-primary, .band-light .btn-primary:hover { color: #22060d; }
.band-light .shot-frame { border: 1px solid var(--border); }
.band-light .shot-frame .zoom-hint { color: #fef8f9; }
.band-light + .features { padding-top: 72px; }

/* Small print stays readable. */
.sample-note, .insight-note, .vendor-note, .topology-note, .cost-note { font-size: 15px; color: var(--text-2); }

/* Vendor logos: centred rows, no orphaned card. */
.vendor-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.vendor-grid li { flex: 0 1 164px; }
@media (max-width: 600px) { .vendor-grid li { flex-basis: calc(50% - 6px); } }

/* Architecture flow */
.arch-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.arch-flow li { position: relative; background: rgba(44, 19, 28, 0.7); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.arch-flow li + li::before {
  content: ""; position: absolute; top: 50%; left: -44px; width: 44px; height: 2px; background: var(--border-strong);
}
.arch-flow li + li::after {
  content: ""; position: absolute; top: 50%; left: -12px; width: 9px; height: 9px; margin-top: -4px;
  border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); transform: rotate(45deg);
}
.arch-tag { font: 600 12.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.arch-flow h4 { font: 600 19px/1.3 var(--font-head); margin: 8px 0 0; }
.arch-flow li p:not(.arch-tag) { color: var(--text-2); font-size: 15.5px; margin-top: 6px; }
.arch-note { color: var(--text-2); font-size: 15px; margin-top: 16px; }
@media (max-width: 880px) {
  .arch-flow { grid-template-columns: 1fr; gap: 28px; }
  .arch-flow li + li::before { top: -28px; left: 50%; width: 2px; height: 28px; }
  .arch-flow li + li::after { top: -12px; left: 50%; margin: 0 0 0 -4px; transform: rotate(135deg); }
}

/* Example finding, styled after the report's findings register */
.finding-example { margin: 0 0 22px; }
.finding-example figcaption { color: var(--text-2); font-size: 15px; margin-bottom: 10px; }
.finding-card { background: #ffffff; color: #210e15; border-radius: var(--radius); padding: 24px 26px; border-left: 6px solid #d9822b; }
.finding-card h3 { color: #210e15; font-size: 22px; margin-top: 12px; }
.finding-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14.5px; color: #5e3540; }
.sev-badge { display: inline-block; padding: 5px 12px; border-radius: 6px; font: 700 12.5px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.sev-medium { background: #b9650f; }
.finding-id { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.finding-card dl { margin: 14px 0 0; }
.finding-card dl div { display: grid; grid-template-columns: 180px 1fr; gap: 4px 20px; padding: 10px 0; border-top: 1px solid rgba(33, 14, 21, 0.12); }
.finding-card dt { font-weight: 600; }
.finding-card dd { margin: 0; color: #4d2832; }
@media (max-width: 640px) { .finding-card { padding: 18px; } .finding-card dl div { grid-template-columns: 1fr; } }

/* Manual cost estimate */
.estimate { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; }
.estimate h3 { font-size: 19px; font-weight: 600; }
.estimate-copy p { color: var(--text-2); font-size: 15px; margin-top: 4px; }
.estimate-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.estimate-fields label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 500; color: var(--text-2); align-content: end; }
.estimate-fields input {
  width: 100%; min-height: 46px; padding: 0 12px; font: 500 17px/1 var(--font-body); color: var(--text);
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: 8px;
}
.estimate-result { margin-top: 18px; color: var(--text-2); }
.estimate-result strong { color: var(--cyan); font: 600 clamp(24px, 3vw, 32px)/1.2 var(--font-head); margin-right: 6px; }
@media (max-width: 760px) { .estimate-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .estimate { padding: 18px; } }

/* Final call to action: the address is the button. */
.cta-band .enquiry-actions .btn-primary { min-width: 0; }

/* Left-aligned section headings throughout (2026-11) */
.vendor-support { text-align: left; }
.vendor-grid { justify-content: flex-start; max-width: none; margin-left: 0; margin-right: 0; }
.vendor-support .vendor-note { margin-left: 0; margin-right: 0; text-align: left; }
.coverage-guide { max-width: none; margin: 28px 0 0; }

/* ---------- Appopty report pages (2026-11) ---------- */
.sev-high { background: #b42318; }
.finding-card.finding-high { border-left-color: #b42318; }
/* The five reports and the evidence record: three cards a row, two on tablets. */
@media (max-width: 1080px) and (min-width: 641px) { .report-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Report previews are landscape pages: show the whole page in the card. */
#sample-reports .shot-frame img { aspect-ratio: 3 / 2; padding: 0; }
/* A platform shown by name only. */
.vendor-label-solo { font-size: 15px; text-align: center; }

/* Related products (2026-11) */
.related h3 { display: flex; align-items: center; gap: 10px; }
.related h3 img { width: 30px; height: 30px; flex: none; }
.related > li > p:not(.tag) { color: var(--text-2); font-size: 15.5px; margin-top: 10px; }
.related-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 0; font-weight: 600; text-decoration: none; }
.related-link svg { width: 18px; height: 18px; }
.related-link:hover { text-decoration: underline; }
.related.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .related.three { grid-template-columns: 1fr; } }
