* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #08111f;
    --panel: #101b2c;
    --panel-soft: #152236;
    --ink: #f3f7fb;
    --muted: #9dafc5;
    --line: rgba(255, 255, 255, 0.12);
    --brand: #23b6d8;
    --brand-strong: #0f8fb1;
    --saffron: #f4a62a;
    --green: #51b37f;
    --danger: #d84f70;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
}

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

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

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(8, 17, 31, 0.88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-link img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 650;
    padding: 10px 12px;
    border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.07);
}

.hero {
    min-height: calc(100vh - 76px);
    display: grid;
    align-items: center;
    padding: 88px 0 74px;
    background:
        linear-gradient(90deg, rgba(8, 17, 31, 0.96), rgba(8, 17, 31, 0.72)),
        url("hero_background.webp") center / cover no-repeat;
}

.hero-grid,
.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 54px;
    align-items: center;
}

.eyebrow {
    color: var(--saffron);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 16px;
}

h1,
h2,
h3 {
    line-height: 1.12;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2.55rem, 6vw, 5.6rem);
    max-width: 820px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: 1.32rem;
}

.lead {
    color: var(--muted);
    font-size: clamp(1.04rem, 1.6vw, 1.28rem);
    max-width: 760px;
    margin-top: 24px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 8px;
    border: 1px solid var(--line);
    font-weight: 800;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.06);
}

.btn.primary {
    background: var(--brand);
    color: #04121a;
    border-color: transparent;
}

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

.hero-panel,
.info-panel {
    background: rgba(16, 27, 44, 0.82);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.hero-panel img {
    width: 160px;
    margin-bottom: 28px;
}

.signal-list {
    display: grid;
    gap: 16px;
}

.signal {
    padding-left: 16px;
    border-left: 3px solid var(--brand);
}

.signal strong {
    display: block;
    margin-bottom: 4px;
}

.signal span,
.muted {
    color: var(--muted);
}

.section {
    padding: 88px 0;
}

.section.alt {
    background: #0b1627;
    border-block: 1px solid var(--line);
}

.section-head {
    max-width: 780px;
    margin-bottom: 42px;
}

.section-head.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-head p {
    color: var(--muted);
    font-size: 1.08rem;
    margin-top: 16px;
}

.product-grid,
.card-grid,
.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.product-card,
.plain-card,
.principle-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
}

.product-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 18px;
    background: var(--panel-soft);
}

.product-card p,
.plain-card p,
.principle-card p {
    color: var(--muted);
    margin-top: 10px;
}

.product-card a,
.text-link {
    color: var(--brand);
    font-weight: 800;
    display: inline-flex;
    gap: 8px;
    margin-top: 18px;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    border: 1px solid rgba(244, 166, 42, 0.38);
    color: var(--saffron);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.veltrix-band {
    background:
        linear-gradient(135deg, rgba(35, 182, 216, 0.14), rgba(81, 179, 127, 0.1)),
        #0b1627;
    border-block: 1px solid var(--line);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.timeline-item {
    padding: 26px;
    background: var(--panel);
    border-right: 1px solid var(--line);
}

.timeline-item:last-child {
    border-right: 0;
}

.year {
    color: var(--saffron);
    font-size: 1.7rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.founder-preview {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.founder-preview picture,
.portrait-frame {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--panel);
}

.founder-preview img,
.portrait-frame img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    color: var(--ink);
    font-weight: 750;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
    color: var(--ink);
    border-radius: 8px;
    padding: 13px 14px;
    font: inherit;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-message {
    display: none;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 750;
}

.form-message.success {
    color: #dff7e9;
    background: rgba(81, 179, 127, 0.16);
    border: 1px solid rgba(81, 179, 127, 0.32);
}

.form-message.error {
    color: #ffdce4;
    background: rgba(216, 79, 112, 0.16);
    border: 1px solid rgba(216, 79, 112, 0.34);
}

.site-footer {
    padding: 54px 0 26px;
    background: #050b14;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
}

.site-footer h3,
.site-footer h4 {
    margin-bottom: 14px;
}

.site-footer p,
.site-footer a {
    color: var(--muted);
}

.site-footer a {
    display: block;
    margin-top: 8px;
}

.footer-bottom {
    color: var(--muted);
    border-top: 1px solid var(--line);
    margin-top: 34px;
    padding-top: 22px;
    font-size: 0.92rem;
}

.subpage-hero {
    padding: 92px 0 70px;
    background:
        linear-gradient(135deg, rgba(8, 17, 31, 0.96), rgba(15, 143, 177, 0.2)),
        url("hero_background.webp") center / cover no-repeat;
}

.story-block {
    max-width: 840px;
}

.story-block p + p {
    margin-top: 18px;
}

.quote {
    margin-top: 26px;
    padding: 22px;
    border-left: 4px solid var(--brand);
    background: rgba(35, 182, 216, 0.08);
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 650;
}

@media (max-width: 900px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .nav-links {
        justify-content: flex-start;
    }

    .hero-grid,
    .split-grid,
    .founder-preview {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: 72px 0 60px;
    }

    .product-grid,
    .card-grid,
    .principles-grid,
    .timeline,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .timeline-item:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .brand-link {
        font-size: 0.98rem;
    }

    .nav-links a {
        padding: 8px 9px;
        font-size: 0.86rem;
    }

    .actions,
    .btn {
        width: 100%;
    }

    .section {
        padding: 64px 0;
    }
}
