/* ==========================================================================
   unacu. landing page
   Tokens → Base → Layout → Components → Sections
   ========================================================================== */

/* Fonts (self-hosted Inter variable, no third-party requests)
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter/inter-cyrillic-ext-wght-normal-b63bbee86816467086396fdbe212c676.woff2") format('woff2-variations');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter/inter-cyrillic-wght-normal-5b95a781cdac3be5536f9eb91dd4668c.woff2") format('woff2-variations');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter/inter-latin-ext-wght-normal-2b0794a91bce3f27bddfd481e4f51e85.woff2") format('woff2-variations');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter/inter-latin-wght-normal-5cd72e03bbb7b0a63b5e34f86ddf4bb6.woff2") format('woff2-variations');
    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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens
   -------------------------------------------------------------------------- */
:root {
    color-scheme: light;

    --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    --brand-navy: #123568;
    --brand-red: #ff4447;
    --brand-petrol: #257985;
    --brand-cyan: #00adc9;

    --bg: #ffffff;
    --bg-subtle: #f6f8fb;
    --surface: #ffffff;
    --surface-2: #f1f4f9;
    --border: #e3e8ef;
    --border-strong: #cfd7e3;
    --text: #1b2738;
    --text-muted: #5a6a7f;
    --heading: #123568;
    --section-heading: #123568;
    --accent: #123568;
    --accent-hover: #0c2549;
    --accent-contrast: #ffffff;
    --link: #123568;
    --deco: #5ea8a7;
    --deco-soft: #e8f3f3;
    --deco-text: #407776;
    --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235ea8a7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    --ring: color-mix(in srgb, var(--accent) 40%, transparent);
    --nav-bg: rgba(255, 255, 255, .72);
    --device-frame: #1d2433;
    --device-frame-edge: #3a4356;
    --device-screen-bg: #f4f6f9;
    --logo-filter: grayscale(1) brightness(0) opacity(.45);
    --logo-filter-hover: grayscale(1) brightness(0) opacity(.8);
    --hero-glow-1: rgba(56, 114, 199, .15);
    --hero-glow-2: rgba(18, 53, 104, .10);
    --success: #1f8f5f;
    --danger: #d9363e;

    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
    --shadow-md: 0 4px 8px -2px rgba(16, 24, 40, .08), 0 2px 4px -2px rgba(16, 24, 40, .05);
    --shadow-lg: 0 24px 48px -12px rgba(16, 24, 40, .18);
    --shadow-device: 0 30px 60px -20px rgba(15, 30, 60, .35), 0 18px 36px -18px rgba(0, 0, 0, .3);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --section-space: clamp(64px, 9vw, 120px);
    --header-height: 68px;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;

        --bg: #0b1220;
        --bg-subtle: #0f1729;
        --surface: #131d31;
        --surface-2: #19253c;
        --border: #233149;
        --border-strong: #2f3f5b;
        --text: #d8e1ee;
        --text-muted: #94a3b8;
        --heading: #f1f5fb;
        --section-heading: #5e9e9e;
        --accent: #5e9e9e;
        --accent-hover: #4d8484;
        --accent-contrast: #ffffff;
        --link: #7db4b4;
        --deco: #5e9e9e;
        --deco-soft: rgba(94, 158, 158, .12);
        --deco-text: #5e9e9e;
        --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e9e9e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
        --nav-bg: rgba(11, 18, 32, .72);
        --device-frame: #05080f;
        --device-frame-edge: #2a3448;
        --device-screen-bg: #121a2a;
        --logo-filter: grayscale(1) brightness(0) invert(1) opacity(.55);
        --logo-filter-hover: grayscale(1) brightness(0) invert(1) opacity(.9);
        --hero-glow-1: rgba(94, 158, 158, .14);
        --hero-glow-2: rgba(80, 110, 200, .12);
        --success: #3ccf8e;
        --danger: #ff6b6b;

        --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
        --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, .45);
        --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, .6);
        --shadow-device: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 18px 36px -18px rgba(0, 0, 0, .6);
    }
}

