:root {
        --dinepa-blue: #063b68;
        --dinepa-dark: #022a49;
        --dinepa-soft: #eaf3f9;
        --dinepa-line: #dbe6ee;
        --numerech-azure: #6eb7e3;
        --numerech-red: #da3933;
        --numerech-grey: #424243;
        --ink: #172533;
        --muted: #667786;
        --surface: #ffffff;
        --page: #f4f7f9;
        --shadow: 0 14px 40px rgba(2, 42, 73, .08);
        --radius: 18px;
}

* {
        box-sizing: border-box;
}

html {
        scroll-behavior: smooth;
}

body {
        margin: 0;
        background: var(--page);
        color: var(--ink);
        font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 16px;
        line-height: 1.65;
        -webkit-font-smoothing: antialiased;
}

button,
a {
        font: inherit;
}

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


/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
        position: sticky;
        top: 0;
        z-index: 100;
        height: 68px;
        background: rgba(255, 255, 255, .96);
        border-bottom: 1px solid var(--dinepa-line);
        backdrop-filter: blur(14px);
}

.topbar-inner {
        max-width: 1480px;
        height: 100%;
        margin: auto;
        padding: 0 28px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
}

.brand,
.footer-brand {
        display: flex;
        align-items: center;
        gap: 10px;
}

.brand-mark {
        width: 35px;
        height: 35px;
        display: grid;
        place-items: center;
        color: white;
        font-weight: 800;
        font-family: Manrope, sans-serif;
        background: linear-gradient(135deg,
                        var(--numerech-azure) 0 48%,
                        var(--numerech-red) 49% 100%);
        clip-path: polygon(50% 0,
                        100% 100%,
                        70% 100%,
                        50% 42%,
                        30% 100%,
                        0 100%);
}

.brand strong,
.footer-brand strong {
        display: block;
        font-family: Manrope, sans-serif;
        font-size: 19px;
        letter-spacing: -.04em;
}

.brand small,
.footer-brand small {
        display: block;
        font-size: 8px;
        letter-spacing: .06em;
        color: var(--muted);
}

.document-label {
        color: var(--muted);
        font-size: 14px;
        font-weight: 600;
}

.document-dot,
.status-dot {
        display: inline-block;
        width: 7px;
        height: 7px;
        margin-right: 7px;
        border-radius: 50%;
        background: var(--numerech-azure);
}

.top-actions {
        display: flex;
        gap: 8px;
}

.icon-button,
.print-button {
        border: 1px solid var(--dinepa-line);
        background: white;
        color: var(--dinepa-dark);
        border-radius: 9px;
        cursor: pointer;
}

.icon-button {
        width: 38px;
        height: 38px;
}

.print-button {
        padding: 9px 14px;
        font-size: 14px;
        font-weight: 700;
}

.print-button:hover {
        background: var(--dinepa-soft);
}


/* =========================================================
   PROGRESS BAR
   ========================================================= */

.progress-bar {
        position: fixed;
        top: 68px;
        left: 0;
        z-index: 110;
        width: 100%;
        height: 2px;
        background: transparent;
}

.progress-bar span {
        display: block;
        height: 100%;
        width: 0;
        background: var(--numerech-red);
        transition: width .1s linear;
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.layout {
        max-width: 1480px;
        margin: auto;
        padding: 34px 28px 70px;
        display: grid;
        grid-template-columns: 255px minmax(0, 1fr);
        gap: 30px;
}

.sidebar-card {
        position: sticky;
        top: 94px;
        background: var(--surface);
        border: 1px solid var(--dinepa-line);
        border-radius: 16px;
        box-shadow: var(--shadow);
        overflow: hidden;
}

.toc-heading {
        padding: 20px 20px 14px;
        border-bottom: 1px solid var(--dinepa-line);
        font-weight: 800;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: .1em;
        color: var(--dinepa-dark);
}

.toc-heading small {
        display: block;
        margin-top: 3px;
        color: #91a0aa;
        font-size: 10px;
        letter-spacing: .14em;
}

#toc {
        padding: 9px;
}

