:root {
    --bg: #f3f7fb;
    --surface: #ffffff;
    --surface-soft: #f8fbff;
    --ink: #081326;
    --muted: #64748b;
    --line: #dce6f1;
    --blue: #004bff;
    --blue-hover: #003fe0;
    --cyan: #0ea5e9;
    --green: #07966f;
    --amber: #b7791f;
    --danger: #c43d52;
    --dark: #071326;
    --dark-2: #0d1b31;
    --shadow: 0 24px 80px rgba(8, 19, 38, 0.13);
    --shadow-soft: 0 14px 36px rgba(8, 19, 38, 0.08);
    --radius: 28px;
    --radius-sm: 18px;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    overscroll-behavior: none;
    touch-action: pan-x pan-y;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    letter-spacing: 0;
    overscroll-behavior: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(243, 247, 251, 0.78) 42%, rgba(235, 242, 249, 0.92)),
        repeating-linear-gradient(90deg, rgba(8, 19, 38, 0.035) 0, rgba(8, 19, 38, 0.035) 1px, transparent 1px, transparent 96px);
}

body.menu-open {
    overflow: visible;
}

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

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

input,
textarea,
select,
[contenteditable="true"],
[contenteditable="plaintext-only"] {
    -webkit-touch-callout: default;
    -webkit-user-select: text;
    user-select: text;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

main,
.site-header,
.service-ribbon,
.site-footer {
    width: min(100% - 40px, 1180px);
    margin-left: auto;
    margin-right: auto;
}

.site-header {
    position: sticky;
    top: 16px;
    z-index: 30;
    min-height: 66px;
    margin-top: 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 38px rgba(8, 19, 38, 0.08);
    padding: 10px 12px;
    backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(220, 230, 241, 0.9);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-weight: 950;
    color: var(--ink);
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 15px;
    background: var(--blue);
    color: #ffffff;
    font-size: 14px;
    font-weight: 950;
    box-shadow: 0 14px 28px rgba(0, 75, 255, 0.26);
}

.brand-name {
    font-size: 18px;
    letter-spacing: 0;
}

.main-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(220, 230, 241, 0.9);
    border-radius: 18px;
    background: rgba(248, 251, 255, 0.88);
    padding: 5px;
}

.main-nav a,
.lang-link,
.header-login {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #334155;
    font-size: 14px;
    font-weight: 850;
    padding: 8px 13px;
}

.main-nav a:hover,
.lang-link:hover {
    background: #ffffff;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.header-login {
    background: var(--blue);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(0, 75, 255, 0.24);
}

.header-login:hover,
.btn.primary:hover {
    background: var(--blue-hover);
}

.service-ribbon {
    position: relative;
    z-index: 20;
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.ribbon-track {
    position: relative;
    display: grid;
}

.ribbon-card {
    position: relative;
    grid-area: 1 / 1;
    min-height: clamp(240px, 28vw, 330px);
    display: grid;
    align-items: end;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 30px;
    background: #eaf0f6;
    box-shadow: 0 22px 62px rgba(8, 19, 38, 0.13);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.992);
    transition: opacity 420ms ease, transform 420ms ease, visibility 420ms ease;
    visibility: hidden;
}

.ribbon-card.is-active,
.ribbon-card.is-leaving {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.ribbon-card.is-active {
    pointer-events: auto;
}

.ribbon-card.is-leaving {
    pointer-events: none;
    z-index: 1;
}

.ribbon-card.is-entering {
    z-index: 2;
    animation: ribbonEnterNext 720ms cubic-bezier(0.2, 0.84, 0.2, 1) both;
}

.ribbon-card.is-leaving.is-next {
    animation: ribbonLeaveNext 720ms cubic-bezier(0.2, 0.84, 0.2, 1) both;
}

.ribbon-card.is-entering.is-prev {
    animation-name: ribbonEnterPrev;
}

.ribbon-card.is-leaving.is-prev {
    animation: ribbonLeavePrev 720ms cubic-bezier(0.2, 0.84, 0.2, 1) both;
}

.ribbon-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 70% center;
    transform: scale(1.03);
    transition: transform 1200ms ease, filter 720ms ease;
}

.ribbon-card.is-active > img {
    transform: scale(1);
}

.ribbon-card.is-entering > img {
    animation: ribbonImageIn 920ms cubic-bezier(0.2, 0.84, 0.2, 1) both;
}

