/*
   two-look.css — the single-page split: a dark AwareSmith Platform half and a
   light consulting half.

   Built on the eNno template's color-preset mechanism: .dark-background rebinds
   --background-color / --default-color / --heading-color / --surface-color, so
   every template component inside it re-themes without per-component overrides.
   This file only adds what the preset alone doesn't cover.
*/

/*--------------------------------------------------------------
# Brand tokens
--------------------------------------------------------------*/
:root {
    --brand-blue: #007EDE;         /* the approved highlight — the logo blue */
    --brand-blue-bright: #4FA8F0;  /* the highlight lifted for the dark ground: 7.4:1 there, where #007EDE is 4.6 */
    --platform-bg: #0b1017;
    --platform-surface: #141b26;
    --platform-border: rgba(255, 255, 255, 0.09);
    --platform-muted: #9fb0c4;
}

/*--------------------------------------------------------------
# Platform section (dark half)
--------------------------------------------------------------*/
.platform-section {
    --background-color: var(--platform-bg);
    --default-color: #d6dfea;
    --heading-color: #ffffff;
    --surface-color: var(--platform-surface);
    --contrast-color: #ffffff;
    background-color: var(--platform-bg);
    color: var(--default-color);
}

/* The template's .section-title styles assume a light ground. */
.platform-section .section-title h2 { color: #ffffff; }

.platform-section .section-title p { color: var(--platform-muted); }

.platform-section .section-title h2::after {
    background: var(--brand-blue-bright);
}

/* Foundation strip — what every module sits on (the gateway). */
.platform-foundation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 56px;
}

.foundation-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid var(--platform-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.foundation-item i {
    color: var(--brand-blue-bright);
    font-size: 20px;
    line-height: 1.4;
}

.foundation-item h4 {
    font-size: 15px;
    color: #ffffff;
    margin: 0 0 4px 0;
    font-weight: 600;
}

.foundation-item p {
    font-size: 13.5px;
    color: var(--platform-muted);
    margin: 0;
}

/* Bundle heading — the catalog's own grouping (SalesBundle). */
.bundle-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 0 0 22px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--platform-border);
}

.bundle-head h3 {
    font-size: 20px;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.2px;
}

.bundle-head .bundle-count {
    font-size: 13px;
    color: var(--platform-muted);
}

.bundle-group { margin-bottom: 50px; }
.bundle-group:last-child { margin-bottom: 0; }

/* Module card */
.module-card {
    /* The column is d-flex, so without this the card sizes to its content on
       the main axis and every card ends up a different width. */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 26px 24px;
    border-radius: 14px;
    background: var(--platform-surface);
    border: 1px solid var(--platform-border);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.module-card:hover {
    border-color: rgba(59, 147, 247, 0.45);
    transform: translateY(-3px);
}


.module-card h4 {
    font-size: 17px;
    color: #ffffff;
    margin-bottom: 6px;
}

.module-card .module-tagline {
    font-size: 14px;
    color: var(--brand-blue-bright);
    margin-bottom: 14px;
}

.module-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

.module-card ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 9px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--platform-muted);
}

.module-card ul li::before {
    content: "\F26E"; /* bi-check2 */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-blue-bright);
    font-size: 13px;
}

/* Prerequisite note — the module ladder, stated plainly rather than discovered at checkout. */
.module-requires {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--platform-border);
    font-size: 12.5px;
    color: #7c8ea3;
}

.module-requires i { margin-right: 5px; }

/* Pricing + CTA band */
.platform-cta {
    /* This element is a .row; cancel the gutter negative margins so its edges
       line up with every other panel instead of overhanging by 24px. */
    margin-left: 0;
    margin-right: 0;
    margin-top: 56px;
    padding: 34px;
    border-radius: 16px;
    border: 1px solid var(--platform-border);
    background: linear-gradient(135deg, rgba(59, 147, 247, 0.12), rgba(59, 147, 247, 0.02));
}

.platform-cta h3 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 10px;
}

.platform-cta p {
    color: var(--platform-muted);
    margin-bottom: 0;
    font-size: 15px;
}

.btn-platform {
    display: inline-block;
    background: var(--brand-blue-bright);
    color: #08121f;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s;
}

.btn-platform:hover {
    background: #ffffff;
    color: #08121f;
}

/*--------------------------------------------------------------
# Consulting section (light half)
--------------------------------------------------------------*/
.consulting-section {
    background-color: #ffffff;
}

.consultant-card {
    text-align: center;
    padding: 28px;
    border-radius: 14px;
    background: #f7f9fc;
    border: 1px solid rgba(0, 0, 0, 0.06);
    height: 100%;
}

