:root {
    --page-max-width: 1200px;
    --surface-glass: rgba(255, 255, 255, 0.72);
    --surface-shadow:
        0 18px 60px rgba(32, 46, 71, 0.12),
        0 2px 12px rgba(1, 103, 198, 0.08);
    --surface-shadow-soft:
        0 14px 36px rgba(32, 46, 71, 0.08),
        0 1px 8px rgba(1, 103, 198, 0.05);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(1, 103, 198, 0.12), transparent 26%),
        radial-gradient(circle at top right, rgba(241, 40, 49, 0.08), transparent 22%),
        linear-gradient(180deg, #f8fbff 0%, #f4f7fb 38%, #eef3f9 100%);
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(calc(100% - 2rem), var(--page-max-width));
    margin: 0 auto;
}

.site-shell {
    overflow: clip;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(244, 247, 251, 0.76);
    border-bottom: 1px solid rgba(215, 223, 234, 0.85);
}

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

.brand img {
    width: clamp(130px, 14vw, 162px);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: var(--brand-navy);
    font-size: 0.96rem;
    font-weight: 500;
}

.site-nav a:not(.button):hover,
.site-nav a:not(.button):focus-visible {
    color: var(--brand-blue);
}

.nav-cta {
    margin-left: 0.75rem;
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 0;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--brand-navy);
    border-radius: 999px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, #0167c6 0%, #2a8de7 100%);
    color: #fff;
    box-shadow: 0 16px 30px rgba(1, 103, 198, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
    box-shadow: 0 20px 40px rgba(1, 103, 198, 0.28);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--brand-navy);
    border-color: rgba(32, 46, 71, 0.12);
}

.button-large {
    min-width: 200px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-blue);
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-red));
}

.eyebrow-inverse {
    color: #c6daf8;
}

.eyebrow-inverse::before {
    background: linear-gradient(90deg, #5aa7ef, #f12831);
}

.hero {
    --hero-overlay-fade-start: 39%;
    --hero-overlay-left: 45%;
    --hero-overlay-solid: 52%;
    position: relative;
    min-height: clamp(36rem, 88vh, 60rem);
    padding: 0;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(248, 251, 255, 0.86) 0%, rgba(244, 247, 251, 0.66) 45%, rgba(244, 247, 251, 0.42) 100%);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-media-base {
    z-index: 0;
}

.hero-media-overlay {
    z-index: 1;
    pointer-events: none;
    -webkit-mask-image:
        linear-gradient(
            90deg,
            transparent 0%,
            transparent var(--hero-overlay-fade-start),
            rgba(0, 0, 0, 0.08) calc(var(--hero-overlay-fade-start) + 2%),
            rgba(0, 0, 0, 0.38) calc(var(--hero-overlay-left) - 1%),
            rgba(0, 0, 0, 0.68) var(--hero-overlay-left),
            #000 var(--hero-overlay-solid),
            #000 100%
        );
    mask-image:
        linear-gradient(
            90deg,
            transparent 0%,
            transparent var(--hero-overlay-fade-start),
            rgba(0, 0, 0, 0.08) calc(var(--hero-overlay-fade-start) + 2%),
            rgba(0, 0, 0, 0.38) calc(var(--hero-overlay-left) - 1%),
            rgba(0, 0, 0, 0.68) var(--hero-overlay-left),
            #000 var(--hero-overlay-solid),
            #000 100%
        );
}

.hero-media-overlay .hero-video {
    filter: blur(20px) saturate(0.86) brightness(0.82);
    transform: scale(1.06);
}

.hero-title-shell {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    pointer-events: none;
    padding-top: clamp(4rem, 10.5vh, 6.5rem);
    padding-inline-start: clamp(1rem, 2vw, 1.5rem);
    padding-inline-end: clamp(4rem, 6vw, 6.5rem);
}

.hero-title-wrap {
    width: max-content;
    max-width: min(100%, 43rem);
    margin-left: auto;
    margin-right: 0;
    padding: 0;
    pointer-events: auto;
}

.hero-title {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 600;
    text-align: right;
    font-size: clamp(2rem, 4vw, 4.2rem);
    line-height: 1.1;
    letter-spacing: 0.015em;
    color: #ffffff;
}

.hero-title span {
    display: block;
    white-space: nowrap;
}

.hero-subtitle {
    max-width: min(100%, 34rem);
    margin: 0.9rem 0 0 auto;
    font-size: clamp(0.96rem, 1.2vw, 1.08rem);
    line-height: 1.62;
    letter-spacing: 0.01em;
    text-align: right;
    text-wrap: balance;
    color: rgba(255, 255, 255, 0.92);
}

.hero-offer-panel {
    width: min(100%, 31rem);
    margin: 0.85rem 0 0 auto;
    padding: 0.85rem 1rem 0.9rem;
    background: rgba(41, 51, 68, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: auto;
}

.hero-offer {
    max-width: none;
    margin: 0;
    font-size: clamp(0.92rem, 1.08vw, 1rem);
    line-height: 1.48;
    letter-spacing: 0.01em;
    text-align: right;
    color: rgba(255, 255, 255, 0.88);
}

.hero-cta-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 0.9rem;
    margin-left: auto;
}

.hero-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(8.9rem, calc((100% - 0.8rem) / 2));
    padding: 0;
    text-decoration: none;
    transition:
        filter 180ms ease,
        transform 180ms ease;
    filter: drop-shadow(0 12px 22px rgba(7, 18, 36, 0.22));
}