#toc a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 11px;
        border-radius: 9px;
        color: #61717d;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.45;
        transition: .2s ease;
}

#toc a span {
        min-width: 22px;
        color: #a2afb7;
        font-size: 11px;
        font-weight: 800;
}

#toc a:hover {
        background: var(--dinepa-soft);
        color: var(--dinepa-blue);
}

#toc a.active {
        background: var(--dinepa-blue);
        color: white;
}

#toc a.active span {
        color: var(--numerech-azure);
}

.sidebar-footer {
        padding: 13px 18px;
        border-top: 1px solid var(--dinepa-line);
        color: #82919c;
        font-size: 11px;
}


/* =========================================================
   DOCUMENT SECTIONS
   ========================================================= */

.document {
        min-width: 0;
}

.document-section,
.cover {
        position: relative;
        background: var(--surface);
        border: 1px solid var(--dinepa-line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        margin-bottom: 28px;
        padding: 54px 58px;
        scroll-margin-top: 92px;
}


/* =========================================================
   COVER
   ========================================================= */

.cover {
        min-height: 610px;
        overflow: hidden;
        color: white;
        border: none;
        background:
                radial-gradient(circle at 84% 20%,
                        rgba(110, 183, 227, .24),
                        transparent 26%),
                linear-gradient(130deg,
                        #021e35 0%,
                        #063b68 62%,
                        #07517c 100%);
}

.cover::after {
        content: "";
        position: absolute;
        right: -90px;
        top: -120px;
        width: 430px;
        height: 430px;
        border: 1px solid rgba(110, 183, 227, .25);
        border-radius: 50%;
}

.cover-accent {
        position: absolute;
        left: 0;
        top: 0;
        width: 8px;
        height: 100%;
        background: linear-gradient(var(--numerech-azure) 0 70%,
                        var(--numerech-red) 70% 100%);
}

.cover-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        position: relative;
        z-index: 2;
}

.dinepa-lockup {
        display: flex;
        align-items: center;
        gap: 12px;
}

.dinepa-symbol {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        color: var(--numerech-azure);
        border: 1px solid rgba(255, 255, 255, .22);
        border-radius: 12px;
        transform: rotate(45deg);
}

.dinepa-symbol::first-letter {
        transform: rotate(-45deg);
}

.dinepa-lockup strong {
        display: block;
        font-family: Manrope, sans-serif;
        font-size: 18px;
}

.dinepa-lockup small {
        display: block;
        color: #b9d4e5;
        font-size: 10px;
        line-height: 1.45;
}

.proposal-tag {
        text-align: right;
        color: #a9c6d9;
        font-size: 11px;
        letter-spacing: .14em;
        line-height: 1.7;
}

.proposal-tag b {
        color: white;
        font-size: 13px;
}

.cover-content {
        position: relative;
        z-index: 2;
        max-width: 790px;
        margin-top: 100px;
}

.eyebrow {
        margin: 0 0 10px;
        color: var(--numerech-azure);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .14em;
        text-transform: uppercase;
}

.cover h1 {
        margin: 0;
        font-family: Manrope, sans-serif;
        font-size: clamp(35px, 5vw, 62px);
        line-height: 1.05;
        letter-spacing: -.045em;
}

.cover h1 em {
        color: #a8dcf6;
        font-style: normal;
}

.cover-lead {
        max-width: 690px;
        margin: 22px 0 20px;
        color: #c5d9e7;
        font-size: 17px;
        line-height: 1.6;
}

.cover-author {
        display: flex;
        align-items: center;
        gap: 13px;
        position: relative;
        z-index: 3;
        transform: translateY(-6px);
}

.author-avatar {
        width: 46px;
        height: 46px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: #e7f4fb;
        color: var(--dinepa-blue);
        font-weight: 800;
        font-size: 14px;
}

.cover-author span {
        display: block;
        color: #83b7d4;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .12em;
}

.cover-author strong {
        display: block;
        font-family: Manrope, sans-serif;
        font-size: 15px;
}

.cover-author p {
        margin: 1px 0 0;
        color: #b7cfdf;
        font-size: 11px;
        line-height: 1.5;
}

.cover-bottom {
        position: absolute;
        left: 58px;
        right: 58px;
        bottom: 22px;
        z-index: 2;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, .16);
}

