:root {
    color-scheme: light dark;
    --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;
}

/* Controlled public inline editor */
.website-edit-bar {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(19, 121, 232, 0.18);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
}

.website-edit-bar-inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.website-edit-bar strong {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue);
}

.website-edit-bar .button {
    min-height: 34px;
    padding: 8px 12px;
    font-size: 13px;
}

.website-edit-bar + .site-header {
    top: 58px;
}

.website-edit-messages {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 10px;
}

.website-edit-messages p {
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(19, 121, 232, 0.11);
    color: var(--blue);
    font-weight: 700;
}

.inline-editable,
.editable-image-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.editable-image-wrap {
    display: block;
}

.editable-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

.inline-editable {
    outline: 1px dashed rgba(19, 121, 232, 0.38);
    outline-offset: 4px;
    border-radius: 6px;
}

.auto-inline-editable {
    display: revert;
}

.inline-edit-button {
    position: absolute;
    right: 0;
    top: 0;
    transform: translateY(-120%);
    z-index: 12;
    border: 1px solid rgba(19, 121, 232, 0.24);
    border-radius: 999px;
    background: #ffffff;
    color: var(--blue);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    padding: 7px 10px;
    font: 800 11px Arial, Helvetica, sans-serif;
    white-space: nowrap;
    cursor: pointer;
}

.inline-edit-button:hover {
    background: #eef6ff;
}

.image-edit-button {
    top: 12px;
    right: 12px;
    transform: none;
}

.website-edit-modal[hidden] {
    display: none;
}

.website-edit-modal {
    position: fixed;
    inset: 0;
    z-index: 160;
    display: grid;
    place-items: center;
    padding: 22px;
}

.website-edit-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(5px);
}

.website-edit-panel {
    position: relative;
    width: min(680px, 100%);
    max-height: calc(100vh - 44px);
    overflow: auto;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.38);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.32);
}

.website-edit-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.website-edit-panel h2 {
    margin: 4px 0 0;
}

.website-edit-panel label {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 800;
    color: var(--ink);
}

.website-edit-panel textarea,
.website-edit-panel input[type="text"],
.website-edit-panel input[type="file"] {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 8px;
    padding: 12px 14px;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
}

.website-edit-checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 9px;
}

.website-edit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.modal-close {
    border: 0;
    background: transparent;
    color: var(--muted);
    font: 28px/1 Arial, Helvetica, sans-serif;
    cursor: pointer;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: light dark;
    background: #fbfcfe;
}

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

input,
select,
textarea,
button {
    color-scheme: light dark;
}

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

.brand-logo--dark {
    display: none;
}

.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-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown::before {
    content: "";
    position: absolute;
    top: 100%;
    left: -8px;
    right: -8px;
    height: 14px;
}

.nav-dropdown-toggle::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 30;
    display: grid;
    min-width: 310px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -4px);
    transition: opacity 140ms ease, transform 140ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.site-nav .nav-dropdown-menu a {
    padding: 8px 10px;
    border: 0;
    border-radius: var(--radius);
    white-space: nowrap;
}

.site-nav .nav-dropdown-menu a:hover {
    color: var(--blue);
    background: #edf5ff;
}

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

.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    width: min(1160px, calc(100% - 48px));
    margin: 18px auto 0;
    color: #667386;
    font-size: 0.82rem;
}

.breadcrumb-nav a,
.breadcrumb-nav span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
}