.hero-cta-link:hover,
.hero-cta-link:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.03) drop-shadow(0 16px 28px rgba(7, 18, 36, 0.28));
}

.hero-cta-image {
    display: block;
    width: 100%;
    height: auto;
}

.hero-cta-link-strong {
    width: min(8.9rem, calc((100% - 0.8rem) / 2));
}

.hero-cta-link-strong:hover,
.hero-cta-link-strong:focus-visible {
    filter: brightness(1.03) drop-shadow(0 16px 28px rgba(7, 18, 36, 0.28));
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.hero-spacer {
    min-height: clamp(36rem, 88vh, 60rem);
}

.hero-copy {
    position: relative;
    max-width: 640px;
    padding: 1.4rem 0;
}

.hero-copy::before {
    content: "";
    position: absolute;
    inset: -1.5rem -2.25rem -1.5rem -1.4rem;
    z-index: -1;
    border-radius: 36px;
    background:
        linear-gradient(90deg, rgba(248, 251, 255, 0.7) 0%, rgba(248, 251, 255, 0.5) 56%, rgba(248, 251, 255, 0.16) 100%);
    backdrop-filter: blur(12px);
}

.hero-copy h1 {
    margin: 1rem 0 1rem;
    max-width: 11ch;
    font-size: clamp(2.8rem, 5vw, 5.4rem);
    line-height: 0.93;
    letter-spacing: -0.05em;
    color: var(--brand-ink);
    text-wrap: balance;
}

.hero-text {
    max-width: 60ch;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.75;
    color: #42536f;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 2rem 0 1.8rem;
}

.hero-points {
    display: grid;
    gap: 0.8rem;
    padding: 0;
    margin: 0;
    list-style: none;
    color: #3b4c67;
}

.hero-points li {
    position: relative;
    padding-left: 1.6rem;
    line-height: 1.6;
}

.hero-points li::before {
    content: "";
    position: absolute;
    top: 0.7rem;
    left: 0;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
    box-shadow: 0 0 0 5px rgba(1, 103, 198, 0.08);
}

.hero-stage {
    position: relative;
    min-height: 620px;
}

.hero-panel {
    position: absolute;
    border-radius: 32px;
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow: var(--surface-shadow);
    backdrop-filter: blur(12px);
}

.panel-primary {
    top: 1.5rem;
    right: 0;
    width: min(100%, 500px);
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 246, 253, 0.9) 100%);
}

.panel-secondary {
    right: 3.4rem;
    bottom: 2rem;
    width: min(68%, 332px);
    background:
        linear-gradient(180deg, rgba(32, 46, 71, 0.92) 0%, rgba(22, 34, 55, 0.9) 100%);
    color: #f2f6fb;
}

