:root {
    --zentso-ink: #101828;
    --zentso-orange: #f06424;
    --zentso-yellow: #ffdc5e;
    --zentso-blue: #dff6ff;
    --zentso-blue-grey: #f2f7fb;
    --zentso-pale-yellow: #fff8df;
    --zentso-pale-orange: #fff0e8;
    --zentso-orange-dark: #c84f18;
    --cloudtoolz-blue: #176f8b;
    --cloudtoolz-blue-light: #3590aa;
    --cloudtoolz-navy: #0d1b3e;
    --cloudtoolz-cyan: #56cdea;
    --cloudtoolz-mint: #dff8ea;
    --cloudtoolz-sky: #e7f7fb;
    --cloudtoolz-coral: #ff8c66;
    --zentso-white: #fff;
    --zentso-radius: 1.25rem;
    --zentso-font: "Outfit", sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body.public-shell {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--zentso-ink);
    background: #f8fbfd;
    font-family: var(--zentso-font);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.public-shell *,
.public-shell *::before,
.public-shell *::after {
    box-sizing: border-box;
}

.public-shell h1,
.public-shell h2,
.public-shell h3,
.public-shell p,
.public-shell a,
.public-shell button,
.public-shell input {
    font-family: var(--zentso-font);
}

.public-shell a,
.public-shell button {
    transition: color 200ms, background-color 200ms, border-color 200ms, transform 200ms, box-shadow 200ms;
}

.public-shell :where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgb(240 100 36 / 0.35);
    outline-offset: 3px;
}

.public-shell .container {
    width: 100%;
    max-width: 1340px;
    margin-inline: auto;
    padding-inline: 4rem;
}

/* ZENTSO tactile buttons */
.public-shell .btn {
    --bs-btn-border-radius: 2rem;
    min-height: auto;
    position: relative;
    display: inline-block;
    margin: 0 0 4px;
    padding: 0;
    color: var(--zentso-ink);
    background: transparent !important;
    border: 0 !important;
    border-radius: 2rem;
    box-shadow: none !important;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
}

.public-shell .btn::before {
    position: absolute;
    top: 4px;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cloudtoolz-navy);
    border-radius: 2rem;
    content: "";
}

.public-shell .btn > span {
    min-width: max-content;
    position: relative;
    z-index: 1;
    display: block;
    padding: 0.72em 1.55em;
    color: var(--zentso-ink);
    background: var(--zentso-white);
    border: 1px solid rgb(13 27 62 / 0.8);
    border-radius: 2rem;
}

.public-shell .btn-lg > span {
    padding: 0.78em 1.75em;
    font-size: 1.05rem;
}

.public-shell .btn:hover > span {
    transform: translateY(4px);
}

.public-shell .btn-primary > span {
    color: var(--zentso-ink);
    background: var(--zentso-orange);
}

.public-shell .btn-primary::before {
    background: var(--zentso-yellow);
}

.public-shell .btn-light > span {
    background: var(--zentso-white);
}

