/* ============================================================
   Valenius draft2 — light, clean SaaS design
   Brand: --primary #0F4E66 (petrol), --accent #1DABDA (cyan),
          --gold #FFBE00
   No build step. Plain CSS, custom properties in :root.
   ============================================================ */

/* ------------------------------------------------------------
   Inter — self-hosted. The site loads NO third-party resources;
   never reintroduce the fonts.googleapis.com/fonts.gstatic.com
   <link>s (they leak every visitor's IP to Google).
   These are the variable font (wght 100-900), so one file per
   subset covers every weight the design uses (400-800). The
   unicode-range split means latin-ext is only fetched by pages
   that actually need a character outside latin.
   Inter is licensed under the SIL Open Font License 1.1 —
   see fonts/LICENSE.txt.
   ------------------------------------------------------------ */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --primary:      #0F4E66;
    --primary-deep: #0A3A4E;
    --accent:       #1DABDA;
    --accent-soft:  #E4F4FB;
    --gold:         #FFBE00;
    --gold-soft:    #FFF6DC;

    --ink:    #0C2530;
    --muted:  #54707F;
    --faint:  #8AA0AC;
    --line:   #E3EBF0;
    --bg:     #FFFFFF;
    --bg-alt: #F6F9FB;
    --bg-deep:#0C2C3B;

    --radius:    16px;
    --radius-sm: 10px;
    --shadow:    0 1px 2px rgba(12,37,48,.05), 0 8px 24px rgba(12,37,48,.07);
    --shadow-lg: 0 2px 4px rgba(12,37,48,.06), 0 20px 48px rgba(12,37,48,.12);

    --font: "Inter", -apple-system, "Segoe UI", system-ui, Roboto, sans-serif;
    --mono: "JetBrains Mono", Consolas, "Cascadia Code", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- typography helpers ---------- */

.eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }

.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.section-lead  { font-size: 1.08rem; color: var(--muted); max-width: 640px; }

.center { text-align: center; }
.center .section-lead { margin: 0 auto; }

.accent-text { color: var(--accent); }

/* ---------- buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all .18s ease;
    text-decoration: none !important;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-accent {
    background: var(--accent);
    color: #fff;
}
.btn-accent:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline {
    background: #fff;
    color: var(--primary);
    border-color: var(--line);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost { color: var(--primary); padding: 12px 14px; }
.btn-ghost:hover { color: var(--accent); }

/* ---------- nav ---------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 68px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--ink);
    text-decoration: none !important;
}
.nav-brand img { height: 34px; width: auto; }

.nav-links {
    display: flex;
    gap: 26px;
    list-style: none;
    margin-left: 8px;
}
.nav-links a {
    color: var(--muted);
    font-weight: 500;
    font-size: .95rem;
    text-decoration: none !important;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--primary); font-weight: 700; }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.lang-switch {
    display: flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
}
.lang-switch button {
    border: 0;
    background: transparent;
    padding: 6px 12px;
    font: inherit;
    font-size: .82rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
}
.lang-switch button.active { background: var(--primary); color: #fff; }

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 1.6rem;
    color: var(--ink);
    cursor: pointer;
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    padding: 96px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(900px 480px at 80% -10%, var(--accent-soft) 0%, transparent 60%),
        radial-gradient(700px 420px at 8% 110%, #EDF6FA 0%, transparent 55%),
        var(--bg);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15,78,102,.10) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 70%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 70%);
    pointer-events: none;
}

.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow);
    margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.hero h1 {
    font-size: clamp(2.3rem, 4.6vw, 3.4rem);
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin-bottom: 30px; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }

.hero-meta { font-size: .88rem; color: var(--faint); }
.hero-meta strong { color: var(--muted); font-weight: 600; }

.hero-trademark { font-size: .75rem; color: var(--faint); margin-top: 30px; max-width: 540px; }
.hero-trademark a { color: var(--faint); text-decoration: underline; }

/* hero visual: floating logo + stylized tray-connect card */

.hero-visual { position: relative; }

.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}
.hero-logo img {
    width: 168px;
    height: 168px;
    filter: drop-shadow(0 0 48px rgba(29,171,218,.45)) drop-shadow(0 0 16px rgba(29,171,218,.3));
    animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

.hero-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 22px;
}
.hero-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.hero-card-header img { height: 26px; }
.hero-card-header span { font-weight: 700; }

.hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    font-size: .94rem;
}
.hero-row .status { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.status-ok    { color: #1B9E55; }
.status-idle  { color: var(--faint); }
.badge-verified {
    background: #E8F8EF;
    color: #1B9E55;
    font-size: .74rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 3px 10px;
}

.hero-float {
    position: absolute;
    right: -14px;
    top: 100%;
    margin-top: -22px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 12px 18px;
    font-size: .85rem;
    font-weight: 600;
}
.hero-float span { color: var(--gold); }

/* ---------- sections ---------- */

.section { padding: 88px 0; }
.section-alt  { background: var(--bg-alt); }
.section-dark { background: var(--bg-deep); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-lead, .section-dark p { color: #A8C2CE; }

.home-shot { max-width: 980px; margin: 0 auto; text-align: center; }
.home-shot a {
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: box-shadow .15s ease, transform .15s ease;
}
.home-shot a:hover, .home-shot a:focus-visible { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.home-shot img { display: block; width: 100%; height: auto; }
.home-shot figcaption { margin-top: 14px; font-size: .85rem; color: var(--muted); }

/* ---------- lightbox (used to open full-size screenshots in place) ---------- */
body.lightbox-locked { overflow: hidden; }
.lightbox-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 1000;
    padding: 40px;
    background: rgba(10,25,32,.88);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease;
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-overlay img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease;
}
.lightbox-close:hover, .lightbox-close:focus-visible { background: rgba(255,255,255,.22); }

.trust-shot { max-width: 960px; margin: 48px auto 0; text-align: center; }
.trust-shot img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.trust-shot figcaption { margin-top: 14px; font-size: .85rem; color: #A8C2CE; }

.section-head { margin-bottom: 48px; }

/* ---------- cards & grids ---------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.card p  { font-size: .95rem; color: var(--muted); }

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.card-icon.multi { width: auto; min-width: 46px; padding: 0 10px; }

.card-gold { border-color: var(--gold); }
.card-gold .card-icon { background: var(--gold-soft); }

/* full-width featured card: spans the whole grid row, icon left of the text */
.card-wide { grid-column: 1 / -1; display: flex; gap: 22px; align-items: flex-start; }
.card-wide .card-icon { margin-bottom: 0; flex-shrink: 0; }
/* .card p carries no bottom margin, so a CTA inside a featured card needs its own gap */
.card-wide .btn { margin-top: 18px; }

/* ---------- steps (how it works) ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }

.step {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px 26px;
}
.step-num {
    position: absolute;
    top: -16px;
    left: 24px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
}
.step h3 { font-size: 1.05rem; margin: 8px 0 8px; }
.step p { font-size: .93rem; color: var(--muted); }

/* ---------- audience split ---------- */

.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }

.audience-card {
    border-radius: var(--radius);
    padding: 32px 28px;
    border: 1px solid var(--line);
    background: #fff;
    display: flex;
    flex-direction: column;
}
.audience-card .check { flex: 1; }
.audience-card .btn { align-self: flex-start; }
.audience-card.msp { background: linear-gradient(160deg, var(--primary) 0%, var(--primary-deep) 100%); border: 0; }
.audience-card.msp h3, .audience-card.msp li { color: #fff; }
.audience-card.msp p { color: #A8C2CE; }
.audience-card.msp .check li::before { color: var(--gold); }
.audience-card.cloud { border: 2px solid var(--gold); }
.audience-card.cloud .audience-tag { background: var(--gold-soft); color: #8A6700; }

.audience-tag {
    display: inline-block;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 5px 12px;
    margin-bottom: 16px;
    background: var(--accent-soft);
    color: var(--primary);
}
.audience-card.msp .audience-tag { background: rgba(255,190,0,.16); color: var(--gold); }

.audience-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.audience-card p { margin-bottom: 18px; }

/* check lists */

.check { list-style: none; }
.check li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: .95rem;
    color: var(--ink);
}
.check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 800;
}

/* ---------- editions table ---------- */

.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }

.edition {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
}
.edition.pro { border: 2px solid var(--gold); position: relative; }

.edition-flag {
    position: absolute;
    top: -13px;
    left: 28px;
    background: var(--gold);
    color: var(--ink);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 4px 12px;
}

.edition h3 { font-size: 1.3rem; margin-bottom: 6px; }
.edition .edition-sub { color: var(--muted); font-size: .94rem; margin-bottom: 20px; }
.edition .check { margin-bottom: 24px; flex: 1; }
.edition .btn { align-self: flex-start; }

/* ---------- code blocks ---------- */

pre.code {
    background: var(--bg-deep);
    color: #D7E8F0;
    font-family: var(--mono);
    font-size: .84rem;
    line-height: 1.65;
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    overflow-x: auto;
}
code { font-family: var(--mono); font-size: .85em; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; }
pre.code .c { color: #6E93A3; }   /* comment */
pre.code .k { color: var(--gold); } /* keyword/cmd */

/* ---------- feature detail rows (features page) ---------- */

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 56px 0;
    border-bottom: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: 0; }
.feature-row h3 { font-size: 1.45rem; margin-bottom: 12px; }
.feature-row p { color: var(--muted); margin-bottom: 16px; }
.feature-row.reverse > .feature-media { order: -1; }

.feature-media {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
}

/* big illustrative icon tile (replaces screenshots/mockups) */
.feature-icon-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    font-size: 92px;
    line-height: 1;
    background:
        radial-gradient(360px 220px at 50% 30%, rgba(29,171,218,.14) 0%, transparent 70%),
        linear-gradient(160deg, var(--accent-soft) 0%, #FFFFFF 80%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 18px;
    user-select: none;
}
.feature-icon-tile.gold {
    background:
        radial-gradient(360px 220px at 50% 30%, rgba(255,190,0,.16) 0%, transparent 70%),
        linear-gradient(160deg, var(--gold-soft) 0%, #FFFFFF 80%);
}

/* real product screenshot, used sparingly where a live UI shot beats an icon */
.feature-shot {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 8px;
}
.feature-media p.feature-shot-cap {
    font-size: .8rem;
    color: var(--faint);
    margin-bottom: 18px;
}

/* "Under the hood" tech spec boxes */
.tech-specs {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
}
.tech-specs-title {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 10px;
}
.tech-specs ul { list-style: none; }
.tech-specs li {
    font-family: var(--mono);
    font-size: .8rem;
    color: var(--muted);
    padding: 5px 0;
    border-bottom: 1px dashed var(--line);
}
.tech-specs li:last-child { border-bottom: 0; }
.tech-specs li strong { color: var(--primary); font-weight: 600; }

/* inline EU flag (emoji flags don't render on Windows) */
img.eu {
    display: inline-block;
    height: .95em;
    width: auto;
    vertical-align: -0.08em;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(12,37,48,.08);
}

.card-icon img { width: 28px; height: auto; }

/* EU / data sovereignty band */
.sov {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 44px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 48px;
    box-shadow: var(--shadow);
}
.sov-icon {
    font-size: 96px;
    line-height: 1;
    text-align: center;
    user-select: none;
}
.sov-icon img {
    width: 130px;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}
.sov h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 12px; }
.sov p { color: var(--muted); margin-bottom: 18px; max-width: 680px; }
.sov .check { columns: 2; column-gap: 36px; }
.sov .check li { break-inside: avoid; }

.pill {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--primary);
    font-size: .76rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 12px;
}
.pill.gold { background: var(--gold-soft); color: #8A6700; }

/* ---------- pricing ---------- */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.price-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.price-card.featured { border: 2px solid var(--gold); box-shadow: var(--shadow); }

.price-flag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--ink);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 4px 14px;
    white-space: nowrap;
}

.price-tier { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.price-amount { font-size: 2rem; font-weight: 800; margin-bottom: 4px; }
.price-amount small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.price-sub { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.price-card .check { flex: 1; margin-bottom: 24px; }
.price-card .btn { width: 100%; justify-content: center; }
.price-note { font-size: .8rem; color: var(--faint); margin-top: 14px; text-align: center; }

.volume-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 8px 0 18px; }
.volume-table td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.volume-table td:last-child { text-align: right; font-weight: 600; }

.pricing-fine { text-align: center; color: var(--faint); font-size: .86rem; margin-top: 36px; }
.pricing-fine a { color: var(--muted); }

/* ---------- comparison table (compare.html) ---------- */

.compare-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.compare-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .82rem; }
.compare-table th, .compare-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
    hyphens: auto;
    min-width: 0;
}
.compare-table thead th {
    background: var(--bg-alt);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}
.compare-table td:first-child, .compare-table thead th:first-child {
    font-weight: 600;
    color: var(--ink);
}
.compare-table td { color: var(--muted); line-height: 1.5; }
.compare-table th.val-col { background: var(--primary); color: #fff; }
.compare-table td.val-col { background: var(--accent-soft); color: var(--ink); font-weight: 500; }
.compare-table tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 900px) {
    .compare-table { font-size: .76rem; }
    .compare-table th, .compare-table td { padding: 8px 8px; }
    .cmp-badge { padding: 2px 7px; font-size: .72rem; }
}
@media (max-width: 400px) {
    .compare-table th, .compare-table td { padding: 6px 5px; }
    .cmp-badge { padding: 1px 5px; font-size: .68rem; gap: 3px; }
}

.cmp-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    max-width: 100%;
}
.cmp-badge::before { font-weight: 800; line-height: 1; }
.cmp-yes     { background: #E1F5E9; color: #157347; }
.cmp-yes::before     { content: "\2713"; }
.cmp-partial { background: #FFEDD8; color: #B45309; }
.cmp-partial::before { content: "~"; }
.cmp-no      { background: #FBE4E4; color: #C0272B; }
.cmp-no::before      { content: "\2715"; }

/* ---------- docs ---------- */

.docs-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }

.docs-nav {
    position: sticky;
    top: 92px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    background: #fff;
}
.docs-nav ul { list-style: none; }
.docs-nav a {
    display: block;
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--muted);
    font-size: .92rem;
    text-decoration: none !important;
}
.docs-nav a:hover { background: var(--bg-alt); color: var(--ink); }

.docs-body h2 { font-size: 1.5rem; margin: 48px 0 14px; scroll-margin-top: 90px; }
.docs-body h2:first-child { margin-top: 0; }
.docs-body h3 { font-size: 1.08rem; margin: 26px 0 10px; }
.docs-body p { color: var(--muted); margin-bottom: 14px; max-width: 720px; }
.docs-body pre.code { margin: 14px 0 22px; }
.docs-body table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 14px 0 22px; }
.docs-body th { text-align: left; padding: 10px 12px; background: var(--bg-alt); border-bottom: 2px solid var(--line); }
.docs-body td { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); }