:root[data-theme="dark"] {
    color-scheme: dark;

    --bg: #0b1220;
    --bg-subtle: #0f1729;
    --surface: #131d31;
    --surface-2: #19253c;
    --border: #233149;
    --border-strong: #2f3f5b;
    --text: #d8e1ee;
    --text-muted: #94a3b8;
    --heading: #f1f5fb;
    --section-heading: #5e9e9e;
    --accent: #5e9e9e;
    --accent-hover: #4d8484;
    --accent-contrast: #ffffff;
    --link: #7db4b4;
    --deco: #5e9e9e;
    --deco-soft: rgba(94, 158, 158, .12);
    --deco-text: #5e9e9e;
    --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e9e9e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    --nav-bg: rgba(11, 18, 32, .72);
    --device-frame: #05080f;
    --device-frame-edge: #2a3448;
    --device-screen-bg: #121a2a;
    --logo-filter: grayscale(1) brightness(0) invert(1) opacity(.55);
    --logo-filter-hover: grayscale(1) brightness(0) invert(1) opacity(.9);
    --hero-glow-1: rgba(94, 158, 158, .14);
    --hero-glow-2: rgba(80, 110, 200, .12);
    --success: #3ccf8e;
    --danger: #ff6b6b;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, .45);
    --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, .6);
    --shadow-device: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 18px 36px -18px rgba(0, 0, 0, .6);
}

/* Theme-dependent images (screenshots, logo): render both, show the matching one */
.theme-img--dark {
    display: none !important;
}

:root[data-theme="dark"] .theme-img--light {
    display: none !important;
}

:root[data-theme="dark"] .theme-img--dark {
    display: block !important;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme-img--light {
        display: none !important;
    }

    :root:not([data-theme="light"]) .theme-img--dark {
        display: block !important;
    }
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-height) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.has-open-menu {
    overflow: hidden;
}

h1, h2, h3, h4 {
    margin: 0 0 .5em;
    color: var(--heading);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    text-wrap: balance;
    overflow-wrap: break-word;
    hyphens: manual;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    letter-spacing: -.035em;
}

h2 {
    color: var(--section-heading);
    font-size: clamp(1.75rem, 3.4vw, 2.625rem);
}

h3 {
    font-size: 1.125rem;
    letter-spacing: -.01em;
}

p {
    margin: 0 0 1em;
}

a {
    color: var(--link);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

img, svg {
    max-width: 100%;
}

img {
    display: block;
    height: auto;
}

:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 2px;
    border-radius: 4px;
}

::selection {
    background: color-mix(in srgb, var(--accent) 25%, transparent);
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
    vertical-align: -.25em;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 100;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: var(--accent-contrast);
}

.skip-link:focus {
    top: 12px;
}

/* Brand word marks (see UnacuTwigExtension / SmartISSTwigExtension) */
.brand {
    white-space: nowrap;
    text-transform: lowercase;
    font-weight: 600;
    color: inherit;
}

.brand::after {
    content: ".";
    color: var(--brand-red);
}

.brand-smartiss {
    white-space: nowrap;
    font-weight: 600;
}

.brand-smartiss::after {
    content: ".";
    color: #009da2;
}

/* Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

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

.section--subtle {
    background: var(--bg-subtle);
    border-block: 1px solid var(--border);
}

.section--first {
    padding-top: calc(var(--header-height) + clamp(40px, 6vw, 72px));
}

.section-head {
    max-width: 720px;
    margin: 0 auto clamp(40px, 5vw, 64px);
    text-align: center;
}

.section-head--left {
    margin-inline: 0;
    text-align: left;
}

.section-head p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--deco-text);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.grid {
    display: grid;
    gap: clamp(16px, 2.5vw, 24px);
}

.grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1099px) {
    .grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

/* Reveal on scroll (assets/js/reveal.js); without JavaScript everything stays visible */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Components
   -------------------------------------------------------------------------- */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.btn:hover {
    text-decoration: none;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    background: var(--accent);
    color: var(--accent-contrast);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .15);
}

.btn--primary:hover {
    background: var(--accent-hover);
}

.btn--secondary {
    border-color: var(--border-strong);
    background: var(--surface);
    color: var(--heading);
}

.btn--secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn--ghost {
    color: var(--text);
}

.btn--ghost:hover {
    background: var(--surface-2);
}

.btn--lg {
    min-height: 52px;
    padding: 14px 28px;
    font-size: 1rem;
}

.btn--icon {
    width: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: var(--radius-pill);
}