.breadcrumb-nav a {
    color: var(--blue);
    font-weight: 740;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav a::after {
    content: "/";
    margin-left: 8px;
    color: #9aa8b8;
    font-weight: 500;
}

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

.breadcrumb-nav + .page-hero,
.breadcrumb-nav + main .page-hero {
    padding-top: 48px;
}

.page-hero h1 {
    font-size: 2.45rem;
    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;
}

.tool-card-link {
    color: inherit;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.tool-card-link:hover {
    border-color: #82c9ff;
    box-shadow: 0 14px 36px rgba(19, 121, 232, 0.12);
    transform: translateY(-2px);
}

.tool-card-cta {
    align-self: end;
    justify-self: start;
    margin-top: 22px;
    color: var(--blue);
    font-weight: 800;
}

.tools-stack {
    display: grid;
    gap: 24px;
}

.tool-feature-card {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 28px;
    min-height: 310px;
    padding: 28px;
    color: inherit;
    background:
        linear-gradient(180deg, #ffffff, #f7fafc),
        #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 14px 42px rgba(7, 19, 38, 0.08);
    text-decoration: none;
}

.tool-feature-card--primary {
    min-height: 390px;
    border-color: #b6dcff;
    box-shadow: 0 20px 58px rgba(19, 121, 232, 0.12);
}

.tool-feature-card__content,
.tool-feature-card__visual {
    flex: 1 1 0;
    min-width: 0;
}

.tool-feature-card__content {
    display: grid;
    align-content: center;
    gap: 18px;
}

.tool-feature-card__content .meta-row {
    margin-bottom: 0;
}

.tool-feature-card h2 {
    margin: 0;
    font-size: clamp(1.85rem, 3vw, 2.55rem);
    line-height: 1.08;
}

.tool-meta-list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.tool-meta-list div {
    display: grid;
    gap: 3px;
}

.tool-meta-list dt {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 820;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tool-meta-list dd {
    margin: 0;
    color: #3f4d5e;
}

.tool-testing-note {
    margin: 0;
    max-width: 460px;
    color: #245c4d;
    font-weight: 740;
}

.tool-cta {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    color: #102033;
    background: #ffffff;
    border: 1px solid #cbd7e4;
    border-radius: var(--radius);
    font-weight: 800;
}

.tool-feature-card:hover .tool-cta {
    border-color: #9fb5cb;
    box-shadow: 0 12px 30px rgba(16, 32, 51, 0.1);
}

.tool-feature-card__visual {
    display: grid;
    place-items: center;
}

.tool-preview-carousel {
    position: relative;
    width: min(100%, 500px);
    min-height: 300px;
    padding: 18px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(19, 121, 232, 0.1), rgba(30, 183, 255, 0.08)),
        #f4f9ff;
    border: 1px solid #cfe4f8;
    border-radius: var(--radius);
}

.tool-preview-track {
    position: relative;
    height: 250px;
}

.tool-preview-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius);
    opacity: 0;
    transform: translateX(18px) scale(0.98);
    animation: toolPreviewCycle 12s infinite;
}

.tool-preview-slide:nth-child(2) {
    animation-delay: 4s;
}

.tool-preview-slide:nth-child(3) {
    animation-delay: 8s;
}

.tool-preview-slide--light {
    background: #ffffff;
    border: 1px solid #dce8f4;
}

.tool-preview-slide--dark {
    background: #071326;
    border: 1px solid #203a57;
}

.tool-preview-slide--green {
    background: #f1fbf7;
    border: 1px solid #c6eadc;
}

.tool-preview-sidebar {
    border-radius: var(--radius);
    background: linear-gradient(180deg, #123a63, #1379e8);
}

.tool-preview-slide--dark .tool-preview-sidebar {
    background: linear-gradient(180deg, #1eb7ff, #13a98f);
}

.tool-preview-slide--green .tool-preview-sidebar {
    background: linear-gradient(180deg, #13a98f, #2e9c64);
}

.tool-preview-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.tool-preview-main span {
    min-height: 58px;
    border-radius: var(--radius);
    background: #edf5ff;
}

.tool-preview-slide--dark .tool-preview-main span {
    background: rgba(255, 255, 255, 0.12);
}

.tool-preview-slide--green .tool-preview-main span {
    background: #dff5eb;
}

.tool-preview-chart {
    grid-column: 1 / -1;
    display: flex;
    align-items: end;
    gap: 10px;
    min-height: 130px;
    padding: 16px;
    border-radius: var(--radius);
    background: #f6f9fc;
}

.tool-preview-slide--dark .tool-preview-chart {
    background: rgba(255, 255, 255, 0.08);
}

.tool-preview-slide--green .tool-preview-chart {
    background: #ffffff;
}

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

.tool-preview-chart i:nth-child(1) {
    height: 48%;
}

.tool-preview-chart i:nth-child(2) {
    height: 72%;
}

.tool-preview-chart i:nth-child(3) {
    height: 58%;
}

.tool-preview-chart i:nth-child(4) {
    height: 86%;
}

.tool-preview-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
}

.tool-preview-dots span {
    width: 8px;
    height: 8px;
    background: #9bb4ce;
    border-radius: 999px;
    animation: toolDotCycle 12s infinite;
}

.tool-preview-dots span:nth-child(2) {
    animation-delay: 4s;
}

.tool-preview-dots span:nth-child(3) {
    animation-delay: 8s;
}

.tool-mini-visual {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: min(100%, 380px);
    min-height: 210px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.tool-mini-visual span {
    min-height: 64px;
    border-radius: var(--radius);
}

.tool-mini-visual div {
    grid-column: 1 / -1;
    min-height: 88px;
    border-radius: var(--radius);
}

.tool-mini-visual--amber {
    background: #fffaf0;
    border-color: #f0ddb7;
}

.tool-mini-visual--amber span,
.tool-mini-visual--amber div {
    background: #fff0ca;
}

.tool-mini-visual--blue {
    background: #f3f8ff;
    border-color: #cfe4f8;
}

.tool-mini-visual--blue span,
.tool-mini-visual--blue div {
    background: #e2f0ff;
}

@keyframes toolPreviewCycle {
    0%,
    29% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    33%,
    100% {
        opacity: 0;
        transform: translateX(-18px) scale(0.98);
    }
}

@keyframes toolDotCycle {
    0%,
    29% {
        width: 22px;
        background: var(--blue);
    }

    33%,
    100% {
        width: 8px;
        background: #9bb4ce;
    }
}

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

.service-card {
    display: flex;
    flex-direction: column;
}

.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-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.card-link:visited,
.card-link:focus,
.card-link:hover {
    color: inherit;
    text-decoration: none;
}

.card-link:hover {
    border-color: #82c9ff;
    box-shadow: 0 14px 36px rgba(19, 121, 232, 0.12);
    transform: translateY(-2px);
}

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

.service-card .card-action {
    margin-top: auto;
    padding-top: 22px;
}

.service-card .card-action .button {
    min-height: 40px;
    padding: 8px 14px;
}

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

.product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 34px;
    align-items: center;
    width: min(100% - 48px, 1160px);
    margin: 0 auto;
    padding: 62px 0 28px;
}

.product-hero-copy .button-row {
    margin-top: 28px;
}

.product-visual {
    display: grid;
    place-items: center;
    padding: 26px;
    background:
        linear-gradient(180deg, #ffffff, #f2f8ff),
        #ffffff;
    border: 1px solid #d7e7f7;
    border-radius: var(--radius);
    box-shadow: 0 18px 50px rgba(7, 19, 38, 0.09);
}

.product-logo {
    width: min(100%, 360px);
    border-radius: var(--radius);
}

.adops-logo-stage {
    position: relative;
    width: min(100%, 360px);
    aspect-ratio: 1;
}

.adops-logo-stage .product-logo {
    width: 100%;
}

.adops-lens-data {
    position: absolute;
    pointer-events: none;
}

.adops-lens-data {
    top: 34.4%;
    left: 40.6%;
    width: 20.2%;
    aspect-ratio: 1;
    display: block;
    overflow: hidden;
    border-radius: 50%;
    opacity: 0.94;
    mix-blend-mode: screen;
}

.adops-lens-data::before {
    content: "";
    position: absolute;
    inset: -22%;
    background:
        linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px),
        repeating-linear-gradient(
            0deg,
            rgba(42, 184, 255, 0.2) 0 6px,
            transparent 6px 16px
        );
    background-size: 26% 18%, 28% 22%, 100% 18%;
    filter: blur(2.4px);
    opacity: 0.78;
    transform: translate(-9%, -7%) rotate(-9deg);
    animation: adopsLensTable 5.6s ease-in-out infinite;
}

.adops-lens-data::after {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 62%);
    opacity: 0.62;
}

.adops-lens-data span {
    position: absolute;
    z-index: 1;
    color: #ffffff;
    font-size: clamp(9px, 2.2vw, 13px);
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.02em;
    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.9),
        0 0 13px rgba(42, 184, 255, 0.72);
    opacity: 0;
    filter: blur(2px);
    transform: scale(0.9);
    animation: adopsMetricFocus 5.6s ease-in-out infinite;
}

.adops-lens-data span:nth-child(1) {
    top: 24%;
    left: 26%;
    animation-delay: 0s;
}

.adops-lens-data span:nth-child(2) {
    top: 33%;
    right: 19%;
    animation-delay: 1.4s;
}

.adops-lens-data span:nth-child(3) {
    bottom: 24%;
    left: 21%;
    animation-delay: 2.8s;
}

.adops-lens-data span:nth-child(4) {
    right: 22%;
    bottom: 18%;
    animation-delay: 4.2s;
}

@keyframes adopsLensTable {
    0%,
    100% {
        transform: translate(-10%, -8%) rotate(-9deg) scale(1.04);
    }

    50% {
        transform: translate(6%, 8%) rotate(-9deg) scale(1.08);
    }
}

@keyframes adopsMetricFocus {
    0%,
    12%,
    100% {
        opacity: 0;
        filter: blur(2px);
        transform: scale(0.9);
    }

    18%,
    34% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }

    42% {
        opacity: 0;
        filter: blur(1.4px);
        transform: scale(0.95);
    }
}