.consultant-card img {
    border-radius: 12px;
    display: block;
    margin: 0 auto 18px;
    /* Bound by height, never cropped: the source is a tall 772x1671 portrait,
       so any fixed-ratio box with object-fit:cover cuts his chin off. */
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 420px;
}

.consultant-card h3 {
    font-size: 22px;
    margin-bottom: 2px;
}

.consultant-card .role {
    color: var(--accent-color);
    font-size: 14px;
    display: block;
    margin-bottom: 14px;
}

.consultant-card .social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 85, 170, 0.08);
    color: var(--brand-blue);
    margin: 0 4px;
    transition: 0.3s;
}

.consultant-card .social a:hover {
    background: var(--brand-blue);
    color: #ffffff;
}

.value-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    /* The column is d-flex, so without an explicit width each card shrinks
       to its text and the grid reads ragged. */
    width: 100%;
    height: 100%;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.value-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
}

.value-item i {
    color: var(--brand-blue);
    font-size: 20px;
    line-height: 1.4;
}

.value-item h4 {
    font-size: 15.5px;
    margin: 0 0 4px 0;
    color: var(--heading-color);
}

.value-item p {
    font-size: 13.5px;
    margin: 0;
    color: var(--default-color);
    /* Every card reserves two lines, so one-line rows stand as tall as
       two-line rows and the grid reads as one even surface. */
    min-height: 2lh;
}

.consulting-cta {
    margin-top: 44px;
    text-align: center;
}

.btn-consulting {
    display: inline-block;
    background: var(--accent-ink);
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-consulting:hover {
    background: color-mix(in srgb, var(--accent-ink), transparent 12%);
    color: #ffffff;
}

/*--------------------------------------------------------------
# Contact — shows which CTA the visitor arrived from
--------------------------------------------------------------*/
.interest-note {
    display: none;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(0, 85, 170, 0.07);
    color: var(--brand-blue);
    font-size: 14px;
}

.interest-note.is-visible { display: flex; }

.interest-note button {
    background: none;
    border: 0;
    color: inherit;
    opacity: 0.65;
    margin-left: auto;
    padding: 0 4px;
    line-height: 1;
    cursor: pointer;
}

.interest-note button:hover { opacity: 1; }

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 991px) {
    .platform-cta { text-align: center; }
    .platform-cta .btn-platform { margin-top: 18px; }
}

@media (max-width: 575px) {
    .module-card { padding: 22px 20px; }
    .platform-cta { padding: 26px 22px; }
}

/*--------------------------------------------------------------
# Industry lens — the 3-second fit read
#
# Four lanes, each an inverted tree of recommended modules: the
# foundation on top, what it unlocks below it. The tiers are the real
# purchase order, not decoration — they follow the catalog's own
# prerequisites (qm-9001 needs tasks + documents, and so on).
--------------------------------------------------------------*/
.lens {
    margin-bottom: 60px;
}

.lens-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.lens-tab {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid var(--platform-border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--platform-muted);
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.lens-tab i { font-size: 17px; }

.lens-tab:hover {
    color: #ffffff;
    border-color: rgba(59, 147, 247, 0.4);
}

.lens-tab[aria-selected="true"] {
    background: rgba(59, 147, 247, 0.14);
    border-color: var(--brand-blue-bright);
    color: #ffffff;
}

.lens-tab:focus-visible {
    outline: 2px solid var(--brand-blue-bright);
    outline-offset: 2px;
}

.lane[hidden] { display: none; }

.lane-fit {
    text-align: center;
    font-size: 20px;
    color: #ffffff;
    margin: 0 0 4px;
    font-family: var(--heading-font, "Raleway", sans-serif);
    font-weight: 600;
}

.lane-note {
    text-align: center;
    max-width: 70ch;
    font-size: 14.5px;
    color: var(--platform-muted);
    margin: 0 auto 30px;
}

/* ---- The inverted tree ---- */
.mod-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.tier {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Connector stub between tiers — the dependency edge, drawn once. */
.tier + .tier {
    padding-top: 40px;
    position: relative;
}

.tier + .tier::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 22px;
    background: linear-gradient(to bottom, rgba(59, 147, 247, 0.55), rgba(59, 147, 247, 0.15));
}

.tier-label {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7c8ea3;
    margin-bottom: 14px;
}

.tier-nodes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    width: 100%;
}

.node {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 11px;
    background: var(--platform-surface);
    border: 1px solid var(--platform-border);
    min-width: 210px;
    max-width: 260px;
    flex: 1 1 210px;
}

.node i {
    color: var(--brand-blue-bright);
    font-size: 19px;
    flex-shrink: 0;
}

.node .node-name {
    display: block;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.3;
}

