:root {
    --color-brand-violet: #7c2efe;
    --color-brand-cyan: #33bbe5;
    --color-brand-ink: #111224;
    --color-brand-soft: #f5f4ff;
    --color-brand-cloud: #f4fbfd;
    --color-brand-line: rgba(17, 18, 36, 0.1);
    --font-sans: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, sans-serif;
    --shadow-glow: 0 28px 90px rgba(124, 46, 254, 0.14);
    --shadow-card: 0 24px 70px rgba(17, 18, 36, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-brand-ink);
    background: radial-gradient(circle at top left, rgba(51, 187, 229, 0.16), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(124, 46, 254, 0.14), transparent 26%),
    linear-gradient(180deg, #fcfdff 0%, #f8faff 48%, #ffffff 100%);
}

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

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

.page-shell {
    position: relative;
    overflow: clip;
}

.ambient {
    pointer-events: none;
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    filter: blur(12px);
    opacity: 0.55;
}

.ambient-one {
    top: 7rem;
    right: -8rem;
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle, rgba(124, 46, 254, 0.18), transparent 68%);
}

.ambient-two {
    top: 34rem;
    left: -7rem;
    width: 20rem;
    height: 20rem;
    background: radial-gradient(circle, rgba(51, 187, 229, 0.18), transparent 70%);
}

h1,
h2,
h3 {
    font-weight: bold;
}

.shell {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.glass-card {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-card);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    transition: background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease, backdrop-filter 240ms ease;
}

