:root {
    --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-heading: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bg: #f7f9fc;
    --surface: #ffffff;
    --surface-soft: #eef4ff;
    --text: #0f172a;
    --muted: #475569;
    --border: #dbe4f0;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #14b8a6;
    --brand-gradient: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
    --brand-blue: #2563eb;
    --brand-teal: #14b8a6;
    --brand-navy: #071831;
    --dark: #08111f;
    --dark-soft: #101b2d;
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: clip;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

body,
button,
input,
textarea,
select {
    font: inherit;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.narrow {
    width: min(900px, calc(100% - 40px));
}

.section-padding {
    padding: 88px 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 20;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

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

.site-header {
    background: rgba(247, 249, 252, 0.86);
    border-bottom: 1px solid rgba(219, 228, 240, 0.82);
    backdrop-filter: blur(16px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    font-size: 0.78rem;
}

.brand-text {
    font-size: 1.04rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav-links a {
    transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--text);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    background: var(--dark);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
}

/* Bootstrap integration overrides */

.lg-form-check {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.7);
}

.lg-form-check:focus-within {
    border-color: rgba(148, 163, 184, 0.32);
    box-shadow: none;
}

.lg-form-check .form-check-input {
    float: none;
    width: 18px;
    height: 18px;
    margin: auto;
    border-color: rgba(15, 23, 42, 0.28);
    box-shadow: none;
    cursor: pointer;
}

.lg-form-check .form-check-input:checked {
    border-color: var(--brand-blue);
    background-color: var(--brand-blue);
}

.lg-form-check .form-check-input:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 0.18rem rgba(37, 99, 235, 0.14);
}

.lg-form-check .form-check-input:focus-visible {
    outline: none;
}

.lg-form-check .form-check-label {
    color: var(--text);
    font-weight: 650;
    line-height: 1.5;
}

.lg-btn-primary {
    border-color: transparent;
}

.lg-btn-secondary {
    color: var(--brand-navy);
    border-color: rgba(37, 99, 235, 0.18);
    background: #fff;
}

.hero {
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.55), transparent 34%),
        radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.35), transparent 30%),
        linear-gradient(135deg, var(--dark), var(--dark-soft));
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 56px;
    align-items: center;
}

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

.hero .eyebrow,
.final-cta .eyebrow {
    color: #93c5fd;
}

.lg-step-label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 16px;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    color: #334155;
    background: rgba(248, 250, 252, 0.82);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.2;
}

.lg-step-label span {
    color: var(--brand-blue);
    font-weight: 850;
}

.lg-step-label strong {
    color: var(--brand-navy);
    font-weight: 850;
}

.lg-step-label span::after {
    display: inline-block;
    width: 0.35rem;
    height: 0.35rem;
    margin-left: 0.55rem;
    border-radius: 999px;
    background: var(--brand-teal);
    content: "";
    vertical-align: middle;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-size: clamp(2.15rem, 4vw, 3.45rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    font-weight: 800;
}

h2 {
    margin-bottom: 18px;
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 2.5vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    font-weight: 800;
}

h3 {
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    font-weight: 750;
}

.hero-lead,
.section-lead {
    color: var(--muted);
    line-height: 1.7;
}

.hero-lead {
    max-width: 720px;
    color: #cbd5e1;
    font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.section-lead {
    font-size: clamp(0.98rem, 1.2vw, 1.1rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px 0 14px;
}

.hero-reassurance {
    max-width: 760px;
    margin: 0 0 34px;
    color: #dbeafe;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.55;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.button-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: var(--primary);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.button-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--brand-gradient);
    opacity: 0;
    transition: opacity 180ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.28);
}

.button-primary:hover::before,
.button-primary:focus-visible::before {
    opacity: 1;
}

.button-secondary {
    color: var(--brand-navy);
    border-color: rgba(37, 99, 235, 0.18);
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.button-card {
    width: 100%;
    color: var(--text);
    border-color: var(--border);
    background: var(--surface);
}

.button-secondary-dark {
    color: var(--text);
    border-color: var(--border);
    background: var(--surface);
}

.button-secondary-dark:hover,
.button-secondary-dark:focus-visible,
.button-card:hover,
.button-card:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: rgba(37, 99, 235, 0.45);
    color: var(--brand-blue);
    background: #f8fbff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
    transform: translateY(-1px);
}

.button-full {
    width: 100%;
}

.button:disabled,
.button[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.72;
}

.button-primary:disabled:hover,
.button-primary:disabled:focus-visible {
    transform: none;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.button-primary:disabled::before {
    opacity: 0;
}

.lg-toast-container {
    z-index: 1090;
    width: min(520px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    pointer-events: none;
}

.lg-toast {
    --lg-toast-accent: var(--brand-blue);
    --lg-toast-soft: #eff6ff;
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 1rem;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 54px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(14px);
    pointer-events: auto;
}

.lg-toast::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--lg-toast-accent);
    content: "";
}

.lg-toast-indicator {
    width: 0.75rem;
    height: 0.75rem;
    flex: 0 0 auto;
    background: var(--lg-toast-accent) !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--lg-toast-accent) 16%, transparent);
}

