/* Shiva Rescue OS · rescue.shivacomputers.nl
   Brand colours follow the Shiva Computers website specification. No external fonts or scripts. */

:root {
    --navy: #10233e;
    --navy-2: #18324f;
    --blue: #1465df;
    --blue-dark: #0f4fb0;
    --blue-light: #eff6ff;
    --bg: #f8fbff;
    --ink: #172233;
    --muted: #536176;
    --line: #dbe4ef;
    --white: #ffffff;
    --ok: #0b7a4b;   --ok-bg: #e7f6ee;
    --info: #1465df; --info-bg: #e8f0fd;
    --warn: #a15c07; --warn-bg: #fdf3e3;
    --crit: #b42318; --crit-bg: #fdecea;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(16, 35, 62, .06), 0 8px 24px rgba(16, 35, 62, .06);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1160px, 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; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.small { font-size: .9rem; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 650; text-decoration: none; border: 2px solid var(--blue); transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-small { padding: .5rem .95rem; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--white); border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; border-color: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-light); border-color: var(--blue-light); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 800; font-size: .9rem; letter-spacing: .02em; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1rem; }
.brand-text span { font-size: .78rem; color: var(--blue); font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: .45rem .7rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 550; }
.main-nav a:hover { background: var(--blue-light); color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.lang { font-size: .9rem; font-weight: 600; color: var(--muted); text-decoration: none; padding: .4rem .6rem; border-radius: 8px; }
.lang:hover { color: var(--navy); background: var(--blue-light); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); background:
    radial-gradient(ellipse 60% 60% at 85% 20%, rgba(20, 101, 223, .12), transparent 70%),
    linear-gradient(rgba(20, 101, 223, .05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(20, 101, 223, .05) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--bg); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 36rem; }
.hero .actions { margin: 1.75rem 0 1.25rem; }
.hero-note { font-size: .9rem; color: var(--muted); max-width: 34rem; border-left: 3px solid var(--line); padding-left: .85rem; }
.badge { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; padding: .3rem .8rem .3rem .65rem; border-radius: 99px; background: var(--warn-bg); color: var(--warn); font-size: .85rem; font-weight: 700; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(161, 92, 7, .15); }
.eyebrow { margin: 0 0 .6rem; font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }

/* Scan panel */
.panel { margin: 0; background: var(--navy); color: #dce6f3; border-radius: 18px; padding: 0 0 1.1rem; box-shadow: 0 30px 60px -20px rgba(16, 35, 62, .45), 0 0 0 1px rgba(255, 255, 255, .04) inset; overflow: hidden; }
.panel-bar { display: flex; gap: 6px; padding: .8rem 1.1rem; background: var(--navy-2); }
.panel-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 1.4rem .6rem; }
.panel-head strong { color: #fff; font-size: 1.05rem; }
.panel-head span { font-size: .82rem; color: #9fb1c8; font-family: var(--mono); }
.scan { list-style: none; margin: 0; padding: 0 1.4rem; }
.scan li { display: grid; grid-template-columns: 9.5rem 1fr auto; gap: .75rem; align-items: center; padding: .62rem 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .92rem; }
.scan-label { color: #fff; font-weight: 600; }
.scan-value { color: #aebdd0; }
.pill { font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: .18rem .55rem; border-radius: 6px; white-space: nowrap; }
.pill-ok { background: rgba(52, 199, 123, .16); color: #6ee0a4; }
.pill-info { background: rgba(93, 156, 255, .18); color: #9cc2ff; }
.pill-warn { background: rgba(245, 166, 35, .18); color: #ffc66b; }
.pill-crit { background: rgba(240, 82, 72, .2); color: #ff9a92; }
.panel-advice { margin: .9rem 1.4rem 0; padding: .75rem .9rem; border-radius: 10px; background: rgba(20, 101, 223, .22); color: #e6eefb; font-size: .9rem; }
.panel-advice strong { color: #fff; }
.panel figcaption { margin: .8rem 1.4rem 0; font-size: .78rem; color: #8597ae; }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-tint { background: var(--white); border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head .lead { font-size: 1.1rem; color: var(--muted); }
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.section-tint .card { background: var(--bg); box-shadow: none; }
.card p { margin: 0; color: var(--muted); }
.card-icon { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-light); color: var(--blue); margin-bottom: 1rem; }
.card-icon .icon { width: 22px; height: 22px; }
.feature-top { display: flex; justify-content: space-between; align-items: flex-start; }
.phase { font-size: .75rem; font-weight: 700; padding: .25rem .6rem; border-radius: 99px; white-space: nowrap; }
.phase-first { background: var(--ok-bg); color: var(--ok); }
.phase-later { background: #eef1f5; color: var(--muted); }
.feature-later .card-icon { background: #eef1f5; color: var(--muted); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: step; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.step { position: relative; padding: 1.5rem 1.25rem; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step-num { display: block; font-family: var(--mono); font-size: .85rem; font-weight: 700; color: var(--blue); margin-bottom: .75rem; }
.step h3 { font-size: 1.02rem; }
.step p { margin: 0; color: var(--muted); font-size: .93rem; }
.step-key { background: var(--blue); }
.step-key .step-num, .step-key h3, .step-key p { color: #fff; }
.step-key p { color: #dbe8fd; }

/* Safety (dark) */
.section-dark { background: var(--navy); color: #c8d4e3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #7fb0ff; }
.section-dark .lead { color: #aebdd0; }
.safety-list { list-style: none; margin: 0; padding: 0; }
.safety-list li { display: flex; gap: 1rem; padding: 1.25rem; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.safety-list p { margin: 0; font-size: .95rem; }
.section-dark .card-icon { background: rgba(127, 176, 255, .14); color: #9cc2ff; margin: 0; }
.limits { display: flex; gap: 1rem; margin-top: 1.5rem; padding: 1.25rem 1.4rem; border-radius: var(--radius); background: rgba(245, 166, 35, .1); border: 1px solid rgba(245, 166, 35, .3); }
.limits .card-icon { background: rgba(245, 166, 35, .18); color: #ffc66b; }
.limits p { margin: 0; color: #e8dcc8; }

/* Status timeline */
.status-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding: 0 0 1.75rem 2.6rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid #b7c4d4; }
.timeline-next::before { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 5px rgba(20, 101, 223, .15); }
.timeline-meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; margin-bottom: .3rem; }
.state { font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: 99px; background: #eef1f5; color: var(--muted); }
.timeline-next .state { background: var(--info-bg); color: var(--info); }
.when { font-size: .88rem; color: var(--muted); font-weight: 600; }
.timeline-item h3 { margin-bottom: .25rem; }
.timeline-item p { margin: 0; color: var(--muted); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font-weight: 650; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 1.2rem; color: var(--muted); max-width: 42rem; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--blue) 0%, #0d47a1 100%); color: #e3ecfb; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.cta h2 { color: #fff; margin-bottom: .35rem; }
.cta p { margin: 0; max-width: 36rem; }

/* Footer */
.site-footer { background: var(--navy); color: #9fb1c8; padding: 3rem 0 1.5rem; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand p { max-width: 30rem; margin: 1rem 0 0; }
.brand-light { color: #fff; }
.brand-light .brand-mark { background: var(--blue); }
.brand-light .brand-text span { color: #7fb0ff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; align-content: start; }
.footer-links a { color: #dce6f3; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding-top: 1.25rem; font-size: .85rem; }

/* 404 */
.not-found { min-height: 55vh; }

/* Responsive */
@media (max-width: 1080px) {
    .main-nav { display: none; }
    .header-actions { margin-left: auto; }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .step:nth-child(3) { border-right: 0; }
    .step:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
    .hero-inner, .status-layout, .faq-layout { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .cta-inner, .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
    body { font-size: 1rem; }
    .grid-3 { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .step { border-right: 0; border-bottom: 1px solid var(--line); }
    .step:last-child { border-bottom: 0; }
    .scan li { grid-template-columns: 1fr auto; }
    .scan-value { grid-column: 1; grid-row: 2; font-size: .85rem; margin-top: -.5rem; }
    .scan .pill { grid-row: 1 / span 2; }
    .brand-text span { display: none; }
    .hero .lead { font-size: 1.08rem; }
}
@media print {
    .site-header, .cta, .skip { display: none; }
    .section-dark { background: #fff; color: var(--ink); }
}

/* Header: shared Shiva Computers bar (shiva-nav) + Shiva Rescue OS 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); }
.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(--blue); 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,.07); }
@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; } }
