/*
Theme Name: CleoSense
Theme URI: https://cleosense.dk
Author: CleoSense
Description: Rent, letvaegts boilerplate-tema til CleoSense. Indholdslost skelet med template-hierarki, semantisk HTML og et samlet stylesheet. Alt indhold styres via WordPress-editoren.
Version: 1.4.21
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cleosense
*/

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("assets/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"), url("assets/fonts/manrope-latin-wght-normal.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;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations"), url("assets/fonts/manrope-latin-ext-wght-normal.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;
}

:root {
    --brand: #0a5fa8;
    --brand-dark: #04305c;
    --brand-light: #0393e8;
    --ember: #e80018;
    --ember-light: #ff5a6a;
    --ink: #0d1a26;
    --muted: #56677a;
    --line: #dde5ed;
    --surface: #ffffff;
    --surface-alt: #f3f7fb;
    --surface-deep: #062441;

    --font-display: "Manrope", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
    --font-body: "Manrope", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
    --font-mono: "SFMono-Regular", Menlo, Consolas, monospace;

    --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
    --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
    --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
    --step-2: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --step-3: clamp(2rem, 1.6rem + 2vw, 3rem);
    --step-4: clamp(2.6rem, 2rem + 3vw, 4.25rem);

    --space-xs: 0.5rem;
    --space-sm: 0.85rem;
    --space-md: 1.5rem;
    --space-lg: 2.75rem;
    --space-xl: 4.5rem;
    --space-2xl: 7rem;

    --radius: 12px;
    --radius-sm: 8px;
    --maxw: 1160px;
    --maxw-narrow: 760px;
    --shadow: 0 1px 2px rgba(6, 36, 65, 0.06), 0 8px 24px rgba(6, 36, 65, 0.08);
    --ring: 0 0 0 3px rgba(3, 147, 232, 0.38);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.65;
    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.15;
    margin: 0 0 var(--space-sm);
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--ink);
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }

p { margin: 0 0 var(--space-md); }

a {
    color: var(--brand-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

a:hover { color: var(--brand); }

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol { margin: 0 0 var(--space-md); padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }

:focus-visible {
    outline: none;
    box-shadow: var(--ring);
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 100;
    background: var(--ink);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus { left: 0; color: #fff; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--space-md);
}

.container-narrow {
    max-width: var(--maxw-narrow);
    margin-inline: auto;
}

.section { padding-block: var(--space-2xl); }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--surface-deep); color: #cdd6dd; }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #fff; }

.lead { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--step-0);
    line-height: 1;
    padding: 0.95rem 1.6rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-dark); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.btn-row--center { justify-content: center; }

.grid { display: grid; gap: var(--space-md); }
.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: var(--space-md);
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover { border-color: var(--brand); transform: translateY(-2px); }

.site-header {
    position: relative;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    min-height: 108px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--step-1);
    letter-spacing: -0.02em;
    color: var(--ink);
    text-decoration: none;
}

.brand:hover { color: var(--ink); }

.primary-nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.primary-nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--step-0);
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a { color: var(--brand-dark); }

.header__actions { display: flex; align-items: center; gap: var(--space-sm); flex: 0 1 auto; min-width: 0; }

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.7rem;
    cursor: pointer;
    color: var(--ink);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    margin: 4px 0;
}

.entry { padding-block: var(--space-xl); }

.entry__header { max-width: var(--maxw-narrow); margin: 0 auto var(--space-lg); }

.entry__meta {
    font-family: var(--font-mono);
    font-size: var(--step--1);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.entry__content { max-width: var(--maxw-narrow); margin-inline: auto; }
.entry__content > * { margin-inline: auto; }
.entry__content h2 { margin-top: var(--space-lg); }
.entry__content img { border-radius: var(--radius); margin-block: var(--space-md); }

.entry--wide .entry__content,
.entry--wide .entry__header { max-width: var(--maxw); }

.archive-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    list-style: none;
    padding: 0;
}

.archive-list article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-md);
    height: 100%;
}

.archive-list h2 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.archive-list a { text-decoration: none; }

.search-form { display: flex; gap: var(--space-xs); max-width: 420px; }

.search-form input[type="search"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font: inherit;
    color: var(--ink);
}

.search-inline { display: flex; justify-content: center; margin-top: var(--space-md); }

.error-404 { text-align: center; padding-block: var(--space-2xl); }

.error-404 .code {
    font-family: var(--font-mono);
    font-size: var(--step-4);
    color: var(--brand);
    font-weight: 700;
}

.widget-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
}

.widget-area h2 {
    font-size: var(--step-0);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9fadc4;
    margin-bottom: var(--space-sm);
}

.widget-area ul { list-style: none; padding: 0; }
.widget-area li { margin-bottom: 0.4rem; }
.widget-area a { color: #cdd6dd; text-decoration: none; }
.widget-area a:hover { color: #fff; }

.site-footer {
    background: var(--surface-deep);
    color: #9fadc4;
    padding-block: var(--space-xl) var(--space-lg);
}

.site-footer .brand { color: #fff; }

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav a { color: #cdd6dd; text-decoration: none; }
.footer-nav a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--step--1);
}

.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding-inline: 0.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--ink);
}

.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 900px) {
    .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 840px) {
    .nav-toggle { display: inline-block; }

    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        padding: var(--space-md);
        display: none;
        box-shadow: var(--shadow);
    }

    .primary-nav.is-open { display: block; }
    .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
    .primary-nav li { width: 100%; }
    .primary-nav a { display: block; padding: 0.6rem 0; width: 100%; }

    .grid--2, .grid--3, .grid--4, .archive-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