.product-status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 24px;
}

.product-status-card {
    display: grid;
    gap: 5px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.product-status-card span {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-status-card strong {
    color: var(--ink);
    line-height: 1.35;
}

.product-split {
    padding-top: 34px;
}

.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: 8px;
    min-width: min(100%, 360px);
}

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

.footer-powered p {
    margin: 0;
    color: #d9e6fb;
    font-size: clamp(0.82rem, 1.25vw, 1rem);
    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;
        background: rgba(251, 252, 254, 0.96);
        border-bottom-color: rgba(223, 231, 240, 0.9);
    }

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

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

    .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;
        color: #283546;
        border-top: 1px solid rgba(223, 231, 240, 0.95);
        justify-content: stretch;
        justify-items: stretch;
    }

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

    .site-nav a {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        box-sizing: border-box;
        min-height: 44px;
        padding: 10px 4px;
        color: #283546;
        border-bottom: 1px solid rgba(223, 231, 240, 0.92);
        text-align: right;
    }

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

    .nav-dropdown {
        display: grid;
        width: 100%;
    }

    .nav-dropdown::before {
        display: none;
    }

    .nav-dropdown-toggle::after {
        display: inline-block;
        transform: translateY(-2px) rotate(45deg);
        transition: transform 140ms ease;
    }

    .nav-dropdown.is-dropdown-open .nav-dropdown-toggle::after {
        transform: translateY(1px) rotate(225deg);
    }

    .nav-dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        padding: 0 0 6px;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .nav-dropdown.is-dropdown-open .nav-dropdown-menu {
        display: grid;
    }

    .site-nav .nav-dropdown-menu a {
        min-height: 34px;
        padding: 6px 4px;
        color: #47617c;
        border-bottom: 1px solid rgba(223, 231, 240, 0.78);
        font-size: 0.88rem;
    }

    .language-switch {
        justify-self: center;
        margin: 8px 0 4px;
        background: #edf5ff;
        border-color: #cfe6ff;
    }

    .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,
    .product-hero,
    .product-status-grid {
        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: 1.95rem;
    }

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

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

    .tool-feature-card {
        flex-direction: column;
    }

    .tool-feature-card__content {
        order: 1;
    }

    .tool-feature-card__visual {
        order: 2;
    }
}

