:root {
    color-scheme: light;
    --ink: #101723;
    --muted: #5d6878;
    --soft: #f4f7fb;
    --panel: #ffffff;
    --line: #dfe7f0;
    --navy: #071326;
    --blue: #1379e8;
    --cyan: #1eb7ff;
    --teal: #13a98f;
    --green: #2e9c64;
    --amber: #c9891d;
    --shadow: 0 20px 60px rgba(7, 19, 38, 0.12);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fbfcfe;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    padding: 16px 48px 16px 0;
    background: rgba(251, 252, 254, 0.92);
    border-bottom: 1px solid rgba(223, 231, 240, 0.9);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    text-decoration: none;
}

.brand img {
    width: 439px;
    max-height: 68px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    font-size: 0.94rem;
    color: #283546;
}

.site-nav a {
    text-decoration: none;
    padding: 8px 2px;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--blue);
    border-color: var(--cyan);
}

.nav-assistant {
    padding: 9px 14px !important;
    color: #ffffff !important;
    background: var(--blue);
    border: 0 !important;
    border-radius: var(--radius);
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    background: #edf5ff;
    border: 1px solid #cfe6ff;
    border-radius: 999px;
}

.site-nav .language-switch a {
    min-height: 0;
    padding: 4px 8px;
    color: #47617c;
    border: 0;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
}

.site-nav .language-switch a:hover,
.site-nav .language-switch a[aria-current="true"] {
    color: #ffffff;
    background: var(--blue);
}

.mobile-menu-toggle {
    display: none;
}

.section,
.hero,
.page-hero {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(380px, 0.97fr);
    gap: 58px;
    align-items: center;
    min-height: 580px;
    padding: 56px 0 34px;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.split-section h2 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: 0;
}

.hero h1 {
    font-size: 3rem;
    max-width: 850px;
}

.page-hero {
    padding: 82px 0 44px;
}

.page-hero h1 {
    font-size: 3rem;
    max-width: 860px;
}

.lead {
    margin: 24px 0 0;
    font-size: 1.18rem;
    color: #445064;
    max-width: 720px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 760;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    border: 1px solid #cbd7e4;
    border-radius: var(--radius);
    color: #102033;
    background: #ffffff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease, background 150ms ease;
}

.button:hover {
    transform: translateY(-1px);
    border-color: #9fb5cb;
    box-shadow: 0 12px 30px rgba(16, 32, 51, 0.1);
}

.button-primary {
    color: #ffffff;
    border-color: var(--blue);
    background: var(--blue);
}

.button-dark {
    color: #ffffff;
    border-color: var(--navy);
    background: var(--navy);
}

.button-quiet {
    color: var(--blue);
    background: #eef7ff;
    border-color: #c9e8ff;
}

.hero-visual {
    position: relative;
    min-height: 480px;
    padding: 22px;
    background:
        linear-gradient(135deg, rgba(7, 19, 38, 0.98), rgba(18, 35, 58, 0.96)),
        radial-gradient(circle at 78% 10%, rgba(30, 183, 255, 0.22), transparent 32%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 38px 38px;
    opacity: 0.45;
}

.dashboard-preview {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
}

.preview-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 16px 18px 16px 12px;
    color: #dcecff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
}

.preview-logo {
    width: 210px;
    height: 128px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    justify-self: start;
}

.preview-badge {
    align-self: center;
    padding: 5px 8px;
    color: #c5f8eb;
    background: rgba(19, 169, 143, 0.16);
    border: 1px solid rgba(19, 169, 143, 0.28);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 760;
    text-align: center;
}

.metric-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.metric-tile,
.chart-panel,
.insight-panel {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
}

.metric-tile {
    padding: 14px;
}

.metric-tile span {
    display: block;
    color: #94aac4;
    font-size: 0.78rem;
}

.metric-tile strong {
    display: block;
    margin-top: 6px;
    color: #ffffff;
    font-size: 1.35rem;
}

.chart-panel {
    min-height: 178px;
    padding: 18px;
}

.bar-chart {
    display: flex;
    align-items: end;
    gap: 12px;
    height: 136px;
}

.bar-chart span {
    flex: 1;
    min-width: 24px;
    background: linear-gradient(180deg, var(--cyan), var(--blue));
    border-radius: 6px 6px 0 0;
}