.ribbon-card.is-leaving > img {
    animation: ribbonImageOut 720ms cubic-bezier(0.2, 0.84, 0.2, 1) both;
}

.ribbon-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 28%, rgba(255, 255, 255, 0.34) 56%, rgba(8, 19, 38, 0.04) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.78) 100%);
}

.ribbon-card.is-entering .ribbon-shade {
    animation: ribbonShadeIn 720ms ease both;
}

.ribbon-copy {
    position: relative;
    z-index: 2;
    width: min(58%, 560px);
    display: grid;
    gap: 10px;
    align-self: center;
    padding: clamp(22px, 4vw, 38px);
}

.ribbon-copy > *,
.ribbon-features article {
    transition: opacity 520ms ease, transform 520ms ease;
}

.ribbon-card:not(.is-active):not(.is-leaving) .ribbon-copy > *,
.ribbon-card:not(.is-active):not(.is-leaving) .ribbon-features article {
    opacity: 0;
    transform: translateY(16px);
}

.ribbon-card.is-entering .ribbon-copy > *,
.ribbon-card.is-entering .ribbon-features article {
    animation: ribbonItemIn 680ms cubic-bezier(0.2, 0.84, 0.2, 1) both;
}

.ribbon-card.is-leaving .ribbon-copy > *,
.ribbon-card.is-leaving .ribbon-features article {
    animation: ribbonItemOut 440ms ease both;
}

.ribbon-card.is-entering .ribbon-copy > span {
    animation-delay: 70ms;
}

.ribbon-card.is-entering .ribbon-copy > strong {
    animation-delay: 120ms;
}

.ribbon-card.is-entering .ribbon-copy > h2 {
    animation-delay: 170ms;
}

.ribbon-card.is-entering .ribbon-copy > p {
    animation-delay: 220ms;
}

.ribbon-card.is-entering .ribbon-badges {
    animation-delay: 270ms;
}

.ribbon-card.is-entering .ribbon-features article:nth-child(1) {
    animation-delay: 320ms;
}

.ribbon-card.is-entering .ribbon-features article:nth-child(2) {
    animation-delay: 390ms;
}

.ribbon-card.is-entering .ribbon-features article:nth-child(3) {
    animation-delay: 460ms;
}

.ribbon-copy span {
    color: var(--blue);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.ribbon-copy strong {
    width: max-content;
    border-radius: 999px;
    background: rgba(0, 75, 255, 0.1);
    color: var(--ink);
    font-size: 15px;
    font-weight: 950;
    line-height: 1.2;
    padding: 8px 11px;
}

.ribbon-copy h2 {
    max-width: 560px;
    color: var(--ink);
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.02;
}

.ribbon-copy p {
    max-width: 500px;
    color: #334155;
    font-size: 16px;
    font-weight: 820;
    line-height: 1.5;
}

.ribbon-badges {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0;
    scrollbar-width: none;
}

.ribbon-badges::-webkit-scrollbar {
    display: none;
}

.ribbon-badges a {
    min-width: max-content;
    display: inline-grid;
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 22px rgba(8, 19, 38, 0.06);
    backdrop-filter: blur(10px);
    padding: 10px 12px;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.ribbon-badges a:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 75, 255, 0.22);
    background: #ffffff;
}

.ribbon-badges strong {
    color: var(--ink);
    font-size: 13px;
    font-weight: 950;
}

.ribbon-badges span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.ribbon-features {
    position: absolute;
    z-index: 2;
    left: clamp(18px, 4vw, 38px);
    right: clamp(18px, 4vw, 38px);
    bottom: clamp(14px, 2.4vw, 24px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ribbon-features article {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 12px 26px rgba(8, 19, 38, 0.08);
    backdrop-filter: blur(12px);
    padding: 10px;
}

.ribbon-features b {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background: var(--blue);
    box-shadow: 0 12px 22px rgba(0, 75, 255, 0.22);
}

.ribbon-features article:nth-child(2) b {
    background: var(--green);
    box-shadow: 0 12px 22px rgba(7, 150, 111, 0.18);
}

.ribbon-features article:nth-child(3) b {
    background: var(--cyan);
    box-shadow: 0 12px 22px rgba(14, 165, 233, 0.18);
}

.ribbon-features div {
    display: grid;
    gap: 3px;
}

.ribbon-features strong {
    color: var(--ink);
    font-size: 13px;
    font-weight: 950;
    line-height: 1.2;
}

.ribbon-features span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 820;
    line-height: 1.3;
}

.ribbon-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.ribbon-dots button {
    position: relative;
    width: 42px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 75, 255, 0.16);
    cursor: pointer;
    overflow: hidden;
    padding: 0;
}