.node .node-line {
    display: block;
    color: var(--platform-muted);
    font-size: 12.5px;
    line-height: 1.4;
    margin-top: 2px;
}

/* The foundation tier reads as the thing everything rests on. */
.tier--root .node {
    border-color: rgba(59, 147, 247, 0.35);
    background: rgba(59, 147, 247, 0.07);
}

/* ---- What you get ---- */
.lane-outcome {
    margin-top: 40px;
    padding: 28px 30px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--platform-border);
    border-left: 3px solid var(--brand-blue-bright);
}

.lane-outcome h4 {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7c8ea3;
    margin: 0 0 10px;
}

.lane-outcome p {
    font-size: 17.5px;
    line-height: 1.5;
    color: #ffffff;
    margin: 0 0 18px;
}

.lane-outcome ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px 26px;
}

.lane-outcome ul li {
    position: relative;
    padding-left: 22px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--platform-muted);
}

.lane-outcome ul li::before {
    content: "\F26E"; /* bi-check2 */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-blue-bright);
    font-size: 13px;
}

/* ---- Modules that don't care what you make ---- */
.universal {
    margin-top: 46px;
    padding-top: 30px;
    border-top: 1px solid var(--platform-border);
}

.universal h4 {
    font-size: 15px;
    color: #ffffff;
    margin: 0 0 4px;
}

.universal p {
    font-size: 13.5px;
    color: var(--platform-muted);
    margin: 0 0 18px;
}

.universal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.universal-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 50px;
    border: 1px solid var(--platform-border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--platform-muted);
    font-size: 13px;
}

.universal-chip i { color: var(--brand-blue-bright); font-size: 15px; }

/* ---- Full catalog disclosure ---- */
.catalog-head {
    margin: 0 0 28px;
    padding-top: 30px;
    border-top: 1px solid var(--platform-border);
    text-align: center;
}

.catalog-head h3 {
    color: #ffffff;
    font-size: 21px;
    margin: 0 0 6px;
}

.catalog-head p {
    color: var(--platform-muted);
    font-size: 14.5px;
    margin: 0;
}

/* ---- Where the platform stands next to the ERP ---- */
.erp-stance {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px 24px;
    margin-bottom: 46px;
    border-radius: 12px;
    background: rgba(59, 147, 247, 0.07);
    border: 1px solid rgba(59, 147, 247, 0.22);
}

.erp-stance i {
    color: var(--brand-blue-bright);
    font-size: 21px;
    line-height: 1.3;
}

.erp-stance p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #d6dfea;
}

@media (max-width: 767px) {
    .node { max-width: none; min-width: 0; flex-basis: 100%; }
    .lane-outcome { padding: 22px 20px; }
    .lane-outcome p { font-size: 16px; }
    .lens-tab { flex: 1 1 auto; justify-content: center; }
}

/*--------------------------------------------------------------
# Top bars — header + sub-nav stick as one unit
#
# The wrapper owns the stickiness so the sub-nav needs no offset
# calculation against a variable header height. #header keeps its
# .sticky-top class because assets/js/main.js checks for it before
# adding .scrolled to the body; its positioning is neutralised here.
--------------------------------------------------------------*/
.topbars {
    position: sticky;
    top: 0;
    z-index: 997;
}

#header.sticky-top {
    position: relative;
    top: auto;
    z-index: auto;
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    min-height: 70px;
}

.header-inner .logo { margin: 0; }
.header-inner .sitename { margin: 0; font-size: 26px; }

.header-cta {
    justify-self: end;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 9px 22px;
    border-radius: 50px;
    white-space: nowrap;
    transition: 0.25s;
}

/*--------------------------------------------------------------
# The mode pill — looks like a selector, behaves like navigation
--------------------------------------------------------------*/
.mode-pill {
    position: relative;
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    justify-self: center;
}

/* The travelling thumb. Both options are equal width, so a flat 50% works. */
.mode-pill::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    border-radius: 999px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mode-pill[data-active="consulting"]::before { transform: translateX(100%); }

.pill-opt {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    min-width: 188px;
    text-align: center;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s;
}

.pill-opt:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/*--------------------------------------------------------------
# Sub-nav — anchors down through the platform view
--------------------------------------------------------------*/
.subnav { border-bottom: 1px solid transparent; }

.subnav-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 50px;
    overflow-x: auto;
    scrollbar-width: none;
}

.subnav-inner::-webkit-scrollbar { display: none; }

