:root {
    --avato-blue: #2f46e3;
    --avato-blue-soft: #7180ef;
    --ink: #0f1117;
    --ink-alt: #171a22;
    --paper: #ffffff;
    --paper-muted: #f3f4f7;
    --text: #1b1f2a;
    --text-muted: #586174;
    --text-on-dark: #f5f7fb;
    --text-on-dark-muted: #c2c9d8;
    --line: rgba(15,17,23,.12);
    --line-on-dark: rgba(255,255,255,.14);
    --content-width: 1180px;
    --reading-width: 820px;
    --gutter: clamp(1.25rem, 3vw, 2.5rem);
    --section-space: clamp(4rem, 8vw, 7rem);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.58;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { max-width: 100%; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(15,17,23,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-on-dark);
}
.site-header > div, main > section > div, footer > div {
    width: min(100%, var(--content-width));
    margin-inline: auto;
}
.site-header > div {
    min-height: 4.5rem;
    padding: .8rem var(--gutter);
    display: flex;
    align-items: center;
    gap: 1.35rem;
}
.brand, .brand-word {
    color: white;
    font-weight: 800;
    letter-spacing: .18em;
}
.brand { margin-right: auto; text-decoration: none; font-size: 1.35rem; }
.site-header nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-header nav a, footer a {
    text-decoration: none;
}
.site-header nav a { color: #e1e5ee; font-size: .94rem; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: white; }

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .82rem 1.05rem;
    border: 0;
    border-radius: 999px;
    background: var(--avato-blue);
    color: white;
    text-decoration: none;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}
.cta.secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,.3);
}
.text-link {
    color: var(--avato-blue);
    font-weight: 750;
    text-decoration: none;
}
.dark .text-link { color: #9aa5ff; }

main > section { padding: var(--section-space) var(--gutter); }
.dark { background: var(--ink); color: var(--text-on-dark); }
.dark.alt { background: var(--ink-alt); }
.muted { background: var(--paper-muted); }

.hero {
    min-height: 74vh;
    display: grid;
    align-items: center;
}
.hero-grid, .split {
    display: grid;
    grid-template-columns: minmax(0,1.08fr) minmax(320px,.92fr);
    gap: clamp(2.5rem,7vw,6rem);
    align-items: center;
}
.eyebrow {
    margin: 0 0 .9rem;
    color: var(--avato-blue-soft);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 800;
    font-size: .78rem;
}
h1, h2, h3 {
    margin: 0;
    line-height: 1.05;
    letter-spacing: -.03em;
}
h1 { max-width: 1000px; font-size: clamp(3rem,7vw,6.2rem); }
h2 { max-width: 950px; font-size: clamp(2.25rem,5vw,4.2rem); }
h3 { font-size: clamp(1.3rem,2vw,1.75rem); }
.lead {
    max-width: var(--reading-width);
    margin-top: 1.5rem;
    font-size: clamp(1.12rem,2vw,1.42rem);
}
.soft { color: var(--text-on-dark-muted); }
.subtle { color: var(--text-muted); }
.section-intro { max-width: var(--reading-width); margin-bottom: 2.4rem; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.2rem;
    margin-top: 2rem;
}
.card {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}
.card p { color: var(--text-muted); }

.tag {
    display: inline-block;
    width: max-content;
    padding: .28rem .55rem;
    margin-bottom: .8rem;
    border-radius: 999px;
    background: #e9ecff;
    color: #2737b4;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.tag.public { background: #e9f6ee; color: #24613b; }
.tag.locked { background: #eceef3; color: #434b5b; }
.tag.production { background: #e9f6ee; color: #24613b; }
.tag.emerging { background: #f4edff; color: #67429c; }

.center { text-align: center; }
.center h2, .center .lead { margin-left: auto; margin-right: auto; }
.center .actions { justify-content: center; }

footer {
    padding: 2.5rem var(--gutter);
    background: #090b10;
    color: #a9b1c0;
}
footer > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
}
footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
footer a { color: #d7dce6; }

@media (max-width: 920px) {
    .site-header > div { align-items: flex-start; flex-wrap: wrap; }
    .site-header .brand { margin-right: 0; }
    .site-header nav { order: 3; width: 100%; }
    .site-header nav ul { justify-content: center; }
    .site-header .cta { margin-left: auto; }
    .hero-grid, .split { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    .site-header { position: static; }
    .site-header > div { justify-content: center; }
    .site-header .brand, .site-header .cta { margin: 0; }
    .site-header nav ul { gap: .65rem 1rem; }
    .cards { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
}
