/* ==================== Sagestream — design tokens ==================== */
:root {
    --ink: #14151a;
    --ink-soft: #4c4e55;
    --muted: #797b82;
    --line: #e6e6e2;
    --canvas: #fbfbf9;
    --surface: #ffffff;
    --lime: #8fd13f;
    --lime-deep: #4c7a1a;
    --teal: #287f78;
    --teal-soft: #e7f2f0;
    --blue-gray: #536579;
    --blue-gray-soft: #edf1f5;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius: var(--radius-md);
    --shadow-sm: 0 1px 2px rgba(20, 21, 26, 0.04), 0 1px 1px rgba(20, 21, 26, 0.03);
    --shadow-md: 0 8px 20px rgba(20, 21, 26, 0.07), 0 2px 6px rgba(20, 21, 26, 0.05);
    --shadow-lg: 0 20px 45px rgba(20, 21, 26, 0.12), 0 4px 12px rgba(20, 21, 26, 0.06);
    --container: 1120px;
    --font:
        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
        sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--canvas);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--lime-deep);
    outline-offset: 2px;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

body.is-navigating .reveal {
    transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transform: translateY(8px);
        transition:
            opacity 0.55s ease,
            transform 0.55s ease !important;
    }
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

em {
    color: var(--lime-deep);
    font-style: normal;
}

/* ==================== Nav ==================== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 251, 249, 0.85);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 12px 32px;
}

.nav-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: auto;
}

.nav-brand img {
    width: 195px;
    height: auto;
}

.cpro-name {
    color: var(--lime-deep);
    font-weight: 700;
    white-space: nowrap;
}

.cpro-name > span {
    color: var(--ink);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    position: relative;
    padding-bottom: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    border-bottom: 2px solid transparent;
    transition:
        color 0.15s ease,
        border-color 0.15s ease;
}

.nav-links a:hover {
    color: var(--ink);
    border-color: var(--lime);
}

.nav-links a.is-current {
    color: var(--ink);
    border-color: var(--lime);
    font-weight: 600;
}

.nav-mobile-action {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-ghost {
    padding-bottom: 4px;
    font-size: 14px;
    color: var(--ink-soft);
    border-bottom: 2px solid transparent;
    transition:
        color 0.15s ease,
        border-color 0.15s ease;
}

.nav-ghost:hover {
    color: var(--ink);
    border-color: var(--lime);
}

.nav-ghost.is-current {
    color: var(--ink);
    border-bottom: 2px solid var(--lime);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 20px;
    height: 1.5px;
    background: var(--ink);
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-dark {
    background: var(--ink);
    color: #fff;
}

.btn-dark:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-line {
    border-color: var(--line);
    color: var(--ink);
    background: transparent;
}

.btn-line:hover {
    border-color: var(--ink);
    transform: translateY(-1px);
}

.btn-lime {
    background: var(--lime);
    color: var(--ink);
}

.btn-lime:hover {
    background: #7ebd2e;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ==================== Hero ==================== */
.hero {
    position: relative;
    padding: 96px 0 100px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(36px, 4.2vw, 54px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero-lede {
    max-width: 460px;
    margin: 22px 0 0;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 36px;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(143, 209, 63, 0.28), transparent 72%);
    pointer-events: none;
    z-index: 0;
}

.overview-illustration {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    height: auto;
}

/* ==================== Overview strip ==================== */
.overview {
    padding: 0 0 72px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.overview-card {
    display: block;
    padding: 26px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}

.overview-card:hover {
    border-color: var(--ink);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.overview-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.overview-card p {
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.overview-go {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--lime-deep);
}

/* ==================== Icon badge ==================== */
.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.icon-a {
    background: var(--ink);
    color: var(--lime);
}

.icon-b {
    background: var(--lime);
    color: var(--ink);
}

.icon-c {
    background: rgba(143, 209, 63, 0.16);
    color: var(--lime-deep);
}

/* ==================== Product panel ==================== */
.panel-wrap {
    padding: 0 0 40px;
}

.panel {
    max-width: 920px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.panel-chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: #ededea;
    border-bottom: 1px solid var(--line);
}

.chrome-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d4d4cf;
}

.chrome-url {
    margin: 0 auto;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--surface);
    font-size: 11.5px;
    color: var(--muted);
}

.panel-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--line);
}