.cover-bottom span,
.cover-bottom strong {
        display: block;
}

.cover-bottom span {
        color: #7faac4;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: .1em;
}

.cover-bottom strong {
        margin-top: 3px;
        font-size: 12px;
        color: #e7f3f9;
}


/* =========================================================
   EXECUTIVE STRIP
   ========================================================= */

.executive-strip {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        background: white;
        border: 1px solid var(--dinepa-line);
        border-radius: 15px;
        box-shadow: var(--shadow);
        margin: 0 0 28px;
        overflow: hidden;
}

.executive-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 18px 20px;
        border-right: 1px solid var(--dinepa-line);
}

.executive-item:last-child {
        border-right: none;
}

.mini-icon {
        width: 32px;
        height: 32px;
        display: grid;
        place-items: center;
        border-radius: 9px;
        background: var(--dinepa-soft);
        color: var(--dinepa-blue);
        font-size: 10px;
        font-weight: 800;
}

.executive-item strong {
        display: block;
        font-size: 13px;
        color: var(--dinepa-dark);
}

.executive-item small {
        display: block;
        font-size: 11px;
        color: var(--muted);
        line-height: 1.45;
}


/* =========================================================
   SECTION HEADERS
   ========================================================= */

.section-header {
        display: flex;
        align-items: center;
        gap: 17px;
        padding-bottom: 23px;
        border-bottom: 1px solid var(--dinepa-line);
        margin-bottom: 32px;
}

.section-number {
        flex: 0 0 auto;
        width: 55px;
        height: 55px;
        display: grid;
        place-items: center;
        border-radius: 13px;
        color: var(--dinepa-blue);
        background: var(--dinepa-soft);
        font-family: Manrope, sans-serif;
        font-size: 18px;
        font-weight: 800;
}

.section-header .eyebrow {
        margin-bottom: 3px;
        color: var(--dinepa-blue);
}

.section-header h2 {
        margin: 0;
        font-family: Manrope, sans-serif;
        font-size: clamp(25px, 3vw, 36px);
        line-height: 1.12;
        letter-spacing: -.035em;
        color: var(--dinepa-dark);
}


/* =========================================================
   SUBSECTIONS
   ========================================================= */

.subsection {
        margin-top: 36px;
}

.subsection h3 {
        margin: 0 0 12px;
        font-family: Manrope, sans-serif;
        font-size: 20px;
        line-height: 1.25;
        color: var(--dinepa-dark);
}

.subsection p,
.lead-panel p {
        color: var(--muted);
        font-size: 15px;
        line-height: 1.65;
}

.lead-panel {
        border-left: 4px solid var(--numerech-azure);
        padding: 2px 0 2px 21px;
        margin-bottom: 32px;
}

.lead-panel p {
        margin: 0;
        font-size: 17px;
        color: #4d606d;
        line-height: 1.65;
}


/* =========================================================
   CARDS
   ========================================================= */

.two-column-cards,
.objective-grid,
.feature-list,
.tech-grid,
.security-grid,
.change-grid {
        display: grid;
        gap: 13px;
}

.two-column-cards {
        grid-template-columns: repeat(2, 1fr);
}

.feature-card {
        padding: 22px;
        background: #f8fafc;
        border: 1px solid var(--dinepa-line);
        border-radius: 14px;
}

.feature-card.accent {
        border-top: 3px solid var(--numerech-red);
}

.card-kicker {
        display: block;
        color: var(--dinepa-blue);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .12em;
        text-transform: uppercase;
}

.feature-card h4 {
        margin: 8px 0 7px;
        color: var(--dinepa-dark);
        font-family: Manrope, sans-serif;
        font-size: 17px;
        line-height: 1.3;
}