.panel-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5a6f8d;
}

.panel-secondary .panel-label {
    color: rgba(242, 246, 251, 0.7);
}

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

.metric-card,
.flow-card {
    border-radius: 24px;
    padding: 1.15rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(32, 46, 71, 0.08);
}

.metric-card.accent {
    background: linear-gradient(135deg, rgba(1, 103, 198, 0.1), rgba(241, 40, 49, 0.08));
}

.metric-kicker,
.summary-kicker,
.proof-kicker,
.app-badge {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6681a5;
}

.metric-card strong {
    display: block;
    margin-top: 0.55rem;
    font-size: 2rem;
    line-height: 1;
    color: var(--brand-navy);
}

.metric-note {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.95rem;
    color: #4b5d79;
}

.flow-card {
    margin-top: 1rem;
}

.flow-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-navy);
}

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

.flow-grid span,
.integration-cloud span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    min-height: 44px;
    padding: 0.6rem 0.95rem;
    border: 1px solid rgba(1, 103, 198, 0.12);
    background: rgba(255, 255, 255, 0.86);
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--brand-navy);
}

.pipeline-list {
    display: grid;
    gap: 0.95rem;
    margin-top: 1rem;
}

.pipeline-list div {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pipeline-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.pipeline-list span {
    color: rgba(242, 246, 251, 0.75);
}

.pipeline-list strong {
    font-size: 1.25rem;
}

.proof-strip,
.platform-section,
.products-section,
.workflow-section,
.integrations-section,
.apps-section,
.faq-section,
.cta-section {
    padding: 2.5rem 0;
}

.split-video-section {
    padding: 1.75rem 0 2rem;
}

.split-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: center;
    padding: clamp(0.95rem, 1.8vw, 1.3rem);
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(244, 247, 251, 0.78) 100%);
    border: 1px solid rgba(32, 46, 71, 0.08);
    box-shadow: var(--surface-shadow-soft);
}

.split-video-pane {
    min-height: clamp(12.5rem, 22vw, 16.5rem);
    border-radius: 26px;
    overflow: hidden;
}

.split-video-pane-copy {
    display: flex;
    align-items: center;
    padding: clamp(1rem, 2vw, 1.75rem) clamp(0.8rem, 1.4vw, 1.1rem) clamp(1rem, 2vw, 1.75rem) clamp(2rem, 4vw, 3.25rem);
    background: transparent;
}

.split-video-copy {
    display: grid;
    gap: 0.7rem;
    max-width: 34rem;
}

.split-video-title {
    margin: 0;
    color: var(--brand-navy);
    font-size: clamp(1.1rem, 1.35vw, 1.35rem);
    line-height: 1.3;
    letter-spacing: 0.02em;
    font-weight: 600;
}

.split-video-marketer {
    display: grid;
    gap: 0;
    align-items: start;
    justify-items: center;
    width: fit-content;
}

.split-video-marketer-label {
    color: var(--brand-navy);
    font-size: clamp(2.35rem, 3.8vw, 3.85rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.98;
    text-transform: none;
    text-align: center;
}

.split-video-marketer-logo {
    width: clamp(8.75rem, 15vw, 12rem);
    height: auto;
    margin-top: -2.75rem;
    margin-bottom: -3.35rem;
}

.split-video-tagline {
    color: rgba(32, 46, 71, 0.78);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    line-height: 1.05;
    margin-top: -1rem;
}

.split-video-more {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    color: var(--brand-blue);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-top: 1.35rem;
    transition: transform 180ms ease, color 180ms ease;
}

.split-video-more:hover {
    color: var(--brand-navy);
    transform: translateY(-1px);
}

.split-video-pane-media {
    position: relative;
    width: min(100%, 25rem);
    justify-self: end;
    margin-right: clamp(1.4rem, 3vw, 2.35rem);
    box-shadow: 0 16px 34px rgba(32, 46, 71, 0.14);
    background: #0f1829;
}

.split-video-pane-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stack-showcase-section {
    position: relative;
    padding: clamp(3.5rem, 6vw, 5rem) 0;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(90, 167, 239, 0.18), transparent 24%),
        radial-gradient(circle at bottom right, rgba(241, 40, 49, 0.14), transparent 22%),
        linear-gradient(180deg, #202e47 0%, #172338 100%);
}

.stack-showcase-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 92%);
    pointer-events: none;
}