:root {
    --live: #7bc47f;
    --accent: #0393e8;
    --accent-ring: rgba(3, 147, 232, 0.18);
    --live-ring: rgba(123, 196, 127, 0.18);
    --brand-rgb: 10, 95, 168;
    --ink-rgb: 13, 26, 38;
    --icon-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
    --tex-flow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='320' viewBox='0 0 560 320'%3E%3Cg fill='none' stroke='%230a5fa8' stroke-opacity='0.06' stroke-width='2'%3E%3Cpath d='M-20 60 C120 20 200 120 340 80 C440 52 500 110 600 78'/%3E%3Cpath d='M-20 130 C120 90 200 190 340 150 C440 122 500 180 600 148'/%3E%3Cpath d='M-20 200 C120 160 200 260 340 220 C440 192 500 250 600 218'/%3E%3Cpath d='M-20 270 C120 230 200 330 340 290 C440 262 500 320 600 288'/%3E%3C/g%3E%3C/svg%3E");
    --tex-rings: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%230a5fa8' stroke-opacity='0.07'%3E%3Ccircle cx='120' cy='120' r='24' stroke-width='2'/%3E%3Ccircle cx='120' cy='120' r='48' stroke-width='2'/%3E%3Ccircle cx='120' cy='120' r='74' stroke-width='2'/%3E%3Ccircle cx='120' cy='120' r='100' stroke-width='2'/%3E%3C/g%3E%3Cg stroke='%230a5fa8' stroke-opacity='0.07' stroke-width='2'%3E%3Cline x1='120' y1='96' x2='120' y2='144'/%3E%3Cline x1='96' y1='120' x2='144' y2='120'/%3E%3C/g%3E%3C/svg%3E");
    --tex-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'%3E%3Cpath d='M0 0H48V48'/%3E%3Cpath d='M0 12H48M0 24H48M0 36H48M12 0V48M24 0V48M36 0V48'/%3E%3C/g%3E%3C/svg%3E");
    --tex-nodes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='260' viewBox='0 0 400 260'%3E%3Cg stroke='%230a5fa8' stroke-opacity='0.10' stroke-width='1.5'%3E%3Cline x1='60' y1='70' x2='180' y2='40'/%3E%3Cline x1='180' y1='40' x2='320' y2='90'/%3E%3Cline x1='60' y1='70' x2='140' y2='180'/%3E%3Cline x1='140' y1='180' x2='300' y2='200'/%3E%3Cline x1='320' y1='90' x2='300' y2='200'/%3E%3Cline x1='180' y1='40' x2='140' y2='180'/%3E%3C/g%3E%3Cg fill='%230a5fa8' fill-opacity='0.14'%3E%3Ccircle cx='60' cy='70' r='5'/%3E%3Ccircle cx='180' cy='40' r='6'/%3E%3Ccircle cx='320' cy='90' r='5'/%3E%3Ccircle cx='140' cy='180' r='6'/%3E%3Ccircle cx='300' cy='200' r='5'/%3E%3C/g%3E%3C/svg%3E");
    --tex-signal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.10' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M90 120 a30 30 0 0 1 0 -60'/%3E%3Cpath d='M90 138 a48 48 0 0 1 0 -96'/%3E%3Cpath d='M90 156 a66 66 0 0 1 0 -132'/%3E%3C/g%3E%3Ccircle cx='90' cy='90' r='7' fill='%23ffffff' fill-opacity='0.16'/%3E%3C/svg%3E");
}

.home-hero {
    position: relative;
    isolation: isolate;
    min-height: min(88vh, 760px);
    display: flex;
    align-items: center;
    padding-block: var(--space-2xl);
    background: var(--surface-deep);
    overflow: hidden;
}

.home-hero__media,
.home-hero__video,
.home-hero__overlay,
.home-hero__signal {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero__video {
    object-fit: cover;
    z-index: -3;
}

.home-hero__media {
    z-index: -3;
    object-fit: cover;
    display: none;
}

.home-hero__overlay {
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(10, 16, 20, 0.72) 0%, rgba(10, 16, 20, 0.58) 45%, rgba(10, 16, 20, 0.82) 100%),
        radial-gradient(120% 90% at 80% 0%, rgba(10, 95, 168, 0.35), transparent 60%);
}

.home-hero__signal {
    z-index: -1;
    background-image: var(--tex-signal);
    background-repeat: no-repeat;
    background-position: right -40px top -30px;
    background-size: 340px;
    opacity: 0.9;
}

.home-hero__inner {
    max-width: 720px;
    color: #eef2f8;
}

.home-hero h1 {
    color: #fff;
    font-size: var(--step-4);
    margin-bottom: var(--space-md);
}

.home-hero__lead {
    font-size: var(--step-1);
    color: #c4d0d6;
    margin-bottom: var(--space-lg);
    max-width: 56ch;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: var(--step--1);
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--brand-dark);
    margin-bottom: var(--space-sm);
}

.home-hero .eyebrow { color: #7cc9f5; }

.eyebrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px var(--accent-ring);
    animation: cleosense-pulse 2.6s ease-in-out infinite;
}

@keyframes cleosense-pulse {
    0%, 100% { box-shadow: 0 0 0 4px var(--accent-ring); }
    50% { box-shadow: 0 0 0 9px rgba(3, 147, 232, 0.05); }
}

.section-head {
    max-width: 62ch;
    margin-bottom: var(--space-lg);
}

.section-head .lead { margin-bottom: 0; }

.section--soft {
    position: relative;
    isolation: isolate;
    background: var(--surface-alt);
    overflow: hidden;
}

.section--soft::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--tex-flow);
    background-repeat: no-repeat;
    background-position: left -60px bottom -40px;
    background-size: 680px;
    opacity: 0.9;
}

.section--nodes {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.section--nodes::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--tex-nodes);
    background-repeat: no-repeat;
    background-position: right -20px center;
    background-size: 520px;
    opacity: 0.85;
}

.section--dark {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.section--dark::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--tex-grid);
    opacity: 1;
}

.media-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--surface-deep);
    color: #dbe4ee;
}

.media-band__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.32;
}

.media-band::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(12, 19, 23, 0.94) 0%, rgba(12, 19, 23, 0.7) 55%, rgba(12, 19, 23, 0.5) 100%);
}

.media-band h2 { color: #fff; }
.media-band .lead { color: #b4c2d4; }

.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-xl);
    align-items: center;
}

.split__media {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
}

.split__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        var(--tex-rings) no-repeat right -70px top -70px,
        var(--surface);
    background-size: 200px, auto;
}

.card--audience {
    padding-block: var(--space-lg);
}

.card__kicker {
    font-family: var(--font-mono);
    font-size: var(--step--1);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); margin-bottom: 0; }

.pill-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm) var(--space-md);
}

.pill-list li {
    position: relative;
    padding-left: 1.9rem;
    margin: 0;
    color: var(--muted);
}

.pill-list strong {
    display: block;
    color: var(--ink);
    font-weight: 600;
}

.pill-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.28rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, var(--brand) 0 3px, transparent 4px),
        radial-gradient(circle at center, transparent 0 6px, var(--brand) 6px 7px, transparent 8px);
    opacity: 0.85;
}

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

.step {
    position: relative;
    padding-top: var(--space-md);
}

.step__marker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-sm);
}

.step__dot {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--brand-dark);
    font-family: var(--font-mono);
    font-weight: 700;
    position: relative;
}

.step__dot::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
}

.step__dot::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--brand);
    opacity: 0.25;
}

.step__line {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, var(--brand), transparent);
    opacity: 0.4;
}

.step h3 { font-size: var(--step-0); }
.step p { color: var(--muted); margin-bottom: 0; }

.feature-grid { grid-template-columns: repeat(3, 1fr); }