.subnav-link {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    padding: 3px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

/* The sub-nav belongs to the platform view only. */
body.mode-consulting .subnav { display: none; }

/* Anchor targets clear both bars. --bars-h is measured at runtime, so this
   stays correct when the header wraps to two rows on narrow screens. */
.view section[id], #contact { scroll-margin-top: calc(var(--bars-h, 140px) + 18px); }

/*--------------------------------------------------------------
# View switching
--------------------------------------------------------------*/
.view[hidden] { display: none; }

/*--------------------------------------------------------------
# Platform mode (dark) — the whole page, not just one section
--------------------------------------------------------------*/
body.mode-platform { background-color: var(--platform-bg); }

body.mode-platform #header {
    background-color: var(--platform-bg);
    border-bottom: 1px solid var(--platform-border);
    box-shadow: none;
}

body.mode-platform .sitename { color: #ffffff; }

body.mode-platform .mode-pill { background: rgba(255, 255, 255, 0.07); }
body.mode-platform .mode-pill::before { background: var(--brand-blue-bright); }
body.mode-platform .pill-opt { color: var(--platform-muted); }
body.mode-platform .pill-opt[aria-current="page"] { color: #08121f; }

body.mode-platform .header-cta {
    border: 1px solid var(--platform-border);
    color: #ffffff;
}
body.mode-platform .header-cta:hover {
    background: var(--brand-blue-bright);
    border-color: var(--brand-blue-bright);
    color: #08121f;
}

body.mode-platform .subnav {
    background-color: var(--platform-bg);
    border-bottom-color: var(--platform-border);
}
body.mode-platform .subnav-link { color: var(--platform-muted); }
body.mode-platform .subnav-link:hover { color: #ffffff; }
body.mode-platform .subnav-link.active {
    color: var(--brand-blue-bright);
    border-bottom-color: var(--brand-blue-bright);
}

/* The view carries the dark token set; sections inside stay transparent. */
#view-platform {
    --background-color: var(--platform-bg);
    --default-color: #d6dfea;
    --heading-color: #ffffff;
    --surface-color: var(--platform-surface);
    --contrast-color: #ffffff;
    color: #d6dfea;
}

#view-platform .section { background-color: transparent; }

#view-platform .section-title h2 { color: #ffffff; }
#view-platform .section-title p { color: var(--platform-muted); }
#view-platform .section-title h2::after { background: var(--brand-blue-bright); }

/* Platform view opener — replaces the scrapped hero. */
.platform-lede {
    /* Vertical only: this element is the .container, and a shorthand here
       would wipe its horizontal padding and widen the panel by 24px. */
    padding-top: 18px;
    padding-bottom: 10px;
}

.platform-lede h2 {
    color: #ffffff;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    margin: 0 0 14px;
    max-width: 20ch;
}

.platform-lede p {
    color: var(--platform-muted);
    font-size: 17px;
    line-height: 1.6;
    max-width: 62ch;
    margin: 0;
}

.lede-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    margin-top: 30px;
}

.lede-stat .n {
    display: block;
    font-size: 30px;
    font-weight: 700;
    color: var(--brand-blue-bright);
    line-height: 1;
}

.lede-stat .l {
    display: block;
    font-size: 13px;
    color: var(--platform-muted);
    margin-top: 6px;
}

/*--------------------------------------------------------------
# Consulting mode (light)
--------------------------------------------------------------*/
body.mode-consulting { background-color: #ffffff; }

body.mode-consulting #header {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.mode-consulting .mode-pill { background: rgba(0, 0, 0, 0.06); }
body.mode-consulting .mode-pill::before { background: var(--brand-blue); }
body.mode-consulting .pill-opt { color: #5f687b; }
body.mode-consulting .pill-opt[aria-current="page"] { color: #ffffff; }

body.mode-consulting .header-cta {
    border: 1px solid var(--accent-ink);
    color: var(--accent-ink);
}
body.mode-consulting .header-cta:hover {
    background: var(--accent-ink);
    color: #ffffff;
}

.consulting-lede {
    /* Vertical only — see .platform-lede. */
    padding-top: 18px;
    padding-bottom: 10px;
}

@media (max-width: 900px) {
    .header-inner { grid-template-columns: 1fr auto; row-gap: 12px; min-height: 0; padding: 12px 0; }
    .mode-pill { grid-column: 1 / -1; justify-self: stretch; }
    .pill-opt { min-width: 0; font-size: 13px; padding: 9px 10px; }
    .header-inner .sitename { font-size: 21px; }
}

/*--------------------------------------------------------------
# Dark-mode ground fixes
#
# site.css paints `body > div > main`, `body > .container-fluid` and `footer`
# solid white. In platform mode those cover the dark body completely — the
# module cards only looked correct because they carry their own fills, so the
# ground between them was white the whole way down.
--------------------------------------------------------------*/
body.mode-platform > div > main,
body.mode-platform > .container-fluid,
body.mode-platform footer {
    background-color: transparent;
}

/* Belt and braces: the view paints its own ground, so it no longer depends on
   whatever an ancestor happens to be doing. */
#view-platform { background-color: var(--platform-bg); }

body.mode-platform footer,
body.mode-platform footer.text-muted {
    border-top: 1px solid var(--platform-border);
    color: var(--platform-muted);
}

body.mode-platform footer a { color: var(--brand-blue-bright); }

/*--------------------------------------------------------------
# Contact is shared by both views, so it follows the active mode
--------------------------------------------------------------*/
body.mode-platform #contact { background-color: var(--platform-bg); }

body.mode-platform #contact .section-title h2 { color: #ffffff; }
body.mode-platform #contact .section-title p { color: var(--platform-muted); }
body.mode-platform #contact .section-title h2::after { background: var(--brand-blue-bright); }

body.mode-platform #contact .info-wrap {
    background-color: var(--platform-surface);
    border: 1px solid var(--platform-border);
    box-shadow: none;
}

body.mode-platform #contact .info-item i { color: var(--brand-blue-bright); }
body.mode-platform #contact .info-item h3 { color: #ffffff; }
body.mode-platform #contact .info-item p { color: var(--platform-muted); }
body.mode-platform #contact .info-item a { color: var(--brand-blue-bright); }
body.mode-platform #contact small a { color: var(--platform-muted); }

body.mode-platform #contact label { color: #d6dfea; }

body.mode-platform #contact .form-control {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--platform-border);
    color: #ffffff;
}

body.mode-platform #contact .form-control::placeholder { color: #7c8ea3; }

body.mode-platform #contact .form-control:focus {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--brand-blue-bright);
    box-shadow: 0 0 0 3px rgba(59, 147, 247, 0.18);
    color: #ffffff;
}

body.mode-platform #contact .btn-primary {
    background-color: var(--brand-blue-bright);
    border-color: var(--brand-blue-bright);
    color: #08121f;
    font-weight: 600;
}