.stack-showcase-section .container {
    position: relative;
    z-index: 1;
}

.stack-showcase-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.stack-showcase-heading h2 {
    margin: 0.9rem 0 0.9rem;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.stack-showcase-heading p {
    margin: 0;
    color: rgba(231, 239, 250, 0.84);
    line-height: 1.72;
}

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

.stack-showcase-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    min-height: 220px;
    padding: 1.3rem;
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(236, 242, 250, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow:
        0 20px 40px rgba(8, 17, 33, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transition:
        transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 220ms ease,
        border-color 220ms ease,
        background 220ms ease;
}

.stack-showcase-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(1, 103, 198, 0.18), transparent 34%),
        radial-gradient(circle at bottom left, rgba(241, 40, 49, 0.1), transparent 28%);
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

.stack-showcase-card:hover,
.stack-showcase-card:focus-within {
    transform: translateY(-8px);
    border-color: rgba(90, 167, 239, 0.34);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 246, 253, 0.95) 100%);
    box-shadow:
        0 28px 54px rgba(8, 17, 33, 0.26),
        0 8px 20px rgba(1, 103, 198, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.stack-showcase-card:hover::before,
.stack-showcase-card:focus-within::before {
    opacity: 1;
}

.stack-showcase-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.stack-showcase-card-top h3 {
    flex: 1;
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.24;
    color: var(--brand-navy);
    text-align: right;
    transition: color 220ms ease;
}

.stack-showcase-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(1, 103, 198, 0.14), rgba(241, 40, 49, 0.1));
    color: var(--brand-blue);
    box-shadow: inset 0 0 0 1px rgba(1, 103, 198, 0.08);
    transition:
        transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 220ms ease,
        background 220ms ease,
        color 220ms ease;
}

.stack-showcase-card:hover .stack-showcase-icon,
.stack-showcase-card:focus-within .stack-showcase-icon {
    transform: translateY(-2px) scale(1.06);
    background: linear-gradient(135deg, rgba(1, 103, 198, 0.2), rgba(241, 40, 49, 0.16));
    color: var(--brand-navy);
    box-shadow:
        0 10px 20px rgba(1, 103, 198, 0.14),
        inset 0 0 0 1px rgba(1, 103, 198, 0.12);
}

.stack-showcase-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.stack-showcase-icon--image {
    width: 4rem;
    height: 4rem;
    padding: 0.28rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow:
        0 10px 18px rgba(32, 46, 71, 0.08),
        inset 0 0 0 1px rgba(1, 103, 198, 0.08);
}

.stack-showcase-icon--image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stack-showcase-card:hover .stack-showcase-card-top h3,
.stack-showcase-card:focus-within .stack-showcase-card-top h3 {
    color: var(--brand-blue);
}

.stack-showcase-card p {
    margin: 0;
    flex: 1;
    color: #4d617f;
    line-height: 1.68;
    text-align: center;
    transition: color 220ms ease;
}

.stack-showcase-card:hover p,
.stack-showcase-card:focus-within p {
    color: #344969;
}

.stack-showcase-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: auto;
    color: var(--brand-blue);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    transition: color 220ms ease, transform 220ms ease;
}

.stack-showcase-link span:last-child {
    transition: transform 220ms ease;
}

.stack-showcase-card:hover .stack-showcase-link,
.stack-showcase-card:focus-within .stack-showcase-link {
    color: var(--brand-navy);
}

