:root {
    --grad: linear-gradient(135deg, #2BD4D9 0%, #4A7DFF 50%, #A855F7 100%);
    --grad-soft: linear-gradient(135deg, rgba(43, 212, 217, 0.08) 0%, rgba(74, 125, 255, 0.08) 50%, rgba(168, 85, 247, 0.08) 100%);
    --bg: #ffffff;
    --bg-alt: #f7f8fc;
    --ink: #0b1020;
    --ink-soft: #475069;
    --ink-muted: #6b7390;
    --line: rgba(11, 16, 32, 0.08);
    --danger: #e11d48;
    --danger-bg: #fff1f3;
    --radius: 16px;
    --radius-lg: 22px;
    --shadow: 0 1px 2px rgba(11, 16, 32, 0.04), 0 8px 24px rgba(11, 16, 32, 0.06);
    --shadow-lg: 0 20px 60px -20px rgba(74, 125, 255, 0.35);
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/inter-v20-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/inter-v20-latin-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/inter-v20-latin-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/inter-v20-latin-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('fonts/inter-v20-latin-800.woff2') format('woff2');
}

* {
    box-sizing: border-box;

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
}

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

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

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.brand-logo {
    height: 36px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 15px;
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--ink);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease;
    border: 0;
}

.btn-primary {
    background: var(--grad);
    color: white;
    box-shadow: var(--shadow-lg);
}

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

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}

.btn-ghost:hover {
    border-color: var(--ink);
}

.nav-cta {
    display: inline-flex;
}

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

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: clamp(60px, 9vw, 120px) 0 clamp(60px, 8vw, 100px);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(60% 50% at 85% 15%, rgba(168, 85, 247, 0.12), transparent 70%),
    radial-gradient(50% 45% at 10% 90%, rgba(43, 212, 217, 0.10), transparent 70%),
    radial-gradient(50% 50% at 50% 0%, rgba(74, 125, 255, 0.08), transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--grad-soft);
    border: 1px solid rgba(74, 125, 255, 0.18);
    font-size: 13px;
    font-weight: 600;
    color: #3b4569;
    margin-bottom: 24px;
}

.eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--grad);
}

h1 {
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 0 0 24px;
    font-weight: 800;
}

h1 .accent {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: clamp(17px, 1.6vw, 19px);
    color: var(--ink-soft);
    max-width: 560px;
    margin: 0 0 36px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ink-muted);
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-trust svg {
    width: 16px;
    height: 16px;
    color: #16a34a;
}

.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 480px;
    justify-self: end;
    width: 100%;
}

.hero-card {
    position: absolute;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    box-shadow: var(--shadow);
    font-size: 14px;
}

.hero-card-title {
    font-weight: 700;
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 12px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.hc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.hc-label {
    color: var(--ink-soft);
}

.hc-pill {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
}

.hc-pill.ok {
    background: #ecfdf5;
    color: #047857;
}

.hc-pill.warn {
    background: #fffbeb;
    color: #b45309;
}

.hc-pill.todo {
    background: #eef2ff;
    color: #4338ca;
}

.hc-bar {
    height: 6px;
    background: #eef0f6;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 10px;
}

.hc-bar > span {
    display: block;
    height: 100%;
    background: var(--grad);
    border-radius: inherit;
}

.card-1 {
    top: 4%;
    left: 0;
    width: 78%;
}

.card-2 {
    top: 38%;
    right: 0;
    width: 70%;
}

.card-3 {
    bottom: 0;
    left: 8%;
    width: 72%;
}

.hero-blob {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--grad);
    filter: blur(80px);
    opacity: 0.18;
    border-radius: 50%;
    transform: scale(0.8);
}

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

    .hero-visual {
        max-width: 420px;
        justify-self: center;
        aspect-ratio: 4/3;
        margin-top: 20px;
    }
}

/* ---------- NIS-2 Banner ---------- */
.alert {
    background: linear-gradient(135deg, #fff7f7 0%, #fef2f2 100%);
    border-top: 1px solid #fecaca;
    border-bottom: 1px solid #fecaca;
    padding: clamp(40px, 6vw, 64px) 0;
}

.alert-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

.alert-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--danger);
    color: white;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.alert h2 {
    font-size: clamp(28px, 3.5vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 12px;
    font-weight: 800;
}

.alert p {
    color: var(--ink-soft);
    max-width: 720px;
    margin: 0;
    font-size: 17px;
}

.alert-stats {
    display: flex;
    gap: 32px;
}

.alert-stat .num {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #e11d48, #b91c1c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.alert-stat .label {
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 6px;
    max-width: 140px;
}

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

    .alert-stats {
        flex-wrap: wrap;
    }
}