body.mode-platform #contact .btn-primary:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #08121f;
}

body.mode-platform .interest-note {
    background: rgba(59, 147, 247, 0.13);
    color: var(--brand-blue-bright);
}

/*--------------------------------------------------------------
# Core values hero
#
# One partial rendered at the top of both views. A full-width parent
# card with deliberately distinct edges, holding three even sub-cards.
# The nesting only reads if parent and children differ in fill, so the
# panel lifts off the page ground and the cards sit back down into it.
--------------------------------------------------------------*/
/* Home owns its top spacing; the shared layout wrapper does not get to add
   Bootstrap's my-5 above the hero. Other pages keep it. */
body.home > .container-fluid {
    margin-top: 0 !important;
    padding-top: 0;
}

body.home main { padding-top: 0; }

.core-values { padding: 30px 0 8px; }

.cv-panel {
    border-radius: 18px;
    padding: 34px;
}

.cv-head { margin-bottom: 20px; }

.cv-eyebrow {
    display: block;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0;
}


/* d-flex on the column + height:100% here keeps all three the same height
   regardless of copy length. */
.cv-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 26px 24px;
    border-radius: 13px;
}

.cv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 21px;
    margin-bottom: 16px;
}

.cv-card h3 {
    font-size: 18px;
    margin: 0 0 8px;
    letter-spacing: -0.005em;
}

.cv-card p {
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

/* ---- Platform view: dark ---- */
#view-platform .cv-panel {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.17);
}

#view-platform .cv-eyebrow { color: var(--brand-blue-bright); }

#view-platform .cv-card {
    background: var(--platform-surface);
    border: 1px solid var(--platform-border);
}

#view-platform .cv-icon {
    background: rgba(59, 147, 247, 0.14);
    color: var(--brand-blue-bright);
}

#view-platform .cv-card h3 { color: #ffffff; }
#view-platform .cv-card p { color: var(--platform-muted); }

/* ---- Consulting view: light ---- */
#view-consulting .cv-panel {
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.12);
}

#view-consulting .cv-eyebrow { color: var(--accent-ink); }

#view-consulting .cv-card {
    background: #F5F7FA;
    border: 1px solid rgba(0, 0, 0, 0.07);
}

#view-consulting .cv-icon {
    background: rgba(0, 0, 139, 0.08);
    color: var(--heading-color);
}

#view-consulting .cv-card h3 { color: var(--heading-color); }
#view-consulting .cv-card p { color: var(--default-color); }

@media (max-width: 575px) {
    .cv-panel { padding: 24px 20px; }
    .cv-card { padding: 22px 20px; }
}