/* Header */
.public-navbar {
    min-height: 76px;
    padding: 0.8rem 0;
    color: var(--zentso-ink);
    background: rgb(255 255 255 / 0.9);
    border-bottom: 1px solid rgb(16 24 40 / 0.08);
    box-shadow: 0 10px 36px rgb(13 27 62 / 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.public-navbar.is-sticky {
    background: rgb(255 255 255 / 0.97);
}

.public-brand {
    width: 190px;
    margin-right: 2rem;
    padding: 0;
}

.public-brand img {
    width: 190px;
    height: auto;
    display: block;
}

.public-navbar .navbar-nav {
    align-items: center;
    gap: 0.35rem;
}

.public-navbar .nav-link {
    position: relative;
    padding: 0.6rem 0.8rem !important;
    color: var(--zentso-ink);
    font-size: 0.92rem;
    font-weight: 400;
}

.public-navbar .nav-link::after {
    width: 0;
    height: 2px;
    position: absolute;
    bottom: 0.25rem;
    left: 0.8rem;
    background: linear-gradient(90deg, var(--zentso-orange), var(--zentso-yellow));
    content: "";
    transition: width 200ms;
}

.public-navbar .nav-link:hover,
.public-navbar .nav-link.is-active {
    color: var(--zentso-orange-dark);
}

.public-navbar .nav-link:hover::after,
.public-navbar .nav-link.is-active::after {
    width: calc(100% - 1.6rem);
}

.public-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.public-navbar .public-nav-actions .btn {
    font-size: 0.82rem;
}

.public-navbar .public-nav-actions .btn > span {
    color: var(--zentso-ink);
}

.public-navbar .public-nav-actions .btn-primary > span {
    color: var(--zentso-ink);
}

.public-workspace-link > span {
    display: flex !important;
    align-items: center;
    gap: 0.55rem;
    padding: 0.66em 1.15em !important;
    box-shadow: 0 8px 22px rgb(240 100 36 / 0.22);
    font-weight: 500;
}

.public-workspace-link svg {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.public-workspace-link svg:first-child {
    fill: currentColor;
    stroke: none;
}

.public-workspace-link__arrow {
    margin-left: 0.1rem;
    transition: transform 200ms;
}

.public-workspace-link:hover .public-workspace-link__arrow {
    transform: translateX(3px);
}

.public-sign-in.btn-link {
    padding: 0.6rem 0.8rem;
    color: var(--zentso-ink);
    text-decoration: none;
}

.public-sign-in.btn-link::before {
    display: none;
}

.public-sign-in.btn-link:hover {
    color: var(--cloudtoolz-blue);
}

.public-sign-out.btn-link {
    margin: 0;
    padding: 0.6rem 0.35rem;
    color: #667085;
    font-size: 0.82rem;
    text-decoration: none;
}

.public-sign-out.btn-link::before {
    display: none;
}

.public-sign-out.btn-link:hover {
    color: var(--zentso-ink);
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.public-nav-actions .btn-outline-secondary {
    margin-bottom: 0;
    padding: 0.52rem 1rem;
    color: var(--zentso-ink) !important;
    background: var(--zentso-white) !important;
    border: 1px solid var(--zentso-ink) !important;
}

.public-nav-actions .btn-outline-secondary::before {
    display: none;
}

.public-nav-toggle {
    width: 44px;
    height: 42px;
    padding: 0.65rem;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--zentso-ink);
    border-radius: 0.5rem;
    box-shadow: none !important;
}

.public-nav-toggle span {
    width: 100%;
    height: 2px;
    display: block;
    background: var(--zentso-ink);
    border-radius: 2px;
}

/* Shared ZENTSO swirl */
.zentso-swirl {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
}

.zentso-swirl--hero {
    background-image: url("https://zentso.com/wp-content/themes/zentso-theme/img/background-swirls/general-03.png");
    opacity: 0.18;
}

.zentso-swirl--section {
    background-image: url("https://zentso.com/wp-content/themes/zentso-theme/img/background-swirls/homepage-01.png");
    opacity: 0.1;
}

/* Hero */
.public-hero {
    overflow: hidden;
    position: relative;
    padding: 8.8rem 0 2rem;
    background:
        radial-gradient(circle at 12% 22%, rgb(86 205 234 / 0.2), transparent 28%),
        radial-gradient(circle at 88% 14%, rgb(255 220 94 / 0.3), transparent 28%),
        linear-gradient(180deg, #fff 0%, #f5fbff 100%);
    text-align: center;
}

.public-hero .container {
    position: relative;
    z-index: 1;
}

.public-hero__inner {
    max-width: 960px;
    margin-inline: auto;
}

.public-hero__logo {
    width: min(370px, 72vw);
    height: auto;
    margin-bottom: 1.7rem;
}

.public-hero h1 {
    max-width: 920px;
    margin: 0 auto;
    color: var(--zentso-ink);
    font-size: clamp(2.6rem, 5vw, 4.15rem);
    font-weight: 300;
    letter-spacing: -0.035em;
    line-height: 1.18;
}

.public-hero h1 em {
    color: var(--zentso-orange);
    font-style: normal;
}

.public-hero__lead {
    max-width: 780px;
    margin: 1.4rem auto 0;
    color: var(--zentso-ink);
    font-size: 1.12rem;
    font-weight: 300;
    line-height: 1.55;
}

.public-hero__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.public-hero__illustration {
    width: min(820px, 100%);
    height: auto;
    display: block;
    margin: 2.8rem auto 0;
    filter: drop-shadow(0 26px 35px rgb(13 27 62 / 0.12));
}

/* Section hierarchy */
.public-section {
    padding: 6rem 0;
}

.section-heading--centre {
    max-width: 900px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-kicker {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--zentso-orange);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading h2,
.public-contact h2 {
    margin: 0;
    color: var(--zentso-ink);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.section-heading p {
    max-width: 720px;
    margin: 1rem auto 0;
    color: var(--zentso-ink);
    font-size: 1.08rem;
    line-height: 1.55;
}

.section-heading--left {
    margin: 0;
}

.section-heading--left h2 {
    margin: 0;
    color: var(--zentso-ink);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.section-heading--left p {
    margin: 1rem 0 0;
    color: var(--zentso-ink);
    font-size: 1rem;
    line-height: 1.6;
}

/* The repeated implementation problem */
.problem-section {
    background:
        radial-gradient(circle at 92% 8%, rgb(86 205 234 / 0.16), transparent 30%),
        linear-gradient(135deg, #f7fbff 0%, #eefaff 54%, #fff8df 100%);
    border-top: 1px solid rgb(23 111 139 / 0.12);
}

.problem-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 4rem;
}

.problem-cycle {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0.7rem;
}

.problem-cycle > div {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    padding: 1.4rem;
    background: rgb(255 255 255 / 0.92);
    border: 1px solid rgb(23 111 139 / 0.15);
    border-radius: var(--zentso-radius);
    box-shadow: 0 16px 36px rgb(13 27 62 / 0.08);
}

.problem-cycle > div:nth-of-type(2) {
    background: linear-gradient(155deg, #fff 0%, #e9f8ff 100%);
    border-top: 4px solid var(--cloudtoolz-cyan);
}

.problem-cycle > div:nth-of-type(3) {
    background: linear-gradient(155deg, #fff 0%, var(--zentso-pale-orange) 100%);
    border-top: 4px solid var(--zentso-orange);
}

.problem-cycle > div:first-of-type {
    border-top: 4px solid var(--zentso-yellow);
}

.problem-cycle > div span {
    color: var(--zentso-orange-dark);
    font-size: 0.72rem;
    font-weight: 600;
}

.problem-cycle > div strong {
    margin-top: auto;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.25;
}

.problem-cycle > div small {
    margin-top: 0.55rem;
    font-size: 0.76rem;
    line-height: 1.45;
}

.problem-cycle > i {
    color: var(--zentso-orange);
    font-size: 1.25rem;
    font-style: normal;
}

.requirement-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgb(23 111 139 / 0.2);
}

.requirement-list span,
.proof-requirements span {
    padding: 0.48rem 0.85rem;
    background: rgb(255 255 255 / 0.86);
    border: 1px solid rgb(23 111 139 / 0.2);
    border-radius: 2rem;
    font-size: 0.78rem;
    font-weight: 400;
}

.problem-conclusion {
    max-width: 900px;
    margin: 1.5rem 0 0;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.5;
}

/* Artefact versus operational product */
.productisation-section {
    background:
        radial-gradient(circle at 5% 90%, rgb(86 205 234 / 0.14), transparent 28%),
        linear-gradient(180deg, #fff 0%, #f2f7fb 100%);
    border-top: 1px solid rgb(23 111 139 / 0.12);
}

.comparison-table {
    overflow-x: auto;
    border: 1px solid rgb(23 111 139 / 0.15);
    border-radius: var(--zentso-radius);
    background: #fff;
    box-shadow: 0 24px 60px rgb(13 27 62 / 0.1);
}

.comparison-table table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    width: 50%;
    padding: 1rem 1.25rem;
    border-right: 1px solid #e4e9f2;
    border-bottom: 1px solid #e4e9f2;
    text-align: left;
    vertical-align: top;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
    border-right: 0;
}

.comparison-table tbody tr:last-child td {
    border-bottom: 0;
}

.comparison-table th {
    color: #fff;
    background: var(--cloudtoolz-navy);
    font-size: 1rem;
    font-weight: 500;
}

.comparison-table th:last-child {
    color: #fff;
    background: var(--zentso-orange-dark);
}

.comparison-table td {
    font-size: 0.9rem;
}

.comparison-table td:last-child {
    font-weight: 400;
    background: var(--zentso-pale-orange);
}

/* Business capability system */
.capability-section {
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at 5% 20%, rgb(86 205 234 / 0.18), transparent 26%),
        radial-gradient(circle at 95% 75%, rgb(255 140 102 / 0.12), transparent 28%),
        #f9fcff;
}

.capability-section .container {
    position: relative;
    z-index: 1;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.capability-grid article {
    min-height: 245px;
    display: flex;
    flex-direction: column;
    padding: 1.65rem;
    background: rgb(255 255 255 / 0.9);
    border: 1px solid rgb(23 111 139 / 0.13);
    border-radius: var(--zentso-radius);
    box-shadow: 0 12px 30px rgb(13 27 62 / 0.06);
    transition: border-color 200ms, box-shadow 200ms, transform 200ms;
}

.capability-grid article:hover {
    border-color: rgb(240 100 36 / 0.32);
    box-shadow: 0 20px 44px rgb(13 27 62 / 0.11);
    transform: translateY(-4px);
}

.capability-grid article > span {
    width: 2.1rem;
    height: 2.1rem;
    display: grid;
    place-items: center;
    color: var(--zentso-orange-dark);
    background: var(--zentso-pale-orange);
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 600;
}

.capability-grid article:nth-child(2) > span,
.capability-grid article:nth-child(5) > span {
    color: #0a7893;
    background: #def8ff;
}

.capability-grid article:nth-child(3) > span,
.capability-grid article:nth-child(6) > span {
    color: #a74625;
    background: #fff0e8;
}

.capability-grid article:nth-child(4) > span,
.capability-grid article:nth-child(7) > span {
    color: #267053;
    background: var(--cloudtoolz-mint);
}

.capability-grid h3 {
    margin: auto 0 0.65rem;
    font-size: 1.45rem;
    font-weight: 500;
}

.capability-grid p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
}

.capability-grid .capability-card--package {
    grid-column: span 2;
    color: #fff;
    background:
        radial-gradient(circle at 88% 20%, rgb(86 205 234 / 0.22), transparent 30%),
        linear-gradient(135deg, var(--cloudtoolz-navy), var(--cloudtoolz-blue));
    border-color: transparent;
}

.capability-grid .capability-card--package > span {
    color: #bff2ff;
    background: rgb(255 255 255 / 0.14);
}

.capability-grid .capability-card--package h3 {
    color: #fff;
    font-size: 1.75rem;
}

.capability-grid .capability-card--package p {
    color: #eaf8fc;
}

/* iMIS relationship */
.imis-section {
    color: #fff;
    background:
        radial-gradient(circle at 72% 48%, rgb(86 205 234 / 0.16), transparent 30%),
        linear-gradient(135deg, #09162f 0%, var(--cloudtoolz-navy) 52%, #1b2f67 100%);
    border-block: 0;
}

.imis-section .section-kicker {
    color: #7ee6ff;
}

.imis-section .section-heading--left h2,
.imis-section .section-heading--left p {
    color: #fff;
}

.imis-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
    align-items: center;
    gap: 5rem;
}

.imis-grid blockquote {
    margin: 2rem 0 0;
    padding: 1.4rem 0 1.4rem 1.5rem;
    color: #eaf4ff;
    background: rgb(255 255 255 / 0.06);
    border-left: 4px solid var(--cloudtoolz-cyan);
    border-radius: 0 1rem 1rem 0;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.5;
}

.imis-system-map {
    min-height: 520px;
    position: relative;
    display: grid;
    place-items: center;
}

.imis-core {
    width: 220px;
    height: 220px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1.5rem;
    color: #fff;
    background: linear-gradient(145deg, var(--cloudtoolz-blue), #0f566d);
    border-radius: 50%;
    text-align: center;
    border: 1px solid rgb(255 255 255 / 0.28);
    box-shadow: 0 24px 55px rgb(0 0 0 / 0.32), 0 0 70px rgb(86 205 234 / 0.14);
}

.imis-core small {
    color: #bff2ff;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.imis-core strong {
    margin: 0.35rem 0;
    font-size: 2.5rem;
    font-weight: 400;
}

.imis-core span {
    font-size: 0.72rem;
    line-height: 1.4;
}

.imis-ring {
    width: 430px;
    height: 430px;
    position: absolute;
    border: 1px dashed rgb(126 230 255 / 0.6);
    border-radius: 50%;
}

.imis-orbit {
    min-width: 135px;
    position: absolute;
    z-index: 3;
    padding: 0.75rem 1rem;
    color: #fff;
    background: rgb(255 255 255 / 0.09);
    border: 1px solid rgb(126 230 255 / 0.4);
    box-shadow: 0 12px 30px rgb(0 0 0 / 0.16);
    backdrop-filter: blur(8px);
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

.imis-orbit--one { top: 1rem; left: 50%; transform: translateX(-50%); }
.imis-orbit--two { top: 50%; right: 0; transform: translateY(-50%); }
.imis-orbit--three { bottom: 1rem; left: 50%; transform: translateX(-50%); }
.imis-orbit--four { top: 50%; left: 0; transform: translateY(-50%); }

/* Runtime and operational control */
.runtime-section {
    background:
        radial-gradient(circle at 88% 8%, rgb(86 205 234 / 0.2), transparent 28%),
        linear-gradient(180deg, #eefaff 0%, #f8fbff 100%);
}

.runtime-pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.runtime-pillars article {
    padding: 1.4rem;
    background: rgb(255 255 255 / 0.84);
    border: 1px solid rgb(23 111 139 / 0.14);
    border-top: 4px solid var(--cloudtoolz-cyan);
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgb(13 27 62 / 0.06);
}

.runtime-pillars article:nth-child(2) { border-top-color: var(--cloudtoolz-blue); }
.runtime-pillars article:nth-child(3) { border-top-color: var(--zentso-yellow); }
.runtime-pillars article:nth-child(4) { border-top-color: var(--cloudtoolz-coral); }

.runtime-pillars article > span {
    color: var(--zentso-orange-dark);
    font-size: 0.72rem;
    font-weight: 600;
}

.runtime-pillars h3 {
    margin: 0.65rem 0 0.4rem;
    font-size: 1.35rem;
    font-weight: 500;
}

.runtime-pillars p {
    margin: 0;
    font-size: 0.86rem;
}

/* AI is intentionally subordinate to runtime */
.ai-section {
    padding-block: 4rem;
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgb(86 205 234 / 0.24), transparent 28%),
        radial-gradient(circle at 12% 90%, rgb(240 100 36 / 0.18), transparent 30%),
        linear-gradient(120deg, var(--cloudtoolz-navy) 0%, #123c4d 58%, var(--cloudtoolz-blue) 100%);
    border-block: 0;
}

.ai-section .section-kicker {
    color: #d2f7ff;
}

.ai-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    align-items: center;
    gap: 4rem;
}

.ai-panel h2,
.proof-grid h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.ai-panel > div > h2 {
    color: #fff;
}

.ai-panel p,
.proof-grid p {
    margin: 1rem 0 0;
    font-size: 0.98rem;
    line-height: 1.6;
}

.ai-panel > div > p {
    color: #eaf8fc;
}

.ai-panel blockquote {
    margin: 0;
    padding: 2rem;
    color: var(--zentso-ink);
    background: rgb(255 255 255 / 0.95);
    border: 1px solid rgb(255 255 255 / 0.55);
    border-radius: var(--zentso-radius);
    box-shadow: 0 24px 55px rgb(4 31 42 / 0.28);
}

.ai-panel blockquote strong,
.ai-panel blockquote span,
.ai-panel blockquote small {
    display: block;
}

.ai-panel blockquote strong {
    color: var(--zentso-orange-dark);
    font-size: 1rem;
    font-weight: 500;
}

.ai-panel blockquote span {
    margin-top: 0.6rem;
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1.25;
}

.ai-panel blockquote small {
    margin-top: 1.5rem;
    color: #667085;
    font-size: 0.72rem;
    line-height: 1.45;
}

/* Vertical proof */
.proof-section {
    background:
        radial-gradient(circle at 12% 15%, rgb(223 248 234 / 0.8), transparent 24%),
        #fff;
}

.proof-grid {
    display: grid;
    grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 4rem;
}

.proof-grid > img {
    width: 100%;
    height: 560px;
    display: block;
    object-fit: cover;
    border: 1px solid rgb(23 111 139 / 0.18);
    border-radius: var(--zentso-radius);
    box-shadow: 18px 20px 0 var(--cloudtoolz-mint), 0 24px 55px rgb(13 27 62 / 0.12);
}

.proof-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.6rem;
}

.proof-requirements span {
    color: #24463a;
    background: var(--cloudtoolz-mint);
    border-color: rgb(36 70 58 / 0.18);
}

/* Authentic admin product composite */
.admin-composite {
    min-height: 720px;
    position: relative;
    margin-bottom: 4rem;
}

.admin-window {
    overflow: hidden;
    position: absolute;
    background: var(--zentso-white);
    border: 1px solid rgb(23 111 139 / 0.18);
    border-radius: var(--zentso-radius);
    box-shadow: 0 28px 70px rgb(13 27 62 / 0.18);
}

.admin-window--library {
    top: 0;
    left: 0;
    width: 88%;
    height: 590px;
    display: grid;
    grid-template-columns: 185px 1fr;
}

.admin-sidebar {
    padding: 1.2rem 0.8rem;
    color: #fff;
    background: var(--cloudtoolz-navy);
}

.admin-sidebar > img {
    width: 145px;
    height: auto;
    display: block;
    margin: 0.25rem auto 2.1rem;
}

.admin-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-sidebar nav span,
.admin-sidebar nav small {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.58rem 0.65rem;
    border-radius: 0.5rem;
    font-size: 0.68rem;
    font-weight: 500;
}

.admin-sidebar nav span.is-open {
    background: var(--cloudtoolz-blue-light);
    outline: 1px solid rgb(255 255 255 / 0.45);
}

.admin-sidebar nav small {
    justify-content: flex-start;
    padding-left: 2rem;
    color: rgb(255 255 255 / 0.88);
}

.admin-sidebar nav small.is-active {
    background: rgb(240 100 36 / 0.26);
}

.admin-workspace {
    min-width: 0;
    background: #f7f8fa;
}

.admin-topbar {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.9rem;
    background: #fff;
    border-bottom: 1px solid #d8dee6;
}

.admin-topbar button {
    color: #667085;
    background: transparent;
    border: 0;
}

.admin-topbar > div {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #667085;
    font-size: 0.58rem;
}

.admin-topbar > div > span {
    min-width: 120px;
    padding: 0.45rem 0.55rem;
    border: 1px solid #d8dee6;
    border-radius: 0.45rem;
}

.admin-topbar strong {
    color: #344054;
    font-size: 0.58rem;
}

.admin-toolbar {
    min-height: 43px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0 0.75rem;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid #d8dee6;
    color: #344054;
    font-size: 0.58rem;
    white-space: nowrap;
}

.admin-toolbar label {
    min-width: 105px;
    margin-left: auto;
    padding: 0.42rem 0.5rem;
    color: #98a2b3;
    border: 1px solid #d8dee6;
    border-radius: 0.4rem;
}

.admin-table {
    margin: 0 0.65rem 0.65rem;
    background: #fff;
    border: 1px solid #d8dee6;
    border-top: 0;
}

.admin-row {
    min-height: 35px;
    display: grid;
    grid-template-columns: minmax(200px, 1.2fr) minmax(240px, 1.5fr) 70px 70px;
    align-items: center;
    padding: 0 0.65rem;
    border-bottom: 1px solid #d8dee6;
    color: #24292f;
    font-size: 0.55rem;
}

.admin-row--head {
    min-height: 34px;
    color: #24292f;
}

.admin-row--child > span:first-child {
    padding-left: 1.5rem;
}

.admin-row--selected {
    background: #e2e7ec;
}

.admin-row a {
    overflow: hidden;
    color: #24292f;
    text-decoration: underline;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-row > i {
    width: 7px;
    height: 7px;
    justify-self: center;
    background: #58616e;
    border-radius: 50%;
}

.admin-row > i.is-live {
    background: #17a45b;
}

.admin-window--editor {
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 66%;
    height: 430px;
}

.workflow-title {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.8rem;
    background: #fff;
    border-bottom: 1px solid #d8dee6;
    font-size: 0.65rem;
}

.workflow-title > span {
    color: #667085;
    font-size: 1.1rem;
}

.workflow-canvas {
    height: calc(100% - 42px);
    position: relative;
    background-color: #fff;
    background-image: radial-gradient(#cbdcf0 1px, transparent 1px);
    background-size: 16px 16px;
}

.workflow-actions {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 0.35rem;
}

.workflow-actions span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #98a2b3;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgb(16 24 40 / 0.12);
    font-size: 0.7rem;
}

.workflow-actions span.is-add {
    color: #12a850;
    font-size: 1.2rem;
}

.workflow-node {
    width: 220px;
    position: absolute;
    left: 50%;
    background: #fff;
    border: 1px solid #d8dee6;
    border-radius: 0.5rem;
    box-shadow: 0 3px 9px rgb(16 24 40 / 0.1);
    transform: translateX(-50%);
}

.workflow-node > small {
    display: block;
    padding: 0.18rem 0.45rem;
    color: #0785c7;
    background: #e9f6fc;
    border-radius: 0.5rem 0.5rem 0 0;
    font-size: 0.42rem;
    font-weight: 600;
}

.workflow-node > div {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem;
}

.workflow-node i {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #e61b4b;
    background: #fff0f3;
    border-radius: 0.5rem;
    font-style: normal;
}

.workflow-node span {
    display: flex;
    flex-direction: column;
}

.workflow-node strong {
    color: #111827;
    font-size: 0.55rem;
}

.workflow-node em {
    color: #344054;
    font-size: 0.52rem;
    font-style: normal;
}

.workflow-node--start { top: 2.8rem; }
.workflow-node--request { top: 10.3rem; }
.workflow-node--request i { color: #0588c6; background: #eef8fc; }
.workflow-node--response { top: 17.6rem; }
.workflow-node--response i { color: #0785c7; background: #e9f6fc; }

.workflow-line {
    position: absolute;
    left: 50%;
    color: #111827;
    font-size: 0.48rem;
    transform: translateX(-50%);
}

.workflow-line::after {
    width: 1px;
    height: 48px;
    display: block;
    margin: 0.2rem auto 0;
    background: #aebfd3;
    content: "";
}

.workflow-line--one { top: 8.1rem; }
.workflow-line--two { top: 15.4rem; left: 43%; }
.workflow-line--two::after { height: 35px; transform: rotate(-9deg); transform-origin: top; }
.workflow-line--three { top: 15.4rem; left: 59%; }
.workflow-line--three::after { height: 35px; transform: rotate(38deg); transform-origin: top; }

.workflow-canvas > button {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.55rem 0.8rem;
    color: #fff;
    background: #d58c00;
    border: 0;
    border-radius: 0.35rem;
    font-size: 0.55rem;
    font-weight: 600;
}

/* Package Manager product view */
.package-feature {
    margin: 1rem 0 4.5rem;
    padding-top: 4.5rem;
    border-top: 1px solid rgb(23 111 139 / 0.16);
}

.package-feature__copy {
    max-width: 850px;
    margin-bottom: 2.5rem;
}

.package-feature__copy h2,
.package-feature__copy h3 {
    margin: 0;
    color: var(--zentso-ink);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.package-feature__copy p {
    max-width: 760px;
    margin: 1rem 0 0;
    font-size: 1.05rem;
    line-height: 1.55;
}

.package-window {
    height: 610px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    background: #f5f6fa;
    border: 1px solid rgb(23 111 139 / 0.18);
    border-radius: var(--zentso-radius);
    box-shadow: 0 28px 70px rgb(13 27 62 / 0.16);
}

.package-window__sidebar {
    padding: 1.15rem 0.65rem;
    color: #fff;
    background: var(--cloudtoolz-navy);
}

.package-window__sidebar > img {
    width: 150px;
    height: auto;
    display: block;
    margin: 0.2rem auto 1.8rem;
}

.package-window__sidebar > div {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    margin-bottom: 0.7rem;
}

.package-window__sidebar span,
.package-window__sidebar strong,
.package-window__sidebar small {
    padding: 0.48rem 0.55rem;
    border-radius: 0.45rem;
    font-size: 0.58rem;
    font-weight: 500;
}

.package-window__sidebar .package-nav {
    padding: 0.35rem;
    background: var(--cloudtoolz-blue-light);
    outline: 1px solid rgb(255 255 255 / 0.38);
    border-radius: 0.55rem;
}

.package-window__sidebar .package-nav small {
    padding-left: 1.25rem;
    color: rgb(255 255 255 / 0.88);
}

.package-window__sidebar .package-nav small.is-active {
    background: rgb(240 100 36 / 0.28);
}

.package-window__workspace {
    min-width: 0;
}

.package-topbar {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    color: #667085;
    background: #fff;
    border-bottom: 1px solid #d8dee6;
    font-size: 0.6rem;
}

.package-topbar > div {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.package-topbar label {
    min-width: 145px;
    padding: 0.45rem 0.6rem;
    border: 1px solid #d8dee6;
    border-radius: 0.45rem;
}

.package-topbar strong {
    color: #344054;
}

.package-content {
    padding: 0.8rem 1.3rem 1.3rem;
}

.package-content > h3 {
    margin: 0 0 0.9rem;
    padding: 0.65rem 0.9rem;
    color: #3f4950;
    background: linear-gradient(90deg, var(--zentso-blue), var(--zentso-pale-yellow));
    font-size: 0.95rem;
    font-weight: 500;
}

.package-panel,
.package-cards article {
    background: #fff;
    border: 1px solid #d8dee6;
    border-radius: 0.65rem;
    box-shadow: 3px 4px 0 rgb(25 29 32 / 0.06);
}

.package-panel {
    margin-bottom: 0.85rem;
}

.package-panel > strong {
    display: block;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid #d8dee6;
    color: #182230;
    font-size: 0.62rem;
}

.package-panel--namespace > div {
    width: 48%;
    min-width: 280px;
    margin: 0.7rem;
    padding: 0.58rem 0.75rem;
    color: #182230;
    border: 1px solid var(--cloudtoolz-blue);
    border-radius: 0.48rem;
    box-shadow: 0 0 0 2px rgb(23 111 139 / 0.14);
    font-size: 0.65rem;
}

.package-panel--namespace > div span {
    margin-right: 0.55rem;
}

.package-panel--create {
    padding-bottom: 0.7rem;
}

.package-fields {
    display: grid;
    grid-template-columns: 1.1fr 0.8fr 1.35fr;
    gap: 0.65rem;
    padding: 0.75rem 0.7rem 0.55rem;
}

.package-fields label {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    color: #182230;
    font-size: 0.55rem;
}

.package-fields label b {
    font-weight: 600;
}

.package-fields label b em {
    color: #7a8396;
    font-style: normal;
    font-weight: 400;
}

.package-fields label > span {
    overflow: hidden;
    padding: 0.48rem 0.55rem;
    color: #7a8396;
    border: 1px solid #cfd6e1;
    border-radius: 0.42rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.package-fields label > span.is-readonly {
    color: #283342;
    background: #eef1f6;
}

.package-fields label small {
    color: #7a8396;
    font-size: 0.48rem;
}

.package-create-button {
    display: inline-block;
    margin-left: 0.7rem;
    padding: 0.48rem 0.7rem;
    color: var(--zentso-ink);
    background: var(--zentso-orange);
    border-radius: 0.4rem;
    font-size: 0.52rem;
    font-weight: 600;
}

.package-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.package-cards article {
    min-height: 140px;
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
}

.package-cards header {
    display: grid;
    grid-template-columns: 1fr auto;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid #d8dee6;
}

.package-cards header strong {
    color: #182230;
    font-size: 0.62rem;
}

.package-cards header span {
    padding: 0.15rem 0.4rem;
    color: #fff;
    background: #3bb879;
    border-radius: 1rem;
    font-size: 0.42rem;
    font-weight: 600;
}

.package-cards header small {
    color: #7a8396;
    font-size: 0.5rem;
}

.package-cards p {
    margin: 0.55rem 0;
    color: #717b90;
    font-size: 0.52rem;
    line-height: 1.45;
}

.package-cards article > b {
    margin-top: auto;
    padding: 0.42rem;
    border: 1px solid #cfd6e1;
    border-radius: 0.4rem;
    color: #182230;
    font-size: 0.5rem;
    font-weight: 600;
    text-align: center;
}

/* Contact mirrors ZENTSO yellow CTA */
.public-contact {
    padding: 5rem 0;
    background: #f5f9fc;
}

.public-contact__surface {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.75fr);
    align-items: center;
    gap: 4rem;
    padding: 3.5rem 2.5rem;
    color: #fff;
    background:
        radial-gradient(circle at 92% 15%, rgb(86 205 234 / 0.46), transparent 28%),
        linear-gradient(135deg, var(--cloudtoolz-navy) 0%, #233d80 62%, var(--cloudtoolz-blue) 100%);
    border: 1px solid rgb(23 111 139 / 0.18);
    border-radius: var(--zentso-radius);
    box-shadow: 0 28px 70px rgb(13 27 62 / 0.18);
}

.public-contact .section-eyebrow {
    color: #9beaff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.public-contact h2 {
    margin-top: 0.7rem;
    color: #fff;
}

.public-contact__surface > div > p {
    margin: 0.8rem 0 0;
    color: #dce8ff;
    font-size: 1rem;
}

.public-contact__outcomes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 1.4rem;
    margin: 1.5rem 0 0;
    padding: 1.4rem 0 0;
    border-top: 1px solid rgb(255 255 255 / 0.2);
    list-style: none;
}

.public-contact__outcomes li {
    position: relative;
    padding-left: 1.15rem;
    font-size: 0.82rem;
    line-height: 1.4;
}

.public-contact__outcomes li::before {
    position: absolute;
    top: 0.42em;
    left: 0;
    width: 0.45rem;
    height: 0.45rem;
    background: var(--cloudtoolz-cyan);
    border: 0;
    border-radius: 50%;
    content: "";
}

.public-contact-card {
    padding-left: 2rem;
    border-left: 1px solid rgb(255 255 255 / 0.24);
}

.public-contact-card > p {
    margin: 0 0 1rem;
}

.public-contact-card .btn {
    width: max-content;
}

.public-contact-card .btn::before {
    top: 3px;
}

.public-contact-card .btn > span {
    min-width: 180px;
    display: flex;
    justify-content: space-between;
    padding: 0.65em 1.2em;
    background: #fff;
    border-color: transparent;
}

.public-contact-card .btn b {
    margin-left: 1.25rem;
    font-size: 1.15em;
    font-weight: 400;
}

.public-contact-card__secondary {
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}

.public-contact-card__secondary:hover {
    color: #9beaff;
}

.public-contact-card__details {
    margin-top: 1.2rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #dce8ff;
}

.public-contact-card__details :last-child {
    margin-bottom: 0;
}

/* Footer */
.public-footer {
    padding: 2rem 0;
    color: #dce8ff;
    background: #08142d;
    border-top: 0;
}

.public-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.public-footer p {
    margin: 0;
    font-size: 0.8rem;
}

.public-footer nav {
    display: flex;
    gap: 1.5rem;
}

.public-footer a {
    color: #dce8ff;
    font-size: 0.8rem;
}

.public-footer a:hover {
    color: #9beaff;
}

.public-back-to-top {
    width: 44px;
    height: 44px;
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 1000;
    display: grid;
    place-items: center;
    color: var(--zentso-ink);
    background: var(--zentso-orange);
    border: 1px solid rgb(255 255 255 / 0.45);
    border-radius: 50%;
    box-shadow: 0 10px 24px rgb(13 27 62 / 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
}

.public-back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.public-back-to-top:hover {
    color: var(--zentso-ink);
    background: var(--zentso-yellow);
    transform: translateY(3px);
    box-shadow: 0 5px 14px rgb(13 27 62 / 0.2);
}

/* Cookie preference */
.public-cookie {
    width: min(560px, calc(100vw - 2rem));
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: var(--zentso-ink);
    background: #fff;
    border: 1px solid rgb(23 111 139 / 0.18);
    border-radius: 1rem;
    box-shadow: 0 18px 48px rgb(13 27 62 / 0.18);
}

.public-cookie__copy {
    flex: 1;
}

.public-cookie__copy strong {
    display: block;
    font-weight: 500;
}

.public-cookie__copy p {
    margin: 0.25rem 0 0;
    font-size: 0.72rem;
    line-height: 1.4;
}

.public-cookie__copy a {
    color: var(--zentso-orange);
}

.public-cookie__actions {
    display: flex;
    flex-shrink: 0;
    gap: 0.5rem;
}

.public-cookie .btn-sm {
    margin: 0;
    padding: 0.5rem 0.75rem;
    color: var(--zentso-ink);
    background: #fff !important;
    border: 1px solid var(--zentso-ink) !important;
    font-size: 0.68rem;
}

.public-cookie .btn-sm::before {
    display: none;
}

.public-cookie .btn-primary {
    color: var(--zentso-ink);
    background: var(--zentso-orange) !important;
    border-color: transparent !important;
}

/* Secondary public pages */
.public-page {
    min-height: calc(100vh - 145px);
    padding: 8rem 0 5rem;
    background: linear-gradient(145deg, #eefaff, var(--zentso-pale-yellow));
}

.public-page__surface {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(1.5rem, 5vw, 4rem);
    background: #fff;
    border: 1px solid rgb(23 111 139 / 0.16);
    border-radius: var(--zentso-radius);
    box-shadow: 0 20px 50px rgb(13 27 62 / 0.1);
}

.public-page__surface .text-white {
    color: var(--zentso-ink) !important;
}

.public-page__surface .border-white {
    border-color: var(--zentso-ink) !important;
}

.public-page__surface h1 {
    color: var(--zentso-ink);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 300;
}

.public-page__surface h2 {
    font-size: 1.55rem;
    font-weight: 400;
}

.public-page__surface h3 {
    font-size: 1.15rem;
    font-weight: 500;
}

.public-page__surface p,
.public-page__surface li {
    line-height: 1.6;
}

.public-page__surface a.text-white {
    color: var(--zentso-orange) !important;
}

.financial-information__header {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgb(23 111 139 / 0.16);
}

.financial-information__lead {
    max-width: 720px;
    margin: 1rem 0;
    font-size: 1.15rem;
}

.financial-information__note {
    max-width: 720px;
    margin: 0;
    padding: 1rem 1.15rem;
    color: #44516b;
    background: var(--zentso-pale-yellow);
    border-left: 3px solid var(--zentso-orange);
    border-radius: 0 8px 8px 0;
}

.financial-information section {
    margin-top: 2.5rem;
}

.financial-information__figures {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 1.5rem 0;
    overflow: hidden;
    background: rgb(23 111 139 / 0.18);
    border: 1px solid rgb(23 111 139 / 0.18);
    border-radius: 12px;
}

.financial-information__figures > div {
    padding: 1.15rem;
    background: #fff;
}

.financial-information__figures dt {
    color: #536078;
    font-size: 0.9rem;
    font-weight: 500;
}

.financial-information__figures dd {
    margin: 0.4rem 0 0;
    color: var(--zentso-ink);
    font-size: 1.15rem;
    font-weight: 600;
}

.financial-information__figure--projected {
    grid-column: 1 / -1;
}

.financial-information__updated {
    display: flex;
    gap: 0.5rem;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    color: #536078;
    border-top: 1px solid rgb(23 111 139 / 0.16);
}

@media (max-width: 640px) {
    .financial-information__figures {
        grid-template-columns: 1fr;
    }

    .financial-information__figure--projected {
        grid-column: auto;
    }
}

@media (max-width: 1100px) {
    .problem-grid,
    .imis-grid,
    .proof-grid {
        gap: 2.5rem;
    }

    .problem-cycle > div {
        min-height: 190px;
        padding: 1.05rem;
    }

    .imis-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    }

    .admin-window--library {
        width: 94%;
        grid-template-columns: 155px 1fr;
    }

    .admin-sidebar > img {
        width: 125px;
    }

    .admin-toolbar {
        gap: 0.55rem;
    }

    .package-window {
        grid-template-columns: 155px minmax(0, 1fr);
    }

    .package-window__sidebar > img {
        width: 125px;
    }
}

@media (max-width: 991.98px) {
    .public-navbar .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.8rem;
        background: rgb(255 255 255 / 0.98);
        border: 1px solid rgb(23 111 139 / 0.16);
        border-radius: 1rem;
        box-shadow: 0 18px 42px rgb(13 27 62 / 0.14);
    }

    .public-navbar .navbar-nav {
        align-items: stretch;
    }

    .public-navbar .nav-link::after {
        display: none;
    }

    .public-nav-actions {
        margin-top: 0.5rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgb(25 29 32 / 0.25);
    }

    .problem-grid,
    .imis-grid,
    .ai-panel,
    .proof-grid {
        grid-template-columns: 1fr;
    }

    .problem-cycle {
        max-width: 760px;
    }

    .capability-grid,
    .runtime-pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .capability-grid .capability-card--package {
        grid-column: auto;
    }

    .imis-system-map {
        width: min(100%, 600px);
        margin-inline: auto;
    }

    .ai-panel {
        gap: 2rem;
    }

    .proof-grid > img {
        height: 420px;
    }

    .admin-composite {
        min-height: 680px;
    }

    .admin-window--library {
        width: 100%;
        grid-template-columns: 130px 1fr;
    }

    .admin-sidebar nav span,
    .admin-sidebar nav small {
        font-size: 0.58rem;
    }

    .admin-window--editor {
        width: 72%;
    }

    .package-window {
        grid-template-columns: 135px minmax(0, 1fr);
    }

    .package-window__sidebar > img {
        width: 108px;
    }

    .package-window__sidebar span,
    .package-window__sidebar strong,
    .package-window__sidebar small {
        font-size: 0.5rem;
    }

}

@media (max-width: 767.98px) {
    body.public-shell {
        font-size: 14px;
    }

    .public-shell .container {
        padding-inline: 2rem;
    }

    .public-brand,
    .public-brand img {
        width: 145px;
    }

    .public-hero {
        padding-top: 7.5rem;
    }

    .public-hero h1 {
        font-size: clamp(2.35rem, 10vw, 3.2rem);
    }

    .public-hero__lead {
        font-size: 1rem;
    }

    .public-hero__actions {
        align-items: center;
        flex-direction: column;
    }

    .public-hero__actions .btn,
    .public-hero__actions .btn > span {
        width: 100%;
    }

    .public-section {
        padding: 4rem 0;
    }

    .problem-cycle {
        grid-template-columns: 1fr;
    }

    .problem-cycle > div {
        min-height: auto;
    }

    .problem-cycle > div strong {
        margin-top: 2rem;
    }

    .problem-cycle > i {
        justify-self: center;
        transform: rotate(90deg);
    }

    .requirement-list {
        margin-top: 2.5rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem;
        font-size: 0.78rem;
    }

    .capability-grid,
    .runtime-pillars {
        grid-template-columns: 1fr;
    }

    .capability-grid .capability-card--package {
        grid-column: auto;
    }

    .capability-grid article {
        min-height: 200px;
    }

    .imis-system-map {
        min-height: 420px;
    }

    .imis-ring {
        width: 330px;
        height: 330px;
    }

    .imis-core {
        width: 175px;
        height: 175px;
    }

    .imis-core strong {
        font-size: 2rem;
    }

    .imis-orbit {
        min-width: 108px;
        padding: 0.55rem 0.7rem;
        font-size: 0.65rem;
    }

    .proof-grid > img {
        height: 320px;
    }

    .admin-composite {
        min-height: auto;
        display: grid;
        gap: 1rem;
    }

    .admin-window {
        position: relative;
    }

    .admin-window--library {
        width: 100%;
        height: 480px;
        grid-template-columns: 95px 1fr;
    }

    .admin-sidebar {
        padding-inline: 0.4rem;
    }

    .admin-sidebar > img {
        width: 82px;
        margin-bottom: 1rem;
    }

    .admin-sidebar nav span,
    .admin-sidebar nav small {
        overflow: hidden;
        padding: 0.45rem 0.35rem;
        font-size: 0.47rem;
        white-space: nowrap;
    }

    .admin-sidebar nav small {
        padding-left: 0.8rem;
    }

    .admin-topbar > div > span,
    .admin-topbar strong,
    .admin-toolbar span:nth-child(n+5) {
        display: none;
    }

    .admin-row {
        grid-template-columns: minmax(130px, 1fr) 70px 35px 30px;
    }

    .admin-window--editor {
        right: auto;
        bottom: auto;
        width: 100%;
        height: 410px;
    }

    .package-feature {
        padding-top: 3.5rem;
    }

    .package-window {
        height: auto;
        grid-template-columns: 1fr;
    }

    .package-window__sidebar {
        display: none;
    }

    .package-topbar > div label,
    .package-topbar > div strong {
        display: none;
    }

    .package-content {
        padding: 0.75rem;
    }

    .package-panel--namespace > div {
        width: auto;
        min-width: 0;
    }

    .package-fields,
    .package-cards {
        grid-template-columns: 1fr;
    }

    .package-fields label small {
        margin-bottom: 0.2rem;
    }

    .public-contact__surface {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 1.5rem;
    }

    .public-contact-card {
        padding: 1.5rem 0 0;
        border-top: 1px solid var(--zentso-ink);
        border-left: 0;
    }

    .public-contact__outcomes {
        grid-template-columns: 1fr;
    }

    .public-cookie {
        right: 0.75rem;
        bottom: 0.75rem;
        left: 0.75rem;
        width: auto;
        align-items: stretch;
        flex-direction: column;
    }

    .public-cookie__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .public-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 479.98px) {
    .public-shell .container {
        padding-inline: 1.2rem;
    }

    .public-nav-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .public-nav-actions .btn,
    .public-nav-actions form,
    .public-nav-actions form .btn {
        width: 100%;
    }

    .imis-system-map {
        min-height: 360px;
    }

    .imis-ring {
        width: 270px;
        height: 270px;
    }

    .imis-core {
        width: 145px;
        height: 145px;
        padding: 1rem;
    }

    .imis-core small {
        font-size: 0.5rem;
    }

    .imis-core strong {
        font-size: 1.7rem;
    }

    .imis-core span {
        font-size: 0.56rem;
    }

    .imis-orbit {
        min-width: 88px;
        padding: 0.45rem;
        font-size: 0.56rem;
    }

    .admin-window--library {
        grid-template-columns: 72px 1fr;
    }

    .admin-sidebar > img {
        width: 62px;
    }

    .admin-sidebar nav span,
    .admin-sidebar nav small {
        font-size: 0.4rem;
    }

    .admin-row {
        grid-template-columns: minmax(105px, 1fr) 45px 28px 20px;
        font-size: 0.44rem;
    }

    .workflow-node {
        width: 190px;
    }

    .public-cookie__actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .public-shell *,
    .public-shell *::before,
    .public-shell *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