/* Cards */
.card {
    position: relative;
    padding: clamp(24px, 3vw, 32px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.card h3 {
    margin-top: 16px;
}

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

.card p {
    color: var(--text-muted);
}

.icon-badge {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--deco-soft);
    color: var(--deco);
}

.icon-badge .icon {
    width: 24px;
    height: 24px;
}

/* Check list */
.check-list,
.check-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list > li {
    position: relative;
    padding: 6px 0 6px 32px;
}

.check-list > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--deco-soft) var(--check-icon) center / 12px no-repeat;
}

.check-list ul {
    margin-top: 4px;
}

.check-list ul li {
    position: relative;
    padding: 2px 0 2px 16px;
    color: var(--text-muted);
    font-size: .9375rem;
}

.check-list ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .75em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--border-strong);
}

/* Dropdown (details/summary) */
.dropdown {
    position: relative;
}

.dropdown > summary {
    list-style: none;
}

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

.dropdown__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 60;
    min-width: 180px;
    margin: 0;
    padding: 6px;
    list-style: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.dropdown__menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: .9375rem;
}

.dropdown__menu a:hover {
    background: var(--surface-2);
    text-decoration: none;
}

.dropdown__menu a[aria-current="true"] {
    color: var(--accent);
    font-weight: 600;
}

.dropdown__menu .lang-code {
    color: var(--text-muted);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .05em;
}

/* Theme toggle: icon follows the stored choice */
.theme-toggle .icon {
    display: none;
}

:root:not([data-theme-choice]) .theme-toggle .icon--system,
[data-theme-choice="system"] .theme-toggle .icon--system,
[data-theme-choice="light"] .theme-toggle .icon--light,
[data-theme-choice="dark"] .theme-toggle .icon--dark {
    display: block;
}

/* Site header / navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    border-bottom: 1px solid transparent;
    transition: background-color .2s ease, border-color .2s ease, backdrop-filter .2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    border-bottom-color: var(--border);
    background: var(--nav-bg);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: var(--header-height);
}

.site-logo {
    display: inline-flex;
    flex-shrink: 0;
}

.site-logo img {
    width: auto;
    height: 40px;
}

.site-nav {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 24px;
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.site-nav__links a {
    display: block;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    font-size: .9375rem;
    font-weight: 500;
    transition: color .15s ease, background-color .15s ease;
}

.site-nav__links a:hover,
.site-nav__links a.is-active {
    color: var(--heading);
    text-decoration: none;
}

.site-nav__links a.is-active {
    background: var(--surface-2);
}

.site-nav__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-switch > summary {
    gap: 6px;
    width: auto;
    padding-inline: 12px;
    font-size: .8125rem;
    letter-spacing: .04em;
}

.lang-switch > summary .icon--chevron {
    width: 14px;
    height: 14px;
    transition: transform .15s ease;
}

.lang-switch[open] > summary .icon--chevron {
    transform: rotate(180deg);
}

.menu-toggle {
    display: none;
    margin-left: auto;
}

.menu-toggle .icon--close {
    display: none;
}

.site-header.is-open .menu-toggle .icon--open {
    display: none;
}

.site-header.is-open .menu-toggle .icon--close {
    display: block;
}

@media (max-width: 1179px) {
    .menu-toggle {
        display: inline-flex;
    }

    /* backdrop-filter would turn the header into the containing block of the fixed menu panel */
    .site-header.is-open {
        background: var(--bg);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .site-nav {
        position: fixed;
        inset: var(--header-height) 0 0;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        padding: 24px var(--gutter) 32px;
        overflow-y: auto;
        background: var(--bg);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }

    .site-header.is-open .site-nav {
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    .site-nav__links {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin: 0;
    }

    .site-nav__links a {
        padding: 14px 16px;
        border-radius: var(--radius);
        font-size: 1.125rem;
        color: var(--heading);
    }

    .site-nav__actions {
        flex-wrap: wrap;
        padding-top: 24px;
        border-top: 1px solid var(--border);
    }

    .site-nav__actions .btn--primary,
    .site-nav__actions .btn--secondary {
        flex: 1 1 100%;
        min-height: 48px;
    }

    .site-nav__actions .lang-switch .dropdown__menu {
        right: auto;
        left: 0;
        top: auto;
        bottom: calc(100% + 8px);
    }
}

/* Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding-top: calc(var(--header-height) + clamp(48px, 7vw, 96px));
    padding-bottom: clamp(56px, 8vw, 104px);
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(60% 50% at 85% 20%, var(--hero-glow-1), transparent 70%),
    radial-gradient(50% 50% at 10% 0%, var(--hero-glow-2), transparent 70%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: .45;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 20%, transparent 75%);
    mask-image: radial-gradient(70% 60% at 50% 0%, #000 20%, transparent 75%);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
}

.hero__copy h1 {
    margin-bottom: 20px;
    font-size: clamp(2.25rem, 4.2vw, 3.25rem);
}

.hero__lead {
    max-width: 34em;
    margin-bottom: 32px;
    color: var(--text-muted);
    font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
    color: var(--text-muted);
    font-size: .875rem;
}

.hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero__trust .icon {
    color: var(--deco);
}

@media (max-width: 1099px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__copy {
        max-width: 680px;
        margin-inline: auto;
        text-align: center;
    }

    .hero__lead {
        margin-inline: auto;
    }

    .hero__actions,
    .hero__trust {
        justify-content: center;
    }
}

@media (max-width: 479px) {
    .hero__actions .btn {
        flex: 1 1 100%;
    }
}

/* Devices (pure CSS frames around screenshots)
   -------------------------------------------------------------------------- */
.device {
    position: relative;
}

.device__screen {
    position: relative;
    overflow: hidden;
    background: var(--device-screen-bg);
}

.device__screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}