.ribbon-dots button.is-active {
    width: 58px;
    background: rgba(0, 75, 255, 0.16);
    box-shadow: 0 10px 22px rgba(0, 75, 255, 0.22);
}

.ribbon-dots button.is-active::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--blue);
    animation: ribbonDotProgress 5.6s linear infinite;
    transform-origin: left center;
}

@keyframes ribbonDotProgress {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes ribbonEnterNext {
    from {
        opacity: 0;
        transform: translateX(44px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes ribbonLeaveNext {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateX(-36px) scale(0.985);
    }
}

@keyframes ribbonEnterPrev {
    from {
        opacity: 0;
        transform: translateX(-44px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes ribbonLeavePrev {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateX(36px) scale(0.985);
    }
}

@keyframes ribbonImageIn {
    from {
        transform: scale(1.08) translateX(18px);
        filter: saturate(0.92) brightness(1.05);
    }
    to {
        transform: scale(1);
        filter: saturate(1) brightness(1);
    }
}

@keyframes ribbonImageOut {
    from {
        transform: scale(1);
        filter: saturate(1) brightness(1);
    }
    to {
        transform: scale(1.05) translateX(-10px);
        filter: saturate(0.9) brightness(1.03);
    }
}

@keyframes ribbonShadeIn {
    from {
        opacity: 0.78;
        transform: translateX(-12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ribbonItemIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ribbonItemOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ribbon-card,
    .ribbon-card > img,
    .ribbon-shade,
    .ribbon-copy > *,
    .ribbon-features article,
    .ribbon-dots button.is-active::after {
        animation: none !important;
        transition: none !important;
    }
}

.menu-button {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #ffffff;
    color: var(--ink);
    cursor: pointer;
}

.menu-button {
    gap: 4px;
}

.menu-button span {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 99px;
    background: var(--ink);
}

.mobile-menu-panel {
    position: sticky;
    top: 92px;
    z-index: 29;
    width: min(100% - 40px, 1180px);
    max-height: 0;
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 10px auto 0;
    border: 1px solid rgba(220, 230, 241, 0.95);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 56px rgba(8, 19, 38, 0.12);
    backdrop-filter: blur(18px);
    opacity: 0;
    overflow: hidden;
    padding: 0;
    transform: translateY(-8px);
    transition: max-height 180ms ease, opacity 180ms ease, padding 180ms ease, transform 180ms ease;
}

body.menu-open .mobile-menu-panel {
    max-height: 260px;
    opacity: 1;
    padding: 10px;
    transform: translateY(0);
}

.mobile-menu-panel a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(220, 230, 241, 0.92);
    border-radius: 16px;
    background: rgba(248, 251, 255, 0.9);
    color: var(--ink);
    font-weight: 950;
    padding: 12px;
}

.mobile-menu-panel .mobile-menu-cta {
    background: var(--blue);
    color: #ffffff;
    border-color: transparent;
}

.hero {
    min-height: calc(100vh - 98px);
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
    gap: 48px;
    padding: 58px 0 44px;
}

.hero-content {
    display: grid;
    gap: 24px;
}

.eyebrow,
.kicker {
    width: max-content;
    margin: 0;
    border: 1px solid rgba(0, 75, 255, 0.14);
    border-radius: 999px;
    background: rgba(0, 75, 255, 0.07);
    color: var(--blue);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    padding: 8px 11px;
}

h1 {
    max-width: 820px;
    color: var(--ink);
    font-size: clamp(46px, 7vw, 84px);
    line-height: 0.96;
    letter-spacing: 0;
}

h2 {
    max-width: 780px;
    color: var(--ink);
    font-size: clamp(32px, 4.6vw, 56px);
    line-height: 1.03;
    letter-spacing: 0;
}

h3 {
    color: var(--ink);
    font-size: 21px;
    line-height: 1.17;
}

.hero-content > p:not(.eyebrow),
.section-head > p,
.openbudget-copy > p:not(.kicker),
.contact-copy > p,
.site-footer p,
.legal-document li {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.66;
}

.hero-actions,
.inline-actions,
.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.hero-proof article {
    display: grid;
    gap: 6px;
    border-top: 1px solid rgba(8, 19, 38, 0.12);
    padding-top: 15px;
}

.hero-proof strong {
    color: var(--ink);
    font-size: 15px;
    font-weight: 950;
}

.hero-proof span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 760;
    line-height: 1.45;
}

.btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 17px;
    cursor: pointer;
    font-weight: 950;
    padding: 14px 18px;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.btn.primary {
    background: var(--blue);
    color: #ffffff;
    box-shadow: 0 15px 34px rgba(0, 75, 255, 0.32);
}

.btn.secondary {
    border-color: var(--line);
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 10px 22px rgba(8, 19, 38, 0.06);
}

.btn.ghost {
    border-color: rgba(0, 75, 255, 0.16);
    background: rgba(0, 75, 255, 0.06);
    color: var(--blue);
}

.btn.compact {
    width: max-content;
}

.btn.wide {
    width: 100%;
}

.platform-showcase {
    position: relative;
    display: grid;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(12, 29, 55, 0.98), rgba(7, 19, 38, 0.98)),
        var(--dark);
    box-shadow: 0 30px 90px rgba(8, 19, 38, 0.28);
    color: #ffffff;
    padding: clamp(18px, 3vw, 28px);
    overflow: hidden;
}

.platform-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.32;
}

.platform-showcase > * {
    position: relative;
}

.platform-showcase.is-simplified {
    gap: 18px;
}

.showcase-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.showcase-top div {
    display: grid;
    gap: 5px;
}

.showcase-top span,
.signal-list span,
.system-copy span,
.product-line-copy small,
.product-line-end span,
.model-lane span {
    color: rgba(203, 213, 225, 0.74);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.showcase-top strong {
    font-size: 34px;
    line-height: 1;
}

.showcase-top em {
    width: max-content;
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.13);
    color: #9ff3c9;
    font-size: 12px;
    font-style: normal;
    font-weight: 950;
    padding: 8px 10px;
}

.system-canvas {
    display: grid;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
        rgba(255, 255, 255, 0.07);
    padding: clamp(18px, 3vw, 24px);
}

.system-copy {
    max-width: 620px;
    display: grid;
    gap: 10px;
}

.system-copy h3 {
    color: #ffffff;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
}

.system-copy p {
    color: rgba(226, 232, 240, 0.74);
    font-size: 16px;
    line-height: 1.62;
}

.system-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.system-stats article {
    display: grid;
    gap: 5px;
    min-height: 86px;
    background: rgba(7, 19, 38, 0.22);
    padding: 16px;
}

.system-stats strong {
    color: #ffffff;
    font-size: 25px;
    line-height: 1;
}

.system-stats span {
    color: rgba(226, 232, 240, 0.7);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.35;
}

.system-flow {
    display: flex;
    align-items: center;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
}

.system-flow::-webkit-scrollbar {
    display: none;
}

.system-flow span {
    min-height: 38px;
    flex: 1 0 max-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.075);
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    font-weight: 950;
    padding: 9px 12px;
}

.signal-list b {
    color: #ffffff;
    font-size: 16px;
}

.signal-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.signal-list article {
    display: grid;
    gap: 6px;
    border-radius: 18px;
    padding: 14px;
}

.platform-showcase.is-simplified .signal-list article {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    padding: 14px 0 0;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 8px 0 86px;
}

.trust-strip article {
    display: grid;
    gap: 7px;
    border-top: 1px solid rgba(8, 19, 38, 0.12);
    padding-top: 18px;
}

.trust-strip strong {
    color: var(--ink);
    font-size: 18px;
    font-weight: 950;
}

.trust-strip span {
    color: var(--muted);
    line-height: 1.55;
}

.section {
    display: grid;
    gap: 34px;
    margin: 92px 0;
}

.section-head,
.contact-copy,
.openbudget-copy {
    display: grid;
    gap: 14px;
}

.section-head {
    max-width: 860px;
}

.section-head.narrow {
    max-width: 760px;
}

.section-head.align-left {
    max-width: 640px;
}

.platform-stack-section {
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(12, 29, 55, 0.98), rgba(7, 19, 38, 0.98)),
        var(--dark);
    color: #ffffff;
    box-shadow: 0 26px 80px rgba(8, 19, 38, 0.2);
    padding: clamp(24px, 4vw, 42px);
}

.platform-stack-section .section-head h2 {
    color: #ffffff;
}

.platform-stack-section .section-head > p:not(.kicker) {
    color: rgba(226, 232, 240, 0.74);
}

.platform-stack-section .kicker {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #dbeafe;
}

.platform-flow-panel {
    display: grid;
    gap: 22px;
}

.platform-flow-intro {
    max-width: 760px;
    display: grid;
    gap: 10px;
}

.platform-flow-intro span {
    width: max-content;
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #9ff3c9;
    font-size: 12px;
    font-weight: 950;
    padding: 8px 10px;
}

.platform-flow-intro strong {
    color: #ffffff;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.04;
}

.platform-flow-intro p {
    color: rgba(226, 232, 240, 0.74);
    font-size: 16px;
    line-height: 1.62;
}

.platform-flow-list {
    display: grid;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.platform-flow-item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    padding: 20px 0;
}

.platform-flow-item span {
    width: 52px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 13px;
    font-weight: 950;
}

.platform-flow-item div {
    display: grid;
    gap: 7px;
}

.platform-flow-item h3 {
    color: #ffffff;
    font-size: clamp(20px, 2.4vw, 28px);
}

.platform-flow-item p {
    max-width: 760px;
    color: rgba(226, 232, 240, 0.72);
    font-size: 15px;
    line-height: 1.58;
}

.platform-status-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.platform-status-line article {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    padding: 9px 11px;
}

.platform-status-line span {
    color: rgba(226, 232, 240, 0.58);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.platform-status-line strong {
    color: #ffffff;
    font-size: 14px;
}

.product-stage {
    display: grid;
    gap: 10px;
    border-top: 1px solid rgba(8, 19, 38, 0.11);
}

.product-line {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) minmax(220px, 0.34fr);
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid rgba(8, 19, 38, 0.1);
    padding: 26px 0;
}

.product-line.is-featured {
    padding-top: 34px;
}

.product-number {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border-radius: 15px;
    background: var(--blue);
    color: #ffffff;
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 14px 30px rgba(0, 75, 255, 0.22);
}

.product-line:nth-child(2) .product-number {
    background: var(--green);
    box-shadow: 0 14px 30px rgba(7, 150, 111, 0.2);
}

.product-line:nth-child(3) .product-number {
    background: var(--cyan);
    box-shadow: 0 14px 30px rgba(14, 165, 233, 0.2);
}

.product-line-copy {
    display: grid;
    gap: 8px;
}

.product-line-copy h3 {
    font-size: clamp(24px, 3vw, 34px);
}

.product-line-copy p {
    max-width: 700px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.62;
}

.product-line-end {
    display: grid;
    justify-items: end;
    gap: 8px;
    text-align: right;
}

.product-line-end strong {
    width: max-content;
    max-width: 100%;
    border: 1px solid rgba(8, 19, 38, 0.1);
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 12px;
    font-weight: 950;
    padding: 8px 11px;
}

.product-line-end span {
    max-width: 240px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.35;
    text-transform: none;
}

.model-lane span {
    width: max-content;
    max-width: 100%;
    border: 1px solid rgba(0, 75, 255, 0.15);
    border-radius: 999px;
    background: rgba(0, 75, 255, 0.06);
    color: var(--blue);
    padding: 7px 10px;
}

.model-section {
    grid-template-columns: 0.84fr 1.16fr;
    align-items: start;
    border-top: 1px solid rgba(8, 19, 38, 0.1);
    border-bottom: 1px solid rgba(8, 19, 38, 0.1);
    padding: 58px 0;
}

.model-lanes {
    display: grid;
    border-top: 1px solid rgba(8, 19, 38, 0.1);
}

.model-lane {
    display: grid;
    grid-template-columns: 160px 0.54fr 1fr;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(8, 19, 38, 0.1);
    padding: 22px 0;
}

.model-lane strong {
    color: var(--ink);
    font-size: clamp(22px, 2.6vw, 31px);
    line-height: 1.08;
}

.model-lane p {
    color: var(--muted);
    line-height: 1.6;
}

.openbudget-section {
    grid-template-columns: minmax(0, 0.96fr) minmax(330px, 0.84fr);
    align-items: start;
    gap: 34px;
    border-radius: 34px;
    background: var(--dark);
    color: #ffffff;
    box-shadow: 0 26px 80px rgba(8, 19, 38, 0.22);
    padding: clamp(24px, 4vw, 42px);
}

.openbudget-section h2,
.openbudget-section h3 {
    color: #ffffff;
}

.openbudget-section .kicker {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #dbeafe;
}

.openbudget-copy > p:not(.kicker) {
    color: rgba(226, 232, 240, 0.78);
}

.quick-order-form {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr auto;
    align-items: end;
    gap: 12px;
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    padding: 16px;
}

.quick-order-form > div,
.quick-order-form small,
.quick-order-error {
    grid-column: 1 / -1;
}

.quick-order-form > div {
    display: grid;
    gap: 4px;
}

.quick-order-form > div strong {
    color: #ffffff;
    font-size: 18px;
    font-weight: 950;
}

.quick-order-form > div span,
.quick-order-form small {
    color: rgba(226, 232, 240, 0.72);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

.quick-order-error {
    color: #ffc1cc;
    font-size: 13px;
    font-weight: 900;
}

.quick-order-form label {
    display: grid;
    gap: 8px;
}

.quick-order-form label span {
    color: rgba(226, 232, 240, 0.78);
    font-size: 12px;
    font-weight: 900;
}

.quick-order-form input {
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    outline: none;
    padding: 13px 14px;
    font-weight: 850;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.quick-order-form input:focus {
    border-color: rgba(14, 165, 233, 0.72);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.16);
}

.proof-steps {
    display: grid;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.proof-steps article {
    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: start;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    padding: 18px 0;
}

.proof-steps b {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border-radius: 15px;
    background: #ffffff;
    color: var(--blue);
}

.proof-steps strong {
    color: #ffffff;
    font-weight: 950;
}

.proof-steps p {
    color: rgba(226, 232, 240, 0.72);
    font-size: 15px;
    line-height: 1.58;
}

.principle-list {
    display: grid;
    border-top: 1px solid rgba(8, 19, 38, 0.1);
}

.principle-list article {
    display: grid;
    grid-template-columns: 40px minmax(180px, 0.34fr) minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    border-bottom: 1px solid rgba(8, 19, 38, 0.1);
    padding: 22px 0;
}

.principle-list article > span {
    width: 18px;
    height: 18px;
    margin-top: 6px;
    border-radius: 999px;
    background: var(--blue);
    box-shadow: 0 0 0 8px rgba(0, 75, 255, 0.09);
}

.principle-list article:nth-child(2) > span {
    background: var(--green);
    box-shadow: 0 0 0 8px rgba(7, 150, 111, 0.09);
}

.principle-list article:nth-child(3) > span {
    background: var(--cyan);
    box-shadow: 0 0 0 8px rgba(14, 165, 233, 0.09);
}

.principle-list strong {
    color: var(--ink);
    font-size: 22px;
    font-weight: 950;
}

.principle-list p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.62;
}

.contact-section {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: start;
    gap: 34px;
    border-top: 1px solid rgba(8, 19, 38, 0.1);
    padding-top: 58px;
}

.contact-points {
    display: grid;
    gap: 0;
    margin-top: 16px;
    border-top: 1px solid rgba(8, 19, 38, 0.1);
}

.contact-points article {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid rgba(8, 19, 38, 0.1);
    padding: 16px 0;
}

.contact-points span {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(0, 75, 255, 0.08);
    color: var(--blue);
    font-size: 12px;
    font-weight: 950;
}

.contact-points strong {
    color: var(--ink);
    font-size: 16px;
    font-weight: 950;
    line-height: 1.34;
}

.lead-form {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow);
    padding: clamp(18px, 3vw, 24px);
}

.lead-form label {
    grid-column: span 3;
    display: grid;
    gap: 8px;
}

.lead-form .field-third {
    grid-column: span 2;
}

.lead-form label span {
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.service-hint {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    min-height: 56px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--ink);
    outline: none;
    padding: 14px 15px;
    font-weight: 850;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

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

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    border-color: rgba(0, 75, 255, 0.62);
    box-shadow: 0 0 0 4px rgba(0, 75, 255, 0.14);
}

.lead-form .field-wide,
.lead-form .wide,
.form-alert {
    grid-column: 1 / -1;
}

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

.form-alert {
    border: 1px solid rgba(7, 150, 111, 0.18);
    border-radius: var(--radius-sm);
    background: rgba(7, 150, 111, 0.08);
    color: #047857;
    font-weight: 900;
    padding: 14px;
}

.form-alert.error,
.form-alert.limit {
    border-color: rgba(196, 61, 82, 0.18);
    background: rgba(196, 61, 82, 0.08);
    color: var(--danger);
}

.site-footer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    border-top: 1px solid rgba(8, 19, 38, 0.1);
    padding: 24px 0 34px;
}

