/*
 * public_html/assets/sheet.css
 *
 * Shared stylesheet of the product datasheets under /<lang>/docs/
 * (A4 pages, printable to PDF from the browser).
 *
 * The first part is the visual system of the arteMES datasheet, taken
 * from its inline <style> block so every new sheet looks like it. The
 * second part ("NEW SHEETS") holds the components added for the short
 * sheets: arteCORE, arteLEX, arteFIN and the platform sheet.
 *
 * The arteMES sheets still carry their own inline copy of the first
 * part. Move them to this file when they are next reworked, so the
 * rules exist once.
 *
 * Fonts: each sheet links /assets/fonts.css itself.
 */

:root {
    --blue: #2377FE;
    --blue-dk: #1558D6;
    --blue-lt: #5B9BFF;
    --azure: #E0EFFF;
    --azure2: #EBF4FF;
    --azure3: #F4F9FF;
    --sky: #C8E0FF;
    --white: #FFFFFF;
    --text: #0F1F3D;
    --text-md: #2E4170;
    --text-lt: #1E2D45;
    --border: #C5D9F2;
    --red: #E03025;
    --green: #0D9E6A;
    --violet: #8A2BE2;
    --fucsia: #D95B8A;
    --orange: #E67E22;
    --bottle-green: #0F4D3A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Barlow', sans-serif;
    background: #b8cce4;
    font-size: 9pt;
    color: var(--text);
}

/* ── PAGE ─────────────────────────── */
.page {
    width: 210mm;
    height: 297mm;
    max-height: 297mm;
    background: var(--white);
    margin: 0 auto 10mm;
    position: relative;
    overflow: hidden;
    page-break-after: always;
    break-after: page;
    display: block;
}

/* ══════════════════════════════════════
   PAGE 1
══════════════════════════════════════ */

/* HERO — azure gradient, full width */
.hero {
    background: linear-gradient(135deg, var(--azure) 0%, #d0e8ff 50%, var(--sky) 100%);
    padding: 11mm 12mm 0;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--blue);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 50%, rgba(35, 119, 254, 0.12) 0%, transparent 60%);
    background-size: auto;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 5mm;
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-logo svg {
    height: 88px;
    width: auto;
}

.hero-badge {
    background: var(--blue);
    color: white;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 6.5pt;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}

.hero-headline {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 38pt;
    color: var(--text);
    line-height: 0.95;
    letter-spacing: -1px;
    margin-bottom: 3mm;
}

.hero-headline .hl {
    color: var(--blue);
}

.hero-deck {
    font-size: 10.5pt;
    color: var(--text-md);
    font-weight: 400;
    line-height: 1.5;
    max-width: 100%;
    margin-bottom: 6mm;
}

/* PAIN STATS BAND */
.pain-band {
    background: var(--blue);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 -12mm;
}

.pain-item {
    padding: 5mm 7mm;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

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

.pain-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 20pt;
    color: white;
    line-height: 1;
}

.pain-num sup {
    font-size: 11pt;
    font-weight: 700;
    vertical-align: super;
}

.pain-label {
    font-size: 7pt;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.35;
    margin-top: 1.5mm;
}

/* SECTION LAYOUT */
.section {
    padding: 5mm 12mm;
}

.cols2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7mm;
}

.cols3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4mm;
}

.eyebrow {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 6.5pt;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1.5mm;
}

.sec-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 14pt;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 3mm;
    letter-spacing: -0.3px;
}

.sec-title .hl {
    color: var(--blue);
}

.body {
    font-size: 8pt;
    line-height: 1.5;
    color: var(--text-lt);
    margin-bottom: 2.5mm;
}

/* OUTCOME CARDS */
.outcome-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3mm;
    margin: 4mm 0;
}

.outcome-card {
    background: var(--azure3);
    border: 1px solid var(--border);
    border-top: 3px solid var(--blue);
    border-radius: 3px;
    padding: 4mm;
    text-align: center;
}

.oc-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 22pt;
    color: var(--blue);
    line-height: 1;
}

.oc-label {
    font-size: 7.5pt;
    color: var(--text-lt);
    line-height: 1.35;
    margin-top: 1.5mm;
}

/* PROBLEM / SOLUTION SPLIT */
.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 4mm 0;
}

.ps-col {
    padding: 4.5mm 5mm;
}

.ps-col.problem {
    background: #FFF0EF;
    border: 1px solid #FFCCCB;
    border-right: none;
    border-radius: 3px 0 0 3px;
}