.lg-toast .lg-toast-header {
    min-height: 52px;
    padding: 0.82rem 0.95rem 0.72rem 1.05rem;
    border-bottom-color: rgba(148, 163, 184, 0.18);
    color: var(--brand-navy);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.84)),
        var(--lg-toast-soft);
    font-weight: 800;
}

.lg-toast-title {
    min-width: 0;
    overflow-wrap: anywhere;
}

.lg-toast .toast-body {
    padding: 0.85rem 1rem 1rem 1.05rem;
    color: #334155;
    line-height: 1.5;
}

.lg-toast-close {
    flex: 0 0 auto;
    margin-left: 0.75rem;
    box-shadow: none;
}

.lg-toast-close:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.2);
    outline-offset: 2px;
    box-shadow: none;
}

.lg-toast-error {
    --lg-toast-accent: #dc2626;
    --lg-toast-soft: #fef2f2;
}

.lg-toast-warning {
    --lg-toast-accent: #d97706;
    --lg-toast-soft: #fffbeb;
}

.lg-toast-success {
    --lg-toast-accent: #0f766e;
    --lg-toast-soft: #ecfdf5;
}

.lg-toast-info {
    --lg-toast-accent: var(--brand-blue);
    --lg-toast-soft: #eff6ff;
}

.lg-modal {
    z-index: 1120;
    background: transparent;
}

.lg-modal-backdrop {
    z-index: 1110;
    background-color: rgba(7, 24, 49, 0.56);
    backdrop-filter: blur(4px);
}

.lg-modal-dialog {
    width: min(100% - 28px, 520px);
    margin-inline: auto;
}

.lg-modal-content {
    --lg-modal-accent: var(--brand-blue);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 1rem;
    color: #0f172a;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
}

.lg-modal-content::before {
    display: block;
    height: 5px;
    background: var(--lg-modal-accent);
    content: "";
}

.lg-modal-danger {
    --lg-modal-accent: #dc2626;
}

.lg-modal-warning {
    --lg-modal-accent: #d97706;
}

.lg-modal-info {
    --lg-modal-accent: var(--brand-blue);
}

.lg-modal-header {
    gap: 1rem;
    border-bottom-color: rgba(148, 163, 184, 0.18);
    padding: 1.05rem 1.15rem;
}

.lg-modal-header .modal-title {
    color: var(--brand-navy);
    font-weight: 850;
    line-height: 1.25;
}

.lg-modal-body {
    padding: 1.1rem 1.15rem;
    color: #334155;
}

.lg-modal-body p {
    margin: 0;
}

.lg-modal-footer {
    gap: 0.75rem;
    border-top-color: rgba(148, 163, 184, 0.18);
    padding: 1rem 1.15rem 1.15rem;
}

.lg-modal-close:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.2);
    outline-offset: 2px;
    box-shadow: none;
}

.lg-modal-confirm-danger {
    background: #dc2626;
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.22);
}

.lg-modal-confirm-danger::before {
    background: linear-gradient(135deg, #dc2626, #991b1b);
}

.lg-modal-confirm-warning {
    background: #d97706;
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.22);
}

.lg-modal-confirm-warning::before {
    background: linear-gradient(135deg, #d97706, #b45309);
}

@media (max-width: 480px) {
    .lg-modal-footer {
        display: grid;
    }

    .lg-modal-footer .button {
        width: 100%;
    }
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.hero-metrics div {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
}

.hero-metrics dt {
    margin-bottom: 8px;
    color: #fff;
    font-weight: 800;
}

.hero-metrics dd {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.94rem;
}

.hero-card {
    position: relative;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -28px;
    z-index: 0;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.32), rgba(20, 184, 166, 0.22));
    filter: blur(6px);
}

