.document-ecosystem {
    position: relative;
    padding: clamp(72px, 8vw, 104px) 0;
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(245, 247, 250, 0.98), rgba(233, 239, 246, 0.96));
}

.document-ecosystem::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(15, 23, 42, 0.02), transparent 45%),
        radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.05), transparent 28%);
    pointer-events: none;
}

.document-ecosystem .content-container,
.document-ecosystem .container {
    position: relative;
    z-index: 1;
}

.document-ecosystem__intro {
    display: grid;
    gap: 16px;
    margin-bottom: 34px;
}

.document-ecosystem__eyebrow {
    margin: 0;
    color: #9f7a1d;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.document-ecosystem__intro h2,
.document-ecosystem__intro h1 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.document-ecosystem__intro p {
    margin: 0;
    max-width: 72ch;
    font-size: 1.02rem;
    line-height: 1.75;
    color: #334155;
}

body.public-subpage-digital-workspace .document-ecosystem__intro {
    max-width: 70rem;
}

.document-ecosystem__hero-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.document-ecosystem__action-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

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

.document-ecosystem__surface-grid {
    align-items: stretch;
}

.document-ecosystem__lane-grid {
    margin-top: 34px;
}

.document-ecosystem-lane,
.document-ecosystem-action,
.document-ecosystem-surface {
    display: grid;
    gap: 14px;
    padding: 24px;
    min-width: 0;
    border-radius: 28px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
}

.document-ecosystem-surface {
    align-content: start;
    grid-template-rows: auto auto 1fr;
}

.document-ecosystem-lane__icon,
.document-ecosystem-action__icon,
.document-ecosystem-surface__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.92));
    color: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.document-ecosystem-surface__label {
    width: auto;
    min-width: 76px;
    padding: 0 16px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.document-ecosystem-lane__meta,
.document-ecosystem-action__copy,
.document-ecosystem-surface__copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.document-ecosystem-lane__eyebrow {
    margin: 0;
    color: #9f7a1d;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.document-ecosystem-lane h3,
.document-ecosystem-action h3,
.document-ecosystem-surface h3 {
    margin: 0;
    font-size: 1.24rem;
    line-height: 1.2;
    color: #0f172a;
    word-break: break-word;
}

.document-ecosystem-lane p,
.document-ecosystem-action p,
.document-ecosystem-surface p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.document-ecosystem-lane ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.document-ecosystem-lane li {
    position: relative;
    padding-left: 18px;
    color: #334155;
    line-height: 1.55;
}

.document-ecosystem-lane li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #d4af37, #9f7a1d);
}

.document-ecosystem-action {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
}

.document-ecosystem-surface .document-ecosystem__action-grid {
    margin-top: 8px;
}

.document-ecosystem-surface .document-ecosystem-action {
    gap: 16px;
    padding: 18px 18px 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.9));
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06);
}

.document-ecosystem-surface .document-ecosystem-action__copy {
    align-content: start;
}

.document-ecosystem-surface .document-ecosystem-action h3 {
    font-size: 1.04rem;
    line-height: 1.34;
    word-break: normal;
    overflow-wrap: anywhere;
}

.document-ecosystem-surface .document-ecosystem-action p {
    font-size: 0.95rem;
    line-height: 1.64;
}

.document-ecosystem-surface .document-ecosystem-action .btn {
    margin-top: 8px;
}

.document-ecosystem-action .btn,
.document-ecosystem-surface .btn {
    justify-self: start;
}

.document-ecosystem__note {
    margin-top: 26px;
    padding: 22px 24px;
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.24);
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 44%),
        linear-gradient(180deg, rgba(255, 251, 235, 0.98), rgba(255, 255, 255, 0.96));
    color: #334155;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.document-ecosystem__note strong {
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
}

.document-ecosystem__note span {
    color: #475569;
}

.document-ecosystem--homepage {
    padding-top: 54px;
    padding-bottom: 54px;
}

.document-ecosystem--homepage .document-ecosystem__intro h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.document-ecosystem--homepage .document-ecosystem__lane-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.document-ecosystem--homepage .document-ecosystem__hero-actions {
    margin-top: 8px;
}

body.public-subpage .document-ecosystem {
    padding-top: 64px;
}

body.public-subpage .document-ecosystem:first-of-type {
    margin-top: -18px;
}

body.public-subpage-digital-workspace .page-hero {
    padding-bottom: clamp(1.3rem, 3vw, 2rem);
}

body.public-subpage-digital-workspace .page-hero::after {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 62%);
}