/* ---------- download page ---------- */

.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.dl-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
}
.dl-card .card-icon { margin-bottom: 16px; }
.dl-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.dl-card p { color: var(--muted); font-size: .93rem; margin-bottom: 18px; flex: 1; }
.dl-meta { font-size: .8rem; color: var(--faint); margin-top: 12px; }

/* ---------- CTA band ---------- */

.cta-band {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 60%);
    border-radius: 22px;
    padding: 60px 48px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px; position: relative; }
.cta-band p { color: #A8C2CE; margin-bottom: 28px; position: relative; }
.cta-band .hero-ctas { justify-content: center; position: relative; margin-bottom: 0; }
.cta-band .btn-primary { background: var(--gold); color: var(--ink); }
.cta-band .btn-primary:hover { background: #FFCB33; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn-outline:hover { border-color: #fff; color: #fff; }

/* ---------- footer ---------- */

.footer {
    background: var(--bg-deep);
    color: #A8C2CE;
    padding: 64px 0 36px;
    margin-top: 88px;
    font-size: .92rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 12px; }
.footer-brand img { height: 30px; }
.footer h4 { color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer a { color: #A8C2CE; }
.footer a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 26px;
    font-size: .8rem;
    color: #6E93A3;
}
.footer-bottom p { margin-bottom: 6px; }
.footer-bottom a { color: #6E93A3; text-decoration: underline; }

/* ---------- page hero (subpages) ---------- */

.page-hero {
    padding: 72px 0 56px;
    background:
        radial-gradient(700px 360px at 85% -20%, var(--accent-soft) 0%, transparent 60%),
        var(--bg-alt);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--line);
}
.page-hero-windows {
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(246, 249, 251, 0.82) 100%),
        url('../images/hero-bg-windows-client.jpg');
}
.page-hero-business {
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(246, 249, 251, 0.82) 100%),
        url('../images/hero-bg-business.jpg');
}
.page-hero-features {
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(246, 249, 251, 0.82) 100%),
        url('../images/hero-bg-features.jpg');
}
.page-hero-ai {
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(246, 249, 251, 0.82) 100%),
        url('../images/hero-bg-ai-vpn.jpg');
}
.page-hero-no-admin {
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(246, 249, 251, 0.82) 100%),
        url('../images/hero-bg-no-admin.jpg');
}
.page-hero-security {
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(246, 249, 251, 0.82) 100%),
        url('../images/hero-bg-security.jpg');
}
.page-hero-nis2 {
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(246, 249, 251, 0.82) 100%),
        url('../images/hero-bg-nis2.jpg');
}
.page-hero-docs {
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(246, 249, 251, 0.82) 100%),
        url('../images/hero-bg-docs.jpg');
}
.page-hero-pricing {
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(246, 249, 251, 0.82) 100%),
        url('../images/hero-bg-pricing.jpg');
}
.page-hero-download {
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(246, 249, 251, 0.82) 100%),
        url('../images/hero-bg-download.jpg');
}
.page-hero-compare {
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(246, 249, 251, 0.82) 100%),
        url('../images/hero-bg-compare.jpg');
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--muted); font-size: 1.08rem; max-width: 640px; }
.page-hero .hero-ctas { margin-top: 28px; margin-bottom: 0; }

