:root {
    --bg: #ecf6ff;
    --ink: #10243f;
    --accent: #1976d2;
    --accent-dark: #0f4d8d;
    --muted: #486381;
    --card: #ffffff;
    --line: rgba(16, 36, 63, 0.12);
    --shadow: 0 28px 70px rgba(25, 88, 163, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #f4faff 0%, #e7f2ff 45%, #eff8ff 100%);
    color: var(--ink);
}

html {
    scroll-behavior: smooth;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site {
    padding: 3.5rem 6vw 6rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.orb-one {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(25, 118, 210, 0.28), transparent 70%);
    top: -80px;
    right: -120px;
}

.orb-two {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(69, 151, 233, 0.25), transparent 70%);
    bottom: -120px;
    left: -80px;
}

.orb-three {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(159, 213, 255, 0.4), transparent 70%);
    top: 40%;
    left: 50%;
}

.grid-veil {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(16, 36, 63, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 36, 63, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.35;
}

.site-header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem 6vw;
    backdrop-filter: blur(10px);
    background: rgba(246, 252, 255, 0.85);
    border-bottom: 1px solid var(--line);
    z-index: 10;
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(246, 252, 255, 0.95);
    box-shadow: 0 10px 30px rgba(16, 63, 114, 0.12);
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f4d8d, #1976d2);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.brand-name {
    margin: 0;
    font-weight: 800;
    font-family: "Sora", "Manrope", sans-serif;
}

.brand-tag {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.site-nav {
    display: flex;
    gap: 0.5rem;
    font-size: 0.95rem;
    padding: 0.35rem;
    border: 1px solid rgba(16, 36, 63, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
}

.site-nav a {
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.site-nav a:hover {
    background: rgba(25, 118, 210, 0.12);
    color: #0f4d8d;
    transform: translateY(-1px);
}

.site-nav a.is-active {
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.18), rgba(69, 162, 255, 0.18));
    color: #0f4d8d;
    box-shadow: inset 0 0 0 1px rgba(25, 118, 210, 0.2);
}

.site-nav a:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
.scroll-cue:focus-visible {
    outline: 2px solid rgba(25, 118, 210, 0.6);
    outline-offset: 2px;
}

.nav-toggle {
    display: none;
}

.header-panel {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.header-cta {
    display: flex;
    gap: 0.75rem;
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3.5rem;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    color: var(--muted);
}

h1 {
    font-family: "Sora", "Manrope", sans-serif;
    font-size: clamp(2.7rem, 3.8vw, 4.4rem);
    margin: 0.6rem 0 1.1rem;
    line-height: 1.12;
}

h2 {
    font-family: "Sora", "Manrope", sans-serif;
    font-size: clamp(2rem, 3vw, 3.1rem);
    margin: 0.4rem 0 1rem;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--muted);
}

.cta-row {
    display: flex;
    gap: 1rem;
    margin: 2rem 0 1.8rem;
    flex-wrap: wrap;
}

.btn {
    position: relative;
    overflow: hidden;
    padding: 0.9rem 1.7rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45), transparent 70%);
    transform: translateX(-130%);
    transition: transform 0.5s ease;
}

.btn:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.15);
}

.btn:hover::after {
    transform: translateX(130%);
}

.btn:active {
    transform: translateY(0) scale(0.99);
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent), #45a2ff);
    color: #fff;
}

.btn.ghost {
    border-color: rgba(16, 36, 63, 0.2);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.8);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.scroll-cue {
    margin-top: 1.3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0f4d8d;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
    animation: cueFloat 2.2s ease-in-out infinite;
}

.scroll-cue:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.scroll-cue-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1976d2;
    box-shadow: 0 0 0 0 rgba(25, 118, 210, 0.45);
    animation: cuePulse 1.8s ease-out infinite;
}

body.scrolled .scroll-cue {
    opacity: 0;
    pointer-events: none;
}

.card {
    background: var(--card);
    padding: 1.8rem;
    border-radius: 1.6rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(25, 118, 210, 0.12);
}

.card img {
    width: 100%;
    display: block;
}

