/* Perinexa website – design v6 "clean clinical" (16 Nov 2026).
 * Loaded last. White space, large clear headings, one big product picture per section, few boxes.
 * Colours: only the brand tokens defined in site.css :root. */

/* ---------- Type and rhythm ---------- */
body { font-size: 17px; line-height: 1.65; }
h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.1vw, 42px); line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: 20px; }
.lead { font-size: 19px; line-height: 1.6; }
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section.tight { padding-top: 0; }
.section.soft { background: var(--mist-50); }
.wrap { max-width: 1180px; }

/* Section label: plain small capitals, no pill */
.kicker, .kicker.rose { display: inline-block; min-height: 0; padding: 0; border-radius: 0; background: none; color: var(--teal-700); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.kicker svg { display: none; }
.split-head { display: grid; gap: 14px 48px; align-items: end; margin-bottom: 48px; }
@media (min-width: 900px) { .split-head { grid-template-columns: 1.1fr 0.9fr; } }
.split-head h2 { margin-top: 12px; }
.split-head p { color: var(--slate-600); font-size: 18px; }
.center-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.center-head h2 { margin-top: 12px; }
.center-head p { margin-top: 14px; color: var(--slate-600); font-size: 18px; }

/* ---------- Slim Night Indigo header (v6.1) ---------- */
.topbar { background: var(--indigo-800); color: var(--on-dark-muted); border-bottom: 1px solid var(--line-on-dark); font-size: 12.5px; }
.topbar .wrap { min-height: 30px; }
.topbar a { color: var(--on-dark-muted); }
.topbar a:hover { color: var(--on-solid); }
.topbar svg { color: var(--teal-500); }
.topbar .note { color: var(--on-dark-muted); }
.site-header { background: var(--indigo-800); border-bottom: 0; box-shadow: none; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(34, 31, 110, 0.25); }
.site-header .wrap { height: 60px; }
.brand img { height: 32px; }
.brand .tagline { display: none; }
.nav { gap: 0; }
.nav > a { color: var(--on-dark-muted); font-size: 15px; padding: 8px 13px; border-radius: var(--radius-sm); }
.nav > a:hover { background: var(--fill-on-dark); color: var(--on-solid); }
.nav > a[aria-current="page"] { background: transparent; color: var(--on-solid); font-weight: 600; }
.nav > a::after { background: var(--teal-500); bottom: 0; }
.nav > a[aria-current="page"]::after { width: 18px; left: calc(50% - 9px); }
.nav-actions { gap: 8px; }
.nav-actions .btn { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.nav-actions .btn-ghost-light { color: var(--on-solid); background: transparent; border-color: var(--line-on-dark); }
.nav-actions .btn-ghost-light:hover { border-color: var(--on-dark-muted); background: var(--fill-on-dark); }
.nav-actions .btn-white { background: var(--teal-500); color: var(--indigo-800); }
.nav-actions .btn-white:hover { background: var(--teal-100); }
.menu-btn { width: 44px; height: 44px; border-color: var(--line-on-dark); background: transparent; color: var(--on-solid); }
.mobile-nav { background: var(--indigo-800); }
.mobile-nav a { color: var(--on-solid); border-bottom-color: var(--line-on-dark); }
.mobile-nav a[aria-current="page"] { color: var(--teal-500); }
.subnav { top: 60px; }

/* ---------- Buttons: calmer ---------- */
.btn { border-radius: var(--radius-md); }
.btn-primary { background: var(--indigo-700); box-shadow: none; }
.btn-primary:hover { background: var(--indigo-600); box-shadow: var(--shadow-card); }
.btn:hover { transform: translateY(-1px); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--indigo-700); text-decoration: none; border-bottom: 2px solid var(--teal-500); padding-bottom: 2px; transition: color .2s ease, border-color .2s ease; }
.text-link:hover { color: var(--teal-700); border-color: var(--indigo-700); }

/* ---------- Hero (home) ---------- */
.hero-clean { position: relative; overflow: hidden; background: var(--surface); }
.hero-clean::before { content: ""; position: absolute; right: -10%; top: 0; bottom: 0; width: 55%; background: var(--mist-50); border-bottom-left-radius: 120px; }
.hero-clean .wrap { position: relative; display: grid; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
@media (min-width: 1000px) { .hero-clean .wrap { grid-template-columns: 0.95fr 1.05fr; gap: 56px; padding-top: 56px; padding-bottom: 64px; } }
.hero-clean h1 { margin-top: 16px; }
.hero-clean .lead { margin-top: 20px; max-width: 34em; }
.hero-clean .btn-row { margin-top: 32px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--slate-600); font-size: 15px; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { color: var(--teal-700); }
.hero-pic { position: relative; }
.hero-pic .app-window, .hero-pic .collage { max-width: 600px; margin-left: auto; }
.hero-pic .float-card { animation: none; }

/* ---------- Trust line ---------- */
.trust-line { border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); background: var(--surface); }
.trust-line .wrap { display: grid; gap: 24px; align-items: center; padding-top: 28px; padding-bottom: 28px; }
@media (min-width: 900px) { .trust-line .wrap { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.trust-line .who { font-size: 15px; color: var(--slate-600); line-height: 1.45; }
.trust-line .who b { display: block; color: var(--indigo-800); font-size: 17px; }
.trust-line .num { padding-left: 24px; border-left: 1px solid var(--card-border); }
@media (max-width: 899px) { .trust-line .nums { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } .trust-line .num { padding-left: 0; border-left: 0; } }
@media (min-width: 900px) { .trust-line .nums { display: contents; } }
.trust-line .num b { display: block; font-size: 34px; line-height: 1.05; color: var(--indigo-800); font-weight: 600; letter-spacing: -0.02em; }
.trust-line .num span { font-size: 14px; color: var(--slate-600); }

/* ---------- Feature rows: one big picture each ---------- */
.feature-row { display: grid; gap: 40px; align-items: center; }
.feature-row + .feature-row { margin-top: 80px; }
@media (min-width: 1000px) { .feature-row { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } .feature-row.flip > :first-child { order: 2; } }
.feature-row h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.02em; margin-top: 12px; }
.feature-row p { margin-top: 14px; color: var(--slate-600); font-size: 17.5px; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7064' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticks.two { grid-template-columns: 1fr; }
@media (min-width: 640px) { .ticks.two { grid-template-columns: 1fr 1fr; gap: 12px 28px; } }
.pic { position: relative; padding: 28px; border-radius: 28px; background: var(--mist-50); border: 1px solid var(--card-border); transition: transform .35s ease, box-shadow .35s ease; }
.pic:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pic.teal { background: var(--teal-100); border-color: transparent; }
.pic.lav { background: var(--indigo-100); border-color: transparent; }
.feature-row .note { margin-top: 18px; font-size: 14px; color: var(--slate-600); }

/* ---------- Module columns: text, no boxes ---------- */
.mod-cols { display: grid; gap: 34px 40px; }
@media (min-width: 640px) { .mod-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mod-cols { grid-template-columns: repeat(3, 1fr); } }
.mod { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start; text-decoration: none; color: inherit; padding-top: 22px; border-top: 2px solid var(--card-border); transition: border-color .25s ease; }
.mod:hover { border-top-color: var(--teal-500); }
.mod .ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; }
.mod b { font-size: 18px; color: var(--indigo-800); line-height: 1.3; }
.mod span.d { color: var(--slate-600); font-size: 15.5px; line-height: 1.5; }
a.mod:hover b { color: var(--teal-700); }

/* ---------- Quote ---------- */
.quote-block { display: grid; gap: 32px; align-items: center; max-width: 980px; margin: 0 auto; }
@media (min-width: 800px) { .quote-block { grid-template-columns: 200px 1fr; gap: 56px; } }
.quote-block img { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; border: 6px solid var(--surface); box-shadow: var(--shadow-card); margin: 0 auto; }
.quote-block blockquote { margin: 0; font-size: clamp(21px, 2.3vw, 28px); line-height: 1.45; font-weight: 500; color: var(--indigo-800); letter-spacing: -0.01em; }
.quote-block blockquote::before { content: "\201C"; display: block; font-size: 72px; line-height: .6; color: var(--teal-500); margin-bottom: 10px; }
.quote-block .cite { margin-top: 20px; }

/* ---------- Simple CTA ---------- */
.cta-simple { display: grid; gap: 24px; align-items: center; padding: 40px 32px; border-radius: 28px; background: var(--indigo-800); color: var(--on-solid); }
@media (min-width: 900px) { .cta-simple { grid-template-columns: 1fr auto; padding: 56px 64px; } }
.cta-simple h2 { color: var(--on-solid); font-size: clamp(26px, 2.8vw, 36px); }
.cta-simple p { margin-top: 10px; color: var(--on-dark-muted); font-size: 18px; }
.cta-simple .btn-row { margin-top: 0; }

/* ---------- Inner page hero (clean) ---------- */
.page-hero { background: var(--mist-50); border-bottom: 1px solid var(--card-border); }
.page-hero::after, .page-hero .orb { display: none; }
.page-hero .wrap { padding-top: 56px; padding-bottom: 64px; }
@media (min-width: 900px) { .page-hero .wrap { padding-top: 72px; padding-bottom: 80px; } }
.page-hero h1 { max-width: 18ch; font-size: clamp(34px, 4vw, 52px); margin-top: 14px; }
.page-hero .lead { max-width: 40em; margin-top: 18px; }
.crumbs { margin-bottom: 18px; }

/* ---------- Numbered list (journey) ---------- */
.numbered { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; gap: 0 56px; }
@media (min-width: 900px) { .numbered { grid-template-columns: 1fr 1fr; } }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 56px 1fr; gap: 4px 0; padding: 24px 0; border-top: 1px solid var(--card-border); }
.numbered li::before { content: counter(n, decimal-leading-zero); grid-row: span 2; font-size: 22px; font-weight: 600; color: var(--teal-700); line-height: 1.2; }
.numbered b { font-size: 18px; color: var(--indigo-800); }
.numbered span { color: var(--slate-600); font-size: 16px; }

/* ---------- Icon text list (security, about) ---------- */
.icon-list { display: grid; gap: 32px 48px; }
@media (min-width: 760px) { .icon-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .icon-list.three { grid-template-columns: repeat(3, 1fr); } }
.icon-list > div { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start; }
.icon-list .ic { grid-row: span 2; width: 46px; height: 46px; border-radius: 12px; }
.icon-list b { font-size: 18px; color: var(--indigo-800); line-height: 1.3; }
.icon-list span.d { color: var(--slate-600); font-size: 16px; }

/* ---------- Compare (for hospitals): cleaner ---------- */
.compare .side { border-radius: 24px; padding: 32px; }
.compare .before { background: var(--mist-50); }
.compare li { font-size: 16.5px; }

/* ---------- Role explorer: lighter ---------- */
.role-panel { box-shadow: none; }
.role-tab[aria-selected="true"] .ic { background: rgba(255, 255, 255, 0.14); }

/* ---------- Week explorer: lighter ---------- */
.weeks { box-shadow: none; border-radius: 28px; }

/* ---------- Footer: fewer boxes ---------- */
.footer-badges { display: none; }
.footer-cta .ic { border-radius: 14px; }

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .hero-clean::before { width: 100%; right: 0; top: auto; height: 46%; border-bottom-left-radius: 0; }
  .pic { padding: 14px; border-radius: 20px; }
  .pic > .app-window, .pic > .paper, .hero-pic .app-window { max-height: 360px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); }
  .feature-row + .feature-row { margin-top: 64px; }
}

/* ---------- Home v6.1: product tabs and quote with call to action ---------- */
.tour-panel { box-shadow: none; }
.tour-visual { background: var(--mist-50); border: 1px solid var(--card-border); }
.closing { display: grid; gap: 24px; }
@media (min-width: 1000px) { .closing { grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; } }
.closing .quote-mini { display: flex; gap: 20px; align-items: center; padding: 28px; border-radius: 28px; background: var(--mist-50); border: 1px solid var(--card-border); }
.closing .quote-mini img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 4px solid var(--surface); box-shadow: var(--shadow-card); }
.closing .quote-mini blockquote { margin: 0; font-size: 18px; line-height: 1.5; }
.closing .quote-mini .cite { margin-top: 10px; }
.closing .cta-simple { padding: 32px; }
.closing .cta-simple { grid-template-columns: 1fr; }