.insight-panel {
    padding: 16px;
    color: #dcecff;
}

.insight-panel strong {
    color: #ffffff;
}

.section {
    padding: 56px 0;
}

.page-hero + .section {
    padding-top: 24px;
}

.section + .section {
    padding-top: 18px;
}

.hero + .split-section {
    padding-top: 24px;
    padding-bottom: 36px;
}

.split-section + .section {
    padding-top: 12px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.section-heading h2,
.split-section h2 {
    font-size: 2.15rem;
    max-width: 760px;
}

.section-heading p:not(.eyebrow) {
    max-width: 700px;
    color: var(--muted);
}

.split-section {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 54px;
    align-items: start;
}

.copy-block p {
    margin: 0 0 18px;
    color: #455165;
    font-size: 1.03rem;
}

.split-section .copy-block {
    padding-top: 34px;
}

.grid-3,
.grid-4,
.grid-2 {
    display: grid;
    gap: 18px;
}

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

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

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

.tools-list {
    padding-top: 18px;
    align-items: stretch;
}

.tools-list .tool-card {
    display: grid;
    align-content: start;
    min-height: 250px;
}

.card,
.tool-card,
.service-card,
.solution-card,
.pricing-card {
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 26px rgba(7, 19, 38, 0.05);
}

.card h3,
.tool-card h2,
.tool-card h3,
.service-card h2,
.solution-card h2,
.pricing-card h2 {
    margin: 0 0 10px;
    line-height: 1.2;
    font-size: 1.35rem;
}

.card p,
.tool-card p,
.service-card p,
.solution-card p,
.pricing-card p {
    margin: 0;
    color: var(--muted);
}

.card-list {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.card-list li {
    position: relative;
    padding-left: 18px;
    color: #3f4d5e;
}

.card-list li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 7px;
    height: 7px;
    background: var(--teal);
    border-radius: 50%;
}

.tool-card .card-list + p {
    margin-top: 18px;
}

.tool-card.featured {
    border-color: #aedbff;
    background: linear-gradient(180deg, #ffffff, #f1f8ff);
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.77rem;
    font-weight: 760;
    color: #254057;
    background: #edf3f8;
}

.badge-blue {
    color: #0b5fa8;
    background: #e7f4ff;
}

.badge-green {
    color: #166b4d;
    background: #e8f7f1;
}

.badge-amber {
    color: #76500e;
    background: #fff5dd;
}

.text-link {
    color: var(--blue);
    font-weight: 760;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.band {
    margin: 28px 0;
    padding: 42px 0;
    background: var(--soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.band .section {
    padding: 0;
}

.cta-band {
    width: min(1160px, calc(100% - 48px));
    margin: 34px auto 56px;
    padding: 34px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--navy), #132a45);
    border-radius: var(--radius);
}

.section + .cta-band {
    margin-top: 8px;
}

.cta-band h2 {
    margin: 0 0 10px;
    font-size: 2rem;
    line-height: 1.15;
}

.cta-band p {
    margin: 0;
    max-width: 760px;
    color: #c6d4e4;
}

.cta-band .button-row {
    margin-top: 24px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 34px;
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: grid;
    gap: 7px;
    color: #263446;
    font-weight: 720;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid #cbd7e4;
    border-radius: var(--radius);
    font: inherit;
}

textarea {
    min-height: 170px;
    resize: vertical;
}

.form-note,
.small-note {
    color: var(--muted);
    font-size: 0.9rem;
}

.contact-address {
    display: grid;
    gap: 4px;
    margin-top: 72px;
    color: #3f4d5e;
    font-style: normal;
    line-height: 1.45;
}

.contact-address strong {
    color: var(--ink);
}

.contact-address a {
    justify-self: start;
    color: var(--blue);
    font-weight: 700;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.form-status {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-weight: 700;
}

.form-status.success {
    color: #063d2c;
    background: #e5f8f0;
    border: 1px solid #bdebd8;
}

.form-status.error {
    color: #6d1f1f;
    background: #fff0f0;
    border: 1px solid #f1c8c8;
}

.legal-content {
    max-width: 860px;
}

.not-found-experience {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
    gap: 42px;
    align-items: center;
    width: min(100% - 48px, 1160px);
    min-height: 58vh;
    margin: 0 auto;
    padding: 62px 0 70px;
}

.not-found-copy .lead {
    max-width: 620px;
}

.not-found-copy .button-row {
    margin-top: 26px;
}

.error-console {
    position: relative;
    overflow: hidden;
    padding: 18px;
    color: #ffffff;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(145deg, #071326, #0f2945 70%, #11375b);
    background-size: 42px 42px, 42px 42px, auto;
    border: 1px solid #1e466c;
    border-radius: var(--radius);
    box-shadow: 0 26px 70px rgba(7, 19, 38, 0.22);
}

.console-top {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.console-top span {
    width: 10px;
    height: 10px;
    background: #7fdcff;
    border-radius: 50%;
    opacity: 0.9;
}

.console-code {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(5rem, 14vw, 9rem);
    font-weight: 900;
    line-height: 0.9;
}

.console-grid {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.console-grid div {
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(174, 219, 255, 0.18);
    border-radius: var(--radius);
}

.console-grid span {
    display: block;
    margin-bottom: 4px;
    color: #8fc9ff;
    font-size: 0.78rem;
}

.console-grid strong {
    color: #ffffff;
}

.console-bars {
    display: flex;
    align-items: end;
    gap: 10px;
    height: 118px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(174, 219, 255, 0.16);
    border-radius: var(--radius);
}

.console-bars span {
    flex: 1;
    min-width: 18px;
    background: linear-gradient(180deg, var(--cyan), var(--blue));
    border-radius: 8px 8px 0 0;
}

.legal-content h2 {
    margin-top: 32px;
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.legal-content p,
.legal-content li {
    color: #4a5668;
}

.afm-responsible-logo {
    display: inline-flex;
    align-items: center;
    margin-top: 2px;
    text-decoration: none;
}

.afm-responsible-logo img {
    width: 190px;
    opacity: 1;
}

.site-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    padding: 36px 48px 44px;
    background: #071326;
    color: #cbd8e6;
}

.footer-powered {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    min-width: min(100%, 360px);
}

.footer-powered img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: contain;
    flex: 0 0 auto;
    background: #030814;
}

.footer-powered p {
    margin: 0;
    color: #d9e6fb;
    font-size: clamp(0.92rem, 1.55vw, 1.18rem);
    line-height: 1.2;
    letter-spacing: 0;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 2px;
}

.site-footer a {
    color: #dbe8f6;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.92rem;
    line-height: 1;
    text-decoration: none;
}

.site-footer .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
}

.site-footer .social-link + a:not(.social-link) {
    margin-left: 18px;
}

.site-footer .social-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.site-footer .social-link svg.brand-icon {
    fill: currentColor;
    stroke: none;
}

.site-footer a:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.035);
}

.assistant-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 40;
    font-family: inherit;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.assistant-widget.is-footer-visible {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
}

.assistant-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 9px 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #071326, #123a5d);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    font-weight: 760;
}

.assistant-toggle-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    overflow: hidden;
    background: #071326;
    border: 1px solid rgba(215, 241, 255, 0.24);
    border-radius: 8px;
    flex: 0 0 auto;
}

.assistant-toggle-mark img {
    width: 86%;
    height: 86%;
    object-fit: contain;
}

.assistant-panel {
    position: absolute;
    right: 0;
    bottom: 58px;
    display: grid;
    grid-template-rows: auto auto auto minmax(180px, 1fr) auto auto;
    width: 430px;
    max-width: calc(100vw - 28px);
    max-height: min(680px, 78vh);
    background: #ffffff;
    border: 1px solid #cbd7e4;
    border-radius: var(--radius);
    box-shadow: 0 28px 80px rgba(7, 19, 38, 0.2);
    overflow: hidden;
}

.assistant-panel.is-contact-step,
.assistant-panel.is-summary-step {
    grid-template-rows: auto auto minmax(220px, 1fr) auto auto auto;
}

.assistant-panel[hidden],
.assistant-widget:not(.is-open) .assistant-panel {
    display: none !important;
}

.assistant-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 14px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(7, 19, 38, 0.98), rgba(16, 48, 76, 0.98)),
        linear-gradient(90deg, rgba(30, 183, 255, 0.18), transparent);
}