.hero-visual {
    display: grid;
    gap: 1.5rem;
    position: relative;
    isolation: isolate;
}

.hero-orbit {
    position: absolute;
    inset: -16px -14px auto auto;
    width: 168px;
    height: 168px;
    border-radius: 50%;
    border: 1px dashed rgba(25, 118, 210, 0.28);
    pointer-events: none;
    animation: orbit 12s linear infinite;
    z-index: -1;
}

.orbit-node {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 0.3rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #0f4d8d;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(25, 118, 210, 0.2);
    box-shadow: 0 8px 20px rgba(25, 118, 210, 0.18);
}

.node-iam {
    top: -8px;
    left: 58px;
}

.node-iga {
    right: -18px;
    top: 60px;
}

.node-esm {
    left: 16px;
    bottom: -14px;
}

.panel-title {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    color: var(--muted);
}

.workflow-card {
    overflow: hidden;
    position: relative;
}

.workflow-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(25, 118, 210, 0), rgba(25, 118, 210, 0.08), rgba(25, 118, 210, 0));
    transform: translateX(-100%);
    animation: sweep 4.5s ease-in-out infinite;
}

.workflow-track {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(90px, 1fr));
    gap: 0.65rem;
}

.flow-line {
    height: 6px;
    border-radius: 999px;
    margin: 0.85rem 0 0.1rem;
    background: rgba(25, 118, 210, 0.12);
    overflow: hidden;
}

.flow-line span {
    display: block;
    width: 40%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #45a2ff, #1976d2);
    animation: flow 2.5s ease-in-out infinite;
}

.workflow-track span {
    font-size: 0.85rem;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    background: rgba(25, 118, 210, 0.1);
    border: 1px solid rgba(25, 118, 210, 0.16);
    animation: pulse 2.8s ease-in-out infinite;
}

.workflow-track span:nth-child(2) {
    animation-delay: 0.2s;
}

.workflow-track span:nth-child(3) {
    animation-delay: 0.35s;
}

.workflow-track span:nth-child(4) {
    animation-delay: 0.5s;
}

.trust {
    display: grid;
    gap: 1.2rem;
}

.trust-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.section-head {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    align-items: end;
}

section[id] {
    scroll-margin-top: 100px;
}

.feature-grid,
.template-grid,
.integration-grid,
.story-grid,
.pricing-grid,
.metrics,
.faq-grid {
    display: grid;
    gap: 1.6rem;
    margin-top: 2.5rem;
}

.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.template-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.template-meta {
    margin-top: 1.2rem;
}

.product-lines {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.4rem;
}

.product-label {
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--accent-dark);
    font-size: 0.74rem;
    font-weight: 700;
}

.product-line h3,
.feature-line h3 {
    font-family: "Sora", "Manrope", sans-serif;
    margin-top: 0.2rem;
}

.product-line ul {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.55rem;
    color: var(--muted);
}

.feature-lines {
    margin-top: 2rem;
    display: grid;
    gap: 2rem;
}

.feature-line .feature-grid {
    margin-top: 1rem;
}

.feature-line h4 {
    margin-top: 0;
    margin-bottom: 0.45rem;
    color: var(--accent-dark);
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    align-items: center;
}