/*--------------------------------------------------------------
# Vertical rhythm inside the platform view
#
# The template's .section is 60px top and bottom. Stacked between two
# sections, plus the foundation strip's own margin and the catalog
# heading's, that came to 276px of empty ground between the foundation
# cards and "All 16 modules".
--------------------------------------------------------------*/
#view-platform .section { padding: 32px 0; }
#view-platform #industries .platform-foundation { margin-bottom: 0; }

/*--------------------------------------------------------------
# Section headers
#
# The eyebrow is dropped entirely — the h2 carries the section. It was
# the template's 52px ghost watermark (unreadable at ~1.1:1), then
# briefly a red pill; neither earned its space.
--------------------------------------------------------------*/
.section-title span { display: none; }


/* The template padded the block to clear the watermark; it no longer exists. */
.section-title {
    padding: 0;
    margin-bottom: 22px;
}

#contact.section { padding: 32px 0 56px; }


/*--------------------------------------------------------------
# Module CTA — "Ask About Now"
#
# Fixed width so every card's button is identical regardless of copy
# length, icon on the left. margin-top:auto pins it to the bottom of
# the card so the row of buttons lines up across a bundle.
--------------------------------------------------------------*/
.module-cta {
    margin-top: auto;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 7px 14px;
    text-align: center;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: rgba(59, 147, 247, 0.12);
    border: 1px solid rgba(59, 147, 247, 0.34);
    color: var(--brand-blue-bright);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

/* The requires note sat above the button; the button owns the bottom now. */
.module-card .module-requires + .module-cta { margin-top: 14px; }

.module-cta i { font-size: 17px; flex-shrink: 0; }
.module-cta .cta-label { white-space: nowrap; }

.module-cta:hover {
    background: var(--brand-blue-bright);
    border-color: var(--brand-blue-bright);
    color: #08121f;
}

.module-cta:focus-visible {
    outline: 2px solid var(--brand-blue-bright);
    outline-offset: 2px;
}

/* Added to the message: state is visible on the button itself, and clicking
   again takes it back out. */
.module-cta.is-added {
    background: rgba(79, 185, 138, 0.16);
    border-color: rgba(79, 185, 138, 0.5);
    color: #7fd3ae;
}

.module-cta.is-added:hover {
    background: rgba(224, 112, 107, 0.16);
    border-color: rgba(224, 112, 107, 0.5);
    color: #f0a09c;
}




/*--------------------------------------------------------------
# Pricing grid
#
# One row per module, grouped by bundle. Figures are tabular so the
# columns line up, and a dash means "not billed that way" rather than
# "free" — a $0.00 would read as the latter.
--------------------------------------------------------------*/
.pricing-head { margin-bottom: 22px; }

.pricing-head h3 {
    color: #ffffff;
    font-size: 24px;
    margin: 0 0 10px;
}

.pricing-head p {
    color: var(--platform-muted);
    font-size: 15px;
    max-width: 74ch;
    margin: 0;
}

.alpha-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 20px;
    margin-bottom: 22px;
    border-radius: 12px;
    background: rgba(59, 147, 247, 0.09);
    border: 1px solid rgba(59, 147, 247, 0.26);
}

.alpha-note i { color: var(--brand-blue-bright); font-size: 19px; line-height: 1.4; }
.alpha-note p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #d6dfea; }
.alpha-note strong { color: #ffffff; }

.pricing-scroll {
    overflow-x: auto;
    border: 1px solid var(--platform-border);
    border-radius: 14px;
    background: var(--platform-surface);
}

.pricing-grid {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.pricing-grid thead th {
    text-align: right;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7c8ea3;
    padding: 15px 14px;
    border-bottom: 1px solid var(--platform-border);
    white-space: nowrap;
}

.pricing-grid thead th.col-module { text-align: left; padding-left: 22px; }
.pricing-grid thead th.col-status { text-align: left; padding-right: 22px; }

.pricing-grid tbody td,
.pricing-grid tbody th {
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: right;
    color: #d6dfea;
    font-weight: 400;
}

.pricing-grid tbody th.col-module {
    text-align: left;
    padding-left: 22px;
    color: #ffffff;
    font-weight: 600;
    min-width: 210px;
}

.pricing-grid tbody td.col-status { text-align: left; padding-right: 22px; }
.pricing-grid tbody tr:last-child td,
.pricing-grid tbody tr:last-child th { border-bottom: 0; }

/* Bundle divider row */
.pricing-grid .bundle-row th {
    text-align: left;
    padding: 14px 22px 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-blue-bright);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--platform-border);
}

.row-note {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #7c8ea3;
    margin-top: 3px;
}

.pricing-grid .unit {
    display: block;
    font-size: 11.5px;
    color: #7c8ea3;
}