@media (max-width: 640px) {
    .section,
    .hero,
    .page-hero,
    .cta-band,
    .product-hero {
        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;
    }

    .breadcrumb-nav + .page-hero,
    .breadcrumb-nav + main .page-hero {
        padding-top: 28px;
    }

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

     .tools-stack {
         gap: 16px;
     }

     .tool-feature-card,
     .tool-feature-card--primary {
         min-height: 0;
         padding: 18px;
     }

     .tool-feature-card h2 {
         font-size: 1.65rem;
     }

     .tool-preview-carousel {
         min-height: 240px;
         padding: 12px;
     }

     .tool-preview-track {
         height: 200px;
     }

     .tool-preview-slide {
         grid-template-columns: 50px minmax(0, 1fr);
         gap: 10px;
         padding: 12px;
     }

     .tool-preview-main {
         gap: 8px;
     }

     .tool-preview-main span {
         min-height: 42px;
     }

     .tool-preview-chart {
         min-height: 98px;
         padding: 12px;
     }

     .tool-mini-visual {
         min-height: 170px;
         padding: 14px;
     }

     .product-hero {
         padding: 40px 0 22px;
      }

     .product-visual {
         padding: 18px;
      }

    .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: 32px;
        height: 32px;
    }

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

@media (prefers-color-scheme: dark) {
    :root {
        --ink: #f4f7fb;
        --muted: #b8c5d6;
        --soft: #101b2a;
        --panel: #101a28;
        --line: #2a3a4d;
        --navy: #050b14;
        --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    }

    html,
    body {
        background-color: #071326;
        color: var(--ink);
    }

    .site-header {
        background: rgba(7, 19, 38, 0.96);
        border-bottom-color: rgba(64, 99, 135, 0.76);
    }

    .site-nav {
        color: #dbe8f5;
    }

    .site-nav a {
        color: #dbe8f5;
        border-bottom-color: rgba(174, 219, 255, 0.14);
    }

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

    .nav-dropdown-menu {
        background: #101a28;
        border-color: #2a3a4d;
    }

    .site-nav .nav-dropdown-menu a {
        color: #c8d7e8;
    }

    .site-nav .nav-dropdown-menu a:hover {
        color: #7fdcff;
        background: rgba(30, 183, 255, 0.12);
    }

    .language-switch {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(174, 219, 255, 0.22);
    }

    .site-nav .language-switch a {
        color: #c8d7e8;
    }

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

    .brand-logo--light {
        display: none;
    }

    .brand-logo--dark {
        display: block;
    }

    .page-hero,
    .hero,
    .section,
    .legal-page,
    .contact-layout,
    .not-found-experience {
        color: var(--ink);
    }

    .card,
    .tool-card,
    .service-card,
    .solution-card,
    .pricing-card,
    .contact-card,
    .panel,
    .metric,
    .feature-card,
    .proof-card,
    .process-card,
    .error-console,
    .assistant-panel,
    .assistant-input-row,
    .website-edit-panel {
        background-color: var(--panel);
        border-color: var(--line);
        color: var(--ink);
        box-shadow: none;
    }

    .muted,
    .lead,
    .card p,
    .service-card p,
    .solution-card p,
    .contact-card p,
    .footer-powered p {
        color: var(--muted);
    }

    input,
    select,
    textarea,
    .assistant-contact-form input,
    .assistant-contact-form textarea,
    .website-edit-panel textarea,
    .website-edit-panel input[type="text"],
    .website-edit-panel input[type="file"] {
        background-color: #0b1625;
        color: var(--ink);
        border-color: var(--line);
        -webkit-text-fill-color: var(--ink);
    }

    input::placeholder,
    textarea::placeholder {
        color: #8fa0b5;
        opacity: 1;
    }

    table,
    th,
    td {
        background-color: var(--panel);
        border-color: var(--line);
        color: var(--ink);
    }

    th {
        background-color: #132236;
    }

    .breadcrumb-nav,
    .website-edit-bar {
        background: rgba(7, 19, 38, 0.94);
        border-color: rgba(64, 99, 135, 0.7);
        color: var(--ink);
    }
}