.feature-card__icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    margin-bottom: var(--space-sm);
    background: rgba(var(--brand-rgb), 0.1);
}

.feature-card__icon svg { width: 26px; height: 26px; }

.trust-grid { grid-template-columns: repeat(3, 1fr); }

.trust-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: var(--space-md);
}

.trust-card h3 { color: #fff; font-size: var(--step-0); }
.trust-card p { color: #aab8be; margin-bottom: 0; }

.trust-card__icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    margin-bottom: var(--space-sm);
    background: rgba(123, 196, 127, 0.12);
}

.trust-card__icon svg { width: 24px; height: 24px; }

.cta-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    text-align: center;
    background: var(--surface-deep);
    color: #dbe4ee;
}

.cta-band__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.cta-band::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(80% 120% at 50% 0%, rgba(10, 95, 168, 0.45), rgba(10, 16, 20, 0.9) 70%);
}

.cta-band__inner {
    max-width: var(--maxw-narrow);
    margin-inline: auto;
}

.cta-band h2 { color: #fff; }
.cta-band .lead { color: #c4d0d6; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

.home-hero .btn--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.home-hero .btn--ghost:hover {
    border-color: #fff;
    color: #fff;
}

.cta-band .btn--ghost,
.media-band .btn--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-band .btn--ghost:hover,
.media-band .btn--ghost:hover {
    border-color: #fff;
    color: #fff;
}

@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: var(--space-lg); }
    .feature-grid, .trust-grid, .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .home-hero__video { display: none; }
    .home-hero__media { display: block; }
    .feature-grid, .trust-grid, .steps, .pill-list { grid-template-columns: 1fr; }
    .section--nodes::before, .section--soft::before { opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
    .eyebrow::before { animation: none; }
}

.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--surface-deep);
    color: #dbe4ee;
    padding-block: var(--space-2xl) var(--space-xl);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--tex-grid);
    opacity: 1;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(90% 120% at 85% -10%, rgba(10, 95, 168, 0.4), transparent 55%);
}

.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero__lead { font-size: var(--step-1); color: #c4d0d6; max-width: 60ch; margin-bottom: 0; }
.page-hero .eyebrow { color: #7cc9f5; }

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.stat {
    border-left: 2px solid var(--brand);
    padding-left: var(--space-md);
}

.stat__num {
    display: block;
    font-family: var(--font-display);
    font-size: var(--step-3);
    font-weight: 700;
    line-height: 1.05;
    color: var(--ink);
}

.page-hero .stat { border-color: var(--accent); }
.page-hero .stat__num { color: #fff; }
.page-hero .stat__label { color: #9fadc4; }

.stat__label {
    font-family: var(--font-mono);
    font-size: var(--step--1);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}

.split--reverse .split__media { order: -1; }

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    padding: 0;
    list-style: none;
}

.tag-row li {
    margin: 0;
    font-family: var(--font-mono);
    font-size: var(--step--1);
    letter-spacing: 0.03em;
    color: var(--brand-dark);
    background: rgba(var(--brand-rgb), 0.08);
    border: 1px solid rgba(var(--brand-rgb), 0.16);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
}

.list-check {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--space-sm);
}

.list-check li {
    position: relative;
    padding-left: 2rem;
    margin: 0;
    color: var(--muted);
}

.list-check strong { color: var(--ink); font-weight: 600; }

.list-check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: rgba(var(--brand-rgb), 0.1);
    border: 1px solid var(--brand);
}

.list-check li::after {
    content: "";
    position: absolute;
    left: 0.45rem;
    top: 0.42rem;
    width: 0.42rem;
    height: 0.72rem;
    border: solid var(--brand-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    align-items: start;
}

.price-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-lg) var(--space-md);
    background: var(--surface);
}

.price-card--featured {
    border-color: var(--brand);
    box-shadow: var(--shadow);
}

.price-card__badge {
    position: absolute;
    top: -0.75rem;
    left: var(--space-md);
    font-family: var(--font-mono);
    font-size: var(--step--1);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: var(--brand);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
}

.price-card__tag {
    font-family: var(--font-mono);
    font-size: var(--step--1);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-dark);
    display: block;
    margin-bottom: 0.5rem;
}

.price-card__price {
    font-family: var(--font-display);
    font-size: var(--step-3);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 0.2rem;
}

.price-card__price span {
    display: block;
    font-size: var(--step--1);
    font-weight: 400;
    color: var(--muted);
    font-family: var(--font-mono);
    letter-spacing: 0.03em;
}

.price-card ul { list-style: none; padding: 0; margin: var(--space-md) 0; }

.price-card li {
    padding: 0.55rem 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    margin: 0;
}

.price-note {
    margin-top: var(--space-md);
    font-size: var(--step--1);
    color: var(--muted);
}

.faq {
    display: grid;
    gap: var(--space-sm);
    max-width: 820px;
}

.faq__item {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    overflow: hidden;
}

.faq__item summary {
    cursor: pointer;
    padding: var(--space-md);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--step-0);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
    content: "";
    width: 0.7rem;
    height: 0.7rem;
    flex: none;
    border: solid var(--brand);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.faq__item[open] summary::after { transform: rotate(-135deg); }

.faq__item summary:focus-visible { box-shadow: var(--ring); }

.faq__body {
    padding: 0 var(--space-md) var(--space-md);
    color: var(--muted);
}

.faq__body p:last-child { margin-bottom: 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-info { display: grid; gap: var(--space-md); }

.contact-info__item {
    display: grid;
    gap: 0.2rem;
    padding-left: var(--space-md);
    border-left: 2px solid var(--brand);
}

.contact-info__item span {
    font-family: var(--font-mono);
    font-size: var(--step--1);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-info__item a { font-size: var(--step-1); color: var(--ink); text-decoration: none; }
.contact-info__item a:hover { color: var(--brand-dark); }

.contact-form { display: grid; gap: var(--space-sm); }

.contact-form .field { display: grid; gap: 0.35rem; }

.contact-form label { font-weight: 600; }

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font: inherit;
    color: var(--ink);
    background: var(--surface);
}

.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .field--row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }

.form-note { font-size: var(--step--1); color: var(--muted); margin-top: 0.25rem; }

.prose { max-width: var(--maxw-narrow); }
.prose h2 { margin-top: var(--space-lg); }
.prose h2:first-child { margin-top: 0; }

.cta-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-lg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        var(--tex-rings) no-repeat right -60px top -60px,
        var(--surface-alt);
    background-size: 200px, auto;
}

.cta-inline h2 { margin-bottom: 0.25rem; }
.cta-inline p { margin-bottom: 0; color: var(--muted); }

