@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
    --bg: #090b0f;
    --panel: rgba(18, 23, 31, 0.82);
    --panel-strong: rgba(24, 31, 41, 0.94);
    --line: rgba(255, 255, 255, 0.08);
    --text: #f5f1e9;
    --muted: #a5aeb8;
    --accent: #ff6a3d;
    --accent-strong: #ff916f;
    --accent-soft: rgba(255, 106, 61, 0.12);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 106, 61, 0.18), transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(255, 196, 104, 0.14), transparent 24%),
        linear-gradient(180deg, #090b0f 0%, #0f1319 54%, #090b0f 100%);
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    min-height: 100vh;
}

.site-body {
    position: relative;
    overflow-x: hidden;
}

.site-noise,
.site-orb {
    pointer-events: none;
    position: fixed;
    inset: 0;
}

.site-noise {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.25), black 30%, black 70%, rgba(0, 0, 0, 0.2));
}

.site-orb {
    filter: blur(80px);
    opacity: 0.65;
}

.site-orb-left {
    background: radial-gradient(circle, rgba(255, 106, 61, 0.4), transparent 55%);
    transform: translate(-20%, -12%);
}

.site-orb-right {
    background: radial-gradient(circle, rgba(255, 184, 92, 0.28), transparent 50%);
    transform: translate(48%, 10%);
}

.wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(9, 11, 15, 0.62);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar-inner,
.footer-inner,
.split-intro,
.section-heading,
.hero-grid,
.button-row,
.topbar-actions,
.product-footer {
    display: flex;
}

.topbar-inner,
.footer-inner,
.split-intro,
.section-heading {
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-inner {
    padding: 16px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    text-decoration: none;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 106, 61, 0.9), rgba(255, 184, 92, 0.82));
    color: #130e0b;
    font-weight: 700;
    letter-spacing: 0.18em;
    font-size: 0.92rem;
    box-shadow: 0 12px 40px rgba(255, 106, 61, 0.24);
}

.brand-copy {
    display: grid;
    gap: 4px;
}

.brand-copy strong {
    font-size: 1rem;
}

.brand-copy span {
    color: var(--muted);
    font-size: 0.9rem;
}

.button-row,
.topbar-actions {
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.button,
.inline-link,
.product-link,
.footer-links a {
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 600;
}

.button:hover,
.inline-link:hover,
.product-link:hover,
.footer-links a:hover {
    transform: translateY(-2px);
}

.button-solid {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #120c08;
    box-shadow: 0 18px 45px rgba(255, 106, 61, 0.25);
}

.button-ghost {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.hero {
    padding: 92px 0 42px;
}

.hero-grid {
    gap: 28px;
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.product-card,
.capability-card,
.portal-card {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.portal-card {
    border-radius: 32px;
}

.hero-copy {
    flex: 1.3;
    padding: 40px;
}

.hero-panel {
    flex: 0.9;
    padding: 28px;
    background: linear-gradient(180deg, rgba(18, 23, 31, 0.88), rgba(10, 13, 18, 0.98));
}

.eyebrow,
.panel-kicker,
.product-category {
    margin: 0 0 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-strong);
    font-size: 0.78rem;
}

.hero h1,
.section-heading h2,
.portal-card h1 {
    margin: 0;
    font-family: "Instrument Serif", Georgia, serif;
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.hero h1 {
    font-size: clamp(3.4rem, 7vw, 6.2rem);
    max-width: 10ch;
}

.hero-text,
.section-copy,
.product-summary,
.capability-card p,
.portal-copy,
.footer p,
.stat-card span,
.inline-link,
.portal-list {
    color: var(--muted);
}

.hero-text {
    margin: 24px 0 0;
    max-width: 56ch;
    font-size: 1.08rem;
    line-height: 1.7;
}

.panel-kicker {
    margin-bottom: 18px;
}

.chip-list,
.stat-list,
.product-grid,
.capability-grid,
.portal-list {
    display: grid;
}

.chip-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.chip {
    display: inline-flex;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
    font-size: 0.92rem;
}

.stat-list {
    gap: 14px;
    margin-top: 22px;
}

.stat-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.section {
    padding: 42px 0 72px;
}

.section-band {
    padding-top: 28px;
}

.split-intro,
.section-heading {
    align-items: end;
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    max-width: 12ch;
}

.section-copy {
    max-width: 56ch;
    line-height: 1.75;
}

.inline-link,
.product-link,
.footer-links a {
    color: var(--text);
    text-decoration: none;
}

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

.product-card,
.capability-card {
    border-radius: 28px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(24, 31, 41, 0.94), rgba(13, 17, 23, 0.96));
}

.product-card h3,
.capability-card h3 {
    margin: 0;
    font-size: 1.35rem;
}

.product-summary,
.capability-card p,
.portal-copy,
.portal-list li,
.footer p {
    line-height: 1.7;
}

.product-summary {
    min-height: 4.8em;
}

.product-footer {
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
}

.price {
    font-weight: 700;
    color: var(--accent-strong);
}

.capability-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.footer {
    padding: 0 0 48px;
}

.footer-inner {
    padding: 26px 28px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(14, 18, 24, 0.92);
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer p,
.footer-year {
    margin: 0;
}

.portal-body {
    display: grid;
    place-items: center;
}

.portal-shell {
    min-height: 100vh;
    display: grid;
    align-content: center;
    gap: 22px;
    padding: 40px 0;
}

.portal-brand {
    justify-self: start;
}

.portal-card {
    max-width: 780px;
    padding: 34px;
}

.portal-card h1 {
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    max-width: 12ch;
}

.portal-list {
    gap: 12px;
    padding-left: 20px;
    margin: 22px 0 0;
}

.portal-list li::marker {
    color: var(--accent-strong);
}

.hero-copy,
.hero-panel,
.product-card,
.capability-card,
.portal-card,
.footer-inner {
    animation: rise 700ms ease both;
}

.hero-panel { animation-delay: 90ms; }
.product-card:nth-child(2) { animation-delay: 70ms; }
.product-card:nth-child(3) { animation-delay: 120ms; }
.product-card:nth-child(4) { animation-delay: 170ms; }
.product-card:nth-child(5) { animation-delay: 220ms; }
.product-card:nth-child(6) { animation-delay: 270ms; }
.capability-card:nth-child(2) { animation-delay: 80ms; }
.capability-card:nth-child(3) { animation-delay: 140ms; }

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .split-intro,
    .section-heading,
    .footer-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .product-grid,
    .capability-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero h1 {
        max-width: none;
    }
}

@media (max-width: 700px) {
    .topbar-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .hero {
        padding-top: 56px;
    }

    .hero-copy,
    .hero-panel,
    .product-card,
    .capability-card,
    .portal-card,
    .footer-inner {
        padding: 22px;
        border-radius: 24px;
    }

    .chip-list,
    .product-grid,
    .capability-grid {
        grid-template-columns: 1fr;
    }

    .product-summary {
        min-height: 0;
    }

    .product-footer,
    .footer-links,
    .button-row,
    .topbar-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button,
    .inline-link,
    .product-link {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-copy,
    .hero-panel,
    .product-card,
    .capability-card,
    .portal-card,
    .footer-inner,
    .button,
    .inline-link,
    .product-link,
    .footer-links a {
        animation: none;
        transition: none;
    }
}