.feature-card p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.6;
}

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

.objective-grid > div {
        padding: 16px;
        border: 1px solid var(--dinepa-line);
        border-radius: 12px;
        background: linear-gradient(90deg, #f5f9fc, white);
}

.objective-grid b {
        display: block;
        color: var(--dinepa-blue);
        font-size: 14px;
}

.objective-grid span {
        display: block;
        margin-top: 4px;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.55;
}


/* =========================================================
   CALLOUTS
   ========================================================= */

.callout {
        display: flex;
        gap: 13px;
        align-items: flex-start;
        margin-top: 22px;
        padding: 15px 17px;
        border-radius: 11px;
        background: var(--dinepa-soft);
        color: #496878;
}

.callout.warning {
        background: #fff8eb;
        color: #745c2c;
        border-left: 3px solid #d99a2b;
}

.callout strong {
        color: var(--dinepa-dark);
        font-size: 12px;
}

.callout span {
        font-size: 12px;
        line-height: 1.6;
}


/* =========================================================
   TABLES
   ========================================================= */

.data-table,
.delivery-table {
        overflow: hidden;
        border: 1px solid var(--dinepa-line);
        border-radius: 12px;
}

.table-row,
.delivery-row {
        display: grid;
        grid-template-columns: 1.1fr 1.4fr 1.5fr;
        gap: 15px;
        padding: 13px 15px;
        border-bottom: 1px solid var(--dinepa-line);
        color: var(--muted);
        font-size: 13.5px;
        line-height: 1.5;
}

.table-row:last-child,
.delivery-row:last-child {
        border-bottom: none;
}

.table-row b,
.delivery-row b {
        color: var(--dinepa-dark);
}

.table-head,
.delivery-row.head {
        background: var(--dinepa-dark);
        color: white;
        font-weight: 700;
        font-size: 13.5px;
}


/* =========================================================
   JOURNEY
   ========================================================= */

.journey-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 11px;
}

.journey {
        padding: 17px;
        border: 1px solid var(--dinepa-line);
        border-radius: 12px;
}

.journey span {
        color: var(--numerech-red);
        font-size: 10px;
        font-weight: 800;
}

.journey b {
        display: block;
        margin: 4px 0;
        color: var(--dinepa-dark);
        font-size: 13px;
}

.journey small {
        display: block;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.55;
}


/* =========================================================
   LISTS
   ========================================================= */

.clean-list {
        padding: 0;
        margin: 0;
        list-style: none;
        display: grid;
        gap: 9px;
}

.clean-list li {
        position: relative;
        padding-left: 19px;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.6;
}

.clean-list li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--numerech-azure);
        font-weight: 800;
}


/* =========================================================
   PILLARS
   ========================================================= */

.pillar {
        display: grid;
        grid-template-columns: 105px 1fr;
        gap: 20px;
        padding: 22px;
        border-radius: 14px;
        background: linear-gradient(100deg,
                        var(--dinepa-dark),
                        var(--dinepa-blue));
        color: white;
}

.pillar.secondary {
        margin-top: 38px;
        background: #f0f6fa;
        color: var(--ink);
}

.pillar-number {
        color: var(--numerech-azure);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .12em;
}

.pillar h3 {
        margin: 0 0 5px;
        font-family: Manrope, sans-serif;
        font-size: 20px;
        line-height: 1.25;
}

.pillar p {
        margin: 0;
        color: #b9d3e3;
        font-size: 13px;
        line-height: 1.55;
}

.pillar.secondary p {
        color: var(--muted);
}


/* =========================================================
   FEATURE LIST
   ========================================================= */

.feature-list {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 14px;
}

.feature-list article {
        padding: 17px;
        border: 1px solid var(--dinepa-line);
        border-radius: 12px;
}

.feature-list article > span {
        color: var(--numerech-azure);
        font-size: 10px;
        font-weight: 800;
}

