/* ================================================================
   Bastion landing — deep night navy + Baltic amber
   Display: Bricolage Grotesque · Body: Instrument Sans · Mono: IBM Plex Mono
   ================================================================ */

:root {
    --ink:        #0B1220;
    --ink-2:      #0F1930;
    --panel:      #121D36;
    --line:       #22304F;
    --amber:      #F0A62B;
    --amber-deep: #C97E12;
    --amber-soft: rgba(240, 166, 43, 0.12);
    --teal:       #4FC3A1;
    --text:       #E9EDF5;
    --muted:      #9AA7BF;
    --mono:       "IBM Plex Mono", ui-monospace, monospace;
    --display:    "Bricolage Grotesque", system-ui, sans-serif;
    --body:       "Instrument Sans", system-ui, sans-serif;
    --radius:     10px;
    --container:  1120px;
    --ease-out:   cubic-bezier(0.23, 1, 0.32, 1);   /* strong ease-out for UI micro-interactions */
    --ease-rise:  cubic-bezier(0.2, 0.7, 0.2, 1);   /* brand entrance curve (hero + reveals) */
}

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

html { scroll-behavior: smooth; }

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

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

/* anchor targets must clear the 64px sticky nav */
[id] { scroll-margin-top: 80px; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

a { color: var(--amber); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
}

/* ---------- crenellation divider (fortress rampart) ---------- */
.crenellation {
    height: 14px;
    background:
        linear-gradient(var(--line), var(--line)) bottom / 100% 1px no-repeat,
        repeating-linear-gradient(90deg,
            var(--line) 0 24px,
            transparent 24px 48px) bottom / 100% 8px no-repeat;
    opacity: 0.9;
}
.crenellation-top { transform: scaleY(-1); }

/* ---------- nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 18, 32, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    height: 64px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--text);
}
.brand-mark { width: 24px; height: 24px; fill: var(--amber); }
.nav-links {
    display: flex;
    gap: 22px;
    margin-left: auto;
}
.nav-links a {
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.15s;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 5px 10px;
    transition: color 0.15s, border-color 0.15s;
}
.lang-switch:hover { color: var(--amber); border-color: var(--amber-deep); }

.nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
}
.nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background: var(--text);
    transition: transform 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
}
.nav.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
    display: inline-block;
    font-family: var(--body);
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius);
    padding: 13px 26px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out),
                background 0.15s, border-color 0.15s;
}
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 8px; white-space: nowrap; }
.btn-amber {
    background: var(--amber);
    color: #1A1206;
}
.btn-ghost {
    color: var(--text);
    border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--amber-deep); color: var(--amber); }
@media (hover: hover) and (pointer: fine) {
    .btn-amber:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(240, 166, 43, 0.35);
    }
    .feature-card:hover {
        transform: translateY(-4px);
        border-color: var(--amber-deep);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    }
}
.btn:active { transform: scale(0.97); }
.btn-block { width: 100%; }

/* ---------- shared section bits ---------- */
.eyebrow {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 14px;
}
.section { padding: 96px 0; }
.section-alt { background: var(--ink-2); padding: 0; }
.section-alt .container { padding-top: 96px; padding-bottom: 96px; }
.section-title {
    font-family: var(--display);
    font-size: clamp(30px, 4.4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.12;
    max-width: 680px;
}
.section-sub {
    color: var(--muted);
    max-width: 640px;
    margin-top: 16px;
    font-size: 17.5px;
    line-height: 1.65;
}

/* ---------- hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 72px;
}
.hero-glow {
    position: absolute;
    top: -320px;
    right: -180px;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(240, 166, 43, 0.14) 0%,
        rgba(240, 166, 43, 0.05) 40%,
        transparent 70%);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}
.hero-title {
    font-family: var(--display);
    font-size: clamp(34px, 4.6vw, 52px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.06;
    margin-bottom: 22px;
}
.hero-title .line {
    display: block;
    opacity: 0;
    transform: translateY(24px);
    animation: rise 0.7s var(--ease-rise) forwards;
}
.hero-title .line:nth-child(2) { animation-delay: 0.15s; }
.hero-title .amber { color: var(--amber); }
.hero-sub {
    color: var(--muted);
    font-size: 17.5px;
    max-width: 540px;
    margin-bottom: 34px;
    opacity: 0;
    animation: rise 0.7s 0.3s var(--ease-rise) forwards;
}
.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    opacity: 0;
    animation: rise 0.7s 0.45s var(--ease-rise) forwards;
}
@keyframes rise {
    to { opacity: 1; transform: translateY(0); }
}

.hero-demo {
    opacity: 0;
    animation: rise 0.8s 0.5s var(--ease-rise) forwards;
}
.shot-frame {
    background: #0A0F1C;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
.shot-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 14px;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
}
.shot-bar .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--line);
}
.shot-title {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    margin-left: 10px;
}
.shot-caption {
    margin-top: 12px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--muted);
}

/* ---------- fact strip ---------- */
.trust {
    border-bottom: 1px solid var(--line);
    background: var(--ink-2);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 26px;
    padding-bottom: 26px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 14.5px;
}
.trust-ico {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--amber);
    font-size: 16px;
}

/* ---------- architecture ---------- */
.arch-diagram { margin-top: 44px; }
.arch-box {
    position: relative;
    border: 1px dashed var(--line);
    border-radius: 14px;
    padding: 40px 28px 28px;
}
.arch-boundary-label {
    position: absolute;
    top: -10px;
    left: 24px;
    background: var(--ink);
    padding: 0 10px;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}
.arch-flow {
    display: flex;
    align-items: center;
    gap: 18px;
}
.arch-node {
    flex: 1;
    min-width: 0;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 16px;
    display: grid;
    gap: 9px;
    justify-items: center;
    text-align: center;
}
.arch-node-title { font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.arch-node-bastion { border-color: var(--amber-deep); background: var(--ink-2); }
.arch-node-mark { width: 22px; height: 22px; fill: var(--amber); }
.arch-agent {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--amber);
    background: var(--amber-soft);
    border: 1px solid var(--amber-deep);
    border-radius: 6px;
    padding: 3px 9px;
}
.arch-link {
    flex: none;
    width: 104px;
    display: grid;
    justify-items: center;
    gap: 6px;
}
.arch-arrow svg { width: 64px; height: 24px; display: block; }
.arch-arrow-line {
    stroke: var(--amber);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 6 5;
}
.arch-arrow-head {
    stroke: var(--amber);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.arch-link-rev { width: 72px; }
.arch-link-rev .arch-arrow-line,
.arch-link-rev .arch-arrow-head { stroke: var(--muted); }
.arch-link-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--amber);
    text-align: center;
}
.arch-desc {
    margin-top: 32px;
    color: var(--muted);
    max-width: 720px;
}

