:root {
    --bg: #08111c;
    --bg-elevated: #0d1c2a;
    --surface: rgba(14, 31, 45, 0.88);
    --surface-strong: rgba(9, 26, 39, 0.96);
    --line: rgba(126, 214, 153, 0.2);
    --text: #f3f8f5;
    --muted: #aec2ba;
    --green: #72f08d;
    --gold: #f5d28c;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    --frame: min(1120px, calc(100vw - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(114, 240, 141, 0.16), transparent 34%),
        radial-gradient(circle at top right, rgba(245, 210, 140, 0.12), transparent 24%),
        linear-gradient(180deg, #08111c 0%, #0b1623 58%, #08111c 100%);
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
}
a { color: inherit; }
p { margin: 0; }
.site-frame { width: var(--frame); margin: 0 auto; }
.site-flash-stack {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1200;
    display: grid;
    gap: 0.75rem;
}
.site-flash {
    max-width: 28rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(8, 17, 28, 0.94);
    box-shadow: var(--shadow);
}
.site-flash-success { border-color: rgba(114, 240, 141, 0.4); }
.site-flash-warning { border-color: rgba(245, 210, 140, 0.45); }
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    background: rgba(8, 17, 28, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.site-header__inner,
.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}
.brand__mark {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, var(--green) 0%, #c4ff98 100%);
    color: #092018;
    font-weight: 700;
}
.brand__text { display: grid; gap: 0.1rem; }
.brand__text strong { font-size: 0.98rem; }
.brand__text span { color: var(--muted); font-size: 0.82rem; }
.site-nav { display: flex; gap: 1.4rem; font-size: 0.95rem; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--text); }
.hero { padding: 5.5rem 0 4rem; }
.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 1.5rem;
    align-items: stretch;
}
.hero__copy,
.hero__panel,
.card,
.feature,
.contact-form,
.about__body {
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--surface);
    box-shadow: var(--shadow);
}
.hero__copy { padding: 2rem; border-radius: 1.7rem; }
.hero__panel {
    padding: 1.6rem;
    border-radius: 1.7rem;
    background:
        linear-gradient(180deg, rgba(114, 240, 141, 0.08), transparent 55%),
        var(--surface-strong);
}
.eyebrow {
    margin-bottom: 1rem;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.77rem;
    font-weight: 700;
}
.hero h1,
.section-heading h2 {
    margin: 0;
    font-size: clamp(2.4rem, 6vw, 5.2rem);
    line-height: 0.96;
}
.hero__subtitle {
    margin-top: 1.1rem;
    max-width: 38rem;
    font-size: clamp(1.1rem, 2.3vw, 1.5rem);
    color: #d4e1dc;
}
.hero__body,
.architecture__body,
.about__body {
    margin-top: 1.4rem;
    color: var(--muted);
    line-height: 1.8;
}
.hero__body p + p,
.architecture__body p + p,
.about__body p + p { margin-top: 1rem; }
.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.1rem;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
}
.button--primary {
    background: linear-gradient(135deg, var(--green) 0%, #c4ff98 100%);
    color: #0b1a11;
}
.button--ghost {
    border-color: rgba(114, 240, 141, 0.35);
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
}
.hero__panel-label {
    color: var(--gold);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}
.hero__highlights {
    margin: 1rem 0 2rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.9rem;
}
.hero__highlights li {
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero__signal {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.03);
}
.hero__signal span { color: var(--muted); font-size: 0.9rem; }
.hero__signal strong { font-size: 1.25rem; }
.section { padding: 2.5rem 0 4.5rem; }
.section--contrast { position: relative; }
.section--contrast::before {
    content: "";
    position: absolute;
    inset: 1rem 0;
    background: linear-gradient(180deg, rgba(17, 38, 58, 0.75), rgba(10, 21, 34, 0.35));
    z-index: -1;
}
.section-heading { margin-bottom: 1.8rem; text-align: center; }
.section-heading--left { text-align: left; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
.section-heading p:last-child {
    max-width: 44rem;
    margin: 1rem auto 0;
    color: var(--muted);
    line-height: 1.7;
}
.section-heading--left p:last-child { margin-left: 0; }
.card-grid,
.feature-grid { display: grid; gap: 1.1rem; }
.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 1.6rem; border-radius: 1.5rem; }
.card__index {
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.card h3,
.feature h3 { margin: 0.8rem 0 0.7rem; font-size: 1.35rem; }
.card p,
.feature p,
.contact-copy p,
.contact-note {
    color: var(--muted);
    line-height: 1.75;
}
.architecture { display: grid; gap: 1.5rem; }
.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.35rem;
    border-radius: 1.4rem;
}
.feature__badge {
    display: inline-grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    background: rgba(114, 240, 141, 0.16);
    color: var(--green);
    font-weight: 700;
}
.badge-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.badge-row span {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(114, 240, 141, 0.22);
    color: #d8f7df;
    background: rgba(114, 240, 141, 0.08);
}
.about { display: grid; gap: 1.3rem; }
.about__body { padding: 1.7rem; border-radius: 1.5rem; }
.section--contact { padding-bottom: 5.5rem; }
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 1.3rem;
}
.contact-copy { padding-top: 0.3rem; }
.contact-form {
    display: grid;
    gap: 1rem;
    padding: 1.6rem;
    border-radius: 1.5rem;
}
.contact-form label { display: grid; gap: 0.45rem; }
.contact-form span { font-size: 0.92rem; color: #d2ded8; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(7, 14, 24, 0.72);
    color: var(--text);
    font: inherit;
}
.contact-form textarea { resize: vertical; }
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.site-footer__inner { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 900px) {
    .hero__grid,
    .contact-layout,
    .feature-grid,
    .card-grid { grid-template-columns: 1fr; }
    .site-header__inner,
    .site-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 640px) {
    .site-nav { flex-wrap: wrap; gap: 0.9rem; }
    .hero { padding-top: 4.2rem; }
    .hero__copy,
    .hero__panel,
    .card,
    .feature,
    .contact-form,
    .about__body { border-radius: 1.2rem; }
}
