:root {
    color-scheme: dark;
    --bg: #071219;
    --bg-soft: #0c1820;
    --surface: rgba(12, 24, 32, 0.82);
    --surface-strong: #101d27;
    --border: rgba(255, 255, 255, 0.12);
    --text-main: #f6f7f9;
    --text-muted: rgba(222, 229, 235, 0.74);
    --primary: #ff7b54;
    --secondary: #36cfc9;
    --accent: #ffd5ab;
    --radius-xl: 30px;
    --radius-lg: 22px;
    --shadow: 0 30px 80px rgba(2, 9, 14, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at top right, rgba(255, 123, 84, 0.2), transparent 18rem),
        radial-gradient(circle at 12% 18%, rgba(54, 207, 201, 0.18), transparent 18rem),
        linear-gradient(180deg, #071219 0%, #0b161d 48%, #091219 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, black 24%, transparent 92%);
    opacity: 0.18;
}

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

p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.72;
}

code {
    padding: 0.08rem 0.34rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    font-size: 0.92em;
}

h1,
h2,
h3,
strong,
.brand-copy strong,
.eyebrow,
.section-kicker {
    font-family: "Sora", sans-serif;
}

.site-shell {
    position: relative;
    overflow: hidden;
}

.ambient {
    position: absolute;
    border-radius: 999px;
    filter: blur(50px);
    opacity: 0.34;
    pointer-events: none;
}

.ambient-a {
    width: 22rem;
    height: 22rem;
    top: 7rem;
    right: -6rem;
    background: radial-gradient(circle, rgba(255, 123, 84, 0.96), transparent 68%);
}

.ambient-b {
    width: 18rem;
    height: 18rem;
    top: 42rem;
    left: -4rem;
    background: radial-gradient(circle, rgba(54, 207, 201, 0.92), transparent 68%);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: rgba(7, 18, 25, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    min-height: 5.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
}

.brand-mark {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    font-family: "Sora", sans-serif;
    font-weight: 800;
    color: white;
    background:
        linear-gradient(135deg, var(--primary), var(--secondary)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

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

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

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.site-nav a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 160ms ease, transform 160ms ease;
}

.site-nav a:hover {
    color: var(--text-main);
    transform: translateY(-1px);
}

.nav-cta {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.28rem;
    padding: 0;
    background: transparent;
    border: 0;
}

.menu-toggle span {
    width: 1.4rem;
    height: 2px;
    border-radius: 999px;
    background: white;
}

.hero-section {
    padding: 6.2rem 0 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem;
    align-items: center;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.42rem 0.82rem;
    border-radius: 999px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.hero-copy h1,
.section-head h2,
.workflow-copy h2,
.contact-copy h2 {
    margin: 1.15rem 0 0;
    font-size: clamp(2.8rem, 6vw, 4.9rem);
    line-height: 1.02;
    max-width: 11ch;
}

.section-head h2,
.workflow-copy h2,
.contact-copy h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    max-width: 18ch;
}

.hero-description,
.section-copy {
    margin-top: 1.2rem;
    max-width: 42rem;
    font-size: 1.04rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.7rem;
}

.btn {
    min-height: 3.2rem;
    padding: 0 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 18px 42px rgba(255, 123, 84, 0.24);
}

.btn-secondary {
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

.btn-block {
    width: 100%;
}

.hero-note {
    margin-top: 1.35rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.14);
}

.hero-note-label,
.card-kicker,
.feature-kicker,
.solution-tag {
    display: inline-flex;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
}

.hero-note span:last-child {
    display: block;
    margin-top: 0.4rem;
    color: var(--text-main);
}

.hero-panel {
    display: grid;
    gap: 1rem;
}

.hero-card-grid,
.signal-grid,
.solution-grid,
.feature-grid {
    display: grid;
    gap: 1rem;
}

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

.hero-card,
.signal-card,
.solution-card,
.feature-card,
.workflow-step,
.contact-card {
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
        var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 1.3rem 1.35rem;
}

.hero-card strong {
    display: block;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.hero-card-main {
    min-height: 16rem;
    padding: 1.5rem;
}

.hero-card-main h2 {
    margin: 0.65rem 0 0.65rem;
    font-size: 2rem;
}

.signal-section {
    padding: 0.2rem 0 1rem;
}

.signal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signal-card {
    padding: 1.4rem;
}

.signal-card span,
.workflow-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-family: "Sora", sans-serif;
    font-size: 0.84rem;
    color: white;
}

.signal-card h3,
.solution-card h3,
.feature-card h3 {
    margin: 1rem 0 0.6rem;
    font-size: 1.2rem;
}

.content-section {
    padding: 2rem 0 1rem;
}

.content-section-alt {
    padding-top: 3rem;
}

.section-head {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1.8rem;
}

.solution-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-card,
.feature-card {
    padding: 1.45rem;
}

.solution-card ul {
    margin: 1rem 0 0;
    padding-left: 1.15rem;
    color: var(--text-muted);
}

.solution-card li + li {
    margin-top: 0.45rem;
}

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

.workflow-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.2rem;
    align-items: start;
}

.workflow-grid {
    display: grid;
    gap: 1rem;
}

.workflow-step {
    padding: 1.4rem;
}

.workflow-step p {
    margin-top: 0.9rem;
}

.coverage-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.coverage-chip {
    padding: 0.85rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
}

.contact-section {
    padding: 3rem 0 4.2rem;
}

.contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    gap: 1.2rem;
    align-items: stretch;
}

.contact-card {
    padding: 1.35rem;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-row span:first-child {
    color: var(--text-muted);
}

.contact-row:last-of-type {
    margin-bottom: 1rem;
}

.site-footer {
    padding: 0 0 2.5rem;
}

.footer-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner strong {
    display: block;
    margin-bottom: 0.55rem;
}

.footer-meta {
    display: grid;
    gap: 0.3rem;
    text-align: right;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero-grid,
    .workflow-shell,
    .contact-shell,
    .signal-grid,
    .solution-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 840px) {
    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 16px;
        left: 16px;
        padding: 1rem;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(7, 18, 25, 0.96);
        box-shadow: var(--shadow);
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 0.2rem 0;
    }

    .hero-section {
        padding-top: 5rem;
    }

    .hero-card-grid {
        grid-template-columns: 1fr;
    }
}

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

    .hero-copy h1,
    .section-head h2,
    .workflow-copy h2,
    .contact-copy h2 {
        max-width: none;
        font-size: clamp(2.2rem, 12vw, 3.2rem);
    }

    .hero-actions,
    .footer-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-row {
        flex-direction: column;
    }

    .footer-meta {
        text-align: left;
    }
}