/* ---------- access workflow ---------- */
.proc-grid {
    margin-top: 52px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
}

/* ---------- steps (shared) ---------- */
.steps {
    list-style: none;
    display: grid;
    gap: 32px;
}
.steps-vert { grid-template-columns: 1fr; }
.steps-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 52px;
}
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
    flex: none;
    font-family: var(--display);
    font-weight: 800;
    font-size: 22px;
    color: var(--amber);
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--amber-deep);
    border-radius: 12px;
    background: var(--amber-soft);
}
.step h3 {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
}
.step p { color: var(--muted); font-size: 15px; }

/* ---------- PAM capabilities ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 52px;
}
.feature-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.feature-ico {
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
    fill: none;
    stroke: var(--muted);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.feature-ico .ico-amber { stroke: var(--amber); }
.feature-ico .ico-amber-fill { fill: var(--amber); stroke: none; }
.feature-card h3 {
    font-family: var(--display);
    font-size: 17.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 7px;
}
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- product screens / patching ---------- */
.tour {
    margin-top: 56px;
    display: grid;
    gap: 72px;
}
.tour-item {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 52px;
    align-items: center;
}
.tour-item:nth-child(even) .tour-copy { order: 2; }
.tour-item:nth-child(even) .product-figure { order: 1; }
.tour-copy h3 {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 10px;
}
.tour-copy p { color: var(--muted); font-size: 16px; max-width: 48ch; }
.tour-copy .section-title { margin-bottom: 0; }
.patch-desc {
    color: var(--muted);
    font-size: 16px;
    margin-top: 16px;
    max-width: 52ch;
}

.product-figure {
    background: #0A0F1C;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}
.product-figure img { width: 100%; height: auto; }

/* ---------- comparison ---------- */
.cmp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 52px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.cmp-table th, .cmp-table td {
    padding: 16px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
}
.cmp-table thead th {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--ink);
}
.cmp-table tbody th {
    font-family: var(--display);
    font-size: 15.5px;
    font-weight: 600;
    color: var(--text);
    width: 14%;
}
.cmp-table td { color: var(--muted); }
.cmp-table tbody tr:last-child th,
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table .cmp-bastion { background: var(--amber-soft); color: var(--text); }
.cmp-table thead .cmp-bastion { color: var(--amber); }
.cmp-note { margin-top: 14px; color: var(--muted); font-size: 13.5px; }