.assistant-header-copy strong,
.assistant-header-copy span {
    display: block;
}

.assistant-header-copy strong {
    font-size: 1.08rem;
}

.assistant-header-copy span {
    color: #aebed0;
    font-size: 0.8rem;
}

.assistant-close {
    width: 30px;
    height: 30px;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    cursor: pointer;
}

.assistant-status {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    padding: 1px;
    background: #dfe7f0;
}

.assistant-status span {
    min-width: 0;
    padding: 8px 9px;
    color: #677487;
    background: #f5f8fb;
    font-size: 0.74rem;
    font-weight: 760;
    text-align: center;
}

.assistant-status span.is-active {
    color: #0b5fa8;
    background: #e8f5ff;
}

.assistant-status span.is-done {
    color: #166b4d;
    background: #edf9f4;
}

.assistant-progress {
    display: grid;
    gap: 7px;
    padding: 10px 14px;
    background: #f5f8fb;
    border-bottom: 1px solid #dfe7f0;
}

.assistant-progress-label {
    color: #405066;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.assistant-progress-track {
    height: 6px;
    overflow: hidden;
    background: #dce7f1;
    border-radius: 999px;
}

.assistant-progress-track span {
    display: block;
    width: 8%;
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    border-radius: inherit;
    transition: width 180ms ease;
}