.mock-window {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.mock-window-bar {
    display: flex;
    gap: 8px;
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mock-window-bar span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
}

.mock-dashboard {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
}

.mock-panel,
.mock-list {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    background: rgba(8, 17, 31, 0.42);
}

.mock-panel-main {
    grid-column: span 2;
}

.mock-label {
    margin-bottom: 6px;
    color: #94a3b8;
    font-size: 0.82rem;
}

.mock-panel strong {
    display: block;
    margin-bottom: 3px;
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    line-height: 1;
}

.mock-panel span,
.mock-list em {
    color: #a7f3d0;
    font-size: 0.9rem;
    font-style: normal;
}

.mock-list {
    grid-column: span 2;
}

.mock-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-strip {
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.value-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    color: #334155;
    background: rgba(248, 250, 252, 0.86);
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.2;
    cursor: default;
}

.value-badge:hover {
    border-color: rgba(148, 163, 184, 0.24);
    box-shadow: none;
    transform: none;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 56px;
    align-items: start;
}

.feature-list {
    display: grid;
    gap: 16px;
}

.feature-list article,
.tech-cards article,
.steps li,
.price-card,
.faq-list details {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.feature-list article,
.tech-cards article {
    padding: 24px;
}

.feature-list p,
.tech-cards p,
.steps p,
.price-card p,
.faq-list p,
.site-footer p {
    color: var(--muted);
}

.packs {
    background: #eef4ff;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-heading.center {
    margin-inline: auto;
    text-align: center;
}

.pricing-clarity {
    max-width: 880px;
    margin: -18px auto 28px;
    padding: 14px 18px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: var(--radius-md);
    color: var(--brand-navy) !important;
    background: rgba(255, 255, 255, 0.78);
    font-weight: 750;
    line-height: 1.55;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
}

.price-card-featured {
    border-color: rgba(37, 99, 235, 0.52);
    box-shadow: 0 30px 90px rgba(37, 99, 235, 0.18);
}

.featured-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: var(--primary);
    font-size: 0.78rem;
    font-weight: 850;
}

.pack-label {
    margin-bottom: 12px;
    color: var(--primary) !important;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pack-result {
    min-height: 58px;
}

.pack-fit {
    min-height: 118px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: var(--radius-sm);
    background: #f8fbff;
}

.pack-fit h4 {
    margin: 0 0 8px;
    color: var(--brand-navy);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 850;
}

.pack-fit p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.price {
    margin: 16px 0 4px;
    color: var(--text) !important;
    font-size: 1.02rem;
}

.price strong {
    display: block;
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: 0;
}

.recurring {
    margin-bottom: 22px;
    font-size: 0.94rem;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--muted);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    color: #fff;
    background: var(--accent);
    font-size: 0.75rem;
    font-weight: 900;
}

.price-card .button {
    margin-top: auto;
}

.pack-detail-group {
    margin-bottom: 22px;
}

.pack-detail-group h4,
.basket-group h4,
.module-card h4 {
    margin: 0 0 12px;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 850;
    letter-spacing: 0;
}

.pack-detail-group-secondary {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.pack-detail-group-secondary+.button {
    margin-top: 0;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tag-list li {
    padding: 8px 10px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 999px;
    color: var(--muted);
    background: #f8fbff;
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.2;
}

.pricing-disclaimer {
    max-width: 880px;
    margin: 24px auto 0;
    padding: 18px 22px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: var(--radius-md);
    color: var(--muted);
    text-align: center;
    background: rgba(255, 255, 255, 0.74);
}


.custom-offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    padding: 28px;
    border: 1px solid rgba(37, 99, 235, 0.24);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 244, 255, 0.9));
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.custom-offer h3 {
    margin-bottom: 8px;
}

.custom-offer p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.custom-offer .button {
    flex: 0 0 auto;
}

.comparison {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.comparison div {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.72);
}

.comparison strong,
.comparison span {
    display: block;
}

.comparison span {
    color: var(--muted);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: steps;
}

.steps li {
    padding: 26px;
}

.steps span {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 22px;
    border-radius: 14px;
    color: var(--primary);
    background: var(--surface-soft);
    font-weight: 900;
}

.tech {
    color: #fff;
    background: var(--dark);
}

.tech .section-lead,
.tech-cards p {
    color: #cbd5e1;
}

.tech-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
}