.cta-banner {
    margin-top: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    background: var(--panel);
    border: 1px solid var(--amber-deep);
    border-radius: 14px;
    padding: 26px 32px;
}
.cta-banner p {
    font-family: var(--display);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* ---------- technical details ---------- */
.spec-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px 28px;
}
.spec-panel-wide { margin-top: 44px; }
.spec-list-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 56px;
}
.spec-row {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}
.spec-list-cols .spec-row:nth-last-child(-n+2) { border-bottom: 0; }
.spec-row dt {
    font-family: var(--mono);
    font-size: 12.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--amber);
    padding-top: 2px;
}
.spec-row dd { color: var(--muted); font-size: 14.5px; }

/* ---------- fit / not fit ---------- */
.fit-grid {
    margin-top: 52px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: start;
}
.fit-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-left: 3px solid var(--teal);
    border-radius: var(--radius);
    padding: 26px 28px;
}
.fit-card-no { border-left-color: var(--amber-deep); }
.fit-card h3 {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 14px;
}
.fit-card ul { list-style: none; display: grid; gap: 10px; }
.fit-card li {
    color: var(--muted);
    font-size: 15px;
    padding-left: 22px;
    position: relative;
}
.fit-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 600;
}
.fit-card-no li::before {
    content: '–';
    color: var(--amber);
}