.feature-list h4 {
        margin: 4px 0;
        color: var(--dinepa-dark);
        font-family: Manrope, sans-serif;
        font-size: 15px;
        line-height: 1.35;
}

.feature-list p {
        margin: 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.55;
}

.feature-list.compact {
        grid-template-columns: repeat(2, 1fr);
}


/* =========================================================
   ARCHITECTURE
   ========================================================= */

.architecture-banner {
        padding: 24px;
        border-radius: 15px;
        background: #f2f8fc;
        border: 1px solid #cfe3ef;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
}

.architecture-banner h3 {
        margin: 6px 0;
        font-family: Manrope, sans-serif;
        font-size: 22px;
        color: var(--dinepa-dark);
}

.architecture-banner p {
        margin: 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.55;
}

.architecture-flow {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
}

.architecture-flow span {
        padding: 9px 11px;
        background: white;
        border: 1px solid #cfe3ef;
        border-radius: 8px;
        color: var(--dinepa-blue);
        font-size: 11px;
        font-weight: 700;
}

.architecture-flow i {
        color: var(--numerech-azure);
        font-style: normal;
}


/* =========================================================
   TECHNOLOGY
   ========================================================= */

.tech-grid {
        grid-template-columns: repeat(4, 1fr);
        margin-top: 20px;
}

.tech-grid article {
        padding: 18px;
        border: 1px solid var(--dinepa-line);
        border-radius: 12px;
}

.tech-grid b {
        display: block;
        color: var(--dinepa-blue);
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: .08em;
}

.tech-grid strong {
        display: block;
        margin: 7px 0;
        color: var(--dinepa-dark);
        font-family: Manrope, sans-serif;
        font-size: 14px;
        line-height: 1.35;
}

.tech-grid small {
        color: var(--muted);
        font-size: 12px;
        line-height: 1.5;
}


/* =========================================================
   SECURITY
   ========================================================= */

.security-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 25px;
}

.security-grid div {
        padding: 15px;
        border-left: 3px solid var(--numerech-azure);
        background: #f8fafc;
}

.security-grid b {
        display: block;
        color: var(--dinepa-dark);
        font-size: 13px;
}

.security-grid span {
        display: block;
        margin-top: 3px;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.55;
}


/* =========================================================
   TIMELINE
   ========================================================= */

.timeline {
        position: relative;
        display: grid;
        gap: 0;
}

.timeline::before {
        content: "";
        position: absolute;
        left: 17px;
        top: 18px;
        bottom: 18px;
        width: 1px;
        background: #cfe0ea;
}

.timeline > div {
        position: relative;
        display: grid;
        grid-template-columns: 36px 1fr;
        gap: 15px;
        padding: 13px 0;
}

.timeline > div > span {
        position: relative;
        z-index: 1;
        width: 35px;
        height: 35px;
        display: grid;
        place-items: center;
        background: white;
        border: 2px solid var(--numerech-azure);
        border-radius: 50%;
        color: var(--dinepa-blue);
        font-size: 10px;
        font-weight: 800;
}

.timeline b {
        display: block;
        color: var(--dinepa-dark);
        font-size: 14px;
}

.timeline small {
        display: block;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.55;
}


/* =========================================================
   CHANGE GRID
   ========================================================= */

.change-grid {
        grid-template-columns: repeat(4, 1fr);
}

.change-grid article {
        padding: 20px;
        border: 1px solid var(--dinepa-line);
        border-radius: 13px;
}

.change-grid span {
        color: var(--numerech-red);
        font-size: 10px;
        font-weight: 800;
}

.change-grid h3 {
        margin: 6px 0;
        font-family: Manrope, sans-serif;
        font-size: 16px;
        line-height: 1.3;
        color: var(--dinepa-dark);
}

.change-grid p {
        margin: 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.55;
}


/* =========================================================
   SUCCESS PANEL
   ========================================================= */

.success-panel {
        margin-top: 25px;
        padding: 26px;
        border-radius: 15px;
        background: var(--dinepa-dark);
        color: white;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        align-items: center;
}

.success-panel .card-kicker {
        color: var(--numerech-azure);
}