/* ---------- business page ---------- */

/* reassurance pill in the hero: signals jargon-free content to non-tech readers */
.plain-note {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    padding: 9px 16px;
    background: var(--accent-soft);
    color: var(--primary-deep);
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.35;
}
.plain-note-ico { font-size: 1.05rem; }

/* emphasised lede line under the central-question section */
.biz-lede {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--ink);
}
.biz-lede strong { color: var(--primary); }

/* benefit cards carry a category pill above the title */
.grid-2 .card .audience-tag { margin-bottom: 12px; }

/* "without central control" list — cross markers, mirror of .check */
.x-list { list-style: none; }
.x-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: .95rem;
}
.x-list li::before {
    content: '✕';
    position: absolute;
    left: 0;
    top: 0;
    color: #C0556B;
    font-weight: 700;
}

/* demo-request form (placeholder — not yet wired to a backend) */
.demo-form {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.demo-form label { display: block; margin-bottom: 18px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.demo-form label span { display: block; margin-bottom: 6px; }
.demo-form input,
.demo-form textarea {
    width: 100%;
    font: inherit;
    font-weight: 400;
    color: var(--ink);
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 13px;
}
.demo-form input:focus,
.demo-form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.demo-form textarea { resize: vertical; }
.demo-form .btn { width: 100%; margin-top: 4px; }
.form-note { margin-top: 16px; font-size: .85rem; color: var(--muted); text-align: center; }
.form-note a { color: var(--accent); text-decoration: underline; }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { max-width: 480px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .docs-layout { grid-template-columns: 1fr; }
    .docs-nav { position: static; }
}

@media (max-width: 900px) {
    .grid-3, .steps, .dl-grid { grid-template-columns: 1fr 1fr; }
    .feature-row { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
    .feature-row.reverse > .feature-media { order: 0; }
    .audience, .editions, .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        gap: 0;
        padding: 10px 24px 18px;
        margin: 0;
        box-shadow: var(--shadow);
    }
    .nav-links.open { display: flex; }
    .nav-links li { padding: 9px 0; }
    .nav-toggle { display: block; }
    .nav-cta { display: none; }
    .section { padding: 64px 0; }
}

@media (max-width: 900px) {
    .sov { grid-template-columns: 1fr; gap: 20px; padding: 36px 28px; }
    .sov-icon { text-align: left; font-size: 72px; }
    .sov .check { columns: 1; }
}

@media (max-width: 560px) {
    .grid-3, .steps, .dl-grid, .grid-4, .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 64px 0 56px; }
    .cta-band { padding: 44px 24px; }
    .hero-logo img { width: 120px; height: 120px; }
    .feature-icon-tile { height: 170px; font-size: 70px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .demo-form { padding: 24px; }
}