body.public-subpage-digital-workspace .page-hero .content-container {
    display: grid;
    gap: 0.9rem;
    border-color: rgba(159, 122, 29, 0.18);
    background: linear-gradient(145deg, rgba(249, 245, 236, 0.98), rgba(255, 255, 255, 0.96));
    box-shadow:
        0 24px 44px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

body.public-subpage-digital-workspace .page-hero h1,
body.public-subpage-digital-workspace .page-hero .content-container h1 {
    color: #0f172a !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    text-shadow: none !important;
}

body.public-subpage-digital-workspace .page-hero p,
body.public-subpage-digital-workspace .page-hero .content-container p {
    color: #475569 !important;
    max-width: 46rem;
}

body.public-subpage-digital-workspace .page-hero .eyebrow {
    color: #8f6905 !important;
    background: rgba(212, 175, 55, 0.16);
    border-color: rgba(159, 122, 29, 0.22);
}

body.public-subpage-digital-workspace .document-ecosystem__surface-grid {
    gap: 24px;
}

body.public-subpage-digital-workspace .document-ecosystem-surface .document-ecosystem__action-grid {
    grid-template-columns: 1fr;
    gap: 18px;
}

body.public-subpage-digital-workspace .document-ecosystem-surface .document-ecosystem-action {
    align-items: start;
    min-height: 0;
}

html.theme-dark .document-ecosystem,
[data-theme="dark"] .document-ecosystem {
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(10, 15, 26, 0.98), rgba(15, 23, 42, 0.96));
}

html.theme-dark .document-ecosystem-lane,
html.theme-dark .document-ecosystem-action,
html.theme-dark .document-ecosystem-surface,
[data-theme="dark"] .document-ecosystem-lane,
[data-theme="dark"] .document-ecosystem-action,
[data-theme="dark"] .document-ecosystem-surface {
    background: rgba(15, 23, 42, 0.78);
    border-color: rgba(148, 163, 184, 0.16);
}

html.theme-dark body.public-subpage-digital-workspace .page-hero .content-container,
[data-theme="dark"] body.public-subpage-digital-workspace .page-hero .content-container {
    border-color: rgba(242, 194, 26, 0.16);
    background: linear-gradient(180deg, rgba(10, 18, 35, 0.97), rgba(16, 28, 52, 0.95));
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32);
}

html.theme-dark body.public-subpage-digital-workspace .page-hero h1,
html.theme-dark body.public-subpage-digital-workspace .page-hero .content-container h1,
[data-theme="dark"] body.public-subpage-digital-workspace .page-hero h1,
[data-theme="dark"] body.public-subpage-digital-workspace .page-hero .content-container h1 {
    color: #f8fafc !important;
}

html.theme-dark body.public-subpage-digital-workspace .page-hero p,
html.theme-dark body.public-subpage-digital-workspace .page-hero .content-container p,
[data-theme="dark"] body.public-subpage-digital-workspace .page-hero p,
[data-theme="dark"] body.public-subpage-digital-workspace .page-hero .content-container p {
    color: #cbd5e1 !important;
}

html.theme-dark body.public-subpage-digital-workspace .page-hero .eyebrow,
[data-theme="dark"] body.public-subpage-digital-workspace .page-hero .eyebrow {
    color: #f6d27f !important;
    background: rgba(242, 194, 26, 0.12);
    border-color: rgba(242, 194, 26, 0.22);
}

html.theme-dark .document-ecosystem-surface .document-ecosystem-action,
[data-theme="dark"] .document-ecosystem-surface .document-ecosystem-action {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.94), rgba(15, 23, 42, 0.84));
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

html.theme-dark .document-ecosystem__intro h1,
html.theme-dark .document-ecosystem__intro h2,
html.theme-dark .document-ecosystem-lane h3,
html.theme-dark .document-ecosystem-action h3,
html.theme-dark .document-ecosystem-surface h3,
[data-theme="dark"] .document-ecosystem__intro h1,
[data-theme="dark"] .document-ecosystem__intro h2,
[data-theme="dark"] .document-ecosystem-lane h3,
[data-theme="dark"] .document-ecosystem-action h3,
[data-theme="dark"] .document-ecosystem-surface h3 {
    color: #f8fafc;
}

html.theme-dark .document-ecosystem__intro p,
html.theme-dark .document-ecosystem-lane p,
html.theme-dark .document-ecosystem-action p,
html.theme-dark .document-ecosystem-surface p,
html.theme-dark .document-ecosystem-lane li,
[data-theme="dark"] .document-ecosystem__intro p,
[data-theme="dark"] .document-ecosystem-lane p,
[data-theme="dark"] .document-ecosystem-action p,
[data-theme="dark"] .document-ecosystem-surface p,
[data-theme="dark"] .document-ecosystem-lane li {
    color: #cbd5e1;
}

@media (max-width: 1080px) {
    .document-ecosystem__hero-actions,
    .document-ecosystem__lane-grid,
    .document-ecosystem__surface-grid,
    .document-ecosystem--homepage .document-ecosystem__lane-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1280px) {
    .document-ecosystem__surface-grid {
        grid-template-columns: 1fr;
    }

    .document-ecosystem-surface .document-ecosystem__action-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .document-ecosystem {
        padding: 48px 0;
    }

    .document-ecosystem__hero-actions,
    .document-ecosystem__lane-grid,
    .document-ecosystem__surface-grid,
    .document-ecosystem--homepage .document-ecosystem__lane-grid {
        grid-template-columns: 1fr;
    }

    .document-ecosystem-surface .document-ecosystem__action-grid {
        grid-template-columns: 1fr;
    }

    .document-ecosystem-lane,
    .document-ecosystem-action,
    .document-ecosystem-surface {
        padding: 20px;
        border-radius: 22px;
    }
}