.site-footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__brand p { color: #9fadc4; max-width: 34ch; margin-top: var(--space-sm); }

.footer-col h2 {
    font-size: var(--step--1);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8798a0;
    margin-bottom: var(--space-sm);
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: #cdd6dd; text-decoration: none; }
.footer-col a:hover { color: #fff; }

@media (max-width: 900px) {
    .stat-row, .price-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
    .split--reverse .split__media { order: 0; }
    .site-footer__top { grid-template-columns: 1fr 1fr; gap: var(--space-md) var(--space-lg); }
}

@media (max-width: 620px) {
    .contact-form .field--row { grid-template-columns: 1fr; }
    .site-footer__top { grid-template-columns: 1fr; }
    .cta-inline { flex-direction: column; align-items: flex-start; }
}

.brand__mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--brand);
    display: grid;
    place-items: center;
    flex: none;
}

.brand__pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    animation: cleosense-blip 2.4s ease-in-out infinite;
}

@keyframes cleosense-blip {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

@media (prefers-reduced-motion: reduce) {
    .brand__pulse { animation: none; }
}

.brand__picture {
    display: block;
    line-height: 0;
    flex: 0 0 auto;
}

.brand__logo {
    display: block;
    width: auto;
    height: 72px;
    max-width: none;
    object-fit: contain;
    object-position: left center;
    transition: height 0.25s ease;
}

.site-header.is-scrolled .brand__logo { height: 72px; }

.brand__logo--footer { height: 54px; }

.brand:focus-visible {
    outline: 3px solid var(--brand-light);
    outline-offset: 4px;
    border-radius: 4px;
}

@media (max-width: 782px) {
    .site-header__inner { min-height: 84px; }
    .brand__logo { height: 44px; }
    .brand__logo--footer { height: 46px; }
}

@media (max-width: 480px) {
    .brand__logo { height: 36px; }
    .brand__logo--footer { height: 42px; }
}

@media (max-width: 400px) {
    .site-header__inner { gap: var(--space-sm); }
    .header__login { display: none; }
    .brand__logo { height: 32px; }
}

.brand__logo--gate {
    height: 44px;
    max-width: 100%;
    margin-inline: auto;
}

@media (max-width: 480px) {
    .brand__logo--gate { height: 38px; }
}


@media (prefers-reduced-motion: reduce) {
    .brand__logo { transition: none; }
}

.footer-bottom__link {
    appearance: none;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.footer-bottom__link:hover,
.footer-bottom__link:focus-visible { color: #fff; }

.page-slug-kontakt .page-hero {
    padding-block: var(--space-lg) var(--space-md);
}

.page-slug-kontakt .page-hero h1 {
    font-size: var(--step-2);
    max-width: 26ch;
}

.page-slug-kontakt .page-hero__lead {
    font-size: var(--step-0);
    max-width: 52ch;
}

.page-slug-kontakt .page-hero .stat-row { display: none; }

.form-consent {
    border: 1px solid var(--line);
    background: var(--surface-alt);
    border-radius: var(--radius-sm);
    padding: var(--space-sm) var(--space-md);
    margin-top: var(--space-xs);
}

.form-consent p {
    margin: 0;
    font-size: var(--step--1);
    line-height: 1.5;
    color: var(--muted);
}

.form-consent p + p { margin-top: 0.5rem; }

.form-consent a { color: var(--brand-dark); }

.legal { max-width: 78ch; }

.legal h2 {
    margin-top: var(--space-xl);
    scroll-margin-top: 2rem;
}

.legal h3 {
    margin-top: var(--space-lg);
    scroll-margin-top: 2rem;
}

.legal ul,
.legal ol { padding-left: 1.4em; }

.legal li + li { margin-top: 0.4rem; }

.legal__meta {
    color: var(--muted);
    font-size: var(--step--1);
}

.legal__toc {
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: var(--space-md);
    margin-block: var(--space-lg);
}

.legal__toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.legal__note {
    border-left: 3px solid var(--brand);
    background: var(--surface-alt);
    padding: var(--space-sm) var(--space-md);
    border-radius: 0 8px 8px 0;
}

.legal table {
    width: 100%;
    border-collapse: collapse;
    margin-block: var(--space-md);
}

.legal th,
.legal td {
    text-align: left;
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.legal th {
    font-size: var(--step--1);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}

@media (max-width: 620px) {
    .legal table,
    .legal thead,
    .legal tbody,
    .legal tr,
    .legal th,
    .legal td { display: block; }

    .legal thead { display: none; }

    .legal tr {
        border-bottom: 1px solid var(--line);
        padding-block: 0.5rem;
    }

    .legal td { border: none; padding: 0.2rem 0; }
}

.gate-body { margin: 0; }

.gate {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: var(--space-md);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--surface-deep);
}

.gate::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--tex-grid);
}

.gate::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(90% 90% at 50% 0%, rgba(10, 95, 168, 0.35), transparent 60%);
}

.gate__card {
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    border-radius: var(--radius);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
}

.gate__card .brand { margin-bottom: var(--space-md); }
.gate__card h1 { font-size: var(--step-2); margin-bottom: 0.4rem; }
.gate__card p { color: var(--muted); margin-bottom: 0; }

.gate__form {
    display: grid;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.gate__form label { font-weight: 600; }

.gate__form input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font: inherit;
    color: var(--ink);
    background: var(--surface);
}

.gate__form .btn { width: 100%; margin-top: 0.25rem; }

.gate__error {
    margin-top: var(--space-md);
    color: #b42318;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.85rem;
    font-size: var(--step--1);
}

.section--soft { background: var(--surface); }
.section--alt { background: var(--surface); }

.section--soft::before { opacity: 0.7; }

.site-header.is-scrolled { background: rgba(255, 255, 255, 0.9); box-shadow: none; }

.site-header.is-scrolled .site-header__inner { min-height: 108px; }

.site-header__progress {
    position: fixed;
    left: 0;
    top: 0;
    height: 3px;
    width: 100%;
    z-index: 60;
    pointer-events: none;
}

body.admin-bar .site-header__progress { top: 32px; }

@media (max-width: 782px) {
    body.admin-bar .site-header__progress { top: 46px; }
}

.site-header__progress span {
    display: block;
    height: 100%;
    width: 0;
    background-image: linear-gradient(90deg, var(--brand) 0%, var(--accent) 64%, var(--ember) 94%, var(--ember) 100%);
    background-size: 100vw 100%;
    background-position: left center;
    background-repeat: no-repeat;
}

.primary-nav a {
    position: relative;
    padding-block: 0.35rem;
}

.primary-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav .current-menu-item > a::after {
    transform: scaleX(1);
}

.header__login {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--step-0);
    color: var(--ink);
    text-decoration: none;
    padding: 0.5rem 0.4rem;
}

