/* Shiva Assist · assist.shivacomputers.nl
   Shiva Computers brand (navy) with the Assist accent (teal). Self-hosted Inter (SIL OFL 1.1).
   No external requests, no JavaScript: everything here works under a strict Content Security Policy. */

@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
    --navy: #0f2139;
    --navy-2: #172f4f;
    --navy-3: #22406a;
    --teal: #0c7c7c;
    --teal-2: #0a6666;
    --teal-bright: #2fc1b8;
    --teal-soft: #e5f4f3;
    --bg: #f7fafc;
    --surface: #ffffff;
    --ink: #142033;
    --muted: #546275;
    --line: #dde5ee;
    --line-2: #eaf0f5;
    --ok: #0a7a4c;    --ok-bg: #e5f5ec;
    --info: #1d5fd1;  --info-bg: #e8f0fd;
    --warn: #a35a05;  --warn-bg: #fdf2e1;
    --crit: #b42318;  --crit-bg: #fdeceb;
    --unk: #4b5869;   --unk-bg: #edf1f5;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(15, 33, 57, .06);
    --shadow: 0 1px 2px rgba(15, 33, 57, .05), 0 10px 30px -8px rgba(15, 33, 57, .12);
    --shadow-lg: 0 2px 4px rgba(15, 33, 57, .06), 0 30px 60px -20px rgba(8, 20, 40, .45);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --mono: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