/* ---------- Sections ---------- */
section.block {
    padding: clamp(72px, 10vw, 120px) 0;
}

.section-head {
    max-width: 720px;
    margin: 0 auto clamp(48px, 6vw, 72px);
    text-align: center;
}

.section-head .eyebrow {
    margin-bottom: 18px;
}

.section-head h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
    font-weight: 800;
}

.section-head p {
    color: var(--ink-soft);
    font-size: 18px;
    margin: 0;
}

/* ---------- Pillars ---------- */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pillar {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(74, 125, 255, 0.25);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--grad-soft);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
}

.pillar-icon svg {
    width: 24px;
    height: 24px;
}

.pillar h3 {
    font-size: 20px;
    margin: 0 0 10px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.pillar p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
}

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

/* ---------- Standards ---------- */
.standards {
    background: var(--bg-alt);
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.standard {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 16px;
    text-align: center;
}

.standard .badge {
    display: inline-block;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: -0.01em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 6px;
}

.standard .desc {
    font-size: 12px;
    color: var(--ink-muted);
}

@media (max-width: 760px) {
    .standards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Philosophy ---------- */
.philo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.philo-quote {
    font-size: clamp(22px, 2.6vw, 32px);
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.philo-quote .h {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.philo p {
    color: var(--ink-soft);
    font-size: 17px;
    margin: 0 0 16px;
}

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

.philo-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
}

.philo-list svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.philo-list .text {
    color: var(--ink);
    font-weight: 500;
}

.philo-list .text small {
    display: block;
    color: var(--ink-soft);
    font-weight: 400;
    margin-top: 2px;
}

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

/* ---------- CTA ---------- */
.cta-final {
    background: var(--ink);
    color: white;
    border-radius: var(--radius-lg);
    padding: clamp(48px, 7vw, 80px);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: clamp(40px, 6vw, 80px) 0;
}

.cta-final::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: radial-gradient(60% 80% at 0% 100%, rgba(43, 212, 217, 0.25), transparent 60%),
    radial-gradient(60% 80% at 100% 0%, rgba(168, 85, 247, 0.30), transparent 60%);
    pointer-events: none;
}

.cta-final > * {
    position: relative;
    z-index: 1;
}

.cta-final h2 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.cta-final p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 18px;
    max-width: 560px;
    margin: 0 auto 32px;
}

.cta-final .btn-primary {
    box-shadow: 0 20px 50px -10px rgba(168, 85, 247, 0.6);
}

/* ---------- Footer ---------- */
footer {
    border-top: 1px solid var(--line);
    padding: 40px 0;
    color: var(--ink-muted);
    font-size: 14px;
}

.foot-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.foot-links {
    display: flex;
    gap: 24px;
}

.foot-links a:hover {
    color: var(--ink);
}

/* ---------- micro animations ---------- */
@keyframes float {
    0%, 100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-8px)
    }
}

.card-1 {
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    animation: float 7s ease-in-out infinite;
    animation-delay: -2s;
}

.card-3 {
    animation: float 5.5s ease-in-out infinite;
    animation-delay: -3s;
}

.legal {
    padding: clamp(60px, 8vw, 100px) 0;
}
.legal h1 {
    font-size: clamp(32px, 4vw, 44px);
    margin-bottom: 8px;
}
.legal .lead {
    color: var(--ink-muted);
    margin-bottom: 48px;
}
.legal h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 40px 0 12px;
    letter-spacing: -0.01em;
}
.legal p, .legal address {
    color: var(--ink-soft);
    font-style: normal;
    margin: 0 0 8px;
    font-size: 16px;
}
.legal a.inline {
    color: #4A7DFF;
    text-decoration: underline;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 24px;
}
.back-link:hover {
    color: var(--ink);
}

.legal h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 24px 0 8px;
    letter-spacing: -0.01em;
}

.legal ul, .legal ol {
    color: var(--ink-soft);
    font-size: 16px;
    margin: 0 0 16px;
    padding-left: 20px;
}

.legal ul li, .legal ol li {
    margin-bottom: 6px;
}

.legal .note {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin: 16px 0 24px;
    font-size: 15px;
    color: var(--ink-soft);
}

.legal .note strong {
    color: var(--ink);
}

.legal table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 15px;
}

.legal table th, .legal table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
}

.legal table th {
    color: var(--ink);
    font-weight: 700;
}

.legal-toc {
    display: grid;
    gap: 6px;
    margin: 0 0 48px;
    padding: 20px 24px;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.legal-toc a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
}

.legal-toc a:hover {
    color: #4A7DFF;
}