.header__login:hover { color: var(--brand-dark); }

.btn--primary {
    position: relative;
    overflow: hidden;
}

.btn--primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.btn--primary:hover::before { left: 130%; }

.site-footer__bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__desc {
    max-width: 46ch;
    color: #9fadc4;
    margin-top: var(--space-sm);
    margin-bottom: 0;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cdd6dd;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.footer-social svg { width: 20px; height: 20px; }

.scroll-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font: inherit;
    font-weight: 600;
    color: #cdd6dd;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.scroll-top:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.scroll-top svg { width: 18px; height: 18px; }

.site-footer .footer-bottom { border-top: none; margin-top: var(--space-md); padding-top: 0; }

@media (max-width: 620px) {
    .site-footer__bar { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .primary-nav a::after,
    .btn--primary::before,
    .footer-social a,
    .scroll-top,
    .site-header__inner { transition: none; }
    .btn--primary::before { display: none; }
}

.section--tint {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #eff4fa;
}

.section--tint::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--tex-flow);
    background-repeat: no-repeat;
    background-position: right -60px top -40px;
    background-size: 640px;
    opacity: 0.75;
}

.cta-band { background: var(--surface-deep); }

.cta-band::after {
    background: radial-gradient(90% 110% at 50% -25%, rgba(10, 95, 168, 0.28), transparent 70%);
}

.cta-band.section { padding-bottom: var(--space-2xl); }

.price-card--featured { padding-top: calc(var(--space-lg) + 0.75rem); }

.price-card__badge {
    position: static;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.price-card__tag { margin-bottom: 0.75rem; }

.price-card__price { margin-bottom: 0.75rem; line-height: 1.15; }

.price-card__price span { margin-top: 0.4rem; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
}

.footer-bottom a { color: #9fadc4; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

.contact-tabs {
    display: inline-flex;
    gap: 0.35rem;
    background: var(--surface-alt);
    padding: 0.35rem;
    border-radius: 999px;
    margin-bottom: var(--space-lg);
    border: 1px solid var(--line);
}

.contact-tab {
    border: none;
    background: transparent;
    font: inherit;
    font-weight: 600;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    cursor: pointer;
    color: var(--muted);
    transition: background 0.2s ease, color 0.2s ease;
}

.contact-tab[aria-selected="true"] {
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.contact-panel[hidden] { display: none; }

.field-group { margin-bottom: var(--space-md); }

.field-group__label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.field-group__hint {
    font-size: var(--step--1);
    color: var(--muted);
    margin: 0 0 0.6rem;
}

.pill-select {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.pill-option {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    border-radius: 999px;
    padding: 0.55rem 1.05rem;
    font: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.pill-option:hover { transform: translateY(-1px); }

.pill-option[aria-pressed="true"] {
    border-color: var(--brand);
    background: rgba(var(--brand-rgb), 0.08);
    color: var(--brand-dark);
}

.pill-option[aria-pressed="true"]::before {
    content: "";
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    margin-right: 0.5rem;
    border-radius: 50%;
    background: var(--brand);
    vertical-align: middle;
}

.timeslots { margin-top: var(--space-sm); }

.timeslot small {
    font-family: var(--font-mono);
    font-size: var(--step--1);
    color: var(--muted);
}

.timeslot[aria-pressed="true"] small { color: var(--brand-dark); }

.field__error {
    display: none;
    color: #b42318;
    font-size: var(--step--1);
    margin-top: 0.3rem;
}

.field--error input,
.field--error textarea,
.field--error select {
    border-color: #dc2626;
}

.field--error .field__error { display: block; }

.form-success {
    display: none;
    align-items: flex-start;
    gap: 0.75rem;
    padding: var(--space-md);
    border: 1px solid rgba(22, 163, 74, 0.3);
    background: rgba(22, 163, 74, 0.08);
    border-radius: var(--radius);
    color: #14532d;
}

.form-success.is-visible { display: flex; }

.form-success svg { width: 24px; height: 24px; flex: none; color: var(--live); }

.legal {
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    column-gap: var(--space-xl);
    row-gap: 0;
    align-items: start;
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: var(--space-md);
    padding-block: var(--space-xl);
}

.legal > * {
    grid-column: 2;
    min-width: 0;
}

.legal > .legal__toc {
    grid-column: 1;
    grid-row: 1 / span 400;
    align-self: start;
}

.legal table {
    width: 100%;
    table-layout: fixed;
    word-break: break-word;
}

.legal__toc {
    position: sticky;
    top: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-md);
    background: var(--surface);
}

.legal__toc h2 {
    font-size: var(--step-0);
    margin-bottom: var(--space-sm);
}

.legal__toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc;
}

.legal__toc li {
    counter-increment: toc;
    margin-bottom: 0.5rem;
}

.legal__toc a {
    text-decoration: none;
    color: var(--muted);
    display: block;
}

.legal__toc a:hover { color: var(--brand-dark); }

.legal__content > section {
    scroll-margin-top: 2rem;
    padding-bottom: var(--space-lg);
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--line);
}

.legal__content > section:last-child { border-bottom: none; }

.legal__content h2 { margin-bottom: var(--space-sm); }

.legal__updated {
    font-family: var(--font-mono);
    font-size: var(--step--1);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.manifest {
    text-align: center;
    max-width: 22ch;
    margin-inline: auto;
}

.manifest__statement {
    font-family: var(--font-display);
    font-size: var(--step-3);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.manifest__statement em {
    font-style: normal;
    color: var(--brand-dark);
}

.manifest-wrap { max-width: 46rem; margin-inline: auto; text-align: center; }

.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--space-md);
}

.timeline li {
    position: relative;
    padding-left: 2.5rem;
    margin: 0;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: 0.5rem;
    top: 0.4rem;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.15);
}

.timeline li::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    top: 1.4rem;
    bottom: -1rem;
    width: 1px;
    background: var(--line);
}

.timeline li:last-child::after { display: none; }

.timeline__tag {
    font-family: var(--font-mono);
    font-size: var(--step--1);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-dark);
    display: block;
    margin-bottom: 0.2rem;
}

.timeline h3 { font-size: var(--step-0); margin-bottom: 0.2rem; }
.timeline p { color: var(--muted); margin-bottom: 0; }

@media (max-width: 900px) {
    .legal {
        grid-template-columns: minmax(0, 1fr);
        padding-block: var(--space-lg);
    }

    .legal > * { grid-column: 1; }

    .legal > .legal__toc {
        grid-column: 1;
        grid-row: auto;
        position: static;
        max-height: none;
        overflow: visible;
        margin-bottom: var(--space-lg);
    }

    .legal__fremdrift {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pill-option { transition: none; }
}

.auth-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--surface-deep);
    padding-block: var(--space-2xl);
}