img, svg { display: block; }
a { color: var(--teal); text-underline-offset: .18em; }
a:hover { color: var(--teal-2); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.18; margin: 0 0 .55em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.07; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); font-weight: 750; letter-spacing: -.03em; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
code, .mono { font-family: var(--mono); font-size: .9em; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 6px; }
::selection { background: #c7ece9; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .9rem; color: var(--muted); }
.center { text-align: center; }
.mt { margin-top: 1.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.35rem; border-radius: 12px; background: var(--teal); color: #fff; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 1.5px solid var(--teal); box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 6px 16px -6px rgba(12, 124, 124, .55); transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn:hover { background: var(--teal-2); border-color: var(--teal-2); color: #fff; transform: translateY(-1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-small { padding: .55rem 1rem; font-size: .93rem; border-radius: 10px; }
.btn-ghost { background: var(--surface); color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--surface); border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; border-color: #fff; color: var(--navy); box-shadow: none; }
.btn-light:hover { background: var(--teal-soft); border-color: var(--teal-soft); color: var(--navy); }
.btn-glass { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); color: #fff; box-shadow: none; }
.btn-glass:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none; }
.link-arrow .icon { width: 1em; height: 1em; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Badges and states ---------- */
.badge { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 650; letter-spacing: .01em; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-dev { background: var(--warn-bg); color: var(--warn); }
.badge-dark { background: rgba(255,255,255,.08); color: #ffd79a; border: 1px solid rgba(255,215,154,.25); }
.badge-teal { background: var(--teal-soft); color: var(--teal-2); }
.sev { display: inline-flex; align-items: center; gap: .35rem; padding: .18rem .6rem; border-radius: 6px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.sev-critical { background: var(--crit-bg); color: var(--crit); }
.sev-warning { background: var(--warn-bg); color: var(--warn); }
.sev-information { background: var(--info-bg); color: var(--info); }
.sev-healthy { background: var(--ok-bg); color: var(--ok); }
.sev-unknown { background: var(--unk-bg); color: var(--unk); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: .9rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.5) blur(12px); -webkit-backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--navy); color: #fff; font-weight: 800; font-size: .88rem; letter-spacing: .02em; }
.brand-mark::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 6px; height: 3px; border-radius: 2px; background: var(--teal-bright); }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text strong { font-size: 1rem; font-weight: 750; letter-spacing: -.01em; }
.brand-text span { font-size: .74rem; color: var(--teal); font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: .5rem .75rem; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 550; }
.main-nav a:hover { background: var(--teal-soft); color: var(--navy); }
.main-nav a[aria-current="page"] { color: var(--teal-2); background: var(--teal-soft); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.lang { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; font-weight: 650; color: var(--muted); text-decoration: none; padding: .45rem .65rem; border-radius: 9px; }
.lang .icon { width: 1em; height: 1em; }
.lang:hover { color: var(--navy); background: var(--teal-soft); }

/* Mobile menu: <details>, no script needed */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 10px; font-weight: 650; font-size: .93rem; color: var(--navy); background: #fff; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--navy); }
.menu-panel { position: absolute; right: 0; top: calc(100% + .6rem); width: min(300px, 86vw); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: .5rem; }
.menu-panel a { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; border-radius: 9px; text-decoration: none; color: var(--ink); font-weight: 600; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--teal-soft); color: var(--teal-2); }
.menu-panel hr { border: 0; border-top: 1px solid var(--line); margin: .4rem 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section-white { background: var(--surface); border-block: 1px solid var(--line-2); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { font-size: 1.13rem; color: var(--muted); margin: 0; }
.section-dark { position: relative; background: var(--navy); color: #c9d5e4; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 90% 0%, rgba(47, 193, 184, .16), transparent 70%), radial-gradient(ellipse 40% 50% at 0% 100%, rgba(29, 95, 209, .18), transparent 70%); pointer-events: none; }
.section-dark > * { position: relative; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--teal-bright); }
.section-dark .section-head .lead { color: #a9b8cb; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #c9d5e4; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hero::before { content: ""; position: absolute; inset: 0; background:
    radial-gradient(ellipse 55% 65% at 80% 15%, rgba(47, 193, 184, .22), transparent 70%),
    radial-gradient(ellipse 45% 55% at 5% 95%, rgba(29, 95, 209, .22), transparent 70%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 40px 40px; pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: #fff; margin-top: 1.1rem; }
.hero h1 em { font-style: normal; color: var(--teal-bright); }
.hero .lead { font-size: 1.2rem; color: #b9c7d8; max-width: 34rem; margin-bottom: 2rem; }
.hero .eyebrow { color: var(--teal-bright); margin: 0; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 2rem 0 0; font-size: .93rem; color: #b9c7d8; }
.hero-meta li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta .icon { color: var(--teal-bright); width: 1.1em; height: 1.1em; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero::before { content: ""; position: absolute; inset: 0; background:
    radial-gradient(ellipse 45% 80% at 95% 0%, rgba(47, 193, 184, .14), transparent 70%),
    linear-gradient(rgba(12,124,124,.045) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, rgba(12,124,124,.045) 1px, transparent 1px) 0 0 / 36px 36px; pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent); mask-image: linear-gradient(to bottom, #000 40%, transparent); }
.page-hero > .container { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: 20ch; }
.page-hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 42rem; margin: 0; }
.crumbs { display: flex; gap: .45rem; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 1.4rem; list-style: none; padding: 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal); }
.crumbs li + li::before { content: "/"; margin-right: .45rem; color: #a9b5c3; }

/* ---------- App window mock ---------- */
.app { position: relative; border-radius: 14px; background: #f4f7fa; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; color: var(--ink); font-size: .84rem; line-height: 1.4; }
.app-bar { display: flex; align-items: center; gap: .55rem; padding: .7rem .9rem; background: #fff; border-bottom: 1px solid var(--line); }
.app-dots { display: flex; gap: 5px; }
.app-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d5dde6; }
.app-title { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--navy); margin-left: .4rem; }
.app-title b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--teal); color: #fff; font-size: .62rem; }
.app-status { margin-left: auto; display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; color: var(--ok); font-weight: 650; }
.app-status .icon { width: 1em; height: 1em; }
.app-body { padding: .9rem; display: grid; gap: .7rem; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .55rem .65rem; }
.kpi strong { display: block; font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--navy); }
.kpi span { font-size: .7rem; color: var(--muted); font-weight: 550; }
.kpi.c strong { color: var(--crit); } .kpi.w strong { color: var(--warn); } .kpi.i strong { color: var(--info); }
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.cat { display: grid; grid-template-columns: 1fr 52px 16px; gap: .5rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .42rem .6rem; font-size: .76rem; font-weight: 550; }
.cat .bar { height: 5px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.cat .bar i { display: block; height: 100%; border-radius: 4px; }
.cat b { text-align: right; color: var(--navy); }
.w20 { width: 20%; } .w40 { width: 40%; } .w60 { width: 60%; } .w80 { width: 80%; } .w100 { width: 100%; }
.bar-c { background: var(--crit); } .bar-w { background: #d98a1c; } .bar-i { background: var(--info); } .bar-ok { background: var(--ok); }
.app-finding { display: grid; grid-template-columns: auto 1fr auto; gap: .65rem; align-items: center; background: #fff; border: 1px solid #f3c9c4; border-left: 4px solid var(--crit); border-radius: 10px; padding: .65rem .75rem; }
.app-finding .ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--crit-bg); color: var(--crit); }
.app-finding .ico .icon { width: 1rem; height: 1rem; }
.app-finding strong { display: block; font-size: .82rem; color: var(--navy); }
.app-finding small { color: var(--muted); font-size: .72rem; }
.app-finding .go { font-size: .74rem; font-weight: 700; color: #fff; background: var(--teal); border-radius: 7px; padding: .35rem .65rem; white-space: nowrap; }
.app-note { text-align: right; font-size: .72rem; color: #8193a8; margin-top: .9rem; }
.hero-visual { position: relative; }
.hero-visual::after { content: ""; position: absolute; inset: 8% -4% -6% 8%; background: radial-gradient(closest-side, rgba(47,193,184,.28), transparent); filter: blur(30px); z-index: -1; }
.float-card { position: absolute; left: -2.2rem; bottom: -1.6rem; display: flex; gap: .6rem; align-items: center; background: #fff; border-radius: 12px; padding: .65rem .85rem; box-shadow: var(--shadow-lg); font-size: .8rem; color: var(--ink); max-width: 250px; line-height: 1.35; }
.float-card .ico { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: var(--ok-bg); color: var(--ok); }
.float-card strong { display: block; color: var(--navy); font-size: .82rem; }

/* ---------- Cards and grids ---------- */
.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: .4rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p { color: var(--muted); font-size: .98rem; }
.card-hover { transition: border-color .15s, box-shadow .15s, transform .15s; }
.card-hover:hover { border-color: #b8d9d7; box-shadow: var(--shadow); transform: translateY(-2px); }
.tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); margin-bottom: 1rem; }
.tile .icon { width: 1.35rem; height: 1.35rem; }
.tile-navy { background: var(--navy); color: var(--teal-bright); }
.section-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); box-shadow: none; }
.section-dark .card p { color: #a9b8cb; }
.section-dark .tile { background: rgba(47,193,184,.12); color: var(--teal-bright); }

/* Module list */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.module { display: flex; gap: .85rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.05rem; }
.module .tile { width: 38px; height: 38px; border-radius: 10px; margin: 0; flex: none; }
.module .tile .icon { width: 1.15rem; height: 1.15rem; }
.module h3 { font-size: .98rem; margin: .05rem 0 .15rem; }
.module p { font-size: .86rem; color: var(--muted); margin: 0; line-height: 1.45; }

/* Principle steps */
.principle { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.principle li { list-style: none; padding: 1.6rem 1.35rem; border-right: 1px solid var(--line); position: relative; }
.principle li:last-child { border-right: 0; }
.principle li::before { counter-increment: step; content: "0" counter(step); display: block; font-size: .8rem; font-weight: 800; color: var(--teal); letter-spacing: .08em; margin-bottom: .8rem; }
.principle h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.principle p { font-size: .9rem; color: var(--muted); margin: 0; }
.principle li.hl { background: linear-gradient(180deg, var(--teal-soft), #fff); }
.principle-line { margin: 1.4rem 0 0; text-align: center; font-weight: 600; color: var(--navy); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.checklist { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .9rem; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: .75rem; align-items: start; }
.checklist .tick { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--teal-soft); color: var(--teal); }
.checklist .tick .icon { width: .95rem; height: .95rem; }
.checklist strong { display: block; color: var(--navy); }
.checklist span { color: var(--muted); font-size: .95rem; }

/* Finding card (example) */
.finding { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.finding-head { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); }
.finding-head h3 { margin: 0; font-size: 1.05rem; flex: 1 1 14rem; }
.finding-id { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.finding dl { margin: 0; }
.finding .row { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .85rem 1.3rem; border-bottom: 1px solid var(--line-2); font-size: .93rem; }
.finding .row:last-child { border-bottom: 0; }
.finding dt { font-weight: 650; color: var(--navy); }
.finding dd { margin: 0; color: var(--ink); }
.finding dd em { color: var(--muted); }
.finding-foot { display: flex; gap: .6rem; padding: 1rem 1.3rem; background: #f8fafc; border-top: 1px solid var(--line); }

.legend { display: grid; gap: .55rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.legend .sev { justify-self: start; }
.legend li { display: grid; grid-template-columns: 7.5rem 1fr; gap: .8rem; align-items: center; font-size: .93rem; color: var(--muted); list-style: none; }
.legend ul { padding: 0; margin: 0; display: grid; gap: .55rem; }
.callout { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; border-radius: 14px; padding: 1.1rem 1.25rem; background: var(--teal-soft); border: 1px solid #c4e5e2; color: var(--ink); }
.callout .icon { color: var(--teal); width: 1.3rem; height: 1.3rem; margin-top: .15rem; }
.callout p { margin: 0; }
.callout strong { color: var(--navy); }
.callout-warn { background: var(--warn-bg); border-color: #f2d6ae; }
.callout-warn .icon { color: var(--warn); }
.callout-crit { background: var(--crit-bg); border-color: #f1c4bf; }
.callout-crit .icon { color: var(--crit); }

/* Two paths */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.path { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); border-top: 4px solid var(--teal); }
.path.emergency { border-top-color: var(--warn); }
.path .path-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.path .path-head .tile { margin: 0; }
.path.emergency .tile { background: var(--warn-bg); color: var(--warn); }
.path h3 { margin: 0; font-size: 1.2rem; }
.path ol { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .65rem; counter-reset: p; }
.path ol li { display: grid; grid-template-columns: 28px 1fr; gap: .7rem; font-size: .95rem; color: var(--muted); }
.path ol li::before { counter-increment: p; content: counter(p); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-2); font-weight: 750; font-size: .8rem; }
.path.emergency ol li::before { background: var(--warn-bg); color: var(--warn); }
.path ol strong { color: var(--navy); }
.merge { margin-top: 1.1rem; display: flex; gap: 1rem; align-items: center; justify-content: center; text-align: center; background: var(--navy); color: #c9d5e4; border-radius: var(--radius); padding: 1.2rem 1.5rem; font-size: .98rem; }
.merge strong { color: #fff; }
.merge .icon { color: var(--teal-bright); }

/* Free promise band */
.promise { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; background: linear-gradient(120deg, var(--teal-soft), #fff 70%); border: 1px solid #c4e5e2; border-radius: 20px; padding: 1.8rem 2rem; }
.promise .big { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--teal); color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.promise h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 0 0 .25rem; }
.promise p { margin: 0; color: var(--muted); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq { display: grid; gap: .65rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 1.25rem; transition: border-color .15s, box-shadow .15s; }
.faq details[open] { border-color: #b8d9d7; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 0; font-weight: 650; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--teal); transition: transform .2s; width: 1.1rem; height: 1.1rem; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 1.15rem; }

/* CTA band */
.cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%); border-radius: 24px; padding: clamp(2rem, 5vw, 3.2rem); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; color: #b9c7d8; }
.cta::before { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; height: 220%; background: radial-gradient(closest-side, rgba(47,193,184,.25), transparent); pointer-events: none; }
.cta > * { position: relative; }
.cta h2 { color: #fff; margin-bottom: .4rem; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.cta p { margin: 0; max-width: 40rem; }

/* Timeline (how it works) */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 1rem; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--teal), var(--line)); }
.timeline > li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; }
.timeline .num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--surface); border: 2px solid var(--teal); color: var(--teal); }
.timeline .num .icon { width: 1.4rem; height: 1.4rem; }
.timeline .body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-sm); }
.timeline .body h3 { display: flex; gap: .6rem; align-items: baseline; margin-bottom: .7rem; }
.timeline .body h3 small { font-size: .75rem; font-weight: 750; color: var(--teal); letter-spacing: .1em; text-transform: uppercase; }
.timeline .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.timeline .cols div { font-size: .93rem; color: var(--muted); }
.timeline .cols strong { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-bottom: .2rem; }

/* Chevron flow */
.flow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; list-style: none; padding: 0; margin: 0; }
.flow li { background: var(--navy-2); color: #fff; padding: 1rem .8rem 1rem 1.4rem; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%); font-size: .82rem; line-height: 1.35; color: #b9c7d8; }
.flow li:first-child { clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); padding-left: 1rem; }
.flow li strong { display: block; color: #fff; font-size: .93rem; margin-bottom: .1rem; }
.flow li.hl { background: var(--teal); color: #e2f6f4; }

/* Escalation ladder (emergency) */
.ladder { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.ladder li { display: grid; grid-template-columns: 54px 15rem 1fr; gap: 1rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1.1rem; box-shadow: var(--shadow-sm); }
.ladder .lvl { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-weight: 800; font-size: 1.1rem; color: #fff; }
.ladder strong { color: var(--navy); }
.ladder span { color: var(--muted); font-size: .95rem; }
.l1 { background: #0f7a55; } .l2 { background: #138073; } .l3 { background: #1d5fd1; } .l4 { background: #b26a0b; } .l5 { background: #b42318; }
.ladder li.last { border-color: #f1c4bf; background: #fffafa; }

/* Numbered steps (emergency "what to do now") */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; counter-reset: s; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.4rem 4.4rem; box-shadow: var(--shadow-sm); }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 1.3rem; top: 1.3rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 800; }
.steps h3 { margin-bottom: .3rem; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Privilege diagram (security) */
.diagram { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: .6rem; align-items: stretch; }
.node { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem; text-align: center; box-shadow: var(--shadow-sm); }
.node .tile { margin: 0 auto .7rem; }
.node strong { display: block; color: var(--navy); }
.node span { font-size: .85rem; color: var(--muted); }
.node.dark { background: var(--navy); border-color: var(--navy); }
.node.dark strong { color: #fff; } .node.dark span { color: #a9b8cb; }
.node.dark .tile { background: rgba(47,193,184,.15); color: var(--teal-bright); }
.link { display: grid; place-items: center; align-content: center; gap: .3rem; color: var(--teal); font-size: .74rem; font-weight: 700; text-align: center; min-width: 88px; }
.link .icon { width: 1.4rem; height: 1.4rem; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
th { text-align: left; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: .9rem 1.2rem; background: #f8fafc; border-bottom: 1px solid var(--line); }
td { padding: .9rem 1.2rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 650; color: var(--navy); }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.8rem; box-shadow: var(--shadow-sm); }
.tier.featured { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.tier .flag { position: absolute; top: -.8rem; left: 1.8rem; background: var(--teal); color: #fff; font-size: .74rem; font-weight: 750; padding: .25rem .7rem; border-radius: 999px; letter-spacing: .02em; }
.tier h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.tier .for { color: var(--muted); font-size: .93rem; margin-bottom: 1.2rem; min-height: 3em; }
.tier .price { font-size: 2.3rem; font-weight: 800; color: var(--navy); letter-spacing: -.04em; line-height: 1; margin-bottom: .3rem; }
.tier .price small { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tier .price.tbd { font-size: 1.45rem; letter-spacing: -.02em; padding: .4rem 0 .25rem; }
.tier .note { font-size: .82rem; color: var(--muted); margin-bottom: 1.3rem; }
.features { list-style: none; padding: 1.2rem 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: .6rem; flex: 1; }
.features li { display: grid; grid-template-columns: 22px 1fr; gap: .55rem; font-size: .94rem; }
.features .icon { width: 1.05rem; height: 1.05rem; margin-top: .2rem; color: var(--teal); }
.features li.no { color: #8f9bab; }
.features li.no .icon { color: #b4bfcc; }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; list-style: none; padding: 0; margin: 0; }
.roadmap li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.15rem; position: relative; }
.roadmap li .n { font-size: .74rem; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.roadmap li h3 { font-size: 1rem; margin: .25rem 0 .3rem; }
.roadmap li p { font-size: .86rem; color: var(--muted); margin: 0; }
.roadmap li.now { border: 2px solid var(--teal); background: linear-gradient(180deg, var(--teal-soft), #fff); }
.roadmap li.now .n { color: var(--teal); }
.roadmap li .now-flag { position: absolute; top: .9rem; right: .9rem; }

/* Download panel */
.dl { display: grid; grid-template-columns: 1.25fr .75fr; gap: 1.1rem; align-items: start; }
.dl-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow); }
.dl-card .state { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.2rem; }
.dl-card .state .tile { margin: 0; width: 54px; height: 54px; border-radius: 15px; }
.dl-card h2 { font-size: 1.55rem; margin: 0; }
.meta-list { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.2rem; margin: 1.3rem 0; font-size: .93rem; }
.meta-list dt { color: var(--muted); }
.meta-list dd { margin: 0; font-weight: 600; color: var(--navy); word-break: break-all; }
pre.cmd { background: var(--navy); color: #d6e2ef; padding: 1rem 1.15rem; border-radius: 12px; overflow-x: auto; font-family: var(--mono); font-size: .86rem; line-height: 1.55; margin: .8rem 0 0; }
pre.cmd .c { color: #7f93ab; }
.req-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.req-list li { display: grid; grid-template-columns: 22px 1fr; gap: .65rem; font-size: .94rem; }
.req-list .icon { color: var(--teal); width: 1.1rem; height: 1.1rem; margin-top: .2rem; }
.req-list strong { color: var(--navy); }

/* Error page */
.error-page { padding: clamp(4rem, 10vw, 8rem) 0; text-align: center; }
.error-page .code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; background: linear-gradient(120deg, var(--navy), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 1rem; }
.error-page .actions { justify-content: center; margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1a2e; color: #93a4b9; margin-top: clamp(4rem, 8vw, 6rem); padding: 3.5rem 0 1.8rem; font-size: .93rem; }
.site-footer.flush { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand-mark { background: #16304f; }
.site-footer .brand-text span { color: var(--teal-bright); }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #b9c7d8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer p { max-width: 24rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .main-nav, .header-actions .btn { display: none; }
    .menu { display: block; }
    .header-actions { margin-left: auto; }
    .modules { grid-template-columns: repeat(3, 1fr); }
    .principle { grid-template-columns: repeat(3, 1fr); }
    .principle li:nth-child(3) { border-right: 0; }
    .principle li:nth-child(n+4) { border-top: 1px solid var(--line); }
    .flow { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .hero-inner, .split, .faq-wrap, .dl { grid-template-columns: 1fr; }
    .hero-visual { max-width: 560px; }
    .float-card { left: auto; right: 1rem; }
    .grid-3, .tiers, .grid-4 { grid-template-columns: 1fr 1fr; }
    .roadmap { grid-template-columns: 1fr 1fr; }
    .paths, .steps { grid-template-columns: 1fr; }
    .ladder li { grid-template-columns: 48px 1fr; }
    .ladder li > span:last-child { grid-column: 2; }
    .ladder li .lvl { grid-row: span 2; }
    .diagram { grid-template-columns: 1fr; }
    .link { min-width: 0; grid-auto-flow: column; padding: .2rem 0; }
    .link .icon { transform: rotate(90deg); }
    .cta, .promise { grid-template-columns: 1fr; }
    .promise .big { display: none; }
}
@media (max-width: 640px) {
    body { font-size: 1rem; }
    .brand-text strong { font-size: .95rem; }
    .lang span { display: none; }
    .modules, .grid-3, .grid-2, .grid-4, .tiers, .roadmap { grid-template-columns: 1fr; }
    .principle { grid-template-columns: 1fr; }
    .principle li { border-right: 0; border-top: 1px solid var(--line); }
    .principle li:first-child { border-top: 0; }
    .flow { grid-template-columns: 1fr; }
    .flow li, .flow li:first-child { clip-path: none; border-radius: 10px; padding: .8rem 1rem; }
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .cats { grid-template-columns: 1fr; }
    .finding .row { grid-template-columns: 1fr; gap: .2rem; }
    .timeline .cols { grid-template-columns: 1fr; gap: .6rem; }
    .timeline::before { left: 21px; }
    .timeline > li { grid-template-columns: 44px 1fr; gap: .8rem; }
    .timeline .num { width: 44px; height: 44px; border-radius: 12px; }
    .float-card { position: static; margin-top: 1rem; max-width: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .legend li { grid-template-columns: 1fr; gap: .2rem; }
    .meta-list { grid-template-columns: 1fr; gap: .1rem; }
    .meta-list dd { margin-bottom: .5rem; }
    .steps li { padding: 4.2rem 1.2rem 1.3rem; }
}

@media print {
    .site-header, .site-footer, .cta, .skip { display: none; }
    body { background: #fff; }
    .hero, .section-dark { background: #fff; color: var(--ink); }
    .hero h1, .section-dark h2, .section-dark h3 { color: var(--navy); }
}

/* ---------- Small helpers ---------- */
.mt-s { margin-top: .5rem; }
ul.grid { list-style: none; padding: 0; margin: 0; }
.never-x { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: rgba(240, 82, 70, .16); color: #ff9c92; margin-right: .7rem; vertical-align: -6px; }
.never-x .icon { width: .9rem; height: .9rem; }
.section-dark .card p { margin: 0; color: #d3dde9; }
.section-dark .split p { color: #a9b8cb; }
.small .icon { display: inline-block; width: 1em; height: 1em; vertical-align: -2px; margin-right: .35rem; color: var(--teal); }
.split > *, .dl > *, .faq-wrap > *, .hero-inner > * { min-width: 0; }
.split.top { align-items: start; }

/* Language menu, used automatically when three or more languages are configured */
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; }
.langs summary::-webkit-details-marker { display: none; }
.langs-panel { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 180px; list-style: none; margin: 0; padding: .4rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 60; }
.langs-panel a { display: block; padding: .55rem .75rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; }
.langs-panel a:hover { background: var(--teal-soft); color: var(--teal-2); }

/* ---------- Header: shared Shiva Computers bar (shiva-nav) + Shiva Assist product bar ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
html { scroll-padding-top: 130px; }
.product-bar { background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
.product-bar-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 52px; }
.product-name { display: inline-flex; align-items: center; gap: .55rem; color: #fff; font-weight: 750; text-decoration: none; white-space: nowrap; }
.product-name:hover { color: #fff; }
.product-mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--teal); color: #fff; font-size: .68rem; font-weight: 800; }
.product-nav { margin-left: auto; min-width: 0; }
.product-nav ul { display: flex; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.product-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .8rem; border-radius: 8px; color: #b9c7d8; font-size: .93rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.product-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.product-nav a[aria-current="page"] { color: #fff; background: rgba(47,193,184,.16); box-shadow: inset 0 -2px 0 var(--teal-bright); border-radius: 8px 8px 0 0; }
@media (max-width: 900px) {
    .site-header { position: static; }
    html { scroll-padding-top: 0; }
    .product-bar-inner { gap: .75rem; }
    .product-nav { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
    .product-nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 480px) { .product-name { font-size: 0; gap: 0; } .product-name .product-mark { font-size: .68rem; } }
.product-bar-inner { width: min(1160px, 100% - 2rem); }
