:root {
    --bg: #0b1118;
    --bg-elevated: #111a24;
    --text: #e8edf4;
    --muted: #9aabbd;
    --brand: #21c8b7;
    --brand-strong: #178f93;
    --accent: #ffb348;
    --line: #263548;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 15%, rgba(33, 200, 183, 0.12), transparent 42%),
        radial-gradient(circle at 85% 12%, rgba(255, 179, 72, 0.12), transparent 38%),
        linear-gradient(160deg, #081019 0%, #0d1622 55%, #0f1a2a 100%);
    min-height: 100vh;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-top: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.narrow {
    width: min(840px, 92%);
}

.page-glow {
    position: fixed;
    width: 340px;
    height: 340px;
    border-radius: 999px;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

.page-glow-top {
    top: -80px;
    right: -50px;
    background: rgba(33, 200, 183, 0.22);
}

.page-glow-bottom {
    bottom: -120px;
    left: -80px;
    background: rgba(255, 179, 72, 0.18);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    background: rgba(8, 16, 25, 0.75);
    border-bottom: 1px solid rgba(154, 171, 189, 0.15);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.brand-mark {
    width: 2rem;
    height: 2rem;
    border-radius: 0.6rem;
    display: grid;
    place-items: center;
    color: #07131b;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    font-weight: 800;
}

.brand-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    color: var(--muted);
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--text);
    background: rgba(33, 200, 183, 0.14);
}

.section {
    padding: 4rem 0;
}

.hero {
    padding-top: 5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr;
    gap: 2rem;
    align-items: start;
}

.eyebrow {
    text-transform: uppercase;
    color: var(--brand);
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.7rem);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.05rem;
    color: #c7d4e2;
    max-width: 65ch;
}

.hero-actions {
    margin-top: 1.7rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.8rem;
    padding: 0.75rem 1.1rem;
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
}

.button-primary {
    color: #04141a;
    background: linear-gradient(120deg, var(--brand), #66ebd9);
}

.button-outline {
    border-color: var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
}

.hero-card,
.card {
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.2rem;
}

.hero-card h2,
.card h2,
.card h3 {
    margin-bottom: 0.6rem;
}

.hero-card ul,
.check-list {
    margin: 0;
    padding-left: 1.2rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.page-hero {
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.split-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.4rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
}

label {
    display: block;
    margin-top: 0.9rem;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    background: rgba(9, 22, 33, 0.85);
    border: 1px solid var(--line);
    border-radius: 0.7rem;
    padding: 0.75rem 0.9rem;
    color: var(--text);
    font: inherit;
}

input:focus,
textarea:focus {
    border-color: var(--brand);
    outline: none;
}

.feedback {
    min-height: 1.5rem;
    margin-top: 0.7rem;
    font-weight: 700;
}

.feedback.success {
    color: #76f2a9;
}

.feedback.error {
    color: #ff9d7f;
}

.notice {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid transparent;
    font-weight: 700;
}

.notice-success {
    background: rgba(118, 242, 169, 0.12);
    border-color: rgba(118, 242, 169, 0.28);
    color: #9ef2be;
}

.notice-error {
    background: rgba(255, 157, 127, 0.12);
    border-color: rgba(255, 157, 127, 0.28);
    color: #ffb09d;
}

.bot-check {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.muted {
    color: var(--muted);
}

.site-footer {
    border-top: 1px solid rgba(154, 171, 189, 0.22);
    margin-top: 2rem;
    padding: 2rem 0 1.4rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
}

.footer-inner p {
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #bfd0df;
}

.footer-links a:hover {
    color: var(--brand);
}

.copyright {
    width: min(1120px, 92%);
    margin: 1rem auto 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    animation: reveal-up 0.55s ease forwards;
}

@keyframes reveal-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .cards-grid,
    .split-panel,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
    }
}