/* Laptop */
.device--laptop .device__body {
    padding: 2.2% 2.2% 3%;
    border-radius: 18px 18px 6px 6px;
    background: var(--device-frame);
    box-shadow: inset 0 0 0 1px var(--device-frame-edge), var(--shadow-device);
}

.device--laptop .device__screen {
    aspect-ratio: 16 / 10;
    border-radius: 6px;
}

.device--laptop .device__base {
    position: relative;
    width: 116%;
    height: 0;
    margin-left: -8%;
    padding-bottom: 3%;
    border-radius: 2px 2px 14px 14px;
    background: linear-gradient(180deg, #c9d0da 0%, #a3acba 55%, #8e97a6 100%);
    box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .45);
}

.device--laptop .device__base::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 16%;
    height: 40%;
    border-radius: 0 0 8px 8px;
    background: rgba(0, 0, 0, .14);
    transform: translateX(-50%);
}

/* Tablet */
.device--tablet .device__body {
    padding: 3.2%;
    border-radius: 6% / 8%;
    background: var(--device-frame);
    box-shadow: inset 0 0 0 1px var(--device-frame-edge), var(--shadow-device);
}

.device--tablet .device__screen {
    aspect-ratio: 4 / 3;
    border-radius: 2.5% / 3.3%;
}

/* Phone */
.device--phone .device__body {
    padding: 5%;
    border-radius: 18% / 8.5%;
    background: var(--device-frame);
    box-shadow: inset 0 0 0 1px var(--device-frame-edge), var(--shadow-device);
}

.device--phone .device__screen {
    aspect-ratio: 9 / 19.5;
    border-radius: 13% / 6%;
}

.device--phone .device__screen::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 2.2%;
    z-index: 1;
    width: 32%;
    height: 3.6%;
    border-radius: 999px;
    background: #05080f;
    transform: translateX(-50%);
}

/* Browser window (feature screenshots) */
.browser {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.browser__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding-inline: 14px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
}

.browser__bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-strong);
}

.browser__bar span:nth-child(1) {
    background: #ff5f57;
}

.browser__bar span:nth-child(2) {
    background: #febc2e;
}

.browser__bar span:nth-child(3) {
    background: #28c840;
}

.browser__url {
    flex: 1;
    max-width: 280px;
    height: 22px;
    margin-inline: auto;
    border-radius: 6px;
    background: var(--surface);
    color: var(--text-muted);
    font-size: .75rem;
    line-height: 22px;
    text-align: center;
}

.browser .device__screen {
    aspect-ratio: 16 / 10;
}

/* Hero device trio: laptop in front, tablet right, phone left */
.device-trio {
    position: relative;
    padding: 0 6% 10% 8%;
}

.device-trio .device--laptop {
    position: relative;
    z-index: 1;
}

.device-trio .device--tablet {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 38%;
}

.device-trio .device--phone {
    position: absolute;
    left: 0;
    bottom: 2%;
    z-index: 3;
    width: 15%;
}

/* Devices section: side by side, to scale */
.device-lineup {
    display: grid;
    grid-template-columns: 58fr 30fr 12fr;
    align-items: end;
    gap: clamp(16px, 3vw, 40px);
}