.auth-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--tex-grid);
}

.auth-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(80% 90% at 50% -10%, rgba(10, 95, 168, 0.35), transparent 60%);
}

.auth-grid {
    max-width: 460px;
    margin-inline: auto;
}

.auth-grid--split {
    max-width: var(--maxw);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.auth-pitch { color: #cdd6dd; }
.auth-pitch h2 { color: #fff; }
.auth-pitch .eyebrow { color: #7cc9f5; }
.auth-pitch .lead { color: #b4c2d4; }

.auth-pitch .list-check li { color: #b4c2d4; }
.auth-pitch .list-check strong { color: #fff; }

.auth-pitch .list-check li::before {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
}

.auth-pitch .list-check li::after { border-color: var(--accent); }

.auth-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
}

.auth-card h1 { font-size: var(--step-2); margin-bottom: 0.3rem; }
.auth-card__intro { color: var(--muted); margin-bottom: var(--space-md); }

.auth-form { display: grid; gap: var(--space-sm); }

.auth-form .field label { font-weight: 600; margin-bottom: 0.35rem; display: block; }

.auth-form .field input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font: inherit;
    color: var(--ink);
    background: var(--surface);
}

.auth-form .btn { width: 100%; margin-top: 0.4rem; }

.auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: var(--step--1);
}

.auth-row a { color: var(--brand-dark); text-decoration: none; }
.auth-row a:hover { color: var(--brand); }

.auth-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: var(--muted);
    font-size: var(--step--1);
}

.auth-check input { margin-top: 0.2rem; flex: none; }
.auth-check a { color: var(--brand-dark); }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--muted);
    font-size: var(--step--1);
    margin: var(--space-sm) 0;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--line);
}

.auth-alt { text-align: center; color: var(--muted); margin: 0; }
.auth-alt a { color: var(--brand-dark); text-decoration: none; font-weight: 600; }
.auth-alt a:hover { color: var(--brand); }

.auth-note {
    display: none;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: var(--space-sm);
    padding: 0.85rem 1rem;
    border: 1px solid rgba(10, 95, 168, 0.25);
    background: rgba(10, 95, 168, 0.07);
    border-radius: var(--radius-sm);
    color: var(--brand-dark);
    font-size: var(--step--1);
}

.auth-note.is-visible { display: flex; }
.auth-note svg { width: 20px; height: 20px; flex: none; }

.pw-hint { font-size: var(--step--1); color: var(--muted); margin: 0; }

@media (max-width: 820px) {
    .auth-grid--split { grid-template-columns: 1fr; gap: var(--space-lg); max-width: 460px; }
    .auth-pitch { order: 2; }
}

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 70;
    max-width: 620px;
    margin-inline: auto;
    background: var(--surface-deep);
    color: #cdd6dd;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: var(--space-md);
    box-shadow: var(--shadow);
    display: none;
}

.cookie-banner.is-visible { display: block; }

.cookie-banner h2 {
    color: #fff;
    font-size: var(--step-0);
    margin-bottom: 0.4rem;
}

.cookie-banner p {
    margin: 0 0 var(--space-sm);
    font-size: var(--step--1);
    color: #b4c2d4;
}

.cookie-banner a { color: #7cc9f5; text-decoration: underline; }

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.cookie-banner .btn { padding: 0.7rem 1.2rem; }

.cookie-banner .btn--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.cookie-banner .btn--ghost:hover { border-color: #fff; color: #fff; }

@media (max-width: 480px) {
    .cookie-banner__actions .btn { flex: 1; }
}

.auth-demo {
    font-size: var(--step--1);
    color: var(--brand-dark);
    background: rgba(10, 95, 168, 0.07);
    border: 1px solid rgba(10, 95, 168, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.8rem;
    margin-bottom: var(--space-md);
}

.dash {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 80vh;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--surface);
}

.dash__nav {
    background: var(--surface-deep);
    color: #cdd6dd;
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
}

.dash__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: var(--space-lg);
}

.dash__demo-tag {
    font-family: var(--font-mono);
    font-size: var(--step--1);
    color: #7cc9f5;
    letter-spacing: 0.06em;
    margin: 0.35rem 0 var(--space-lg);
}

.dash__menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.25rem;
}

.dash__menu button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: transparent;
    border: none;
    color: #cdd6dd;
    font: inherit;
    font-weight: 500;
    text-align: left;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.dash__menu button:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.dash__menu button.is-active { background: rgba(10, 95, 168, 0.28); color: #fff; }
.dash__menu svg { width: 18px; height: 18px; flex: none; }

.dash__count {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: var(--step--1);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 0.05rem 0.5rem;
}

.dash__nav-foot {
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dash__user { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.85rem; }

.dash__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    flex: none;
}

.dash__user-name { color: #fff; font-weight: 600; font-size: var(--step--1); }
.dash__user-org { color: #8798a0; font-size: var(--step--1); }

.dash__back { color: #7cc9f5; text-decoration: none; font-size: var(--step--1); display: inline-flex; gap: 0.4rem; align-items: center; }
.dash__back:hover { color: #fff; }

.dash__main { display: flex; flex-direction: column; min-width: 0; }

.dash__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md);
    border-bottom: 1px solid var(--line);
}

.dash__title { font-size: var(--step-1); font-weight: 700; font-family: var(--font-display); }

.dash__updated {
    font-family: var(--font-mono);
    font-size: var(--step--1);
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.dash__live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--live);
    box-shadow: 0 0 0 4px rgba(123, 196, 127, 0.18);
}

.dash__body { padding: var(--space-md); overflow: auto; }
.dash__view[hidden] { display: none; }

.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }

.kpi { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-md); background: var(--surface); }