.assistant-messages {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 14px;
    overflow: auto;
    background:
        linear-gradient(180deg, #f7f9fc, #ffffff 54%),
        #f7f9fc;
}

.assistant-message {
    max-width: 92%;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    line-height: 1.48;
}

.assistant-message.assistant {
    justify-self: start;
    background: #ffffff;
    border: 1px solid #e1e8f0;
}

.assistant-message.user {
    justify-self: end;
    color: #ffffff;
    background: var(--blue);
}

.assistant-error-message {
    max-width: 100%;
    color: #6d1f1f;
    background: #fff2f2 !important;
    border-color: #efc7c7 !important;
    font-size: 0.82rem;
    line-height: 1.35;
}

.assistant-card {
    display: grid;
    gap: 10px;
    max-width: 100%;
    width: 100%;
}

.assistant-card p {
    margin: 0;
}

.assistant-card-meta {
    justify-self: start;
    padding: 4px 8px;
    color: #0b5fa8;
    background: #e7f4ff;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 760;
}

.assistant-card-title {
    display: block;
    color: #101723;
    font-size: 1rem;
    line-height: 1.2;
}

.assistant-brief {
    border-color: #cce8ff !important;
    background:
        linear-gradient(180deg, #ffffff, #f8fbff),
        #ffffff !important;
}

.assistant-brief-section {
    display: grid;
    gap: 4px;
    padding: 9px;
    background: #f5f9fd;
    border: 1px solid #e1eaf3;
    border-radius: var(--radius);
}

.assistant-brief-section p {
    color: #405066;
}

.assistant-contact-form {
    display: grid;
    gap: 10px;
}

.assistant-contact-form label {
    display: grid;
    gap: 5px;
    color: #203047;
    font-size: 0.78rem;
    font-weight: 760;
}

.assistant-contact-form input,
.assistant-contact-form textarea {
    width: 100%;
    min-height: 36px;
    padding: 9px 10px;
    color: #101723;
    background: #ffffff;
    border: 1px solid #d8e3ee;
    border-radius: var(--radius);
    font: inherit;
    font-size: 0.86rem;
}

.assistant-contact-form textarea {
    min-height: 82px;
    resize: vertical;
}

.assistant-form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.assistant-callout {
    padding: 10px;
    background: #f2fbf8;
    border: 1px solid #d2f0e7;
    border-radius: var(--radius);
}

.assistant-callout span,
.assistant-subtitle {
    display: block;
    color: #203047;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.assistant-callout p {
    margin-top: 4px;
    color: #405066;
}

.assistant-list {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.assistant-list li {
    position: relative;
    padding-left: 16px;
    color: #405066;
}

.assistant-list li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 1px;
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
}

.assistant-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-content: flex-start;
    min-height: 0;
    padding: 6px 14px 0;
    overflow: auto;
    background: #ffffff;
}

.assistant-panel.is-contact-step .assistant-quick-actions,
.assistant-panel.is-summary-step .assistant-quick-actions {
    min-height: auto;
    padding-top: 10px;
    overflow: visible;
}

.assistant-chip {
    min-height: 32px;
    padding: 7px 10px;
    color: #12314d;
    background: #eef7ff;
    border: 1px solid #cce8ff;
    border-radius: var(--radius);
    cursor: pointer;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
}

.assistant-chip:hover {
    border-color: #9ed6ff;
    background: #e3f2ff;
}

.assistant-chip-primary {
    color: #ffffff;
    background: var(--blue);
    border-color: var(--blue);
}

.assistant-chip-primary:hover {
    background: #0f6fd6;
    border-color: #0f6fd6;
}

.assistant-chip:disabled {
    cursor: wait;
    opacity: 0.72;
}

.assistant-chip-selected {
    color: #ffffff;
    background: #123a63;
    border-color: #123a63;
}

.assistant-input-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 12px 14px 10px;
    background: #ffffff;
}