.device-lineup figure {
    margin: 0;
}

.device-lineup figcaption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: .875rem;
    font-weight: 500;
}

.device-lineup .device--laptop .device__base {
    width: 108%;
    margin-left: -4%;
}

@media (max-width: 767px) {
    .device-lineup {
        grid-template-columns: 70fr 30fr;
    }

    .device-lineup figure:first-child {
        grid-column: 1 / -1;
        max-width: 92%;
        margin-inline: auto;
    }
}

.device-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 24px;
    margin-top: clamp(40px, 6vw, 72px);
}

.device-points > div {
    display: flex;
    gap: 16px;
}

.device-points h3 {
    margin-bottom: 4px;
}

.device-points p {
    margin: 0;
    color: var(--text-muted);
    font-size: .9375rem;
}

/* Customer logos marquee
   -------------------------------------------------------------------------- */
.logo-band {
    padding-block: clamp(32px, 5vw, 56px);
    border-block: 1px solid var(--border);
}

.marquee {
    --marquee-gap: clamp(40px, 6vw, 80px);
    --marquee-duration: 40s;
    display: flex;
    overflow: hidden;
    gap: var(--marquee-gap);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: var(--marquee-gap);
    min-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: space-around;
    animation: marquee var(--marquee-duration) linear infinite;
}

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
    animation-play-state: paused;
}

.marquee__track img {
    width: auto;
    max-width: 160px;
    height: 40px;
    object-fit: contain;
    filter: var(--logo-filter);
    transition: filter .25s ease;
}

.marquee__track img.logo--lg {
    max-width: 200px;
    height: 60px;
}

.marquee__track img.logo--sm {
    height: 30px;
}

.marquee__track img:hover {
    filter: var(--logo-filter-hover);
}

@keyframes marquee {
    to {
        transform: translateX(calc(-100% - var(--marquee-gap)));
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee {
        flex-wrap: wrap;
        justify-content: center;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .marquee__track {
        flex-wrap: wrap;
        justify-content: center;
        min-width: 0;
        animation: none;
    }

    .marquee__track[aria-hidden="true"] {
        display: none;
    }
}

/* Features
   -------------------------------------------------------------------------- */
.feature-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 auto clamp(32px, 4vw, 48px);
}

.feature-tabs button {
    flex-shrink: 0;
    padding: 9px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--text-muted);
    font: inherit;
    font-size: .875rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}

.feature-tabs button:hover {
    border-color: var(--border-strong);
    color: var(--heading);
}

.feature-tabs button[aria-selected="true"] {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-contrast);
}

/* Single scrollable row on small screens */
@media (max-width: 767px) {
    .feature-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        margin-inline: calc(-1 * var(--gutter));
        padding-inline: var(--gutter);
        overflow-x: auto;
        scrollbar-width: none;
    }

    .feature-tabs::-webkit-scrollbar {
        display: none;
    }
}

.feature-panel {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
    animation: fade-in .35s ease;
}

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

.feature-panel h3 {
    margin-bottom: 16px;
    font-size: clamp(1.375rem, 2.2vw, 1.75rem);
}

@media (max-width: 1023px) {
    .feature-panel {
        grid-template-columns: 1fr;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
}

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

/* Testimonials
   -------------------------------------------------------------------------- */
.testimonial {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.testimonial > .icon {
    width: 28px;
    height: 28px;
    color: var(--deco);
    opacity: .6;
}

.testimonial blockquote {
    flex: 1;
    margin: 16px 0 24px;
    color: var(--text);
    font-size: 1rem;
}

.testimonial figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.testimonial__name {
    color: var(--heading);
    font-weight: 600;
}

.testimonial__meta {
    color: var(--text-muted);
    font-size: .8125rem;
    line-height: 1.4;
}

.testimonial__logo {
    width: auto;
    max-width: 110px;
    height: 30px;
    object-fit: contain;
    filter: var(--logo-filter);
}

/* About
   -------------------------------------------------------------------------- */
.about {
    max-width: 800px;
    margin-inline: auto;
    color: var(--text-muted);
    font-size: 1.0625rem;
    text-align: center;
}

/* Contact
   -------------------------------------------------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: clamp(32px, 5vw, 64px);
}

.contact-layout__intro p {
    color: var(--text-muted);
    font-size: 1.0625rem;
}

.contact-layout__intro .check-list {
    margin: 24px 0 32px;
}

.contact-direct {
    display: grid;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.contact-direct li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-direct .icon {
    color: var(--deco);
}

@media (max-width: 1023px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

.form-card {
    padding: clamp(24px, 4vw, 40px);
}

.form-card:hover {
    transform: none;
}

/* Forms (see templates/Form/form_layout.html.twig) */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
}

.form-grid > * {
    grid-column: 1 / -1;
}

.form-grid > .field--half {
    grid-column: auto;
}

@media (max-width: 599px) {
    .form-grid > .field--half {
        grid-column: 1 / -1;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    color: var(--heading);
    font-size: .875rem;
    font-weight: 500;
}

.input {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    font: inherit;
    font-size: 1rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.input:hover {
    border-color: color-mix(in srgb, var(--accent) 50%, var(--border-strong));
}

.input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--ring);
}

textarea.input {
    min-height: 120px;
    resize: vertical;
}

.field--error .input {
    border-color: var(--danger);
}

.field-errors {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--danger);
    font-size: .8125rem;
}