.tech-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tech-cards article {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-list details {
    padding: 20px 24px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 850;
    letter-spacing: 0;
}

.faq-list p {
    margin: 14px 0 0;
}

.final-cta {
    background: linear-gradient(135deg, var(--dark), #102340);
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.cta-panel p {
    max-width: 760px;
    margin-bottom: 0;
    color: #cbd5e1;
}

.final-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    flex: 0 0 auto;
}

.final-cta-secondary {
    color: #bfdbfe;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(191, 219, 254, 0.42);
    text-underline-offset: 5px;
}

.final-cta-secondary:hover,
.final-cta-secondary:focus-visible {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.72);
}

.site-footer {
    padding: 56px 0 24px;
    background: var(--surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr 0.85fr 0.7fr;
    gap: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.footer-brand {
    margin-bottom: 14px;
}

.site-footer h2 {
    margin-bottom: 12px;
    font-size: 1rem;
    letter-spacing: 0;
}

.site-footer address {
    color: var(--muted);
    font-style: normal;
}

.footer-location {
    margin-top: 12px;
}

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

.inline-link {
    color: var(--primary);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(37, 99, 235, 0.32);
    text-underline-offset: 3px;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.inline-link:hover,
.inline-link:focus-visible {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 22px;
    color: var(--muted);
}

.legal-page {
    background: var(--surface);
}

.legal-page h1 {
    color: var(--text);
}

.legal-section {
    padding: 26px 0;
    border-top: 1px solid var(--border);
}

.legal-section:first-of-type {
    margin-top: 28px;
}

.legal-section h2 {
    margin-bottom: 10px;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.legal-section p {
    color: var(--muted);
}

.legal-section a {
    color: var(--primary);
    font-weight: 750;
}

:where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.4);
    outline-offset: 3px;
}

:where(h1, h2, h3, h4, h5, h6, section, article, div, p, main, aside, header, footer):focus {
    outline: none;
}

@media (max-width: 980px) {

    .nav-links {
        display: none;
    }

    .hero-grid,
    .split,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid,
    .steps,
    .comparison,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .custom-offer {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-metrics,
    .proof-grid,
    .tech-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 740px) {

    .container,
    .narrow {
        width: min(100% - 28px, var(--container));
    }

    .section-padding {
        padding: 64px 0;
    }

    h1 {
        font-size: clamp(2rem, 10vw, 2.3rem);
        line-height: 1.06;
        letter-spacing: -0.045em;
    }

    h2 {
        font-size: clamp(1.55rem, 7vw, 1.9rem);
        line-height: 1.12;
        letter-spacing: -0.035em;
    }

    h3 {
        font-size: 1.08rem;
    }

    .hero-lead,
    .section-lead {
        font-size: 1rem;
        line-height: 1.65;
    }

    .nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 14px 0;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 14px;
    }

    .nav-cta {
        width: 100%;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-reassurance {
        margin-bottom: 28px;
        font-size: 0.92rem;
    }

    .hero-grid {
        gap: 36px;
    }

    .hero-metrics,
    .proof-grid,
    .mock-dashboard,
    .tech-cards {
        grid-template-columns: 1fr;
    }

    .mock-panel-main,
    .mock-list {
        grid-column: auto;
    }

    .cta-panel {
        align-items: stretch;
        flex-direction: column;
        padding: 26px;
    }

    .cta-panel .button {
        width: 100%;
    }

    .final-cta-actions {
        align-items: stretch;
        width: 100%;
    }

    .final-cta-secondary {
        text-align: center;
    }

    .pack-fit {
        min-height: auto;
    }
}

/* LogicGate V2: modularité, clarification des prix et service mensuel */
.modularity {
    background: var(--surface);
}

.modularity-grid,
.service-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
}

.module-note {
    padding: 18px 20px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: var(--radius-md);
    color: var(--muted);
    background: var(--surface-soft);
}

.module-roadmap,
.service-cards {
    display: grid;
    gap: 16px;
}

.module-roadmap article,
.service-cards article,
.pricing-note div {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.module-roadmap article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 16px;
    padding: 22px;
}

.module-roadmap article span {
    grid-row: span 2;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: var(--primary);
    background: var(--surface-soft);
    font-weight: 900;
}

.module-roadmap h3,
.module-roadmap p,
.service-cards h3,
.service-cards p {
    margin-bottom: 0;
}

.module-roadmap p,
.service-cards p {
    color: var(--muted);
}

.price-block {
    display: grid;
    gap: 10px;
    margin: 18px 0 24px;
}

.price,
.recurring {
    margin: 0;
}

.price span,
.recurring span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.recurring {
    padding: 14px 16px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: var(--radius-sm);
    background: #f8fbff;
}

.recurring strong {
    display: block;
    color: var(--text);
    font-size: 1.25rem;
    line-height: 1.15;
    letter-spacing: 0;
}

.pricing-note {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.pricing-note div {
    padding: 18px;
}

.pricing-note strong,
.pricing-note span {
    display: block;
}

.pricing-note strong {
    margin-bottom: 6px;
}

.pricing-note span {
    color: var(--muted);
}

.monthly-service {
    background: var(--surface);
}

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

.service-cards article {
    padding: 24px;
}

.configurator-teaser {
    background: var(--surface);
}

.configurator-teaser-panel {
    padding: 34px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.055);
}

.configurator-teaser-actions {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.configurator-page-hero {
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #071831 0%, #0e1f3a 54%, #07373b 100%);
}

.configurator-page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.82fr);
    gap: 48px;
    align-items: center;
}

.configurator-page-hero .eyebrow {
    color: #93c5fd;
}

.configurator-page-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 0;
}

.configurator-page-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(191, 219, 254, 0.22);
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
}

.configurator-page-card {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(191, 219, 254, 0.22);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 26px 72px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(14px);
}

.configurator-page-card::before {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(20, 184, 166, 0.12));
    content: "";
    pointer-events: none;
}

.configurator-page-card > * {
    position: relative;
    z-index: 1;
}