.assistant-input-row[hidden] {
    display: none !important;
}

.assistant-input-row button {
    padding: 0 13px;
    color: #ffffff;
    background: var(--blue);
    border: 0;
    border-radius: var(--radius);
    font-weight: 760;
}

.assistant-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0 14px 14px;
    color: #667386;
    font-size: 0.78rem;
    line-height: 1.35;
    text-align: center;
    background: #ffffff;
}

.assistant-privacy::before,
.assistant-privacy::after {
    content: "!";
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 0;
    height: 0;
    color: #ffffff;
    border-right: 7px solid transparent;
    border-bottom: 13px solid #f59e0b;
    border-left: 7px solid transparent;
    font-size: 0.52rem;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-1px);
}

.assistant-privacy span {
    transform: translateY(3px);
}

.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;
}

@media (max-width: 980px) {
    .site-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        align-items: center;
        padding: 14px 24px;
        gap: 14px;
    }

    .brand {
        grid-column: 1;
        justify-content: flex-start;
        min-width: 0;
    }

    .brand img {
        width: min(360px, 100%);
        margin-left: 0;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        grid-column: 2;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 0;
        background: var(--blue);
        border: 1px solid rgba(19, 121, 232, 0.22);
        border-radius: var(--radius);
        cursor: pointer;
        box-shadow: 0 10px 28px rgba(19, 121, 232, 0.2);
    }

    .mobile-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: #ffffff;
        border-radius: 999px;
        transition: transform 160ms ease, opacity 160ms ease;
    }

    .site-header.is-menu-open .mobile-menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-header.is-menu-open .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.is-menu-open .mobile-menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-nav {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
        padding: 8px 0 0;
        overflow: visible;
        border-top: 1px solid var(--line);
    }

    .site-header.is-menu-open .site-nav {
        display: grid;
        gap: 2px;
    }

    .site-nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 4px;
        border-bottom: 1px solid rgba(223, 231, 240, 0.8);
        text-align: center;
    }

    .site-nav a:hover,
    .site-nav a[aria-current="page"] {
        border-color: rgba(30, 183, 255, 0.65);
    }

    .language-switch {
        justify-self: center;
        margin: 8px 0 4px;
    }

    .site-nav .language-switch a {
        min-height: 30px;
        padding: 7px 10px;
        border-bottom: 0;
    }

    .nav-assistant {
        justify-content: center !important;
        margin-top: 8px;
        padding: 11px 14px !important;
        border-bottom: 0 !important;
    }

    .hero,
    .split-section,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .not-found-experience {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .split-section .copy-block {
        padding-top: 0;
    }

    .hero {
        min-height: 0;
        padding: 32px 0 26px;
    }

    .hero + .split-section {
        padding-top: 18px;
        padding-bottom: 26px;
    }

    .split-section + .section {
        padding-top: 8px;
    }

    .page-hero + .section,
    .section + .section {
        padding-top: 18px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .hero-visual {
        min-height: 420px;
    }

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

@media (max-width: 640px) {
    .section,
    .hero,
    .page-hero,
    .cta-band {
        width: min(100% - 28px, 1160px);
    }

    .not-found-experience {
        width: min(100% - 28px, 1160px);
        min-height: 0;
        padding: 40px 0 48px;
    }

    .error-console {
        padding: 14px;
    }

    .console-grid {
        gap: 8px;
    }

    .console-bars {
        height: 84px;
    }

    .site-header {
        grid-template-columns: minmax(0, 1fr) 40px;
        gap: 10px;
        padding: 10px 14px;
        text-align: left;
    }

    .brand img {
        width: min(260px, 100%);
    }

    .brand {
        width: 100%;
        min-width: 0;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }

    .site-nav {
        gap: 2px;
        padding-top: 6px;
    }

    .site-nav a {
        min-height: 40px;
        padding: 8px 4px;
    }

    .hero {
        gap: 26px;
        padding: 24px 0 22px;
    }

    .hero + .split-section {
        padding-top: 14px;
        padding-bottom: 20px;
    }

    .split-section + .section {
        padding-top: 4px;
    }

    .page-hero + .section,
    .section + .section {
        padding-top: 12px;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .lead {
        margin-top: 14px;
        font-size: 1.02rem;
    }

    .button-row {
        margin-top: 20px;
    }

    .page-hero {
        padding: 44px 0 26px;
    }

    .afm-responsible-logo img {
        width: 165px;
    }

    .section-heading {
        display: block;
        margin-bottom: 18px;
    }

    .section-heading h2,
    .split-section h2,
    .cta-band h2 {
        font-size: 1.65rem;
    }

    .metric-strip {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 0;
        padding: 14px;
    }

    .dashboard-preview {
        gap: 10px;
    }

    .preview-top {
        display: grid;
        justify-items: start;
        gap: 10px;
        padding: 12px;
        text-align: center;
    }

    .preview-badge {
        align-self: center;
        justify-self: center;
        max-width: 240px;
        padding: 7px 12px;
        line-height: 1.35;
    }

    .preview-logo {
        width: 150px;
        height: 90px;
    }

    .metric-strip {
        gap: 10px;
    }

    .metric-tile {
        padding: 12px;
    }

    .chart-panel {
        min-height: 128px;
        padding: 14px;
    }

    .bar-chart {
        height: 100px;
    }

    .insight-panel {
        padding: 12px;
    }

    .section {
        padding: 32px 0;
    }

    .band {
        margin: 16px 0;
        padding: 28px 0;
    }

    .card,
     .tool-card,
     .service-card,
     .solution-card,
     .pricing-card {
         padding: 18px;
     }

     .tools-list .tool-card {
         min-height: 0;
     }

    .cta-band {
        margin: 24px auto 36px;
        padding: 24px;
    }

    .section + .cta-band {
        margin-top: 4px;
    }

    .site-footer {
        align-items: center;
        flex-direction: column;
        gap: 16px;
        padding: 24px 20px 28px;
    }

    .site-footer nav {
        order: 1;
        width: 100%;
        column-gap: 16px;
        row-gap: 8px;
        justify-content: center;
    }

    .site-footer nav::after {
        content: "";
        order: 2;
        flex-basis: 100%;
        height: 0;
    }

    .site-footer nav a:not(.social-link) {
        order: 1;
    }

    .site-footer .social-link {
        order: 3;
    }

    .site-footer .social-link + a:not(.social-link) {
        margin-left: 0;
    }

    .footer-powered {
        order: 2;
        justify-content: center;
        gap: 8px;
        margin-top: 0;
    }

    .footer-powered img {
        width: 38px;
        height: 38px;
    }

    .assistant-widget {
        right: 12px;
        bottom: 12px;
    }

    .assistant-toggle {
        width: 58px;
        height: 58px;
        min-height: 58px;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
    }

    .assistant-toggle-mark {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .assistant-toggle span:last-child {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .assistant-panel {
        width: calc(100vw - 28px);
        grid-template-rows: auto auto auto minmax(130px, 1fr) auto auto;
        max-height: calc(100vh - 84px);
        bottom: 56px;
    }

    .assistant-panel.is-contact-step,
    .assistant-panel.is-summary-step {
        grid-template-rows: auto auto minmax(150px, 1fr) auto auto auto;
    }
}