.site-footer nav a {
    color: #334155;
    font-size: 14px;
    font-weight: 800;
}

.legal-page {
    width: min(100% - 32px, 860px);
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 34px 0;
}

.legal-document {
    display: grid;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow);
    padding: clamp(24px, 4vw, 42px);
}

.legal-document h1 {
    font-size: clamp(34px, 5vw, 56px);
}

.legal-document ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 20px;
}

@media (max-width: 1040px) {
    .main-nav {
        display: none;
    }

    .menu-button {
        display: inline-grid;
    }

    .mobile-menu-panel {
        display: grid;
    }

    .site-header {
        grid-template-columns: auto 1fr;
    }

    .header-actions {
        justify-self: end;
    }

    .hero,
    .model-section,
    .openbudget-section,
    .contact-section,
    .service-ribbon {
        grid-template-columns: 1fr;
    }

    .platform-showcase {
        max-width: 660px;
        justify-self: center;
    }

    .product-line {
        grid-template-columns: 56px minmax(0, 1fr);
        align-items: start;
    }

    .product-line-end {
        grid-column: 2;
        justify-items: start;
        text-align: left;
    }
}

@media (max-width: 760px) {
    main,
    .site-header,
    .mobile-menu-panel,
    .service-ribbon,
    .site-footer {
        width: min(100% - 22px, 1180px);
    }

    .site-header {
        top: 10px;
        margin-top: 10px;
    }

    .brand-name,
    .lang-link {
        display: none;
    }

    .header-login {
        min-height: 42px;
        padding: 8px 12px;
    }

    .service-ribbon {
        gap: 11px;
        margin-top: 10px;
    }

    .ribbon-card {
        min-height: 520px;
        border-radius: 26px;
    }

    .ribbon-card > img {
        object-position: 70% center;
    }

    .ribbon-shade {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 42%, rgba(255, 255, 255, 0.18) 72%, rgba(255, 255, 255, 0.86) 100%),
            linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.22));
    }

    .ribbon-copy {
        width: 100%;
        align-self: start;
        padding: 22px;
    }

    .ribbon-copy h2 {
        font-size: 30px;
    }

    .ribbon-copy p {
        font-size: 14px;
    }

    .ribbon-features {
        grid-template-columns: 1fr;
        left: 14px;
        right: 14px;
        bottom: 16px;
    }

    .hero {
        min-height: auto;
        gap: 30px;
        padding: 34px 0 22px;
    }

    h1 {
        font-size: 42px;
        line-height: 1.02;
    }

    h2 {
        font-size: 31px;
    }

    .hero-actions,
    .inline-actions,
    .site-footer nav {
        display: grid;
    }

    .btn,
    .btn.compact {
        width: 100%;
    }

    .platform-showcase,
    .lead-form,
    .openbudget-section,
    .platform-stack-section,
    .legal-document {
        border-radius: 24px;
    }

    .hero-proof,
    .system-stats,
    .signal-list,
    .system-flow,
    .trust-strip,
    .lead-form,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .platform-stack-section {
        padding: 20px;
    }

    .platform-flow-item,
    .principle-list article,
    .proof-steps article,
    .model-lane {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-points article {
        grid-template-columns: 44px 1fr;
    }

    .mobile-menu-panel {
        top: 76px;
        grid-template-columns: 1fr 1fr;
    }

    .product-line {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 24px 0;
    }

    .product-line-end {
        grid-column: auto;
    }

    .quick-order-form {
        grid-template-columns: 1fr;
    }

    .quick-order-form {
        background: rgba(255, 255, 255, 0.1);
    }

    .lead-form label,
    .lead-form .field-third,
    .lead-form .field-wide {
        grid-column: 1 / -1;
    }

    .section {
        margin: 66px 0;
    }

    .trust-strip {
        margin-bottom: 62px;
    }

}

@media (max-width: 420px) {
    h1 {
        font-size: 36px;
    }

    .platform-showcase {
        padding: 16px;
    }

    .showcase-top {
        display: grid;
    }
}