.configurator-page-card-label {
    margin: 0 0 20px;
    color: #bfdbfe;
    font-size: 0.86rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.configurator-page-card ol {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.configurator-page-card li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(226, 232, 240, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.configurator-page-card span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #fff;
    background: var(--brand-gradient);
    font-size: 0.9rem;
    font-weight: 900;
}

.configurator-page-card strong {
    color: #f8fafc;
    font-size: 0.98rem;
    line-height: 1.25;
}

.configurator {
    background: var(--surface);
}

.configurator-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
    gap: 36px;
    align-items: start;
    min-width: 0;
}

.configurator-choices {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.config-block {
    padding: 26px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 42px rgba(15, 23, 42, 0.055);
}

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

.config-block-heading h3 {
    margin-bottom: 0;
}

.config-block-heading p:not(.pack-label) {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.config-block-support {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.configurator-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    max-width: 880px;
    margin: 26px auto 0;
    padding: 0;
    list-style: none;
}

.configurator-progress li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    color: var(--brand-navy);
    background: rgba(248, 250, 252, 0.88);
    text-align: left;
}

.configurator-progress span {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    color: #fff;
    background: var(--brand-blue);
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1;
}

.configurator-progress strong {
    min-width: 0;
    font-size: 0.84rem;
    font-weight: 850;
    line-height: 1.25;
}

.configurator-status-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border: 1px solid rgba(20, 184, 166, 0.22);
    border-radius: 16px;
    color: var(--brand-navy);
    background: #ecfeff;
    font-weight: 850;
}

.configurator-status-line strong {
    white-space: nowrap;
}

.configurator-option-list {
    display: grid;
    gap: 12px;
}

.configurator-category-list {
    display: grid;
    gap: 14px;
}

.configurator-category {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.035);
}

.configurator-category summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    color: var(--brand-navy);
    cursor: pointer;
    list-style: none;
}

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

.configurator-category summary::after {
    content: "+";
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    color: var(--brand-blue);
    background: rgba(37, 99, 235, 0.08);
    font-weight: 900;
}

.configurator-category[open] summary::after {
    content: "−";
}

.configurator-category summary:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.34);
    outline-offset: 3px;
}

.configurator-category-heading {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.configurator-category-heading strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.25;
}

.configurator-category-heading span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.configurator-category-count {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    color: #115e59;
    background: #ccfbf1;
    font-size: 0.76rem;
    font-weight: 850;
    line-height: 1.1;
    white-space: nowrap;
}

.configurator-category-body {
    display: grid;
    gap: 12px;
    padding: 0 18px 18px;
}

.configurator-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 16px;
    color: var(--muted);
    background: #fff;
    cursor: pointer;
    min-width: 0;
    min-height: 64px;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.configurator-option:hover,
.configurator-option:focus-within {
    border-color: rgba(37, 99, 235, 0.32);
    background: #f8fbff;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.06);
}

.configurator-option:focus-within {
    outline: 2px solid rgba(37, 99, 235, 0.28);
    outline-offset: 2px;
}

.configurator-option-selected {
    border-color: rgba(37, 99, 235, 0.38);
    color: var(--brand-navy);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.08);
}

.configurator-option-unavailable {
    border-color: rgba(148, 163, 184, 0.18);
    color: #64748b;
    background: #f8fafc;
}

.configurator-option:has(.configurator-input:disabled) {
    cursor: default;
}

.configurator-input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--brand-blue);
    cursor: pointer;
    flex: 0 0 auto;
}

.configurator-input:disabled {
    cursor: default;
}

.configurator-input:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.42);
    outline-offset: 3px;
}

.configurator-option-main {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.configurator-option-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
}

.configurator-option-title,
.configurator-option-price {
    color: var(--brand-navy);
    font-weight: 850;
    line-height: 1.25;
}

.configurator-option-title-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.configurator-option-title {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.configurator-option-description {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.option-help {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.option-help-trigger {
    display: inline-grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    padding: 0;
    border: 1px solid rgba(37, 99, 235, 0.24);
    border-radius: 999px;
    color: var(--brand-blue);
    background: rgba(37, 99, 235, 0.08);
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1;
    cursor: help;
}

.option-help-trigger:hover,
.option-help-trigger:focus-visible {
    border-color: rgba(37, 99, 235, 0.42);
    background: rgba(37, 99, 235, 0.12);
}

.option-help-trigger:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.34);
    outline-offset: 3px;
}

.option-help-tooltip {
    position: absolute;
    z-index: 20;
    left: 50%;
    bottom: calc(100% + 0.55rem);
    width: min(280px, 80vw);
    padding: 0.75rem 0.85rem;
    border-radius: 0.85rem;
    color: #fff;
    background: var(--brand-navy);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%);
    transition:
        opacity 140ms ease,
        visibility 140ms ease;
    visibility: hidden;
}

.option-help-tooltip::after {
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 12px;
    height: 12px;
    background: var(--brand-navy);
    content: "";
    transform: translateX(-50%) rotate(45deg);
}

.option-help:hover .option-help-tooltip,
.option-help:focus-within .option-help-tooltip {
    opacity: 1;
    visibility: visible;
}