.status {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.status-dev { background: rgba(255, 255, 255, 0.07); color: #9fb0c4; }
.status-alpha { background: rgba(79, 185, 138, 0.16); color: #7fd3ae; }

.pricing-foot {
    margin: 16px 0 0;
    font-size: 13.5px;
    color: #7c8ea3;
    max-width: 78ch;
}

/* The CTA card sat 56px below the grid and repeated its message. */
#pricing .platform-cta {
    margin-top: 28px;
    padding: 26px 30px;
}

@media (max-width: 575px) {
    .pricing-head h3 { font-size: 21px; }
}

/*--------------------------------------------------------------
# Section intros centre with their headings
#
# The lede, lane copy and catalog heading are all centred; these
# secondary paragraphs were the last left-aligned blocks in the
# platform view. Card body copy stays left — centring running text
# inside a card hurts more than it tidies.
--------------------------------------------------------------*/
.pricing-head { text-align: center; }
.pricing-head p { margin-left: auto; margin-right: auto; }

.pricing-foot {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.universal { text-align: center; }
.universal p { margin-left: auto; margin-right: auto; }
.universal-row { justify-content: center; }

/* Icon banners: the icon sits ABOVE the text. Inline, it pushed the copy off
   centre by its own width plus the gap — the text read as centred but the
   block plainly wasn't. */
.erp-stance,
.alpha-note {
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.erp-stance p,
.alpha-note p {
    text-align: center;
    max-width: 88ch;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
# Platform hero — the first impression
#
# Two halves in one card: the claim and its proof on the left, the
# artwork on the right. The art column carries no padding and the card
# clips, so the image meets the card edge instead of floating in a
# gutter — the thing that separates a hero from a bordered box.
--------------------------------------------------------------*/
.hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
    border-radius: 18px;
    overflow: hidden;
    /* 75% transparent — 0.25 alpha. */
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.17);
}

.hero-copy {
    padding: 46px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* One declaration owns the vertical rhythm of this column. */
    gap: 22px;
}

.hero-copy h2 {
    color: #ffffff;
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0;
    text-wrap: balance;
}

/* The differentiator gets the colour; the verb stays plain. */
.hero-copy h2 span { color: var(--brand-blue-bright); }

.hero-sub {
    color: var(--platform-muted);
    font-size: 17px;
    line-height: 1.55;
    max-width: 46ch;
    margin: 0;   /* .hero-copy's gap owns the spacing */
}

.hero-points {
    list-style: none;
    padding: 0;
    /* Extra on top of the container gap: the break between the claim and
       its proof has to beat the 14px spacing INSIDE the list, or the
       paragraph reads as a fourth bullet. 22 + 16 = 38px. */
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-points li {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--platform-muted);
}

.hero-points i {
    color: var(--brand-blue-bright);
    font-size: 18px;
    line-height: 1.35;
    flex-shrink: 0;
}

.hero-points strong {
    color: #ffffff;
    font-weight: 600;
    display: block;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* Secondary by weight, not by being hidden: it is the path for someone
   who is not ready to talk yet, which is most first visits. */
.hero-learn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    border: 1px solid rgba(59, 147, 247, 0.4);
    color: var(--brand-blue-bright);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.hero-learn:hover {
    background: rgba(59, 147, 247, 0.12);
    border-color: var(--brand-blue-bright);
    color: var(--brand-blue-bright);
}

.hero-learn i { font-size: 14px; }

.hero-art {
    position: relative;
    min-height: 320px;
    background: rgba(255, 255, 255, 0.02);
}

.hero-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    /* Copy first: on a phone the claim has to arrive before the picture. */
    .hero-card { grid-template-columns: 1fr; }
    .hero-copy { padding: 34px 26px; order: 1; }
    .hero-art { order: 2; min-height: 220px; }
}

@media (max-width: 575px) {
    .hero-copy { padding: 28px 22px; }
    .hero-actions .btn-platform,
    .hero-actions .hero-learn { flex: 1 1 100%; justify-content: center; }
}

/* The 0.25 card composites to rgb(72,76,81) — a mid grey — so the muted
   greys and the accent blue that read fine on #0B1017 drop under 4.5:1 on
   it (3.90 and 2.76). Lifted, scoped to the hero only so the rest of the
   platform view keeps its palette. */
.hero-sub,
.hero-points li { color: #C6D0DC; }

.hero-points i,
.hero-learn { color: #A9CDFB; }

.hero-learn { border-color: rgba(169, 205, 251, 0.45); }

.hero-learn:hover {
    background: rgba(169, 205, 251, 0.15);
    border-color: #A9CDFB;
    color: #ffffff;
}

/*--------------------------------------------------------------
# Consulting hero — the same card, in the light palette
#
# The structure (grid, padding, rhythm, responsive) is shared with the
# platform hero above; only the colors change. The id selector outranks
# the unscoped contrast lifts above, whatever the order.
--------------------------------------------------------------*/
#view-consulting .hero-card {
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.12);
}

#view-consulting .hero-copy h2 { color: var(--heading-color); }
#view-consulting .hero-copy h2 span { color: var(--accent-ink); }

#view-consulting .hero-sub,
#view-consulting .hero-points li { color: var(--default-color); }

#view-consulting .hero-points i { color: var(--accent-ink); }
#view-consulting .hero-points strong { color: var(--heading-color); }

#view-consulting .hero-learn {
    border-color: rgba(0, 99, 177, 0.4);
    color: var(--accent-ink);
}

#view-consulting .hero-learn:hover {
    background: rgba(0, 99, 177, 0.08);
    border-color: var(--accent-ink);
    color: var(--accent-ink);
}

#view-consulting .hero-art { background: rgba(0, 0, 0, 0.02); }

/*--------------------------------------------------------------
# Topic toast + clickable topics
#
# One toast, fixed bottom-left, replaced on every click. It floats
# above the page rather than in it, so it keeps the dark surface in
# both modes. Bootstrap's Toast drives show/hide; these rules only
# restyle it.
--------------------------------------------------------------*/
.topic-toast-container {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 2060;
}

.topic-toast {
    background: var(--platform-surface);
    color: #E8EDF3;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    max-width: min(340px, calc(100vw - 24px));
    font-size: 13.5px;
    line-height: 1.4;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.topic-toast-body {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}

.toast-go {
    flex-shrink: 0;
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid rgba(169, 205, 251, 0.45);
    color: #A9CDFB;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.toast-go:hover { background: rgba(169, 205, 251, 0.15); color: #ffffff; }

.toast-x {
    flex-shrink: 0;
    background: none;
    border: 0;
    padding: 0 2px;
    color: #9FB0C4;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.toast-x:hover { color: #ffffff; }

/* Anything that can add itself to the form advertises it: a pointer,
   a slight grow, and a check once it is in. */
.js-topic { cursor: pointer; }

.js-topic:focus-visible { outline: 2px solid var(--brand-blue-bright); outline-offset: 2px; }
#view-consulting .js-topic:focus-visible { outline-color: var(--accent-ink); }

.hero-points li.js-topic,
.foundation-item.js-topic,
.universal-chip.js-topic,
.pricing-grid tr.js-topic {
    transition: transform 0.15s ease;
}

.hero-points li.js-topic:hover,
.foundation-item.js-topic:hover,
.universal-chip.js-topic:hover { transform: scale(1.02); }

.pricing-grid tr.js-topic:hover { transform: scale(1.004); }

.js-topic.is-added strong::after,
.js-topic.is-added h4::after,
.universal-chip.is-added::after { content: " \2713"; }

/* The module cell carries the ask — "Click to RFQ" until the row is
   in the form, then a blue check. Pills hold the channel columns'
   place until the rates are re-published. */
.rfq-btn {
    margin-left: 8px;
    padding: 0;
    background: none;
    border: 0;
    color: var(--brand-blue-bright);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.rfq-btn:focus-visible { outline: 2px solid var(--brand-blue-bright); outline-offset: 2px; }

.rfq-done { display: none; }
.pricing-grid tr.is-added .rfq-cue { display: none; }
.pricing-grid tr.is-added .rfq-done { display: inline; }

.pricing-grid .col-soon { text-align: center; }

.pill-soon {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: var(--platform-muted);
    font-size: 12px;
    white-space: nowrap;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

/* The first tab stop jumps the navigation. Off-screen until focused. */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 3000;
    padding: 10px 16px;
    border-radius: 0 0 10px 0;
    background: var(--platform-surface);
    color: #ffffff;
    text-decoration: none;
}

.skip-link:focus { left: 0; }

/* Vestibular safety: the grows and lifts sit still when asked to. */
@media (prefers-reduced-motion: reduce) {
    .js-topic,
    .value-item { transition: none; }

    .hero-points li.js-topic:hover,
    .foundation-item.js-topic:hover,
    .universal-chip.js-topic:hover,
    .pricing-grid tr.js-topic:hover,
    .value-item:hover { transform: none; }
}

/*--------------------------------------------------------------
# Brand mark in the nav
#
# Two items side by side, Bootstrap's own flex utilities doing the
# work. The SVG is 852 bytes, so it costs nothing and stays crisp at
# any density — no @2x variant needed.
--------------------------------------------------------------*/
.brand-mark {
    flex: 0 0 auto;
    display: block;
}

@media (max-width: 900px) {
    .brand-mark { width: 32px; height: 32px; }
}