.success-panel h3 {
        margin: 6px 0 0;
        font-family: Manrope, sans-serif;
        font-size: 22px;
        line-height: 1.2;
}

.success-panel p {
        margin: 0;
        color: #b9cfdd;
        font-size: 13px;
        line-height: 1.6;
}


/* =========================================================
   FOOTER
   ========================================================= */

.document-footer {
        display: grid;
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 30px;
        padding: 30px 15px 10px;
        color: var(--muted);
}

.document-footer > div:not(.footer-brand) {
        padding-left: 20px;
        border-left: 1px solid var(--dinepa-line);
}

.document-footer strong,
.document-footer span {
        display: block;
        font-size: 12px;
        line-height: 1.5;
}

.document-footer strong {
        color: var(--dinepa-dark);
        margin-bottom: 3px;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-top {
        position: fixed;
        right: 24px;
        bottom: 24px;
        z-index: 90;
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 50%;
        background: var(--dinepa-dark);
        color: white;
        box-shadow: var(--shadow);
        cursor: pointer;
        opacity: 0;
        pointer-events: none;
        transform: translateY(8px);
        transition: .2s;
}

.back-top.visible {
        opacity: 1;
        pointer-events: auto;
        transform: none;
}


/* =========================================================
   DARK MODE
   ========================================================= */

body.dark {
        --page: #101820;
        --surface: #17232d;
        --ink: #e8f0f5;
        --muted: #a6b6c1;
        --dinepa-line: #2b3c48;
        --dinepa-soft: #203746;
        --dinepa-dark: #071e30;
}

body.dark .topbar {
        background: rgba(16, 24, 32, .96);
}

body.dark .brand strong,
body.dark .document-label,
body.dark .section-header h2,
body.dark .subsection h3,
body.dark .feature-card h4,
body.dark .objective-grid b,
body.dark .journey b,
body.dark .feature-list h4,
body.dark .tech-grid strong,
body.dark .security-grid b,
body.dark .timeline b,
body.dark .change-grid h3,
body.dark .document-footer strong {
        color: #e8f0f5;
}

body.dark .icon-button,
body.dark .print-button {
        background: #17232d;
        color: white;
}

body.dark .feature-card,
body.dark .objective-grid > div,
body.dark .feature-list article,
body.dark .tech-grid article,
body.dark .security-grid div,
body.dark .change-grid article {
        background: #14212a;
}

body.dark .architecture-banner {
        background: #132d3d;
}

body.dark .architecture-flow span {
        background: #17232d;
}

body.dark .table-row,
body.dark .delivery-row {
        color: #a6b6c1;
}


/* =========================================================
   RESPONSIVE — 1100px
   ========================================================= */

@media (max-width: 1100px) {
        .layout {
                grid-template-columns: 210px minmax(0, 1fr);
                padding-left: 18px;
                padding-right: 18px;
        }

        .document-section,
        .cover {
                padding: 42px;
        }

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

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


/* =========================================================
   RESPONSIVE — 820px
   ========================================================= */

@media (max-width: 820px) {
        .topbar {
                height: 60px;
        }

        .progress-bar {
                top: 60px;
        }

        .document-label {
                display: none;
        }

        .layout {
                display: block;
                padding: 15px;
        }

        .sidebar {
                display: none;
        }

        .document-section,
        .cover {
                padding: 30px 24px;
                border-radius: 14px;
                margin-bottom: 18px;
        }

        .cover {
                min-height: 600px;
        }

        .cover-content {
                margin-top: 80px;
        }

        .cover-bottom {
                left: 24px;
                right: 24px;
                grid-template-columns: 1fr;
                gap: 8px;
        }

        .executive-strip {
                grid-template-columns: repeat(2, 1fr);
                margin-bottom: 18px;
        }

        .executive-item:nth-child(2) {
                border-right: none;
        }

        .executive-item {
                border-bottom: 1px solid var(--dinepa-line);
        }

        .two-column-cards,
        .objective-grid,
        .feature-list,
        .feature-list.compact,
        .security-grid,
        .success-panel {
                grid-template-columns: 1fr;
        }

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

        .architecture-banner {
                flex-direction: column;
                align-items: flex-start;
        }

        .architecture-flow {
                justify-content: flex-start;
        }

        .document-footer {
                grid-template-columns: 1fr;
        }

        .document-footer > div:not(.footer-brand) {
                padding-left: 0;
                border-left: 0;
        }
}


/* =========================================================
   RESPONSIVE — 520px
   ========================================================= */

@media (max-width: 520px) {
        .topbar-inner {
                padding: 0 14px;
        }

        .print-button {
                font-size: 12px;
                padding: 8px 10px;
        }

        .cover h1 {
                font-size: 35px;
        }

        .cover-lead {
                font-size: 16px;
        }

        .executive-strip,
        .journey-grid,
        .tech-grid,
        .change-grid {
                grid-template-columns: 1fr;
        }

        .executive-item {
                border-right: none;
        }

        .table-row,
        .delivery-row {
                grid-template-columns: 1fr;
                gap: 5px;
        }

        .section-header {
                align-items: flex-start;
        }

        .section-number {
                width: 44px;
                height: 44px;
                font-size: 15px;
        }

        .section-header h2 {
                font-size: 25px;
        }

        .subsection h3 {
                font-size: 19px;
        }

        .subsection p {
                font-size: 15px;
        }

        .feature-card p,
        .feature-list p,
        .objective-grid span,
        .clean-list li {
                font-size: 14px;
        }
}


/* =========================================================
   PRINT
   ========================================================= */

@media print {
        @page {
                size: A4;
                margin: 13mm 12mm;
        }

        body {
                background: white !important;
                color: #172533 !important;
                font-size: 14px;
        }

        .no-print,
        .sidebar,
        .topbar,
        .progress-bar,
        .back-top {
                display: none !important;
        }

        .layout {
                display: block;
                max-width: none;
                padding: 0;
        }

        .document-section,
        .cover,
        .executive-strip {
                box-shadow: none !important;
                border: 1px solid #d8e0e5;
                break-inside: avoid;
                margin-bottom: 12mm;
        }

        .cover {
                min-height: 255mm;
                color: white !important;
                print-color-adjust: exact;
                -webkit-print-color-adjust: exact;
        }

        .document-section {
                padding: 12mm;
        }

        .document-section + .document-section {
                break-before: page;
        }

        .cover + .executive-strip {
                break-before: avoid;
        }

        .executive-strip {
                display: grid;
        }

        .document-footer {
                padding-bottom: 0;
        }
}


/* =========================================================
   NUMERECH BRAND ASSETS
   ========================================================= */

.numerech-logo {
        display: block;
        width: auto;
        height: auto;
        object-fit: contain;
}

.topbar-logo {
        width: 148px;
        max-height: 42px;
}

.cover-brand-panel {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: flex-end;
        gap: 18px;
        padding: 10px 12px;
        background: rgba(255, 255, 255, .96);
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.cover-logo {
        width: 150px;
        max-height: 34px;
}

.cover-brand-panel .proposal-tag {
        color: #587080;
        border-left: 1px solid #d8e2e8;
        padding-left: 18px;
}

.cover-brand-panel .proposal-tag b {
        color: var(--dinepa-dark);
}

.footer-logo {
        width: 145px;
        max-height: 34px;
}


/* =========================================================
   RESPONSIVE — 700px
   ========================================================= */

@media (max-width: 700px) {
        .topbar-logo {
                width: 122px;
        }

        .cover-top {
                gap: 18px;
                align-items: flex-start;
        }

        .cover-brand-panel {
                flex-direction: column;
                align-items: flex-end;
                gap: 7px;
        }

        .cover-brand-panel .proposal-tag {
                border-left: 0;
                border-top: 1px solid #d8e2e8;
                padding-left: 0;
                padding-top: 7px;
        }

        .cover-logo {
                width: 120px;
        }
}