.configurator-option-price {
    flex: 0 0 auto;
    text-align: right;
    white-space: nowrap;
}

.configurator-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.configurator-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #075985;
    background: #e0f2fe;
    font-size: 0.76rem;
    font-weight: 850;
    line-height: 1.2;
    text-align: left;
}

.configurator-badge-soft {
    color: #115e59;
    background: #ccfbf1;
}

.configurator-badge-included {
    color: #065f46;
    background: #d1fae5;
}

.configurator-badge-quote {
    color: #475569;
    background: #f1f5f9;
}

.configurator-badge-unavailable {
    color: #334155;
    background: #e2e8f0;
}

.configurator-empty {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.base-choice-list,
.option-list {
    display: grid;
    gap: 12px;
}

.base-choice,
.option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 16px;
    background: #fff;
}

.base-choice {
    min-height: 58px;
    padding: 0 16px;
    color: var(--muted);
    font-weight: 800;
}

.base-choice::before,
.option-row::before {
    content: "";
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(148, 163, 184, 0.58);
    border-radius: 999px;
    background: #fff;
}

.base-choice span,
.option-row > div {
    flex: 1 1 auto;
    min-width: 0;
}

.base-choice strong {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    color: #075985;
    background: #e0f2fe;
    font-size: 0.76rem;
    font-weight: 850;
    line-height: 1;
}

.base-choice-selected,
.option-row-selected {
    border-color: rgba(37, 99, 235, 0.38);
    color: var(--brand-navy);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.08);
}

.base-choice-selected::before,
.option-row-selected::before {
    border-color: var(--brand-blue);
    background:
        radial-gradient(circle, var(--brand-blue) 42%, transparent 46%),
        #fff;
}

.option-row {
    min-height: 78px;
    padding: 14px 16px;
}

.option-row strong,
.option-row em {
    display: block;
}

.option-row strong {
    color: var(--brand-navy);
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-style: normal;
    font-weight: 850;
    line-height: 1.25;
}

.option-row em {
    flex: 0 0 auto;
    color: var(--brand-navy);
    font-style: normal;
    font-weight: 850;
    white-space: nowrap;
}

.option-row .module-badge {
    margin-bottom: 8px;
}

