:root {
    --bg: #dfe7ee;
    --bg-soft: #edf3f7;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-strong: #ffffff;
    --surface-dark: #16232d;
    --surface-dark-soft: #213341;
    --text: #14212c;
    --text-soft: #526679;
    --line: rgba(20, 33, 44, 0.12);
    --accent: #156c7f;
    --accent-strong: #0d5262;
    --accent-soft: rgba(21, 108, 127, 0.14);
    --shadow: 0 28px 60px rgba(24, 42, 58, 0.16);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(21, 108, 127, 0.18), transparent 34%),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.8), transparent 28%),
        linear-gradient(180deg, #e6edf3 0%, #d8e1e9 100%);
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    z-index: 0;
    pointer-events: none;
    filter: blur(20px);
}

body::before {
    top: 110px;
    left: -70px;
    width: 240px;
    height: 240px;
    background: rgba(21, 108, 127, 0.18);
    border-radius: 50%;
}

body::after {
    right: -80px;
    bottom: 120px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

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

.page-shell {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    padding: 28px 0 48px;
}

.topbar,
.hero,
.feature-strip,
.closing-band {
    position: relative;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.brand-mark {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.brand-kicker,
.eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent);
}

.brand-caption {
    font-size: 0.94rem;
    color: var(--text-soft);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 30px;
    align-items: stretch;
    margin-bottom: 28px;
}

.hero-copy,
.feature-strip,
.closing-band {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.58) 100%);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.hero-copy {
    padding: 46px;
    border-radius: var(--radius-xl);
}

.hero-copy h1,
.section-heading h2,
.closing-band h2 {
    margin: 14px 0 0;
    font-family: "Playfair Display", serif;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.hero-copy h1 {
    font-size: clamp(2rem, 2.55vw, 2.9rem);
}

.section-heading h2,
.closing-band h2 {
    font-size: clamp(2.7rem, 4.15vw, 4.6rem);
}

.lead {
    max-width: 62ch;
    margin: 24px 0 0;
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--text-soft);
}

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

.primary-button,
.secondary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-button {
    color: #f4fbff;
    background: linear-gradient(135deg, var(--accent) 0%, #0f8297 100%);
    box-shadow: 0 16px 34px rgba(21, 108, 127, 0.24);
}

.secondary-button,
.ghost-button {
    color: var(--text);
    background: rgba(255, 255, 255, 0.66);
    border-color: rgba(20, 33, 44, 0.12);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px);
}

.hero-points {
    display: grid;
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    color: var(--text-soft);
}

.hero-points li {
    position: relative;
    padding-left: 24px;
}

.hero-points li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #7ac9d6);
    box-shadow: 0 0 0 6px var(--accent-soft);
}

.hero-panel {
    position: relative;
    min-height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(20, 32, 42, 0.92) 0%, rgba(13, 24, 34, 0.96) 100%);
    box-shadow: var(--shadow);
}

.panel-glow {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(40, 165, 185, 0.34) 0%, transparent 70%);
}

.dashboard-card {
    position: relative;
    height: 100%;
    padding: 24px;
}

.dashboard-header {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.34);
}

.dashboard-body {
    display: grid;
    gap: 18px;
    color: rgba(237, 246, 249, 0.84);
}

.metric-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-row span {
    color: rgba(237, 246, 249, 0.68);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.metric-grid article {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-grid small {
    display: block;
    margin-bottom: 10px;
    color: rgba(237, 246, 249, 0.6);
}

.metric-grid strong {
    font-size: 1.02rem;
}

.pipeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 6px;
}

.pipeline span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 16px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 82px;
    padding: 28px;
    border-radius: var(--radius-lg);
}

.feature-strip article {
    padding: 12px 10px;
}

.feature-strip strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.02rem;
}

.feature-strip p,
.feature-card p {
    margin: 0;
    line-height: 1.7;
    color: var(--text-soft);
}

.features {
    margin-bottom: 82px;
}

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

.section-heading h2 {
    max-width: 18ch;
    font-size: clamp(2.2rem, 4.2vw, 4rem);
}

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

.feature-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: 0 18px 34px rgba(24, 42, 58, 0.1);
}

.feature-index {
    display: inline-flex;
    min-width: 52px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-weight: 800;
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 1.18rem;
}

.closing-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 34px;
    border-radius: var(--radius-lg);
    margin-bottom: 18px;
}

.closing-band h2 {
    max-width: 18ch;
    font-size: clamp(1.45rem, 2vw, 2.15rem);
}

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

.reveal[data-reveal="left"] {
    transform: translateX(24px);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1024px) {
    .hero,
    .feature-grid,
    .feature-strip {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .closing-band h2 {
        max-width: none;
    }

    .closing-band {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(calc(100% - 24px), var(--container));
        padding-top: 18px;
    }

    .topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-copy,
    .closing-band,
    .feature-strip,
    .feature-card {
        padding-left: 22px;
        padding-right: 22px;
    }

    .hero-copy {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .metric-grid,
    .pipeline {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: clamp(1.7rem, 7vw, 2.2rem);
    }

    .section-heading h2,
    .closing-band h2 {
        font-size: clamp(2rem, 10vw, 2.9rem);
    }

    .closing-band h2 {
        max-width: none;
        font-size: clamp(1.35rem, 6vw, 1.9rem);
    }
}