.panel-bar img {
    height: 20px;
    width: auto;
}

.panel-bar span {
    margin-left: auto;
    font-size: 12px;
    color: var(--muted);
}

.panel-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--line);
    gap: 1px;
}

.stat-tile {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px;
    background: var(--surface);
}

.stat-tile b {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.stat-tile span {
    font-size: 11.5px;
    color: var(--muted);
}

.panel-body {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1px;
    background: var(--line);
}

.panel-col {
    background: var(--surface);
    padding: 26px;
}

.panel-label {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

.panel-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.panel-row:last-child {
    border-bottom: none;
}

.panel-row span {
    flex: 0 0 auto;
    color: var(--muted);
}

.panel-row b {
    flex: 0 1 auto;
    font-weight: 500;
    text-align: right;
}

.chip {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: var(--radius-sm);
    background: rgba(143, 209, 63, 0.16);
    color: var(--lime-deep);
}

.chip.pending {
    background: rgba(121, 123, 130, 0.14);
    color: var(--ink-soft);
}

.bar-track {
    height: 5px;
    border-radius: 999px;
    background: var(--line);
    margin: 14px 0 8px;
}

.bar-track i {
    display: block;
    height: 100%;
    width: 82%;
    border-radius: 999px;
    background: var(--lime);
}

.panel-chart {
    padding: 20px 26px 24px;
    border-top: 1px solid var(--line);
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 64px;
}

.chart-bars span {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: var(--line);
}

.chart-bars span.is-peak {
    background: var(--lime);
}

.chart-bars .bar-1 {
    height: 38%;
}

.chart-bars .bar-2 {
    height: 52%;
}

.chart-bars .bar-3 {
    height: 34%;
}

.chart-bars .bar-4 {
    height: 66%;
}

.chart-bars .bar-5 {
    height: 92%;
}

.chart-bars .bar-6 {
    height: 58%;
}

/* ==================== Marquee strip ==================== */
.strip {
    background: var(--ink);
    color: #fff;
}

.strip .eyebrow {
    color: var(--lime);
}

.strip-inner {
    padding: 72px 32px 64px;
}

.strip-heading {
    max-width: 620px;
    margin-bottom: 34px;
}

.strip-heading h2 {
    margin: 8px 0 12px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
}

.strip-heading > p:last-child {
    max-width: 560px;
    color: #c7c8cd;
    font-size: 16px;
    line-height: 1.6;
}

.strip-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 48px 0 34px;
}

.strip-value {
    min-height: 220px;
    padding: 0 34px 0 26px;
    border-left: 1px solid #3a3b41;
}

.strip-value:first-child {
    padding-left: 0;
    border-left: 0;
}

.strip-value-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.strip-value h3 {
    margin: 28px 0 10px;
    font-size: 19px;
}

.strip-value p {
    max-width: 280px;
    color: #b6b7bd;
    font-size: 14px;
    line-height: 1.6;
}

.strip-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #3a3b41;
    color: #d5d6d9;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.strip-items span {
    position: relative;
    padding-left: 16px;
}

.strip-items span::before {
    content: '';
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lime);
}

/* ==================== Section shared ==================== */
section {
    padding: 120px 0;
}

.section-head {
    max-width: 620px;
    margin-bottom: 64px;
}

.section-head-sub {
    margin-top: 72px;
    padding-top: 56px;
    border-top: 1px solid var(--line);
    margin-bottom: 48px;
}

.section-head-sub h3 {
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lime-deep);
    margin-bottom: 14px;
}