.site-header.is-scrolled {
    background: rgba(252, 253, 255, 0.72);
    backdrop-filter: blur(22px) saturate(1.1);
    -webkit-backdrop-filter: blur(22px) saturate(1.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 12px 40px rgba(17, 18, 36, 0.05);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 0;
    transition: padding 220ms ease;
}

.site-header.is-scrolled .site-header-inner {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand-mark-icon,
.footer-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    box-shadow: 0 12px 24px rgba(17, 18, 36, 0.12);
}

.brand-mark-copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.brand-mark-kicker,
.footer-title {
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-mark-subtitle,
.footer-copy {
    font-size: 0.84rem;
    color: rgba(17, 18, 36, 0.62);
}

.brand-mark-subtitle {
    transition: opacity 180ms ease, transform 180ms ease, max-height 180ms ease, margin 180ms ease;
    transform-origin: top left;
    max-height: 2rem;
}

.site-header.is-scrolled .brand-mark-subtitle {
    opacity: 0;
    transform: translateY(-4px);
    max-height: 0;
    margin-top: -0.15rem;
    overflow: hidden;
}

.footer-title,
.footer-copy {
    margin: 0;
}

.footer-copy {
    margin-top: 0.12rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    font-size: 0.95rem;
    color: rgba(17, 18, 36, 0.72);
}

.main-nav a,
.footer-links a {
    transition: color 180ms ease;
}

.main-nav a:hover,
.footer-links a:hover {
    color: var(--color-brand-violet);
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.header-cta {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

.header-cta-label-short {
    display: none;
}

.button {
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.header-cta:hover,
.button:hover {
    transform: translateY(-1px);
}

.header-cta,
.button-primary {
    color: white;
    background: linear-gradient(135deg, var(--color-brand-ink), #252847);
    box-shadow: var(--shadow-glow);
}

.header-cta:hover,
.button-primary:hover {
    background: linear-gradient(135deg, var(--color-brand-violet), #4a6fff);
}

.button-secondary {
    border: 1px solid var(--color-brand-line);
    background: rgba(255, 255, 255, 0.72);
    color: var(--color-brand-ink);
}

.button-disabled {
    border: 1px solid rgba(17, 18, 36, 0.08);
    background: rgba(17, 18, 36, 0.06);
    color: rgba(17, 18, 36, 0.42);
    box-shadow: none;
    cursor: default;
    pointer-events: none;
}

.button-secondary:hover {
    border-color: rgba(124, 46, 254, 0.28);
    color: var(--color-brand-violet);
}

.hero,
.section-block,
.site-footer {
    position: relative;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.82fr);
    gap: 2rem;
    padding: 5rem 0 2.5rem;
    align-items: end;
}

.eyebrow {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-brand-violet);
}

.hero h1,
.section-heading h2 {
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 0.95;
}

.hero h1 {
    max-width: 8.5ch;
    margin-top: 1rem;
    font-size: clamp(3.15rem, 7vw, 5.6rem);
}

.hero-intro,
.section-heading p,
.capability-card p,
.app-summary,
.approach-list p {
    color: rgba(17, 18, 36, 0.72);
    line-height: 1.8;
}

.hero-intro {
    max-width: 36rem;
    margin: 1.6rem 0 0;
    font-size: 1.08rem;
}

.hero-actions,
.app-actions,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-actions {
    margin-top: 2rem;
}

.hero-panel {
    position: relative;
    padding: 1.35rem;
    border-radius: 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.78)),
      linear-gradient(135deg, rgba(124, 46, 254, 0.08), rgba(51, 187, 229, 0.12));
    overflow: hidden;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 7.5rem;
    background: radial-gradient(circle at top left, rgba(124, 46, 254, 0.13), transparent 52%);
    pointer-events: none;
}

.hero-panel-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(17, 18, 36, 0.08);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(17, 18, 36, 0.45);
}

.hero-panel-lead {
    position: relative;
    margin-top: 1rem;
    padding: 1.2rem 1.2rem 1.3rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(17, 18, 36, 0.97), rgba(45, 49, 87, 0.96));
    box-shadow: 0 18px 48px rgba(17, 18, 36, 0.14);
}

.hero-panel-kicker {
    margin: 0;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
}

.hero-panel-lead h2 {
    margin: 0.65rem 0 0;
    font-size: clamp(1.35rem, 2.1vw, 1.8rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: white;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.hero-grid article,
.capability-card,
.approach-list article {
    border-radius: 1.4rem;
    border: 1px solid rgba(17, 18, 36, 0.08);
    background: rgba(255, 255, 255, 0.68);
}

.hero-grid article {
    min-height: 10.5rem;
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 34px rgba(17, 18, 36, 0.035);
}

.hero-grid strong,
.capability-card h3,
.app-card h3,
.approach-list strong {
    display: block;
    letter-spacing: -0.03em;
}

.hero-grid strong {
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
}

.hero-grid p {
    margin: 0;
    color: rgba(17, 18, 36, 0.68);
    line-height: 1.7;
}

.section-block {
    padding: 5.5rem 0 0;
}

.section-heading {
    max-width: 46rem;
}

.section-heading h2 {
    margin-top: 0.85rem;
    font-size: clamp(2.3rem, 5vw, 4.4rem);
}

.section-heading p {
    margin: 1.25rem 0 0;
    max-width: 41rem;
    font-size: 1.02rem;
}

.capability-grid,
.apps-grid,
.approach-panel {
    margin-top: 2rem;
}

.platform-group + .platform-group {
    margin-top: 2.25rem;
}

.platform-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.platform-label {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.platform-copy {
    margin: 0;
    color: rgba(17, 18, 36, 0.6);
}

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

.capability-card {
    padding: 1.45rem;
    box-shadow: 0 18px 48px rgba(17, 18, 36, 0.04);
}

.capability-index {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-brand-violet);
}

.capability-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

.capability-card p,
.app-summary {
    margin: 0.85rem 0 0;
}

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

.app-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 2rem;
}

.app-card-top,
.app-summary {
    flex-shrink: 0;
}

.app-card-top {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.app-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.app-icon-t {
    background: linear-gradient(135deg, #111224, #4b7fff);
}

.app-icon-v {
    background: linear-gradient(135deg, #7c2efe, #33bbe5);
}

.app-icon-a {
    background: linear-gradient(135deg, #111224, #7c2efe);
}

.app-icon-m {
    background: linear-gradient(135deg, #28405b, #62b8d9);
}

.app-label {
    margin: 0 0 0.25rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(17, 18, 36, 0.48);
}

.app-card h3 {
    margin: 0;
    font-size: 1.45rem;
}

.app-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.25rem;
    color: rgba(17, 18, 36, 0.68);
}

.app-stars {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: #f2b94b;
}

.app-rating-copy {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(17, 18, 36, 0.46);
}

.app-actions {
    margin-top: auto;
    width: 100%;
    flex-wrap: nowrap;
}

.app-actions .button {
    flex: 1 1 0;
}

.approach-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 1rem;
    padding: 1rem;
    border-radius: 2rem;
    background: linear-gradient(180deg, rgba(17, 18, 36, 0.98), rgba(31, 34, 63, 0.95));
    box-shadow: 0 28px 90px rgba(17, 18, 36, 0.12);
}

.approach-copy {
    padding: 1.4rem;
}

.approach-copy .eyebrow,
.approach-copy h2,
.approach-copy p,
.approach-list strong,
.approach-list p {
    color: white;
}

.approach-copy p,
.approach-list p {
    color: rgba(255, 255, 255, 0.74);
}

.approach-list {
    display: grid;
    gap: 1rem;
}

.approach-list article {
    padding: 1.4rem;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.approach-list strong {
    font-size: 1.1rem;
}

.approach-list p {
    margin: 0.65rem 0 0;
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: end;
    padding: 1.4rem;
    border-radius: 2rem;
}

.contact-copy {
    max-width: 38rem;
}

.contact-actions {
    display: grid;
    gap: 0.85rem;
    justify-items: start;
}

.contact-link {
    min-width: 15rem;
}

.contact-note {
    margin: 0;
    max-width: 18rem;
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(17, 18, 36, 0.58);
}

.legacy-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
    gap: 1rem;
    align-items: end;
}

.legacy-copy {
    padding-right: 1rem;
}

.legacy-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.4rem;
    border-radius: 2rem;
    align-self: end;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.76)),
      linear-gradient(135deg, rgba(124, 46, 254, 0.05), rgba(51, 187, 229, 0.08));
}

.legacy-label {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(17, 18, 36, 0.46);
}

.legacy-note {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(17, 18, 36, 0.72);
}

.legacy-link {
    align-self: flex-start;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 5rem 0 2.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    color: rgba(17, 18, 36, 0.68);
}

main section[id] {
    scroll-margin-top: 6rem;
}

.font-sans {
    font-family: var(--font-sans);
}

.text-brand-ink {
    color: var(--color-brand-ink);
}

@media (max-width: 980px) {
    .hero,
    .approach-panel,
    .contact-panel,
    .legacy-panel,
    .capability-grid,
    .apps-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 4rem;
    }

    .hero h1 {
        max-width: 10ch;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        gap: 1.15rem;
    }

    .platform-heading {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 1.5rem;
    }
}

@media (max-width: 720px) {
    .shell {
        width: min(1120px, calc(100% - 1.25rem));
    }

    .site-header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.95rem 0;
    }

    .main-nav {
        display: none;
    }

    .brand-mark {
        gap: 0.7rem;
        flex: 1 1 auto;
        min-width: 0;
    }

    .brand-mark-icon {
        width: 2.7rem;
        height: 2.7rem;
        border-radius: 0.9rem;
    }

    .brand-mark-copy {
        display: grid;
        gap: 0.1rem;
    }

    .brand-mark-kicker {
        font-size: 0.9rem;
        line-height: 1.1;
    }

    .brand-mark-subtitle {
        display: none;
    }

    .header-cta {
        padding: 0.68rem 0.95rem;
        font-size: 0.82rem;
        flex: 0 0 auto;
    }

    .header-cta-label-full {
        display: none;
    }

    .header-cta-label-short {
        display: inline;
    }

    .hero {
        padding-top: 2.75rem;
    }

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

    .hero-panel,
    .app-card,
    .contact-panel,
    .approach-copy,
    .approach-list article {
        padding: 1rem;
    }

    .section-block {
        padding-top: 4.25rem;
    }

    .site-footer {
        padding-top: 4.25rem;
    }
}