.ps-col.solution {
    background: #EFF8F3;
    border: 1px solid #B3E5CC;
    border-radius: 0 3px 3px 0;
}

.ps-head {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 8pt;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2.5mm;
}

.ps-head.problem {
    color: var(--blue);
}

.ps-head.solution {
    color: var(--green);
}

.ps-list {
    list-style: none;
}

.ps-list li {
    font-size: 7.5pt;
    color: var(--text-md);
    padding: 1.5px 0 1.5px 11px;
    position: relative;
    line-height: 1.4;
}

.ps-list li::before {
    position: absolute;
    left: 0;
    font-weight: 700;
}

.ps-col.problem .ps-list li::before {
    content: '✕';
    color: var(--blue);
    font-size: 7pt;
}

.ps-col.solution .ps-list li::before {
    content: '✓';
    color: var(--green);
}

/* BLIST */
.blist {
    list-style: none;
}

.blist li {
    font-size: 7.5pt;
    color: var(--text-lt);
    padding: 1px 0 1px 10px;
    position: relative;
    line-height: 1.35;
}

.blist li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
}

/* DIVIDER */
.divider {
    height: 1px;
    background: var(--border);
    margin: 0 12mm;
}

.divider-blue {
    height: 3px;
    background: var(--blue);
}

/* ══════════════════════════════════════
   PAGE 2
══════════════════════════════════════ */
.ph {
    background: linear-gradient(135deg, var(--azure) 0%, var(--sky) 100%);
    padding: 5mm 12mm;
    border-bottom: 3px solid var(--blue);
    position: relative;
    overflow: hidden;
}

.ph::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
}

.ph > * {
    position: relative;
    z-index: 1;
}

.ph-pg {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 6.5pt;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1.5mm;
}

.ph-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 20pt;
    color: var(--text);
    letter-spacing: -0.4px;
}

.ph-title .hl {
    color: var(--blue);
}

.ph-sub {
    font-size: 8.5pt;
    color: var(--text-lt);
    margin-top: 1.5mm;
    font-weight: 400;
}

/* STACK LAYERS */
.stack {
    display: flex;
    flex-direction: column;
    gap: 1.5mm;
}

.layer {
    display: flex;
    align-items: center;
    gap: 4mm;
    padding: 2.5mm 4mm;
    border-radius: 3px;
    border: 1px solid var(--border);
    background: var(--azure3);
}

.layer-icon {
    width: 9mm;
    height: 9mm;
    background: var(--blue);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13pt;
    flex-shrink: 0;
}

.layer-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 10pt;
    color: var(--text);
}

.layer-desc {
    font-size: 7pt;
    color: var(--text-lt);
    line-height: 1.35;
}

/* CARD */
.card {
    background: var(--azure3);
    border: 1px solid var(--border);
    border-left: 3px solid var(--blue);
    border-radius: 3px;
    padding: 3mm 4mm;
    margin-bottom: 2.5mm;
}

.card.green {
    border-left-color: var(--green);
}

.card.red {
    border-left-color: var(--blue);
}

.card.orange {
    border-left-color: var(--orange);
}

.card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 9.5pt;
    color: var(--text);
    margin-bottom: 2mm;
}

/* PILLS */
.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 2mm;
    margin-top: 3mm;
}

.pill {
    background: var(--azure);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 7.5pt;
    color: var(--text-md);
    font-weight: 500;
}

.pill-blue {
    background: rgba(35, 119, 254, 0.1);
    border-color: var(--blue);
    color: var(--blue);
}

/* HIGHLIGHT BOX */
.hbox {
    background: var(--azure);
    border-radius: 4px;
    padding: 3mm 4.5mm;
    margin-top: 2.5mm;
    border-left: 4px solid var(--blue);
}

.hbox-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 9.5pt;
    color: var(--text);
    margin-bottom: 1mm;
}

.hbox p {
    font-size: 7.5pt;
    color: var(--text-lt);
    line-height: 1.45;
}

/* ══════════════════════════════════════
   PAGE 3 — SKIMMER + MES
══════════════════════════════════════ */
.sk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5mm;
    margin-top: 3mm;
}

.sk {
    background: var(--azure3);
    border-radius: 3px;
    padding: 3mm 4mm;
    border-left: 2px solid var(--blue);
}



.sk-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 9pt;
    color: var(--text);
}