.stack-showcase-card:hover .stack-showcase-link span:last-child,
.stack-showcase-card:focus-within .stack-showcase-link span:last-child {
    transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
    .stack-showcase-card,
    .stack-showcase-card::before,
    .stack-showcase-icon,
    .stack-showcase-card-top h3,
    .stack-showcase-card p,
    .stack-showcase-link,
    .stack-showcase-link span:last-child {
        transition: none;
    }

    .stack-showcase-card:hover,
    .stack-showcase-card:focus-within,
    .stack-showcase-card:hover .stack-showcase-icon,
    .stack-showcase-card:focus-within .stack-showcase-icon {
        transform: none;
    }
}

.proof-grid,
.platform-grid,
.workflow-cards,
.footer-grid {
    display: grid;
    gap: 1.2rem;
}

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

.proof-card,
.platform-card,
.workflow-card,
.summary-card,
.app-card,
.faq-list details,
.cta-card,
.footer-brand,
.site-nav.is-open {
    border-radius: 28px;
    background: var(--surface-glass);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--surface-shadow-soft);
}

.proof-card,
.platform-card,
.workflow-card,
.summary-card,
.app-card,
.faq-list details {
    padding: 1.5rem;
}

.proof-card h2,
.platform-card h3,
.workflow-card h3,
.cta-card h2 {
    margin: 0.65rem 0 0;
}

.proof-card h2 {
    font-size: 1.28rem;
    line-height: 1.35;
    color: var(--brand-navy);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.section-heading.narrow {
    max-width: 640px;
}

.section-heading h2 {
    margin: 0.9rem 0 0.8rem;
    font-size: clamp(2rem, 3.8vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: var(--brand-ink);
}

.section-heading p,
.platform-card p,
.workflow-card p,
.summary-card p,
.app-card p,
.cta-card p,
.footer-brand p,
.faq-list p {
    margin: 0;
    line-height: 1.72;
    color: #4a5d7c;
}

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

.platform-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 251, 255, 0.94) 100%);
}

.platform-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(1, 103, 198, 0.12), rgba(241, 40, 49, 0.12));
    color: var(--brand-blue);
    font-weight: 800;
}

.platform-card ul {
    margin: 1rem 0 0;
    padding-left: 1rem;
    color: #37506f;
    line-height: 1.65;
}

.product-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
}

.product-tab {
    border: 1px solid rgba(32, 46, 71, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--brand-navy);
    padding: 0.85rem 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        background-color 180ms ease,
        color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.product-tab:hover,
.product-tab:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(32, 46, 71, 0.1);
}

.product-tab.is-active {
    background: linear-gradient(135deg, #202e47 0%, #0167c6 100%);
    color: #fff;
    border-color: transparent;
}

.products-layout {
    display: grid;
    grid-template-columns: minmax(250px, 310px) minmax(0, 1fr);
    gap: 1.3rem;
    align-items: start;
}

.product-summary {
    position: sticky;
    top: 98px;
    display: grid;
    gap: 1rem;
}

.summary-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(232, 242, 252, 0.72));
}

.summary-card h3 {
    margin: 0.65rem 0;
    font-size: 1.4rem;
    color: var(--brand-navy);
}

.summary-card.subdued {
    background: rgba(255, 255, 255, 0.72);
}

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

.product-card {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    min-height: 230px;
    padding: 1.35rem;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(247, 250, 254, 0.95) 100%);
    border: 1px solid rgba(32, 46, 71, 0.08);
    box-shadow: var(--surface-shadow-soft);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.product-card:hover,
.product-card:focus-within {
    transform: translateY(-3px);
    border-color: rgba(1, 103, 198, 0.18);
    box-shadow: 0 20px 40px rgba(32, 46, 71, 0.12);
}

.product-card-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.product-tag {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(1, 103, 198, 0.1);
    color: var(--brand-blue);
}

.product-card h3 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.2;
    color: var(--brand-navy);
}

.product-card p {
    margin: 0;
    line-height: 1.64;
    color: #4a5d7c;
}

.product-link {
    margin-top: auto;
    color: var(--brand-blue);
    font-weight: 700;
}

.workflow-grid,
.apps-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.3rem;
    align-items: start;
}

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