.kpi__label {
    font-family: var(--font-mono);
    font-size: var(--step--1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.kpi__value { font-size: var(--step-3); font-weight: 700; font-family: var(--font-display); line-height: 1.1; }
.kpi--ok .kpi__value { color: var(--brand-dark); }
.kpi--offline .kpi__value { color: #b45309; }
.kpi--alarm .kpi__value { color: #b42318; }

.dash-grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-md); margin-top: var(--space-md); }

.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

.panel__head {
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel__head h3 { font-size: var(--step-0); margin: 0; }
.panel__body { padding: var(--space-sm) var(--space-md); }

.status { display: inline-flex; align-items: center; gap: 0.45rem; font-size: var(--step--1); font-weight: 600; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.status--online { color: #15803d; }
.status--online::before { background: var(--live); }
.status--offline { color: var(--muted); }
.status--offline::before { background: #9aa5ad; }

.dash-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.dash-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.8rem;
    background: var(--surface);
    min-width: 220px;
}

.dash-search input { border: none; outline: none; font: inherit; width: 100%; color: var(--ink); background: transparent; }
.dash-search svg { width: 16px; height: 16px; color: var(--muted); flex: none; }

.filter-pills { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.filter-pill {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font: inherit;
    font-size: var(--step--1);
    cursor: pointer;
    color: var(--ink);
}

.filter-pill.is-active { border-color: var(--brand); background: rgba(10, 95, 168, 0.08); color: var(--brand-dark); }

.dtable { width: 100%; border-collapse: collapse; font-size: var(--step-0); }

.dtable th {
    text-align: left;
    font-size: var(--step--1);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    font-weight: 600;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--line);
}

.dtable td { padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--line); }
.dtable tbody tr[data-device] { cursor: pointer; }
.dtable tbody tr[data-device]:hover { background: var(--surface-alt); }
.dtable__name { font-weight: 600; }
.dtable__meta { color: var(--muted); font-size: var(--step--1); }

.badge { display: inline-block; font-size: var(--step--1); font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 999px; }
.badge--info { background: rgba(10, 95, 168, 0.1); color: var(--brand-dark); }
.badge--warn { background: rgba(180, 83, 9, 0.12); color: #b45309; }
.badge--crit { background: rgba(220, 38, 38, 0.12); color: #b42318; }
.badge--ok { background: rgba(22, 163, 74, 0.12); color: #15803d; }

.metric-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); }
.metric { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-sm); }
.metric__label { font-size: var(--step--1); color: var(--muted); }
.metric__value { font-size: var(--step-2); font-weight: 700; font-family: var(--font-display); }
.metric__unit { font-size: var(--step--1); color: var(--muted); font-weight: 400; }

.stamdata { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem 1.5rem; margin: 0; }
.stamdata div { display: grid; gap: 0.15rem; }
.stamdata dt { font-family: var(--font-mono); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.stamdata dd { margin: 0; font-weight: 500; }

.dash-detail__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-md); }
.dash-detail__title { font-size: var(--step-1); font-weight: 700; font-family: var(--font-display); }

.dash-detail__head-actions { display: inline-flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; justify-content: flex-end; }

.dash-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font: inherit;
    font-weight: 600;
    font-size: var(--step--1);
    line-height: 1;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dash-btn:hover { border-color: var(--brand); color: var(--brand-dark); }
.dash-btn:disabled { opacity: 0.55; cursor: default; }

.dash-btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.dash-btn--primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

.dash-btn--small { padding: 0.4rem 0.8rem; }

.dash-btn--gateway {
    position: relative;
    padding-left: 2rem;
    color: var(--muted);
    border-color: var(--line);
    background: var(--surface);
}

.dash-btn--gateway::before {
    content: "";
    position: absolute;
    left: 0.85rem;
    top: 50%;
    width: 0.8rem;
    height: 0.9rem;
    transform: translateY(-50%);
    background-color: currentColor;
    -webkit-mask: var(--icon-lock) center / contain no-repeat;
    mask: var(--icon-lock) center / contain no-repeat;
    opacity: 0.7;
}

.dash-btn--gateway:hover { border-color: var(--brand); color: var(--brand-dark); }
.dash-btn--gateway:disabled { opacity: 0.55; cursor: default; }

.dash-back-btn { background: transparent; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.5rem 0.9rem; font: inherit; cursor: pointer; display: inline-flex; gap: 0.4rem; align-items: center; color: var(--ink); }
.dash-back-btn:hover { border-color: var(--brand); color: var(--brand-dark); }

.event-list { list-style: none; margin: 0; padding: 0; }
.event-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 0.85rem; align-items: center; padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.event-list li:last-child { border-bottom: none; }
.event-time { font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted); white-space: nowrap; }
.event-msg { min-width: 0; }
.event-msg strong { display: block; font-weight: 600; }
.event-msg span { color: var(--muted); font-size: var(--step--1); }

.dash-empty { padding: var(--space-lg); text-align: center; color: var(--muted); }

@media (max-width: 900px) {
    .dash { grid-template-columns: 1fr; min-height: 0; }
    .dash__nav { flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--space-sm); }
    .dash__brand { margin-bottom: 0; }
    .dash__demo-tag { margin: 0; }
    .dash__menu { grid-auto-flow: column; }
    .dash__menu button { padding: 0.5rem 0.7rem; }
    .dash__count { display: none; }
    .dash__nav-foot { margin: 0 0 0 auto; padding: 0; border: none; }
    .dash__user { display: none; }
    .kpi-row { grid-template-columns: 1fr 1fr; }
    .dash-grid-2 { grid-template-columns: 1fr; }
    .metric-tiles { grid-template-columns: 1fr 1fr; }
    .stamdata { grid-template-columns: 1fr; }
    .dtable__hide { display: none; }
}

.timeslot {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    text-align: left;
    padding: 0.65rem 1rem;
}

.timeslot[aria-pressed="true"]::before { display: none; }

.timeslot__icon {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(var(--brand-rgb), 0.08);
    color: var(--brand-dark);
    flex: none;
}

.timeslot[aria-pressed="true"] .timeslot__icon {
    background: var(--brand);
    color: #fff;
}

.timeslot__icon svg { width: 18px; height: 18px; }

.timeslot__text { display: flex; flex-direction: column; align-items: flex-start; gap: 0.05rem; line-height: 1.2; }

.contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
    gap: var(--space-lg);
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 3px solid var(--brand);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: var(--space-lg);
}

.contact-aside {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(155deg, var(--brand-dark) 0%, var(--surface-deep) 78%);
    color: #cdd6dd;
    border-radius: var(--radius);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-aside::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--tex-signal);
    background-repeat: no-repeat;
    background-position: right -34px bottom -34px;
    background-size: 300px;
    opacity: 0.55;
}