.sk-desc {
    font-size: 7.5pt;
    color: var(--text-lt);
    line-height: 1.4;
    margin-top: 1px;
}

/* ══════════════════════════════════════
   PAGE 4 — COMMERCIAL CLOSE
══════════════════════════════════════ */

/* COMPARISON TABLE */
.comp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 3mm;
    font-size: 7.5pt;
}

.comp-table th {
    padding: 2.5mm 3mm;
    text-align: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 8.5pt;
    border-bottom: 2px solid var(--border);
    line-height: 1.2;
}

.comp-table th.aqumo {
    background: var(--blue);
    color: white;
    border-radius: 3px 3px 0 0;
}

.comp-table th.comp {
    color: var(--text-lt);
}

.comp-table td {
    padding: 2mm 3mm;
    text-align: center;
    border-bottom: 1px solid var(--border);
    color: var(--text-md);
    font-size: 7.5pt;
}

.comp-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text);
}

.comp-table .aqumo-col {
    background: rgba(35, 119, 254, 0.05);
}

.comp-table .check {
    color: var(--green);
    font-weight: 700;
    font-size: 10pt;
}

.comp-table .cross {
    color: var(--blue);
    font-weight: 700;
    font-size: 10pt;
}

.comp-table .partial {
    color: #E07800;
    font-weight: 700;
}

.comp-table tr:last-child td {
    border-bottom: none;
}

/* TESTIMONIAL BLOCK */
.testimonial {
    background: var(--azure);
    border-radius: 4px;
    padding: 5mm 6mm;
    border-left: 4px solid var(--blue);
    margin-top: 4mm;
    position: relative;
}

.tq-mark {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32pt;
    color: var(--blue);
    line-height: 0.7;
    margin-bottom: 2mm;
    display: block;
    opacity: 0.5;
}

.tq-text {
    font-size: 9pt;
    color: var(--text);
    font-style: italic;
    line-height: 1.55;
    margin-bottom: 2.5mm;
}

.tq-author {
    font-size: 7.5pt;
    color: var(--blue);
    font-weight: 600;
}

/* ROI STRIP */
.roi-strip {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dk) 100%);
    padding: 4mm 12mm;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.roi-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 5mm;
}

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

.roi-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 22pt;
    color: white;
    line-height: 1;
}

.roi-label {
    font-size: 7pt;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.35;
    margin-top: 1.5mm;
}

/* CTA BLOCK */
.cta {
    background: var(--azure3);
    padding: 5mm 12mm 6mm;
}

.cta-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 16pt;
    color: var(--text);
    letter-spacing: -0.3px;
    margin-bottom: 3mm;
}

.cta-title .hl {
    color: var(--blue);
}

.cta-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3mm;
    margin-bottom: 4mm;
}

.cta-step {
    background: white;
    border: 1px solid var(--border);
    border-top: 3px solid var(--blue);
    border-radius: 3px;
    padding: 3.5mm;
}

.cta-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 22pt;
    color: var(--sky);
    line-height: 1;
    margin-bottom: 1.5mm;
}

.cta-step-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 10pt;
    color: var(--text);
    margin-bottom: 1.5mm;
}

.cta-step-text {
    font-size: 7.5pt;
    color: var(--text-lt);
    line-height: 1.4;
}

.cta-contact {
    display: flex;
    align-items: center;
    gap: 8mm;
    background: white;
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 4mm 6mm;
}

.cta-contact-logo svg {
    height: 22px;
    width: auto;
}

.cta-contact-info {
    flex: 1;
}

.cta-contact-info strong {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11pt;
    font-weight: 700;
    color: var(--text);
    display: block;
}

.cta-contact-info span {
    font-size: 8pt;
    color: var(--text-lt);
}

.cta-contact-cta {
    background: var(--blue);
    color: white;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 10pt;
    padding: 3.5mm 7mm;
    border-radius: 3px;
    letter-spacing: 0.3px;
}

/* PILLAR ROW */
.pillar-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4mm;
    margin-top: 4mm;
}

.pillar {
    background: var(--azure3);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 4.5mm;
    text-align: center;
}

.pillar-icon {
    font-size: 16pt;
    display: block;
    margin-bottom: 2mm;
}

.pillar-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 10pt;
    color: var(--text);
    margin-bottom: 1.5mm;
}

.pillar-desc {
    font-size: 7.5pt;
    color: var(--text-lt);
    line-height: 1.4;
}