.list {
    display: grid;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.metrics {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.metric-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    color: var(--muted);
}

.integration-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.integration-title {
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.story-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.story-quote {
    font-size: 1.05rem;
    line-height: 1.5;
}

.story-meta {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.story-meta img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pricing .featured {
    border: 1px solid var(--accent);
    transform: translateY(-6px);
}

.pricing ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    display: grid;
    gap: 0.6rem;
}

.faq summary {
    font-weight: 600;
    cursor: pointer;
}

.faq details {
    padding: 1.2rem 1.6rem;
}

.demo-card {
    background: linear-gradient(135deg, rgba(15, 77, 141, 0.96), rgba(47, 140, 228, 0.96));
    color: #fff;
    padding: 3rem;
    border-radius: 2rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.demo-form {
    display: grid;
    gap: 1rem;
}

.demo-form label,
.partner-form label {
    display: grid;
    gap: 0.4rem;
    font-weight: 600;
}

.demo-form input,
.demo-form select,
.partner-form input,
.partner-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
    border: none;
    margin-top: 0.5rem;
}

.demo-form .btn {
    width: 100%;
    border: none;
}

.notice {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
    font-weight: 600;
}

.notice.success {
    background: rgba(255, 255, 255, 0.2);
}

.notice.error {
    background: rgba(0, 0, 0, 0.2);
}

.partner-card {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: start;
}

.partner-form {
    display: grid;
    gap: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.6rem;
    margin-top: 2.5rem;
}

.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    padding: 1.2rem 1.6rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    box-shadow: var(--shadow);
    max-width: 960px;
    width: calc(100% - 3rem);
    z-index: 20;
}

.cookie-banner.is-hidden {
    display: none;
}

.cookie-title {
    font-weight: 700;
    margin: 0 0 0.4rem;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.partners-page {
    display: grid;
    gap: 2.5rem;
}

.partners-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.partner-regions {
    display: grid;
    gap: 2rem;
}

.region-card {
    display: grid;
    gap: 1.5rem;
}

.region-countries {
    display: grid;
    gap: 1.2rem;
}

.country-block {
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
}

.country-partners {
    display: grid;
    gap: 0.9rem;
    margin-top: 0.8rem;
}

.partner-item {
    background: rgba(16, 36, 63, 0.04);
    border-radius: 1rem;
    padding: 0.8rem 1rem;
}

.partner-name {
    font-weight: 700;
    margin: 0 0 0.2rem;
}

.partner-status {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0.3rem 0 0;
}

.consent-page {
    display: grid;
    gap: 2.5rem;
}

.site-footer {
    padding: 3rem 6vw 4rem;
    border-top: 1px solid var(--line);
    background: rgba(242, 250, 255, 0.95);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.footer-meta {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

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

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes sweep {
    0% {
        transform: translateX(-110%);
    }

    50% {
        transform: translateX(110%);
    }

    100% {
        transform: translateX(110%);
    }
}

@keyframes orbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes flow {
    0% {
        transform: translateX(-120%);
    }

    50% {
        transform: translateX(180%);
    }

    100% {
        transform: translateX(180%);
    }
}

@keyframes cueFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes cuePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(25, 118, 210, 0.45);
    }

    100% {
        box-shadow: 0 0 0 12px rgba(25, 118, 210, 0);
    }
}

@media (max-width: 900px) {
    .site-header {
        align-items: center;
        flex-wrap: wrap;
        gap: 0.9rem;
    }

    .brand {
        width: calc(100% - 64px);
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
        border: 1px solid rgba(16, 36, 63, 0.16);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.84);
        display: grid;
        place-content: center;
        gap: 4px;
        margin-left: auto;
        cursor: pointer;
    }

    .nav-toggle-line {
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: #0f4d8d;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .site-header.menu-open .nav-toggle-line:nth-child(2) {
        transform: translateY(6px) rotate(45deg);
    }

    .site-header.menu-open .nav-toggle-line:nth-child(3) {
        opacity: 0;
    }

    .site-header.menu-open .nav-toggle-line:nth-child(4) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .header-panel {
        width: 100%;
        display: grid;
        gap: 0.8rem;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, opacity 0.2s ease;
    }

    .site-header.menu-open .header-panel {
        max-height: 420px;
        opacity: 1;
        padding-top: 0.55rem;
    }

    .site-nav {
        flex-wrap: wrap;
        border-radius: 1rem;
        justify-content: center;
    }

    .header-cta {
        width: 100%;
        justify-content: center;
    }

    .header-cta .btn {
        flex: 1 1 auto;
        text-align: center;
    }

    .hero-orbit {
        top: -20px;
        right: -8px;
    }
}

@media (max-width: 640px) {
    .site {
        padding: 2.5rem 6vw 4rem;
    }

    .cta-row {
        flex-direction: column;
    }

    .hero {
        gap: 2rem;
    }

    .hero-orbit {
        width: 136px;
        height: 136px;
    }

    .site-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav a {
        text-align: center;
    }

    .demo-card {
        padding: 2rem;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
