/* =========================================================
   AMEMOR — OEM
   ---------------------------------------------------------
   Visual language intentionally matched to PLATFORM.
   Content and wording remain unchanged from OEM V1.
   ========================================================= */

:root {
  --red: #f01523;
	--maroon: #970811;
    --blue: #535682;
    --yellow: #e0a030;
    --green: #21622f;
	--slogan:#f4ca80; 
	--teal:#16a6a6;
--purple: #662a81;
	--khaki: #6a7e27;
	--deep-blue: #0d4553;
	--gold: #855a1d;
	--link: #8a90df;
	--red-dark: #970811;
  --font-main:"Segoe UI","Helvetica Neue",Arial,sans-serif;

     --bg: #02242c;
    --panel: #02242c;
    --line: rgba(255,255,255,0.20);
    --text: #f4f5f5;
    --muted: #8eabb0;
    --white: #fff;}
--link-purple: #a37ab6;
--link-red: #fa5a64;
--link-khaki: #a6b379;
--link-green: #77d18b;

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: var(--font-main);
    font-weight: 300;
    letter-spacing: 0.2px;
    background: var(--bg);
    color: var(--text);
    transition:
        background-color 220ms ease,
        color 220ms ease;
}

button {
    font: inherit;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* ---------- TOP BAR ---------- */

.topbar {
    position: fixed;
    z-index: 20;

    top: 0;
    left: 0;
    right: 0;

    height: 76px;
    padding: 12px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

  background: rgba(2, 36, 44, 0.84);
    border-bottom: 0px solid rgba(255,255,255,0.28);
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-button {
    height: 35px;
    min-width: 108px;
    padding: 0 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.42);
    border-radius: 0;

    background: #855a1d;
    color: #fff;

    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.7px;

    cursor: pointer;
    text-decoration: none;

    transition:
        background-color 180ms ease,
        color 180ms ease,
        border-color 180ms ease;
}

.control-button:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.home-button {
    text-decoration: none;
}

.back-button,
.home-button {
    font-size: 24px;
}

.language-button { min-width: 118px; font-size: 13px; letter-spacing: 1px; }

/* ---------- MAIN MAP ---------- */

.oem-map {
    position: relative;

    width: min(1180px, 92vw);
    min-height: 100vh;

    margin: 0 auto;

    padding-top: 130px;
    padding-bottom: 110px;
}


/* ---------- CENTRAL NODE ---------- */

.central-statement {
    width: min(500px, 72vw);
    min-height: 220px;

    margin: 82px auto 0;

    background: #855a1d;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.central-number {
    margin-bottom: 18px;

    color: #fff;

    font-size: 12px;
    font-weight: 300;
    letter-spacing: 3px;
}

.central-statement h1 {
    margin: 0;

    color: #fff;

    font-size: clamp(30px, 3.2vw, 49px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0.8px;
}

.central-statement p {
    margin: 20px 0 0;

    color: #fff;

    font-size: 26px;
    font-weight: 300;
}


/* ---------- INTRO ---------- */

.page-intro {
    width: min(820px, 90vw);

    margin: 122px auto 0;

    text-align: center;
}

.intro-question {
    margin: 0;

    color: var(--muted);

    font-size: 35px;
    line-height: 1.4;
    font-weight: 400;
}

.intro-copy {
    max-width: 720px;

    margin: 21px auto 0;

    color: var(--text);

    font-size: 21px;
    line-height: 1.55;
    font-weight: 300;
}


/* ---------- METRO TAB TILES ---------- */

.concept-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;

    margin-top: 132px;
}

.concept {
    min-height: 190px;

    padding: 21px 18px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border: 1px solid transparent;
    border-radius: 0;

    appearance: none;

    cursor: pointer;

    transition:
        background-color 0.7s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 180ms ease;
}

.concept:hover {
    background: #000 !important;
    color: #fff !important;
    transform: translateY(-3px);
}

.concept[aria-expanded="true"] {
    transform: translateY(-3px);
    border: 2px solid #fff;
}

.concept-number {
    margin-bottom: 18px;

    font-size: 12px;
    font-weight: 300;
    letter-spacing: 3px;

    opacity: 0.9;
}

.concept h2 {
    margin: 0;

    font-size: clamp(20px, 1.8vw, 29px);
    line-height: 1.05;

    font-weight: 350;
    letter-spacing: 0.5px;
}

.concept p {
    max-width: 230px;

    margin: 14px 0 0;

    font-size: 18px;
    line-height: 1.35;
    font-weight: 350;
}


/* ---------- OEM TILE COLOURS ---------- */

.concept-embed {
    background: var(--maroon);
    color: #fff;
}

.concept-deploy {
    background: var(--blue);
    color: #fff;
}

.concept-license {
    background: var(--slogan);
    color: #000;
}

.concept-brand {
    background: var(--green);
    color: #fff;
}

.concept-scale {
    background: #008c8c;
    color: #fff;
}

.concept-vertical {
    background: #5b3da8;
    color: #fff;
}


/* ---------- TAB PANELS ---------- */

.tab-panels {
    width: 100%;
    margin-top: 30px;
}

.tab-panel {
    display: none;

    width: min(920px, 94%);
    margin: 0 auto;

    padding: 48px 54px 52px;

    background: var(--panel);

    border: 0 solid var(--line);

    text-align: center;

    animation: panelIn 220ms ease both;
}

.tab-panel.is-open {
    display: block;
}

@keyframes panelIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-number {
    margin-bottom: 18px;

    color: var(--muted);

    font-size: 12px;
    letter-spacing: 3px;
}

.tab-panel h2 {
    margin: 0 0 30px;

    color: var(--text);

    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.15;
    font-weight: 300;
}

.tab-panel > p {
    max-width: 720px;

    margin: 0 auto 22px;

    color: var(--text);

    font-size: 19px;
    line-height: 1.55;
    font-weight: 300;
}

.panel-accent-line,
.example-accent {
    margin-top: 38px !important;

    color: var(--yellow) !important;

    font-size: 20px !important;
    line-height: 1.4 !important;
    letter-spacing: 0.6px;
}

.panel-embed h2 {
    color:#fa5a64;
}

.panel-deploy h2 {
    color: var(--link);
}

.panel-license h2 {
    color: var(--slogan);
}

.panel-brand h2 {
    color: #77d18b;
}

.panel-scale h2 {
    color: #75fcfc;
}

.panel-vertical h2 {
    color: #a37ab6;
}


/* ---------- SHARED OEM DETAIL GRIDS ---------- */

.panel-words,
.deploy-grid,
.license-grid,
.brand-flow,
.scale-flow,
.vertical-grid {
    width: min(760px, 100%);

    margin: 38px auto 42px;

    display: grid;

    border: 1px solid var(--line);
}

.panel-words {
    grid-template-columns: repeat(4, 1fr);
}

.deploy-grid {
    grid-template-columns: repeat(3, 1fr);
}

.license-grid {
    grid-template-columns: repeat(3, 1fr);
}

.brand-flow {
    grid-template-columns: repeat(3, 1fr);
}

.scale-flow {
    grid-template-columns: repeat(5, 1fr);
}

.vertical-grid {
    grid-template-columns: repeat(3, 1fr);
}

.panel-words span,
.deploy-grid span,
.license-grid span,
.brand-flow span,
.scale-flow span,
.vertical-grid span {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 16px;

    color: var(--text);

    font-size: 13px;
    letter-spacing: 1.5px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.panel-words span:last-child,
.deploy-grid span:nth-child(3n),
.license-grid span:nth-child(3n),
.brand-flow span:nth-child(3n),
.scale-flow span:last-child,
.vertical-grid span:nth-child(3n) {
    border-right: 0;
}


/* ---------- OEM EXAMPLE ---------- */

.oem-example {
    width: min(920px, 94%);

    margin: 74px auto 0;

    padding: 48px 54px 52px;

    background: var(--panel);

    border-top: 2px solid var(--yellow);

    text-align: center;
}

.example-number {
    margin-bottom: 18px;

    color: var(--muted);

    font-size: 12px;
    letter-spacing: 3px;
}

.oem-example h2 {
    margin: 0 0 30px;

    color: var(--yellow);

    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.15;
    font-weight: 300;
}

.oem-example > p {
    max-width: 720px;

    margin: 0 auto 22px;

    color: var(--text);

    font-size: 19px;
    line-height: 1.55;
    font-weight: 300;
}

.example-flow {
    width: min(760px, 100%);

    margin: 38px auto 42px;

    display: flex;
    align-items: stretch;
    justify-content: center;

    border: 1px solid var(--line);
}

.example-flow span {
    flex: 1 1 auto;

    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 16px;

    color: var(--text);

    background: transparent;

    font-size: 13px;
    letter-spacing: 1.5px;

    border-right: 1px solid var(--line);
}

.example-flow span:last-child {
    border-right: 0;
}

.example-flow strong {
    min-width: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--yellow);

    font-size: 22px;
    font-weight: 300;

    border-right: 1px solid var(--line);
}

.example-accent {
    margin-bottom: 0 !important;
}


/* ---------- CLOSING ---------- */

.closing-statement {
    margin: 92px auto 0;

    text-align: center;
}

.closing-statement p {
    margin: 0;

    font-size: clamp(24px, 2.5vw, 36px);
    line-height: 1.3;

    font-weight: 300;
    letter-spacing: 0.4px;
}

.closing-statement p + p {
    margin-top: 10px;

    color: var(--muted);
}


/* ---------- NEXT STEP ---------- */

.next-step {
    margin: 74px auto 0;

    text-align: center;
}

.next-step > p {
    margin: 0 0 24px;

    color: var(--muted);

    font-size: 14px;
    letter-spacing: 1px;
}

.next-button {
    min-width: 220px;
    min-height: 74px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    background: var(--green);
    color: #fff;

    text-decoration: none;

    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;

    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.next-button:hover {
    background: #000;
    color: #fff;
    transform: translateY(-3px);
}

.next-button span {
    font-size: 11px;
    letter-spacing: 3px;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {

    .concept-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .panel-words,
    .deploy-grid,
    .license-grid,
    .vertical-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-flow,
    .scale-flow {
        grid-template-columns: 1fr;
    }

    .panel-words span,
    .deploy-grid span,
    .license-grid span,
    .brand-flow span,
    .scale-flow span,
    .vertical-grid span,
    .example-flow span,
    .example-flow strong {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .panel-words span:last-child,
    .deploy-grid span:last-child,
    .license-grid span:last-child,
    .brand-flow span:last-child,
    .scale-flow span:last-child,
    .vertical-grid span:last-child,
    .example-flow span:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 620px) {

    .topbar {
        padding: 12px 14px;
    }

    .control-button {
        min-width: 82px;
        padding: 0 12px;
        font-size: 12px;
    }

    .topbar-right .control-button {
        min-width: 72px;
    }

    .oem-map {
        width: min(100% - 24px, 1180px);
        padding-top: 105px;
    }

    .central-statement {
        margin-top: 48px;
    }

    .central-statement p {
        padding: 0 18px;
        font-size: 19px;
    }

    .intro-question {
        font-size: 25px;
    }

    .intro-copy {
        font-size: 16px;
    }

    .concept-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .concept {
        min-height: 150px;
    }

    .tab-panel,
    .oem-example {
        width: 100%;
        padding: 38px 22px 42px;
    }

    .tab-panel p,
    .oem-example > p {
        font-size: 17px;
    }

    .panel-words,
    .deploy-grid,
    .license-grid,
    .brand-flow,
    .scale-flow,
    .vertical-grid {
        grid-template-columns: 1fr;
    }

    .example-flow {
        flex-direction: column;
    }

    .example-flow strong {
        min-height: 44px;
        border-right: 0;
    }

    .closing-statement p {
        font-size: 21px;
    }
}