/* ══ PRINT / PDF ══
   Chrome/Chromium: Ctrl+P → Salva come PDF
   Formato A4 · Margini: Nessuno · Scala 100%
   ✓ Grafica di sfondo  ══ */
@page {
    size: A4 portrait;
    margin: 0;
}

@media print {
    html, body {
        background: white !important;
        margin: 0 !important;
        width: 210mm !important;
    }

    .page {
        width: 210mm !important;
        height: 297mm !important;
        max-height: 297mm !important;
        margin: 0 !important;
        overflow: hidden !important;
        page-break-after: always !important;
        break-after: page !important;
        display: block !important;
    }

    .page:last-child {
        page-break-after: auto !important;
        break-after: auto !important;
    }

    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    a[href]::after {
        content: none !important;
    }
}

/* ══════════════════════════════════════════════════════════════════
   NEW SHEETS — components for the short product sheets
   ══════════════════════════════════════════════════════════════════ */

/* Product wordmark in the hero: text, not a drawing, so every product
   uses the same mark. */
.wordmark {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 40pt;
    line-height: 1;
    letter-spacing: -1px;
    color: var(--blue);
    padding-left: 5mm;
    border-left: 3px solid var(--blue);
}
.wordmark span { color: var(--text); }

.hero-tagline {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 14pt;
    line-height: 1.3;
    color: var(--blue);
    margin-bottom: 4mm;
}
.hero-tagline span { color: var(--text); }

/* The band under the hero, with words instead of figures. */
.pain-band.is-text .pain-num { font-size: 14pt; }
.pain-band.is-text .pain-item { padding: 4mm 5mm; }

/* Two configurations side by side. */
.cfg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm; }
.cfg {
    background: var(--azure3);
    border: 1px solid var(--border);
    border-top: 3px solid var(--blue);
    border-radius: 3px;
    padding: 4mm 5mm;
}
.cfg.is-own { border-top-color: var(--text-md); }
.cfg-when {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 6.5pt;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1mm;
}
.cfg.is-own .cfg-when { color: var(--text-md); }
.cfg-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 15pt;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 2.5mm;
}
.cfg-title span { color: var(--blue); }
.cfg .blist li { font-size: 8pt; padding: 1.5px 0 1.5px 10px; line-height: 1.4; }

/* The architecture: suites, aIntegrator, business system. */
.arch { display: flex; flex-direction: column; }
.arch-tier {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 3mm 4mm;
}
.arch-k {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 6.5pt;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-md);
    margin-bottom: 2mm;
}
.arch-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2mm; }
.arch-chip {
    background: var(--azure3);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 2mm 3mm;
}
.arch-chip b {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 12pt;
    line-height: 1;
    color: var(--text);
}
.arch-chip b span { color: var(--blue); }
.arch-chip small { display: block; margin-top: 1mm; font-size: 7pt; color: var(--text-lt); }
.arch-join { position: relative; display: flex; justify-content: center; padding: 2mm 0; }
.arch-join::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 1px;
    background: var(--blue);
}
.arch-join span {
    position: relative;
    background: var(--azure);
    border: 1px solid var(--blue);
    border-radius: 20px;
    padding: 1mm 4mm;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 8.5pt;
    color: var(--blue-dk);
}
.arch-tier.is-core { background: #0B3A8F; border-color: #0B3A8F; }
.arch-tier.is-core .arch-k { color: var(--sky); }
.arch-options { display: grid; grid-template-columns: 1fr auto 1fr; gap: 4mm; align-items: center; }
.arch-option b {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 15pt;
    line-height: 1;
    color: var(--white);
}
.arch-option b span { color: var(--sky); }
.arch-option small { display: block; margin-top: 1.2mm; font-size: 7.5pt; line-height: 1.35; color: rgba(255, 255, 255, 0.85); }
.arch-or {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 7pt;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sky);
}

/* A process told in steps, left to right. */
.steps { display: grid; gap: 2mm; }
.steps.is-5 { grid-template-columns: repeat(5, 1fr); }
.steps.is-4 { grid-template-columns: repeat(4, 1fr); }
.step {
    position: relative;
    background: var(--azure3);
    border: 1px solid var(--border);
    border-top: 3px solid var(--blue);
    border-radius: 3px;
    padding: 3mm 3.5mm;
}
.step-n {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 18pt;
    line-height: 1;
    color: var(--sky);
    margin-bottom: 1mm;
}
.step-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 10.5pt;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 1.2mm;
}
.step-text { font-size: 7.5pt; line-height: 1.4; color: var(--text-lt); }