.workflow-card:nth-child(2),
.app-card:nth-child(2) {
    transform: translateY(1.25rem);
}

.integrations-section {
    position: relative;
}

.integration-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.integration-cloud span:nth-child(3n) {
    background: rgba(232, 242, 252, 0.92);
}

.integration-cloud span:nth-child(4n) {
    background: rgba(255, 241, 242, 0.92);
}

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

.faq-list summary {
    cursor: pointer;
    list-style: none;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list details[open] summary {
    margin-bottom: 0.9rem;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(1.6rem, 3vw, 2.2rem);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86) 0%, rgba(232, 242, 252, 0.88) 100%);
}

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

.footer-grid {
    grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr));
    padding: 1.6rem;
}

.footer-grid h3 {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    color: var(--brand-navy);
}

.footer-grid a {
    display: block;
    margin-top: 0.65rem;
    color: #4a5d7c;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
    color: var(--brand-blue);
}

.footer-brand img {
    width: 150px;
    margin-bottom: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0 0;
    color: #617490;
    font-size: 0.94rem;
}

@media (max-width: 1100px) {
    .hero-grid,
    .workflow-grid,
    .apps-grid,
    .products-layout,
    .split-video-grid {
        grid-template-columns: 1fr;
    }

    .product-summary {
        position: static;
    }

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

    .split-video-pane-media {
        width: 100%;
        margin-right: 0;
    }

    .stack-showcase-grid,
    .platform-grid,
    .proof-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .header-inner {
        min-height: 72px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.7rem);
        right: 1rem;
        left: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }

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

    .nav-cta {
        margin-left: 0;
    }

    .hero-stage {
        min-height: 520px;
    }

    .panel-secondary {
        right: 1.2rem;
        bottom: 0;
    }

    .proof-grid,
    .platform-grid,
    .stack-showcase-grid,
    .product-grid,
    .workflow-cards,
    .apps-cards,
    .footer-grid,
    .metric-row {
        grid-template-columns: 1fr;
    }

    .split-video-pane-copy {
        min-height: auto;
        padding: 0.2rem 0 0.4rem;
    }

    .workflow-card:nth-child(2),
    .app-card:nth-child(2) {
        transform: none;
    }

    .cta-card,
    .footer-bottom {
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 1.25rem), var(--page-max-width));
    }

    .hero {
        --hero-overlay-fade-start: 40%;
        --hero-overlay-left: 45%;
        --hero-overlay-solid: 51%;
        min-height: clamp(32rem, 85vh, 42rem);
        padding-top: 0;
    }

    .hero-title-wrap {
        width: max-content;
        max-width: min(100%, 18rem);
        margin-right: 0;
        padding: 0;
    }

    .hero-title {
        font-size: clamp(1.34rem, 5.6vw, 2rem);
        line-height: 1.06;
    }

    .hero-subtitle {
        max-width: min(100%, 17rem);
        margin-top: 0.75rem;
        font-size: 0.82rem;
        line-height: 1.48;
    }

    .hero-offer {
        font-size: 0.8rem;
        line-height: 1.42;
    }

    .hero-offer-panel {
        width: min(100%, 17rem);
        margin-top: 0.7rem;
        padding: 0.82rem 0.85rem 0.86rem;
    }

    .hero-cta-row {
        gap: 0.65rem;
        margin-top: 0.82rem;
    }

    .hero-cta-link {
        width: min(7.6rem, calc((100% - 0.65rem) / 2));
    }

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

    .hero-copy::before {
        inset: -1rem -1rem -1rem -0.6rem;
        background:
            linear-gradient(180deg, rgba(248, 251, 255, 0.58) 0%, rgba(248, 251, 255, 0.36) 72%, rgba(248, 251, 255, 0.12) 100%);
    }

    .hero-stage {
        min-height: 460px;
    }

    .panel-primary,
    .panel-secondary {
        position: relative;
        width: 100%;
        right: auto;
        left: auto;
        bottom: auto;
        top: auto;
    }

    .panel-secondary {
        margin-top: 1rem;
    }
}