/* ---------- FAQ ---------- */
.faq-list {
    margin-top: 44px;
    display: grid;
    gap: 12px;
    max-width: 860px;
}
.faq-item {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 22px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    flex: none;
    font-family: var(--mono);
    font-size: 20px;
    color: var(--amber);
    line-height: 1;
    transition: transform 0.2s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item[open] p { animation: faq-in 0.2s var(--ease-out); }
@keyframes faq-in {
    from { opacity: 0; transform: translateY(-4px); }
}
.faq-item p {
    padding: 16px 22px 18px;
    color: var(--muted);
    font-size: 15px;
    max-width: 75ch;
}

/* ---------- contact ---------- */
.section-contact { padding: 96px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.contact-note { margin-top: 18px; color: var(--muted); font-size: 15px; }
.contact-mail { margin-top: 26px; font-family: var(--mono); font-size: 17px; }

.contact-form {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 32px;
    display: grid;
    gap: 18px;
}
.form-row { display: grid; gap: 7px; }
.form-row label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.02em;
}
.form-row input,
.form-row textarea,
.form-row select {
    font-family: var(--body);
    font-size: 15.5px;
    color: var(--text);
    background: var(--ink);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    transition: border-color 0.15s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus { border-color: var(--amber-deep); outline: none; }
.form-row textarea { resize: vertical; min-height: 120px; }
.form-row select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239AA7BF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    padding-right: 42px;
    cursor: pointer;
}

.cookie-notice {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
    padding: 14px 18px;
    background: var(--ink, #1a1a1a);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
}
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; font-size: .85rem; line-height: 1.45; }
.cookie-notice .btn { flex-shrink: 0; }

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.form-note {
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14.5px;
}
.form-ok  { background: rgba(79, 195, 161, 0.12); border: 1px solid rgba(79, 195, 161, 0.4); color: var(--teal); }
.form-err { background: rgba(229, 72, 77, 0.1);  border: 1px solid rgba(229, 72, 77, 0.4);  color: #F28488; }

/* ---------- footer ---------- */
.footer {
    border-top: 1px solid var(--line);
    padding: 48px 0 36px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
}
.brand-footer { font-size: 19px; }
.footer-tag { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 380px; }
.footer-col h3 {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
    font-weight: 500;
}
.footer-col a {
    display: block;
    color: var(--muted);
    font-size: 14.5px;
    padding: 4px 0;
    transition: color 0.15s;
}
.footer-col a:hover { color: var(--amber); }
.footer-legal { color: var(--muted); font-size: 13.5px; padding-top: 22px; }

/* ---------- scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
}
.reveal.on {
    opacity: 1;
    transform: none;
    animation: reveal-rise 0.6s var(--ease-rise) backwards;
}
@keyframes reveal-rise {
    from { opacity: 0; transform: translateY(22px); }
}

/* decorative stagger inside groups — capped, never blocks interaction */
.feature-grid .reveal.on:nth-child(2),
.steps .reveal.on:nth-child(2),
.faq-list .reveal.on:nth-child(2),
.trust-grid .reveal.on:nth-child(2),
.fit-grid .reveal.on:nth-child(2) { animation-delay: 60ms; }
.feature-grid .reveal.on:nth-child(3),
.steps .reveal.on:nth-child(3),
.faq-list .reveal.on:nth-child(3),
.trust-grid .reveal.on:nth-child(3) { animation-delay: 120ms; }
.feature-grid .reveal.on:nth-child(4),
.steps .reveal.on:nth-child(4),
.faq-list .reveal.on:nth-child(4) { animation-delay: 180ms; }
.feature-grid .reveal.on:nth-child(n+5),
.faq-list .reveal.on:nth-child(n+5) { animation-delay: 240ms; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
    .nav-links { gap: 16px; }
    .nav-links a { font-size: 14px; }
}
@media (max-width: 1020px) {
    .nav-inner { gap: 18px; }
    .nav-toggle { display: inline-flex; }
    .nav-links {
        display: flex;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        margin-left: 0;
        padding: 6px 24px 14px;
        background: rgba(11, 18, 32, 0.97);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--line);
        transition: opacity 0.2s var(--ease-out),
                    transform 0.2s var(--ease-out),
                    visibility 0s linear 0.2s;
    }
    .nav.nav-open .nav-links {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: opacity 0.2s var(--ease-out),
                    transform 0.2s var(--ease-out);
    }
    .nav-links a {
        padding: 13px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--line);
    }
    .nav-links a:last-child { border-bottom: 0; }
}
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .trust-grid { grid-template-columns: 1fr; gap: 12px; }

    .arch-flow { flex-direction: column; align-items: stretch; gap: 12px; }
    .arch-node { width: 100%; }
    .arch-link { width: auto; justify-self: center; }
    .arch-arrow svg { transform: rotate(90deg); width: 44px; height: 34px; }

    .proc-grid { grid-template-columns: 1fr; gap: 40px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-row { grid-template-columns: 1fr; gap: 28px; }
    .spec-list-cols { grid-template-columns: 1fr; }
    .spec-list-cols .spec-row:nth-last-child(2) { border-bottom: 1px solid var(--line); }
    .fit-grid { grid-template-columns: 1fr; }

    .tour { gap: 56px; }
    .tour-item { grid-template-columns: 1fr; gap: 24px; }
    .tour-item:nth-child(even) .tour-copy { order: 0; }
    .tour-item:nth-child(even) .product-figure { order: 0; }

    .cmp-table { display: block; margin-top: 44px; background: none; border: 0; overflow: visible; }
    .cmp-table thead { display: none; }
    .cmp-table tbody { display: grid; gap: 18px; }
    .cmp-table tbody tr {
        display: block;
        background: var(--panel);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        overflow: hidden;
    }
    .cmp-table tbody th {
        display: block;
        width: auto;
        background: var(--ink);
        padding: 14px 18px;
    }
    .cmp-table td { display: block; }
    .cmp-table tbody tr:last-child td { border-bottom: 1px solid var(--line); }
    .cmp-table td:last-child { border-bottom: 0 !important; }
    .cmp-table td::before {
        content: attr(data-col);
        display: block;
        font-family: var(--mono);
        font-size: 10.5px;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 4px;
    }
    .cmp-table td.cmp-bastion::before { color: var(--amber); }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
    .section { padding: 64px 0; }
    .section-alt .container { padding-top: 64px; padding-bottom: 64px; }
    .section-contact { padding: 64px 0; }
    .contact-form { padding: 22px; }
    .nav-actions .btn-sm { display: none; }
    .feature-grid { grid-template-columns: 1fr; }
    .spec-row { grid-template-columns: 1fr; gap: 3px; }
    .cta-banner { padding: 22px; }
    .faq-item summary { padding: 15px 18px; font-size: 15px; }
    .faq-item p { padding: 14px 18px 16px; }
    .cookie-notice { padding: 12px 14px; }
    .cookie-notice { flex-direction: column; align-items: stretch; text-align: center; }
    .cookie-notice p { font-size: .8rem; line-height: 1.4; }
    .cookie-notice .btn { padding: 10px 18px; font-size: 14px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-title .line,
    .hero-sub,
    .hero-ctas,
    .hero-demo { animation: none; opacity: 1; transform: none; }
    .reveal { opacity: 1; transform: none; animation: none; }
    .reveal.on { animation: none; }
    .btn, .nav-toggle-bar, .faq-item summary::after { transition: none; }
    .faq-item[open] p { animation: none; }
    .nav-links { transition: none; transform: none; }
}