.contact-aside .eyebrow { color: #7cc9f5; }
.contact-aside h2 { color: #fff; font-size: var(--step-1); margin-bottom: 0.25rem; }
.contact-aside > p { color: #b4c2d4; margin-bottom: 0; }

.contact-aside .contact-info { gap: var(--space-md); }
.contact-aside .contact-info__item { border-left-color: var(--accent); }
.contact-aside .contact-info__item span { color: #8fa0b8; }
.contact-aside .contact-info__item a { color: #fff; }
.contact-aside .contact-info__item a:hover { color: #7cc9f5; }

.contact-aside__promise {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
    margin-top: auto;
}

.contact-aside__promise li {
    position: relative;
    padding-left: 1.7rem;
    margin: 0;
    color: #b4c2d4;
    font-size: var(--step--1);
}

.contact-aside__promise li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 0.55rem;
    height: 0.9rem;
    border: solid var(--accent);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-aside { order: 2; }
}

.home-hero .btn--primary,
.page-hero .btn--primary,
.cta-band .btn--primary,
.media-band .btn--primary,
.section--dark .btn--primary {
    background: #0a5fa8;
    border-color: #3badf0;
    color: #ffffff;
}

.home-hero .btn--primary:hover,
.page-hero .btn--primary:hover,
.cta-band .btn--primary:hover,
.media-band .btn--primary:hover,
.section--dark .btn--primary:hover {
    background: #1a74c4;
    border-color: #7cc9f5;
    color: #ffffff;
}

.dash-demo-banner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(180, 83, 9, 0.08);
    border: 1px solid rgba(180, 83, 9, 0.25);
    color: #8a5209;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    margin-bottom: var(--space-md);
    font-size: var(--step--1);
}

.dash-demo-banner svg { width: 18px; height: 18px; flex: none; }
.dash-demo-banner strong { color: #7a4708; }

.cta-band .eyebrow,
.media-band .eyebrow {
    color: #7cc9f5;
}

.dash-notice {
    background: rgba(10, 95, 168, 0.07);
    border: 1px solid rgba(10, 95, 168, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.95rem;
    color: var(--brand-dark);
    font-size: var(--step--1);
    margin: 0 0 var(--space-md);
}

.dash-notice a { color: var(--brand-dark); font-weight: 600; }

.dash-detail__meta { margin-bottom: var(--space-md); }
.dash-detail__metrics { margin-bottom: var(--space-md); }
.dash-detail__grid { margin-top: 0; }
:root {
    --ember-ink: #cc0018;
    --rule-edge: linear-gradient(90deg, var(--brand-light) 0%, var(--brand) 62%, var(--ember) 100%);
    --rule-tail: linear-gradient(90deg, var(--brand) 0 72%, var(--ember) 72% 100%);
    --rule-tail-dark: linear-gradient(90deg, var(--brand-light) 0 72%, var(--ember-light) 72% 100%);
}

.site-footer {
    border-top: 3px solid transparent;
    border-image: var(--rule-edge) 1;
}

.section-head h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin-top: 0.9rem;
    border-radius: 2px;
    background: var(--rule-tail);
}

.section--dark .section-head h2::after,
.cta-band .section-head h2::after,
.media-band .section-head h2::after {
    background: var(--rule-tail-dark);
}

.cta-band .section-head h2::after,
.section-head--center h2::after {
    margin-inline: auto;
}

.step__dot {
    color: var(--ember-ink);
}

.step__line {
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand) 52%, var(--ember) 100%);
    opacity: 0.5;
}

.timeline__tag {
    color: var(--ember-ink);
}

.legal__content > section {
    border-bottom-color: transparent;
    border-image: linear-gradient(90deg, var(--line) 0 84%, var(--ember) 84% 100%) 1;
}

.legal__content > section:last-child {
    border-image: none;
}

.legal > h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin-top: 0.9rem;
    border-radius: 2px;
    background: var(--rule-tail);
}

.primary-nav a::after {
    background: var(--rule-tail);
}

.manifest-wrap .lead {
    max-width: 48ch;
    margin-inline: auto;
    text-wrap: balance;
}

.cta-band .lead,
.section-head--center .lead {
    text-wrap: balance;
}

.legal__toc {
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
}

.legal__toc ol,
.legal__toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
}

.legal__toc ul {
    margin: 0.25rem 0 0.5rem;
    padding-left: 0.75rem;
}

.legal__toc li {
    margin: 0 0 0.15rem;
}

.legal__toc a {
    padding: 0.3rem 0.6rem;
    border-left: 2px solid transparent;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    line-height: 1.4;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.legal__toc a {
    font-size: var(--step--1);
    overflow-wrap: break-word;
    hyphens: auto;
}

.legal__toc ol > li > a {
    color: var(--ink);
    font-weight: 700;
}

.legal__toc ol > li + li {
    margin-top: 0.35rem;
}

.legal__toc li.er-aaben > a {
    color: var(--brand-dark);
}

.legal__toc a[aria-current="location"] {
    color: var(--brand-dark);
    background: var(--surface-alt);
    border-left-color: var(--brand);
    font-weight: 600;
}

.legal__toc a:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}

.legal__fremdrift {
    position: sticky;
    top: calc(var(--space-md) * -1);
    z-index: 1;
    margin: calc(var(--space-md) * -1) calc(var(--space-md) * -1) var(--space-sm);
    padding: var(--space-md) var(--space-md) var(--space-sm);
    background: var(--surface);
    box-shadow: 0 1px 0 var(--line);
}

.legal__fremdrift-tekst {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0 0 0.4rem;
    color: var(--muted);
    font-size: var(--step--1);
}

.legal__fremdrift-tekst strong {
    color: var(--ink);
    font-weight: 600;
}

.legal__fremdrift-spor {
    height: 4px;
    border-radius: 999px;
    background: var(--line);
    overflow: hidden;
}

.legal__fremdrift-spor span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand-light), var(--brand));
    transition: width 0.2s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    .legal__toc a,
    .legal__fremdrift-spor span {
        transition: none;
    }
}

.field--samtykke {
    margin-top: var(--space-xs);
}

.contact-form .samtykke {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: var(--step--1);
    font-weight: 400;
    line-height: 1.5;
    color: var(--muted);
    cursor: pointer;
}

.contact-form .samtykke input {
    flex: none;
    width: 1.1rem;
    height: 1.1rem;
    margin: 0.15rem 0 0;
    accent-color: var(--brand);
    cursor: pointer;
}

.contact-form .samtykke input:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}

.header__actions .btn {
    white-space: nowrap;
    flex: 0 0 auto;
}

@media (max-width: 782px) {
    .header__actions .btn {
        min-height: 44px;
        padding: 0.65rem 1.05rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .header__actions .btn {
        padding: 0.6rem 0.85rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 340px) {
    .header__actions .btn {
        display: none;
    }
}

.primary-nav__login {
    display: none;
}

@media (max-width: 840px) {
    .primary-nav .primary-nav__login {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        min-height: 48px;
        margin-top: var(--space-sm);
        padding: 0.75rem 1rem;
        border: 1px solid var(--brand);
        border-radius: 999px;
        font-family: var(--font-display);
        font-weight: 700;
        color: var(--brand-dark);
        text-decoration: none;
    }

    .primary-nav .primary-nav__login::after {
        display: none;
    }

    .primary-nav .primary-nav__login:hover,
    .primary-nav .primary-nav__login:focus-visible {
        background: var(--brand);
        color: #fff;
    }
}