.section-head h2 {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-head p {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.7;
}

/* ==================== Feature list ==================== */
.features {
    border-top: 1px solid var(--line);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.feature-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 60px;
}

.feature-grid.service-tile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 56px;
}

.feature {
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.feature h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature p {
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.65;
}

.check-list {
    list-style: none;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.check-list li {
    position: relative;
    padding-left: 20px;
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.55;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--lime);
}

/* ==================== Routing diagram ==================== */
.routing-diagram {
    display: grid;
    grid-template-columns: 0.8fr 1.15fr 1fr;
    gap: 20px;
    align-items: stretch;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #ffffff 0%, #f1f7ed 100%);
    box-shadow: var(--shadow-md);
}

.route-column,
.route-core {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.route-column-label {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.route-choice,
.route-outcome {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.78);
    color: var(--ink-soft);
    font-size: 13px;
}

.route-choice.is-selected {
    border-color: var(--teal);
    color: var(--ink);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.route-choice-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border: 2px solid var(--line);
    border-radius: 50%;
}

.route-choice.is-selected .route-choice-dot {
    border-color: var(--teal);
    background: var(--teal);
}

.route-core {
    justify-content: center;
    min-height: 250px;
    padding: 26px;
    overflow: hidden;
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.route-core-glow {
    position: absolute;
    top: -70px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(143, 209, 63, 0.24);
    filter: blur(20px);
}

.route-core > *:not(.route-core-glow) {
    position: relative;
}

.route-core .route-column-label {
    color: #9fd3cc;
}

.route-core h4 {
    font-size: 22px;
    line-height: 1.2;
}

.route-core-copy {
    max-width: 250px;
    color: #c7c8cd;
    font-size: 13.5px;
    line-height: 1.55;
}

.routing-rules {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.routing-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: var(--teal-soft);
    color: var(--teal);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.route-outcome {
    display: block;
}

.route-outcome strong,
.route-outcome span {
    display: block;
}

.route-outcome strong {
    color: var(--ink);
    font-size: 13px;
}

.route-outcome span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.route-outcome.is-final {
    border-color: var(--teal);
    background: var(--ink);
}

.route-outcome.is-final strong {
    color: #9fd3cc;
}

.route-outcome.is-final span {
    color: #c7c8cd;
}

/* ==================== Product cards ==================== */
.product-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.product-cards.single {
    grid-template-columns: 1fr;
    max-width: 640px;
}

.product-card {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.product-card.is-core {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.product-card.is-core .eyebrow {
    color: var(--lime);
}

.product-card.is-core p {
    color: #c7c8cd;
}

.product-card h3 {
    font-size: 21px;
    font-weight: 700;
    margin: 6px 0 12px;
}

.product-card > p {
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 20px;
}

.pill-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill-list li {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    background: rgba(143, 209, 63, 0.1);
    color: var(--lime-deep);
}

.product-card.is-core .pill-list li {
    background: rgba(143, 209, 63, 0.14);
    color: var(--lime);
}

.spec-list {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.spec-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13.5px;
}

.spec-row span {
    flex: 0 0 auto;
    color: #9a9ca3;
}

.spec-row b {
    flex: 0 1 auto;
    color: #fff;
    font-weight: 600;
    text-align: right;
}

/* ==================== Service grid ==================== */
.service-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-grid-3 {
    gap: 16px;
}

.service-grid .card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-grid .card p {
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.65;
}

/* ==================== Workflow ==================== */
.workflow {
    background: var(--ink);
    color: #fff;
}

.workflow .eyebrow {
    color: var(--lime);
}

.workflow .section-head p {
    color: #b6b7bd;
}

.workflow .cpro-name,
.product-card.is-core .cpro-name {
    color: var(--lime);
}

.workflow .cpro-name > span,
.product-card.is-core .cpro-name > span {
    color: inherit;
}

.workflow-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.workflow-step {
    padding-top: 20px;
    border-top: 1px solid #3a3b41;
}

.workflow-step span {
    display: block;
    font-size: 12px;
    color: var(--lime);
    margin-bottom: 40px;
}

.workflow-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.workflow-step p {
    color: #b6b7bd;
    font-size: 14px;
    line-height: 1.6;
}

/* ==================== Architecture ==================== */
.arch-stack {
    max-width: 640px;
    margin: 0 auto;
}

.arch-layer {
    padding: 28px 32px;
    border: 1px solid #3a3b41;
    border-radius: var(--radius-md);
    background: #1c1d22;
    box-shadow: var(--shadow-md);
}

.arch-tag {
    display: inline-block;
    padding: 4px 9px;
    border-radius: var(--radius-sm);
    background: rgba(143, 209, 63, 0.14);
    color: var(--lime);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.arch-layer h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
}

.arch-layer p {
    color: #b6b7bd;
    font-size: 14px;
    line-height: 1.6;
}

.arch-connector {
    width: 1px;
    height: 28px;
    margin: 0 auto;
    background: #3a3b41;
}

/* ==================== Implementation ==================== */
.implementation {
    border-top: 1px solid var(--line);
    background: var(--blue-gray-soft);
}

.implementation .section-head {
    max-width: 700px;
}

.implementation-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.implementation-step {
    padding: 26px 32px 12px 0;
    border-top: 2px solid var(--ink);
}

.implementation-step + .implementation-step {
    padding-left: 32px;
    border-left: 1px solid var(--line);
}

.implementation-step > span {
    color: var(--blue-gray);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.implementation-step h3 {
    margin: 18px 0 8px;
    font-size: 20px;
}

.implementation-step p {
    max-width: 260px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.65;
}

/* ==================== Integrations ==================== */
.integrations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.integrations .section-head {
    margin-bottom: 0;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 2px;
}

.node-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.node {
    padding: 26px 20px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    font-size: 14px;
    font-weight: 500;
}

.node.is-core {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

/* ==================== Operational outcomes ==================== */
.perspectives {
    padding: 64px 0 96px;
    background: #f1f3f0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.perspectives .section-head {
    margin-bottom: 40px;
}

.perspective-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin: -20px 0 20px;
}

.gallery-label {
    margin-right: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gallery-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--ink);
    font-size: 18px;
    cursor: pointer;
    transition:
        border-color 0.15s ease,
        background 0.15s ease,
        transform 0.15s ease;
}

.gallery-button:hover {
    border-color: var(--ink);
    background: var(--lime);
    transform: translateY(-1px);
}

.gallery-position {
    min-width: 46px;
    color: var(--muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.perspective-grid {
    counter-reset: outcome;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 4px 12px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
}

.perspective-gallery {
    position: relative;
}

.perspective-gallery::after {
    display: block;
    position: absolute;
    top: 4px;
    right: 0;
    bottom: 12px;
    width: 72px;
    background: linear-gradient(90deg, rgba(241, 243, 240, 0), #f1f3f0);
    content: '';
    pointer-events: none;
}

.perspective-grid::-webkit-scrollbar {
    display: none;
}

.perspective {
    position: relative;
    flex: 0 0 min(340px, calc(100vw - 80px));
    scroll-snap-align: start;
    margin: 0;
    padding: 24px 28px 26px;
    border-top: 1px solid #c8cec9;
    border-right: 1px solid #c8cec9;
    border-bottom: 1px solid #c8cec9;
    border-left: 4px solid var(--lime);
    background: rgba(255, 255, 255, 0.72);
}

.perspective::before {
    counter-increment: outcome;
    content: counter(outcome, decimal-leading-zero);
    display: block;
    margin-bottom: 30px;
    color: var(--lime-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.perspective p {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.7;
}

.perspective cite {
    display: block;
    margin-top: 20px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ==================== CTA ==================== */
.cta {
    text-align: center;
}

.cta-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 28px;
    max-width: 1040px;
    margin: 0 auto;
    padding: 46px 54px;
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: #fff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -160px;
    right: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(closest-side, rgba(143, 209, 63, 0.35), transparent 70%);
    pointer-events: none;
}

.cta-card > * {
    position: relative;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: left;
}

.cta-card .eyebrow {
    color: var(--lime);
}

.cta-card h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 14px 0 32px;
}

.cta-copy {
    max-width: 540px;
    margin: -12px 0 28px;
    color: #c7c8cd;
    font-size: 15px;
    line-height: 1.65;
}

.cta-actions {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.cta-visual img {
    width: 100%;
    max-width: 390px;
    height: auto;
}

.btn-cta-line {
    border-color: #4a4b52;
    color: #fff;
}

.btn-cta-line:hover {
    border-color: var(--lime);
    color: var(--lime);
}

/* ==================== Footer ==================== */
.footer {
    border-top: 1px solid var(--line);
    padding: 40px 0;
}

.footer-inner {
    display: grid;
    grid-template-columns:
        minmax(210px, 1fr) minmax(160px, 0.8fr) minmax(180px, 1fr)
        minmax(150px, 0.8fr);
    align-items: start;
    gap: 36px;
}

.footer-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 0;
}

.footer-product-lockup {
    display: grid;
    gap: 5px;
    width: 150px;
    height: auto;
}

.footer-brand img {
    width: 150px;
    height: auto;
}

.footer-brand .footer-product-badge {
    width: 150px;
    margin: 0;
}

.footer-product-lockup small {
    width: 150px;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.footer-links {
    display: grid;
    gap: 9px;
    font-size: 13px;
    color: var(--muted);
}

.footer-links > span {
    margin-bottom: 3px;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.footer-links a:hover {
    color: var(--ink);
}

.footer-contact {
    display: grid;
    gap: 10px;
    justify-items: start;
    font-size: 12px;
}

.footer-contact span {
    margin-bottom: 3px;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.footer-contact a {
    display: grid;
    gap: 2px;
}

.footer-contact a b,
.footer-note b {
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 600;
}

.footer-contact a small,
.footer-note small {
    color: var(--muted);
    font-size: 12px;
}

.footer-contact a {
    color: var(--muted);
}

.footer-contact a:hover {
    color: var(--ink);
}

.footer-note {
    display: grid;
    gap: 5px;
    margin: 0;
}

.footer-note > span {
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.footer-note small {
    margin-top: 7px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.footer-note {
    white-space: nowrap;
    font-size: 13px;
    color: var(--muted);
}

/* ==================== Simple pages (about) ==================== */
.page {
    max-width: 680px;
    margin: 0 auto;
    padding: 72px 32px 96px;
}

.page h1 {
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.page .lede {
    font-size: 18px;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 48px;
}

.page section + section {
    margin-top: 48px;
}

.page h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.page p {
    color: var(--ink-soft);
    font-size: 15.5px;
    line-height: 1.75;
}

.page a {
    color: var(--lime-deep);
    font-weight: 600;
}

.page > .eyebrow {
    margin-bottom: 12px;
}

.about-intro {
    padding: 36px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.about-intro h2,
.about-confidence h2 {
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
}

.about-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
}

.about-pillar {
    padding: 28px 0 30px;
    border-bottom: 1px solid var(--line);
}

.about-pillar-index {
    color: var(--lime-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.about-pillar h2 {
    margin: 14px 0 8px;
    font-size: 19px;
    line-height: 1.25;
}

.about-pillar p {
    font-size: 14px;
    line-height: 1.65;
}

.about-confidence {
    margin-top: 56px;
    padding: 34px;
    border-radius: var(--radius-md);
    background: var(--ink);
    color: #fff;
}

.about-confidence .eyebrow {
    color: var(--lime);
}

.about-confidence h2 {
    margin-bottom: 22px;
}

.about-confidence ul {
    display: grid;
    gap: 12px;
    list-style: none;
}

.about-confidence li {
    position: relative;
    padding-left: 20px;
    color: #c7c8cd;
    font-size: 14px;
    line-height: 1.5;
}

.about-confidence li::before {
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
    content: '';
}

/* ==================== Support page ==================== */
.support-hero {
    text-align: center;
    padding: 72px 0 48px;
}

.support-hero + section {
    padding-top: 48px;
}

.support-hero h1 {
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.support-hero p {
    color: var(--ink-soft);
    font-size: 16px;
    max-width: 480px;
    margin: 0 auto;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    padding-top: 0;
}

.card {
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.card h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card > p {
    color: var(--ink-soft);
    font-size: 14.5px;
    margin-bottom: 24px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.field label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft);
}

.field input,
.field textarea {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font);
    background: var(--canvas);
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--ink);
}

.help {
    margin-top: 16px;
    font-size: 13px;
    color: var(--muted);
}

.help a {
    color: var(--lime-deep);
    font-weight: 600;
}

.resource {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.resource:first-child {
    border-top: none;
    padding-top: 0;
}

.resource h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.resource p {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.6;
}

.success {
    display: none;
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.success h2 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
}

.success > p {
    color: var(--ink-soft);
    margin-bottom: 32px;
}

.success-list {
    text-align: left;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 28px;
}

.success-list > div + div {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.success-list h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.success-list p,
.success-list li {
    font-size: 13.5px;
    color: var(--ink-soft);
}

.success-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ==================== Responsive ==================== */
@media (max-width: 980px) {
    .nav-inner {
        gap: 20px;
        padding-right: 24px;
        padding-left: 24px;
    }

    .nav-brand img {
        width: 170px;
    }

    .nav-actions {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        background: var(--canvas);
        border-bottom: 1px solid var(--line);
        padding: 16px 24px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links .nav-mobile-action {
        display: block;
        width: 100%;
        padding: 10px 0;
        border-top: 1px solid var(--line);
    }

    .nav-links .nav-mobile-action:last-child {
        color: var(--lime-deep);
        font-weight: 700;
    }

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        min-height: 0;
    }

    .hero-visual::before {
        display: none;
    }

    .panel-body {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .workflow-row {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .product-cards {
        grid-template-columns: 1fr;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }

    .routing-diagram {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .integrations {
        grid-template-columns: 1fr;
    }

    .support-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-pillars {
        grid-template-columns: 1fr;
    }

    .implementation-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .implementation-step,
    .implementation-step + .implementation-step {
        padding: 24px 0 0;
        border-left: 0;
    }
}

@media (max-width: 720px) {
    .nav-brand img {
        width: 150px;
    }

    .strip-inner {
        padding: 52px 32px 48px;
    }

    .strip-values {
        grid-template-columns: 1fr;
        gap: 32px;
        margin: 40px 0 28px;
    }

    .strip-value,
    .strip-value:first-child {
        min-height: 0;
        padding: 0 0 32px;
        border-top: 1px solid #3a3b41;
        border-left: 0;
    }

    .nav-actions {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        background: var(--canvas);
        border-bottom: 1px solid var(--line);
        padding: 16px 32px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 88px 0 56px;
    }

    section {
        padding: 76px 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-card {
        grid-template-columns: 1fr;
        padding: 48px 26px 34px;
    }

    .cta-content {
        text-align: center;
    }

    .cta-copy {
        margin-right: auto;
        margin-left: auto;
    }

    .cta-actions {
        justify-content: center;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }
}

/* ==================== Contact modal ==================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(20, 21, 26, 0.55);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.modal-overlay[hidden] {
    display: none;
}

.modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.modal-body h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-body > p {
    color: var(--ink-soft);
    font-size: 14px;
    margin-bottom: 20px;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: var(--canvas);
    color: var(--ink-soft);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.modal-close:hover {
    background: var(--line);
    color: var(--ink);
}