.basket-card {
    padding: 28px;
    border: 1px solid rgba(37, 99, 235, 0.20);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.configurator-summary {
    position: sticky;
    top: 96px;
    min-width: 0;
}

.basket-header {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.basket-header h3 {
    margin-bottom: 14px;
}

.basket-group {
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.basket-line {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 0;
    color: var(--muted);
    min-width: 0;
}

.basket-line span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.basket-line strong {
    flex: 0 0 auto;
    color: var(--text);
    font-weight: 850;
    text-align: right;
}

.basket-line-strong {
    padding: 0;
    color: var(--text);
    font-size: 1.05rem;
}

.basket-total,
.basket-monthly {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding: 18px;
    border-radius: var(--radius-md);
}

.basket-total {
    color: #fff;
    background: var(--brand-navy);
}

.basket-total strong {
    font-size: 1.45rem;
    line-height: 1.1;
}

.basket-monthly {
    border: 1px solid rgba(20, 184, 166, 0.24);
    color: var(--brand-navy);
    background: #ecfdf5;
}

.basket-monthly strong {
    font-size: 1.15rem;
}

.basket-note {
    margin: 18px 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.modules-panel {
    min-width: 0;
}

.modules-heading {
    max-width: 620px;
    margin-bottom: 20px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.module-card {
    min-height: 188px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.module-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.module-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 14px;
    padding: 0 10px;
    border-radius: 999px;
    color: #075985;
    background: #e0f2fe;
    font-size: 0.76rem;
    font-weight: 850;
    line-height: 1;
}

.module-badge-soft {
    color: #115e59;
    background: #ccfbf1;
}

.module-badge-quote {
    color: #475569;
    background: #f1f5f9;
}

.trust-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.trust-card {
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.trust-card span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border-radius: 12px;
    color: var(--brand-blue);
    background: var(--surface-soft);
    font-weight: 900;
}

.trust-card h3 {
    margin-bottom: 10px;
}

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

@media (max-width: 980px) {

    .modularity-grid,
    .service-grid,
    .configurator-page-hero-grid,
    .configurator-grid {
        grid-template-columns: 1fr;
    }

    .configurator-summary {
        position: static;
    }

    .pricing-note,
    .service-cards {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 740px) {
    .configurator-page-hero-grid {
        gap: 32px;
    }

    .configurator-page-badges span {
        width: 100%;
        justify-content: center;
    }

    .configurator-page-card {
        padding: 22px;
        border-radius: 22px;
    }

    .configurator-page-card li {
        align-items: flex-start;
        border-radius: 16px;
    }

    .module-roadmap article {
        grid-template-columns: 1fr;
    }

    .module-roadmap article span {
        grid-row: auto;
        margin-bottom: 14px;
    }

    .basket-card {
        padding: 22px;
    }

    .config-block {
        padding: 22px;
    }

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

    .configurator-category summary {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px;
        padding: 16px;
    }

    .configurator-category-count {
        order: 3;
    }

    .configurator-category-body {
        padding: 0 16px 16px;
    }

    .configurator-status-line {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .configurator-grid {
        gap: 24px;
    }

    .base-choice,
    .option-row {
        gap: 12px;
        border-radius: 14px;
    }

    .base-choice {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 16px;
    }

    .option-row {
        align-items: flex-start;
        padding: 16px;
    }

    .configurator-option {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
        border-radius: 14px;
    }

    .configurator-option-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .configurator-option-title-group {
        align-items: flex-start;
    }

    .configurator-option-price {
        text-align: left;
        white-space: normal;
    }

    .option-row em {
        font-size: 0.94rem;
    }

    .basket-line,
    .basket-total,
    .basket-monthly {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .basket-line strong {
        text-align: left;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-card {
        padding: 22px;
    }
}

@media (max-width: 430px) {
    .configurator-progress {
        grid-template-columns: 1fr;
    }
}

/* LogicGate V3: logo, typography, gradient identity and contact section */
body {
    font-family: var(--font-body);
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.section-title,
.hero-title,
.pack-title,
.final-cta-title,
.contact-title,
.featured-badge,
.pack-label,
.button,
.nav-cta,
.lg-nav-cta,
.hero-metrics dt,
.faq-list summary {
    font-family: var(--font-heading);
}

h1 {
    font-weight: 800;
}

h2 {
    font-weight: 800;
}

h3 {
    font-weight: 750;
}

.site-header {
    background: rgba(255, 255, 255, 0.88);
}

.brand-logo {
    min-width: 0;
}

.brand-logo-img {
    display: block;
    width: auto;
    height: 42px;
    object-fit: contain;
}

.footer-logo-img {
    height: 36px;
}

.nav-cta,
.button-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: var(--brand-blue);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
    transition:
        box-shadow 180ms ease,
        transform 180ms ease,
        border-color 180ms ease;
}

.nav-cta::before,
.button-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--brand-gradient);
    opacity: 0;
    transition: opacity 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.28);
}

.nav-cta:hover::before,
.nav-cta:focus-visible::before,
.button-primary:hover::before,
.button-primary:focus-visible::before {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: rgba(37, 99, 235, 0.45);
    color: var(--brand-blue);
    background: #f8fbff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
    transform: translateY(-1px);
}

.hero {
    background: linear-gradient(135deg, #071831 0%, #0e1f3a 52%, #0b2e34 100%);
}

.hero-card::before {
    background: var(--brand-gradient);
    opacity: 0.18;
}

.mock-panel span,
.mock-list em {
    color: #99f6e4;
}

.module-roadmap article,
.service-cards article,
.feature-list article,
.module-card,
.tech-cards article,
.steps li,
.price-card,
.faq-list details,
.contact-benefits article,
.diagnostic-form {
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.module-roadmap article:hover,
.service-cards article:hover,
.feature-list article:hover,
.module-card:hover,
.steps li:hover,
.price-card:hover,
.faq-list details:hover,
.contact-benefits article:hover {
    border-color: rgba(37, 99, 235, 0.26);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
}

.price-card-featured {
    border-color: rgba(20, 184, 166, 0.46);
    box-shadow: 0 30px 90px rgba(37, 99, 235, 0.16), 0 0 0 1px rgba(20, 184, 166, 0.12);
}

.featured-badge,
.check-list li::before {
    background: var(--brand-gradient);
}

.pack-label,
.module-roadmap article span,
.steps span {
    color: var(--brand-blue) !important;
}

.maintenance-level-card .check-list {
    margin-top: 1.25rem;
}

.contact-section {
    background:
        radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.10), transparent 36%),
        radial-gradient(circle at 90% 12%, rgba(20, 184, 166, 0.10), transparent 34%),
        var(--surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 56px;
    align-items: start;
}

.contact-copy {
    position: sticky;
    top: 108px;
}

.contact-form-column {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.contact-config-note {
    margin: 0;
    padding: 16px 18px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 16px;
    color: var(--brand-navy);
    background: #f8fbff;
    font-weight: 700;
    line-height: 1.55;
}

@media (max-width: 430px) {
    .lg-step-label {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 0.35rem 0.55rem;
        border-radius: 16px;
    }

    .config-block,
    .basket-card {
        padding: 18px;
    }

    .configurator-option {
        grid-template-columns: 20px minmax(0, 1fr);
        gap: 10px;
        padding: 14px;
    }

    .configurator-input {
        width: 17px;
        height: 17px;
    }

    .configurator-badge {
        font-size: 0.72rem;
        padding-inline: 9px;
    }

    .option-help-tooltip {
        left: auto;
        right: -8px;
        bottom: calc(100% + 0.55rem);
        width: min(260px, calc(100vw - 42px));
        transform: none;
    }

    .option-help-tooltip::after {
        right: 12px;
        left: auto;
        transform: rotate(45deg);
    }

    .basket-total strong {
        font-size: 1.28rem;
    }
}

.contact-selected-configuration {
    padding: 18px;
    border: 1px solid rgba(20, 184, 166, 0.24);
    border-radius: 16px;
    color: var(--brand-navy);
    background: #ecfdf5;
}

.contact-selected-configuration h3 {
    margin-bottom: 10px;
}

.contact-selected-summary {
    display: grid;
    gap: 12px;
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 650;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.contact-selected-line,
.contact-selected-group {
    display: grid;
    gap: 3px;
}

.contact-selected-line {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 14px;
}

.contact-selected-line span,
.contact-selected-group span {
    color: var(--muted);
}

.contact-selected-line strong,
.contact-selected-group strong {
    color: var(--brand-navy);
    font-weight: 850;
}

.contact-selected-group ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding-left: 1rem;
}

.contact-selected-note {
    margin: 14px 0 0;
    color: var(--brand-navy);
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.5;
}

.contact-selected-link {
    display: inline-flex;
    margin-top: 10px;
}

@media (max-width: 430px) {
    .contact-selected-configuration {
        padding: 16px;
    }

    .contact-selected-summary {
        font-size: 0.9rem;
    }

    .contact-selected-line {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

.contact-benefits {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.contact-benefits article {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.76);
}

.contact-benefits strong,
.contact-benefits span {
    display: block;
}

.contact-benefits strong {
    margin-bottom: 6px;
    color: var(--text);
    font-family: var(--font-heading);
    font-weight: 800;
}

.contact-benefits span {
    color: var(--muted);
}

.diagnostic-form {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 32px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.09);
}

.form-grid {
    display: grid;
    gap: 18px;
}

.form-row,
.form-field {
    display: grid;
    gap: 8px;
}

.form-row label,
.form-field label {
    color: var(--text);
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0;
}

.form-row input,
.form-row select,
.form-row textarea,
.form-control,
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    padding: 13px 15px;
    color: var(--text);
    background: #fff;
    outline: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.form-row select,
.form-select {
    appearance: none;
    padding-right: 42px;
    background-color: #fff;
    background-image:
        linear-gradient(45deg, transparent 50%, #475569 50%),
        linear-gradient(135deg, #475569 50%, transparent 50%);
    background-position:
        calc(100% - 21px) 52%,
        calc(100% - 15px) 52%;
    background-size:
        6px 6px,
        6px 6px;
    background-repeat: no-repeat;
}

.form-row input::placeholder,
.form-row textarea::placeholder,
.form-control::placeholder,
.form-input::placeholder,
.form-textarea::placeholder {
    color: #94a3b8;
}

.form-row input.invalid,
.form-row select.invalid,
.form-row textarea.invalid,
.form-control.invalid,
.form-input.invalid,
.form-select.invalid,
.form-textarea.invalid {
    border-color: rgba(220, 38, 38, 0.44);
}

.validation-summary,
.validation-summary-errors {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(220, 38, 38, 0.22);
    border-radius: 14px;
    color: #991b1b;
    background: #fef2f2;
    font-size: 0.94rem;
}

.validation-summary ul,
.validation-summary-errors ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding-left: 18px;
}

.validation-message,
.field-validation-error {
    color: #b91c1c;
    font-size: 0.9rem;
    line-height: 1.45;
}

.form-status {
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 750;
    line-height: 1.5;
}

.form-status-success {
    border: 1px solid rgba(20, 184, 166, 0.32);
    color: #0f766e;
    background: #ecfdf5;
}

.form-status-error {
    border: 1px solid rgba(220, 38, 38, 0.22);
    color: #991b1b;
    background: #fef2f2;
}

.checkbox-row,
.form-consent {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.checkbox-row .form-checkbox,
.form-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--brand-blue);
    box-shadow: none;
}

.checkbox-row .form-checkbox:focus-visible,
.form-consent input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(15, 23, 42, 0.32);
    outline-offset: 2px;
    box-shadow: none;
}

.checkbox-row label,
.form-consent label {
    font-weight: 650;
    line-height: 1.5;
}

.checkbox-row .validation-message,
.form-consent .validation-message,
.form-consent .field-validation-error {
    grid-column: 2;
}

.honeypot-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

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

    .contact-copy {
        position: static;
    }
}

@media (max-width: 740px) {
    .brand-logo-img {
        height: 38px;
    }

    .footer-logo-img {
        height: 34px;
    }

    .nav-links {
        display: none;
    }

    .diagnostic-form {
        gap: 16px;
        padding: 22px;
        border-radius: 18px;
    }
}