.form-errors {
    margin: 0;
    padding: 12px 16px;
    list-style: none;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--danger) 10%, transparent);
    color: var(--danger);
    font-size: .875rem;
}

.field--check {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 4px 12px;
}

.field--check input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--accent);
}

.field--check label {
    color: var(--text-muted);
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.5;
}

.field--check .field-errors {
    grid-column: 2;
}

.captcha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.captcha img {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.captcha .input {
    flex: 1;
    min-width: 160px;
}

.extended-form {
    grid-column: 1 / -1;
}

.extended-form > summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--link);
    font-size: .875rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}

.extended-form > summary::-webkit-details-marker {
    display: none;
}

.extended-form > summary .icon {
    width: 16px;
    height: 16px;
    transition: transform .15s ease;
}

.extended-form[open] > summary {
    display: none;
}

.extended-form[open] > .form-grid {
    margin-top: 0;
}

.field--submit .btn {
    width: 100%;
}

/* Page header (SEO sub pages)
   -------------------------------------------------------------------------- */
.page-success {
    max-width: 560px;
    margin-inline: auto;
    text-align: center;
}

.page-success .icon-badge {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.page-success p {
    color: var(--text-muted);
}

.prose {
    max-width: 760px;
    margin-inline: auto;
    color: var(--text);
    overflow-wrap: anywhere;
}

/* Footer
   -------------------------------------------------------------------------- */
.site-footer {
    padding-block: clamp(48px, 6vw, 72px) 32px;
    border-top: 1px solid var(--border);
    background: var(--bg-subtle);
    color: var(--text-muted);
    font-size: .9375rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.site-footer h2 {
    margin-bottom: 16px;
    color: var(--heading);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-footer ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer a,
.site-footer .link-button {
    color: var(--text-muted);
}

.site-footer a:hover,
.site-footer .link-button:hover {
    color: var(--heading);
}

.site-footer address {
    font-style: normal;
}

.site-footer__brand img {
    height: 44px;
    width: auto;
    margin-bottom: 16px;
}

.trust-chips,
.site-footer .trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px !important;
}

.trust-chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--heading);
    font-size: .8125rem;
    font-weight: 500;
}

.trust-chips .icon {
    width: 16px;
    height: 16px;
    color: var(--deco);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: .8125rem;
}

.link-button {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
}

@media (max-width: 767px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

/* Dialogs (imprint, privacy policy)
   -------------------------------------------------------------------------- */
dialog.modal {
    width: min(720px, calc(100% - 32px));
    max-height: min(85vh, 900px);
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-lg);
}

dialog.modal::backdrop {
    background: rgba(5, 10, 20, .55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

dialog.modal[open] {
    display: flex;
    flex-direction: column;
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.modal__header h2 {
    margin: 0;
    font-size: 1.25rem;
}

.modal__body {
    padding: 24px;
    overflow-y: auto;
    overflow-wrap: anywhere;
}

.modal__footer {
    display: flex;
    justify-content: flex-end;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}

.text-bold {
    font-weight: 600;
    color: var(--heading);
}

.card > .icon-badge + p {
    margin-top: 16px;
}

.card--media {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.card--media h3 {
    margin-top: 10px;
}

@media (max-width: 479px) {
    .card--media {
        flex-direction: column;
        gap: 0;
    }

    .card--media h3 {
        margin-top: 16px;
    }
}