/* Feature tiles, three per row. */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5mm; }
.tile {
    background: var(--azure3);
    border-radius: 3px;
    border-left: 2px solid var(--blue);
    padding: 3mm 4mm;
}
.tile-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 10pt;
    color: var(--text);
}
.tile-text { margin-top: 1px; font-size: 7.5pt; line-height: 1.4; color: var(--text-lt); }

/* Module cards: coloured header with the name, tinted body with one line
   of description. Same look as the aSkimmer cards of the arteMES sheet. */
.mcards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2mm; }
.mcards.is-4 { grid-template-columns: repeat(4, 1fr); }
.mcards.is-4 .mcard-h { font-size: 10pt; padding: 2mm 3.5mm; }
.mcards.is-4 .mcard-b { font-size: 8pt; padding: 2.2mm 3.5mm; min-height: 11mm; }
.mcard.is-2 { grid-column: span 2; }
.mcards-label { margin-top: 3mm; }
.mcards-note { align-self: center; padding: 0 2mm; font-size: 7.5pt; line-height: 1.45; color: var(--text-md); }
.mcard {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-left: 2px solid var(--blue);
    border-radius: 3px;
    overflow: hidden;
}
.mcard-h {
    padding: 1.5mm 3mm;
    background: var(--blue);
    color: var(--white);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 9pt;
}
.mcard-b { flex: 1; padding: 2mm 3mm; background: var(--azure3); font-size: 7.5pt; line-height: 1.4; color: var(--text-lt); }
.mcard.is-ref { border-left-color: var(--green); }
.mcard.is-ref .mcard-h { background: var(--green); }
.mcard.is-ref .mcard-b { background: #EBF8F1; }
.mcard.is-doc { border-left-color: #7B3A00; }
.mcard.is-doc .mcard-h { background: #7B3A00; }
.mcard.is-doc .mcard-b { background: #FFF0E8; }
.mcard.is-inbox { border-left-color: #7B3FA0; }
.mcard.is-inbox .mcard-h { background: #7B3FA0; }
.mcard.is-inbox .mcard-b { background: #F5EEFB; }

/* The highlighted box under a card grid: two columns, orange accent. */
.slogan {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 5mm;
    margin-top: 3mm;
    padding: 4mm 5mm;
    background: linear-gradient(135deg, #FFF8EC 0%, #FFFDF7 100%);
    border: 1px solid #F0D9A8;
    border-left: 4px solid var(--orange);
    border-radius: 4px;
}
.slogan-title {
    margin-bottom: 1mm;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 12pt;
    line-height: 1.15;
    color: var(--text);
}
.slogan-title span { color: var(--orange); }
.slogan p { font-size: 7.8pt; line-height: 1.45; color: var(--text-lt); }
.slogan p + p { margin-top: 2mm; }
.slogan .slogan-note { font-size: 7pt; color: var(--text-md); }

/* Direction tag for what goes in and what goes out. */
.dir {
    display: inline-block;
    min-width: 11mm;
    margin-right: 2mm;
    padding: 0.6mm 2mm;
    border-radius: 2px;
    background: var(--blue);
    color: var(--white);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 7pt;
    letter-spacing: 1px;
    text-align: center;
}
.card p { font-size: 7.8pt; line-height: 1.45; color: var(--text-lt); }

/* Who does what: one row per question, one column per configuration. */
.who { width: 100%; border-collapse: collapse; font-size: 7.8pt; }
.who th, .who td { padding: 2.2mm 3mm; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); line-height: 1.4; }
.who thead th {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 9.5pt;
    color: var(--text);
    border-bottom: 2px solid var(--blue);
}
.who thead th.is-core { color: var(--blue); }
.who tbody th {
    width: 27%;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 8.5pt;
    color: var(--text);
}
.who td { color: var(--text-lt); }

/* Page number, bottom of every page. */
.pf {
    position: absolute;
    left: 12mm; right: 12mm; bottom: 6mm;
    display: flex;
    justify-content: space-between;
    padding-top: 2mm;
    border-top: 1px solid var(--border);
    font-size: 6.5pt;
    letter-spacing: 0.5px;
    color: var(--text-md);
}

.cta-contact-logo img { display: block; height: 22px; width: auto; }
.cta.is-last { position: absolute; left: 0; right: 0; bottom: 13mm; }
a { color: inherit; text-decoration: none; }
