/* TMS homepage — V6 (Opus, Nov 18 2026). Loaded after v5.css, homepage only.
   The technology at full size: Business Core and Marketing Core as complete operating-system screens
   (Marketing Core modelled on the FMG Growth & Intelligence OS), Marin + an AI agent workforce as the
   intelligence and action layer, then the connected example and the two ways to work with TMS. */

/* ================= WHAT WE'VE BUILT ================= */
.built6 { position: relative; padding: 112px 0 104px; color: var(--on-navy); overflow: hidden;
  background: radial-gradient(1100px 520px at 50% -4%, rgba(60, 120, 255, .22), transparent 70%),
              radial-gradient(900px 600px at 0% 46%, rgba(76, 141, 246, .10), transparent 70%),
              radial-gradient(900px 600px at 100% 78%, rgba(233, 167, 44, .10), transparent 70%),
              linear-gradient(180deg, #081429 0%, #0A1834 50%, #071225 100%); }
.built6::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); }
.built6 > .wrap { position: relative; }
.built6 h2 { color: #FFF8EC; }
.built6 .s5-head h2 { font-size: clamp(34px, 3.8vw, 56px); }
.built6 .s5-head .lede { color: #C9D3E4; max-width: 720px; }

.four6 { list-style: none; margin: 44px auto 0; padding: 0; max-width: 1040px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.four6 li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .09); }
.four6 li > i, .four6 li > .mav { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; }
.four6 li > .mav { border-radius: 50%; }
.four6 i.b { background: linear-gradient(140deg, #8CB8FF, #2F6BD8); box-shadow: 0 0 18px rgba(76, 141, 246, .5); }
.four6 i.m { background: linear-gradient(140deg, #FFD98A, #D08F12); box-shadow: 0 0 18px rgba(233, 167, 44, .45); }
.four6 i.a { background: conic-gradient(from 200deg, #6FD3A6, #4C8DF6, #F7C552, #6FD3A6); box-shadow: 0 0 18px rgba(111, 211, 166, .4); }
.four6 b { font-size: 15.5px; color: #fff; }
.four6 span { font-size: 13px; color: #A9B6CB; }

/* platform block */
.pf6 { margin-top: 88px; }
.pf6 + .pf6 { margin-top: 112px; }
.pf6-h { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: end; margin-bottom: 30px; }
.pf6-t { display: flex; gap: 22px; align-items: flex-start; }
.pf-n { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 84px; line-height: .8; color: transparent; -webkit-text-stroke: 1.2px rgba(140, 184, 255, .6); }
.pf6.mk .pf-n { -webkit-text-stroke-color: rgba(247, 197, 82, .65); }
.pf6-t h3 { margin-top: 14px; font-size: clamp(30px, 3vw, 44px); letter-spacing: -.03em; color: #fff; }
.pf6-t p { margin: 10px 0 0; font-size: 17px; line-height: 1.55; color: #C9D3E4; max-width: 520px; }
.built6 .c-badge.b { color: #A9C9FF; background: rgba(76, 141, 246, .18); }
.built6 .c-badge.m { color: #FFD27A; background: rgba(233, 167, 44, .18); }
.pf-mods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pf-mods li { display: flex; align-items: center; gap: 9px; padding: 10px 11px; border-radius: 11px; font-size: 13.5px; font-weight: 700; color: #E6ECF6; line-height: 1.25;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.pf-mods svg { flex: none; width: 18px; height: 18px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pf-mods.b svg { stroke: #8CB8FF; } .pf-mods.m svg { stroke: #F7C552; }

/* ============ THE OPERATING-SYSTEM WINDOW (shared) ============ */
.os6 { --t1: #12203A; --t2: #5A6478; --ln: #E4E8F0; --pn: #fff; --bg: #F3F5F9; --ac: #2F6BD8; --acs: rgba(47, 107, 216, .1);
  position: relative; margin: 0; border-radius: 20px; overflow: hidden; container-type: inline-size; color: var(--t1); background: var(--bg);
  font-size: 13px; line-height: 1.4;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 50px 120px -40px rgba(30, 90, 220, .55), 0 40px 80px -40px rgba(0, 0, 0, .8); }
.os6 svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.os6 small { font-size: inherit; }
.os-top { display: flex; align-items: center; gap: 16px; padding: 12px 18px; background: #fff; border-bottom: 1px solid var(--ln); }
.os-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.os-brand .lg { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.lg.b { background: linear-gradient(140deg, #8CB8FF, #2F6BD8); } .lg.m { background: linear-gradient(140deg, #FFD98A, #D08F12); }
.os-brand b { font-size: 15px; letter-spacing: -.01em; white-space: nowrap; }
.os-brand small { padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--ln); color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-search { flex: 1; max-width: 380px; margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; color: #8A93A6; background: var(--bg); border: 1px solid var(--ln); white-space: nowrap; overflow: hidden; }
.os-btn { padding: 8px 14px; border-radius: 10px; font-weight: 800; color: #fff; background: var(--ac); white-space: nowrap; }
.os-me { display: flex; align-items: center; gap: 12px; color: var(--t2); }
.os-me i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-weight: 800; font-size: 11px; color: #fff; background: #3A4A68; }
.os-grid { display: grid; grid-template-columns: 196px minmax(0, 1fr) 268px; min-height: 640px; }
.os-nav { display: flex; flex-direction: column; gap: 2px; padding: 16px 10px; background: #fff; border-right: 1px solid var(--ln); }
.os-nav small { margin: 12px 10px 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9AA3B5; }
.os-nav small:first-child { margin-top: 0; }
.os-nav span { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-weight: 600; color: #3C4659; white-space: nowrap; }
.os-nav span.on { color: var(--ac); background: var(--acs); font-weight: 800; }
.os-nav em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800; color: #8A93A6; }
.os-nav em.hot { padding: 1px 7px; border-radius: 99px; color: #fff; background: var(--ac); }
.os-main { padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.os-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.os-kpis > div { position: relative; padding: 14px 15px; border-radius: 14px; background: var(--pn); border: 1px solid var(--ln); min-width: 0; overflow: hidden; }
.os-kpis small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--t2); }
.os-kpis b { display: block; margin-top: 6px; font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
.os-kpis span { display: block; margin-top: 3px; font-size: 12px; color: var(--t2); }
.os-kpis .up { color: #1E9A5E; font-weight: 700; } .os-kpis .warn { color: #C2571B; font-weight: 700; }
.os-kpis > div > svg { position: absolute; right: 12px; top: 34px; width: 34%; height: 26px; color: #4C8DF6; }
.os-row { display: grid; gap: 14px; }
.os-row.r2 { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.os-row.r3 { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .9fr); }
.pnl { padding: 15px 16px; border-radius: 14px; background: var(--pn); border: 1px solid var(--ln); min-width: 0; }
.pnl h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 11px; font-family: var(--sans); font-size: 14px; font-weight: 800; letter-spacing: -.01em; color: var(--t1); }
.pnl h4 small { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--t2); }
.pnl ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Business Core specifics (daylight UI) ---------- */
.os-hello { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.os-hello small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ac); }
.os-hello b { display: block; margin-top: 4px; font-size: 22px; letter-spacing: -.02em; }
.os-hello > div > span { color: var(--t2); }
.os-acts { display: flex; gap: 8px; }
.os-acts span { padding: 8px 12px; border-radius: 10px; font-weight: 700; color: var(--t1); background: #fff; border: 1px solid var(--ln); white-space: nowrap; }
.pn-att li { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-top: 1px solid #EEF1F6; }
.pn-att li:first-child { border-top: 0; padding-top: 2px; }
.pn-att li > div { min-width: 0; flex: 1; }
.pn-att b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-att span { display: block; font-size: 12px; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-att em { font-style: normal; padding: 6px 11px; border-radius: 8px; font-size: 12px; font-weight: 800; color: var(--t1); border: 1px solid var(--ln); background: #fff; }
.pn-att em.ok { color: #fff; background: #1E9A5E; border-color: #1E9A5E; }
.pn-att li.mar { margin: 0 -8px; padding: 9px 8px; border-radius: 10px; background: linear-gradient(90deg, rgba(76, 141, 246, .12), rgba(76, 141, 246, .02)); }
.pn-att .mav { width: 26px; height: 26px; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; margin: 0 8px; }
.dot.r { background: #E0603A; } .dot.a { background: #E9A72C; } .dot.b { background: #4C8DF6; } .dot.g { background: #2FB673; }
.lanes { display: grid; gap: 8px; }
.lanes > div { position: relative; height: 34px; display: grid; grid-template-columns: 54px 1fr; align-items: center; }
.lanes small { font-size: 11px; font-weight: 800; color: var(--t2); }
.lanes > div::after { content: ""; position: absolute; left: 54px; right: 0; top: 50%; height: 1px; background: #EEF1F6; z-index: 0; }
.j { position: absolute; z-index: 1; top: 3px; bottom: 3px; left: calc(54px + (100% - 54px) * var(--s) / 9); width: calc((100% - 54px) * var(--w) / 9 - 4px);
  display: flex; align-items: center; padding: 0 9px; border-radius: 7px; font-size: 11.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: #12306A; background: #DCE8FD; border-left: 3px solid #4C8DF6; }
.j.alt { color: #5A3B00; background: #FCEBC6; border-left-color: #E9A72C; }
.j.open { color: #1E7A4C; background: repeating-linear-gradient(135deg, #E8F7EF 0 6px, #F5FBF8 6px 12px); border-left-color: #2FB673; border-style: dashed; }
.hrs { display: grid; grid-template-columns: 54px repeat(5, 1fr); margin-top: 8px; font-size: 11px; color: #9AA3B5; }
.hrs span:first-child { grid-column: 2; }
.bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; height: 130px; padding-top: 6px; }
.bars span { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 18px; }
.bars i { width: 38%; border-radius: 4px 4px 0 0; }
.bars i:first-child { height: calc(var(--a) * 1%); background: linear-gradient(180deg, #6FA4FF, #2F6BD8); }
.bars i:nth-child(2) { height: calc(var(--b) * 1%); background: linear-gradient(180deg, #F7CF7A, #D99A1C); }
.bars small { position: absolute; bottom: 0; font-size: 11px; color: #9AA3B5; }
.fun { display: grid; gap: 7px; }
.fun span { position: relative; display: flex; align-items: center; gap: 8px; padding: 7px 10px; width: var(--w); min-width: 120px; border-radius: 8px; font-size: 12px; color: var(--t2); background: var(--acs); }
.fun b { font-size: 15px; color: var(--t1); }
.pn-auto li { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid #EEF1F6; font-weight: 600; }
.pn-auto li:first-child { border-top: 0; }
.pn-auto li i { width: 32px; height: 18px; border-radius: 99px; background: #2FB673; position: relative; }
.pn-auto li i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
/* Marin rail */
.os-marin { display: flex; flex-direction: column; gap: 10px; padding: 16px 14px; color: #E9EEF7;
  background: radial-gradient(300px 220px at 50% 0%, rgba(76, 141, 246, .3), transparent 70%), linear-gradient(180deg, #102244, #0A1630); }
.om-h { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.om-h .mav { width: 38px; height: 38px; }
.om-h b { display: block; font-size: 15px; color: #fff; } .om-h small { color: #93A4BE; font-size: 11.5px; }
.live { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; color: #9BE8C4; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #6FD3A6; box-shadow: 0 0 8px #6FD3A6; }
.om-msg { padding: 10px 12px; border-radius: 13px; font-size: 13px; line-height: 1.5; }
.om-msg.you { align-self: flex-end; max-width: 86%; font-weight: 700; color: #0A1428; background: linear-gradient(180deg, #FFE39A, #F2B937); border-bottom-right-radius: 4px; }
.om-msg.her { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); border-bottom-left-radius: 4px; }
.om-card { padding: 11px 12px; border-radius: 12px; background: rgba(255, 255, 255, .96); color: var(--t1); }
.om-card small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #1E9A5E; }
.om-card b { display: block; margin: 3px 0 9px; font-size: 14px; }
.om-card span { display: flex; gap: 6px; }
.om-card em { flex: 1; text-align: center; font-style: normal; padding: 6px; border-radius: 8px; font-weight: 800; font-size: 12px; border: 1px solid var(--ln); }
.om-card em.ok { color: #fff; background: #1E9A5E; border-color: #1E9A5E; }
.om-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.om-chips span { padding: 6px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 700; color: #D7E4FA; border: 1px solid rgba(140, 184, 255, .3); }
.om-in { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 12px; color: #93A4BE; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.om-in svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; color: #0A1428; background: #F7C552; }

/* ---------- Marketing Core specifics (FMG-style dark navy + gold) ---------- */
.os6.mcw { --t1: #EEF2F8; --t2: #9FAEC6; --ln: rgba(255, 255, 255, .09); --pn: rgba(255, 255, 255, .035); --bg: #0B1630; --ac: #E9A72C; --acs: rgba(233, 167, 44, .14);
  box-shadow: 0 0 0 1px rgba(247, 197, 82, .22), 0 50px 120px -40px rgba(233, 167, 44, .35), 0 40px 80px -40px rgba(0, 0, 0, .8); }
.mcw .os-top { background: #0A1428; border-bottom-color: rgba(247, 197, 82, .2); }
.mcw .os-brand b { color: #fff; }
.mcw .os-brand small.tag { color: #E9B44C; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; border-left-color: rgba(255, 255, 255, .15); }
.mcw .os-search { color: #7F8DA6; background: rgba(255, 255, 255, .04); }
.mcw .os-btn { color: #0A1428; background: linear-gradient(180deg, #FFDB7C, #E9AE2B); }
.mcw .os-me i { background: #24365A; }
.mcw .os-nav { background: #0A1428; border-right-color: rgba(255, 255, 255, .07); }
.mcw .os-nav span { color: #C6D0E0; }
.mcw .os-nav span.on { color: #fff; background: rgba(76, 141, 246, .2); box-shadow: inset 0 0 0 1px rgba(140, 184, 255, .25); }
.mcw .os-nav small { color: #6F7E98; }
.mcw .os-nav em.hot { color: #0A1428; background: #E9B44C; }
.mc-title h4 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 32px; letter-spacing: -.01em; color: #fff; }
.mc-title h4 em { color: #F3C766; }
.mc-title > span { display: block; margin-top: 2px; color: #B5C1D6; font-size: 13.5px; }
.mc-title small { margin-left: 8px; padding: 2px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #E9B44C; border: 1px solid rgba(233, 180, 76, .5); }
.mcw .os-kpis b { font-family: var(--serif); font-weight: 600; font-size: 34px; color: #fff; }
.mcw .os-kpis .kg { border-color: rgba(247, 197, 82, .55); background: linear-gradient(180deg, rgba(247, 197, 82, .12), rgba(247, 197, 82, .02)); }
.mcw .os-kpis .up { color: #7FE0B0; }
.mcw .pnl h4 { color: #fff; } .mcw .pnl h4 svg { color: #F3C766; }
.pn-adv { background: linear-gradient(160deg, rgba(76, 141, 246, .14), rgba(255, 255, 255, .02)) !important; border-color: rgba(140, 184, 255, .22) !important; }
.adv-m { display: flex; gap: 10px; }
.adv-m .mav { width: 32px; height: 32px; }
.adv-m p { margin: 0; padding: 11px 13px; border-radius: 13px; border-top-left-radius: 4px; font-size: 13px; line-height: 1.55; color: #E9EEF7; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); }
.adv-q { display: flex; flex-wrap: wrap; gap: 6px; margin: 11px 0 0 42px; }
.adv-q span { padding: 6px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 700; color: #E6ECF6; border: 1px solid rgba(255, 255, 255, .16); }
.pn-sig li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.pn-sig li:first-child { border-top: 0; padding-top: 0; }
.pn-sig em { grid-row: span 2; align-self: start; margin-top: 1px; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.t-n { color: #9BE8C4; background: rgba(111, 211, 166, .14); } .t-d { color: #A9C9FF; background: rgba(76, 141, 246, .18); }
.t-p { color: #F7CF7A; background: rgba(233, 167, 44, .16); } .t-c { color: #FFB59A; background: rgba(224, 96, 58, .16); }
.pn-sig b { font-size: 13px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-sig span { font-size: 12px; color: var(--t2); }
.st-on { padding: 2px 8px; border-radius: 99px; color: #7FE0B0 !important; border: 1px solid rgba(127, 224, 176, .45); }
.seg { display: flex; height: 9px; border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.seg i { width: var(--w); background: rgba(255, 255, 255, .14); }
.seg i.p { background: #F3C766; } .seg i.a { background: #9CC2FF; } .seg i.r { background: #4C8DF6; }
.seg-k { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 8px 0 6px; font-size: 11px; color: var(--t2); }
.seg-k span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 2px; background: rgba(255, 255, 255, .2); }
.seg-k .p::before { background: #F3C766; } .seg-k .a::before { background: #9CC2FF; } .seg-k .r::before { background: #4C8DF6; }
.ch li { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .07); color: #E6ECF6; font-weight: 600; }
.ch li svg { color: #F3C766; }
.ch li span { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--t2); white-space: nowrap; }
.pn-opp li { padding: 6px 0; }
.pn-opp b { display: block; font-size: 12.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-opp i { display: block; margin-top: 5px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.pn-opp i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--s); border-radius: inherit; background: linear-gradient(90deg, #C98E15, #F7CF7A); }
.fun.g span { background: rgba(247, 197, 82, .13); color: #B5C1D6; }
.fun.g b { color: #fff; }
.os-rail { display: flex; flex-direction: column; gap: 12px; padding: 18px 14px; background: #0A1428; border-left: 1px solid rgba(255, 255, 255, .07); }
.rc { padding: 13px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .09); background: rgba(255, 255, 255, .03); }
.rc h5 { display: flex; align-items: center; gap: 8px; margin: 0 0 9px; font-family: var(--serif); font-weight: 600; font-size: 18px; color: #fff; }
.rc h5 svg { color: #F3C766; }
.rc ul { list-style: none; margin: 0; padding: 0; }
.rc li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; color: #DCE4F0; font-weight: 600; border-top: 1px solid rgba(255, 255, 255, .06); }
.rc li:first-child { border-top: 0; }
.rc li em { font-style: normal; font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 7px; color: #0A1428; background: #E9B44C; }
.rc p { margin: 0; color: var(--t2); } .rc p b { font-family: var(--serif); font-size: 28px; color: #fff; margin-right: 4px; }
.attr li { justify-content: flex-start; } .attr li b { margin-left: auto; color: #fff; }
.attr i { width: 9px; height: 9px; border-radius: 2px; } .attr .d { background: #F3C766; } .attr .n { background: #9CC2FF; } .attr .u { background: rgba(255, 255, 255, .25); }

.both6 { margin: 72px auto 0; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 14px; text-align: center; }
.both6 .plus { font-size: 22px; font-weight: 800; color: #F7C552; }
.both6 p { flex-basis: 100%; margin: 6px 0 0; font-size: 17px; line-height: 1.55; color: #C9D3E4; }
.built6 .fine5 { text-align: center; color: #8E9CB4; }

/* ================= MARIN + AI AGENTS ================= */
.ai6 { padding: 112px 0 104px; color: var(--ink);
  background: radial-gradient(900px 460px at 20% 0%, rgba(76, 141, 246, .10), transparent 70%), radial-gradient(900px 460px at 90% 30%, rgba(247, 197, 82, .2), transparent 70%), linear-gradient(180deg, #FBF6EC, #F4EBDA); }
.ai6 h2 { color: var(--ink); } .ai6 .s5-head h2 { font-size: clamp(34px, 3.8vw, 54px); } .ai6 .lede { color: var(--ink-2); }
.layers6 { list-style: none; margin: 46px auto 0; padding: 0; max-width: 1120px; display: grid; grid-template-columns: .7fr 1fr 1fr 1.3fr; gap: 0; position: relative; }
.layers6 li { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 11px; align-items: center; padding: 14px 18px 14px 16px; background: #fff; border: 1px solid #E8DCC4; }
.layers6 li:first-child { border-radius: 14px 0 0 14px; } .layers6 li:last-child { border-radius: 0 14px 14px 0; }
.layers6 li + li { border-left: 0; }
.layers6 li + li::before { content: ""; position: absolute; left: -9px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%) rotate(45deg); background: inherit; border-top: 1px solid #E8DCC4; border-right: 1px solid #E8DCC4; z-index: 1; }
.layers6 li:nth-child(2)::before { background: #fff; }
.layers6 b { font-size: 15px; } .layers6 span { grid-column: 2; font-size: 12.5px; color: var(--ink-2); line-height: 1.35; }
.layers6 li > b:first-child { grid-column: 1 / -1; }
.layers6 li > b:first-child + span { grid-column: 1 / -1; }
.layers6 .mav, .layers6 li > i { grid-row: span 2; width: 32px; height: 32px; }
.layers6 li > i { border-radius: 9px; }
.ly-a > i { background: conic-gradient(from 200deg, #6FD3A6, #4C8DF6, #F7C552, #6FD3A6); }
.ly-c > i { background: linear-gradient(90deg, #4C8DF6 50%, #E9A72C 50%); }
.ly-m { background: #F3F7FF !important; } .ly-m::before { background: #F3F7FF !important; }
.ly-a { background: #F2FBF6 !important; } .ly-a::before { background: #F2FBF6 !important; }
.ly-c { background: #FFF8E8 !important; } .ly-c::before { background: #FFF8E8 !important; }

.ai6-grid { margin-top: 44px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: stretch; }
.marin6, .crew6 { margin: 0; border-radius: 24px; overflow: hidden; color: #E9EEF7;
  box-shadow: 0 40px 80px -40px rgba(10, 22, 48, .7), 0 0 0 1px rgba(10, 20, 40, .4); }
.marin6 { display: flex; flex-direction: column; padding: 26px 26px 24px;
  background: radial-gradient(520px 340px at 20% 0%, rgba(70, 130, 255, .45), transparent 70%), linear-gradient(170deg, #12244A, #0A1630 70%); }
.m6-top { display: flex; align-items: center; gap: 18px; }
.m6-fig { width: 132px; height: auto; flex: none; margin: -14px 0 -10px -10px; filter: drop-shadow(0 20px 30px rgba(20, 60, 160, .6)); }
.m6-id h3 { margin-top: 10px; font-size: 24px; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.marin6 .c-badge.g { color: #FFD27A; background: rgba(247, 197, 82, .16); }
.wave { display: flex; align-items: center; gap: 3px; height: 22px; margin-top: 12px; }
.wave i { width: 3px; border-radius: 3px; background: linear-gradient(180deg, #9CC2FF, #4C8DF6); animation: wv 1.2s ease-in-out infinite; height: 30%; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.7s; } .wave i:nth-child(4n) { animation-delay: -.5s; }
@keyframes wv { 0%, 100% { height: 25%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .wave i { animation: none; height: 60%; } }
.m6-id small { display: block; margin-top: 4px; font-size: 12px; color: #93A4BE; }
.m6-chat { margin-top: 18px; flex: 1; }
.m6-act { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; padding: 9px; border-radius: 12px; background: #fff; }
.m6-act span { display: flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--ink); background: #F1F4F9; }
.m6-act svg { width: 14px; height: 14px; fill: none; stroke: #2F6BD8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m6-act em { margin-left: auto; font-style: normal; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 800; color: #fff; background: #1E9A5E; }
.m6-ways { list-style: none; margin: 16px 0 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid rgba(255, 255, 255, .08); }
.m6-ways li { padding: 6px 11px; border-radius: 99px; font-size: 12px; font-weight: 700; color: #D7E4FA; border: 1px solid rgba(140, 184, 255, .3); }

.crew6 { display: flex; flex-direction: column; padding: 24px; background: radial-gradient(600px 300px at 100% 0%, rgba(111, 211, 166, .16), transparent 70%), linear-gradient(170deg, #0F2142, #0A1630 70%); }
.cr-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.cr-h small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #93A4BE; }
.cr-h b { display: block; margin-top: 3px; font-size: 22px; color: #fff; letter-spacing: -.02em; }
.cr-g { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cr-g li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.cr-g li > div { display: flex; flex-direction: column; }
.cr-g li > div b { font-size: 14.5px; color: #fff; } .cr-g li > div small { font-size: 12px; color: #93A4BE; }
.ag { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: #0A1428; background: linear-gradient(160deg, #CFE0FF, #6FA4FF); }
.ag svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cr-g li:nth-child(3) .ag, .cr-g li:nth-child(4) .ag { background: linear-gradient(160deg, #C6F2DD, #4FC48C); }
.cr-g li:nth-child(5) .ag, .cr-g li:nth-child(6) .ag { background: linear-gradient(160deg, #FFE5A0, #F2B937); }
.cr-g em { position: absolute; top: 14px; right: 12px; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; }
.s-done em { color: #9BE8C4; background: rgba(111, 211, 166, .15); }
.s-you em { color: #0A1428; background: #F7C552; }
.s-run em { color: #A9C9FF; background: rgba(76, 141, 246, .2); }
.s-run em::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #6FA4FF; animation: pulse6 1.4s infinite; }
@keyframes pulse6 { 50% { opacity: .2; } }
.s-q em { color: #B8C3D6; background: rgba(255, 255, 255, .08); }
.s-you { border-color: rgba(247, 197, 82, .55) !important; box-shadow: 0 0 0 1px rgba(247, 197, 82, .25), 0 0 30px -10px rgba(247, 197, 82, .5); }
.cr-g p { margin: 0; font-size: 13px; line-height: 1.45; color: #D5DEEC; } .cr-g p b { color: #fff; }
.ho { margin-top: auto; font-size: 11.5px; font-weight: 800; color: #F3C766; }
.cr-log { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .22); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }
.cr-log small { display: block; margin-bottom: 6px; font-family: var(--sans); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #93A4BE; }
.cr-log p { margin: 0; padding: 3px 0; font-size: 12.5px; color: #E6ECF6; display: flex; gap: 12px; flex-wrap: wrap; }
.cr-log time { color: #F3C766; } .cr-log span { color: #93A4BE; }
.crew6 figcaption { margin-top: 12px; font-size: 12.5px; color: #93A4BE; }
.ai6-f { margin-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 22px 26px; border-radius: 18px; background: #fff; border: 1px solid #E8DCC4; }
.ai6-f p { margin: 0; max-width: 820px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.ai6-f .btn { flex: none; }

/* ================= CONNECTED EXAMPLE — layer colours ================= */
.flow6 .s5-head .lede { color: #C9D3E4; }
.flow6 .k-m .ch-k { color: #C6D9FF; } .flow6 .k-a .ch-k { color: #9BE8C4; } .flow6 .k-r .ch-k { color: #F7CF7A; }
.flow6 .chain b { font-size: 21px; }
.flow6 .ch-ui { padding: 14px 15px; }

/* ================= TWO WAYS ================= */
.two6 .s5-head h2 { font-size: clamp(32px, 3.4vw, 50px); }
.access6 { margin: 18px 0 0; padding: 16px 20px; border-radius: 14px; font-size: 19px; line-height: 1.45; color: #FFF8EC; max-width: 620px;
  background: linear-gradient(120deg, #12244A, #0B1835); box-shadow: inset 3px 0 0 #F2B937, 0 20px 40px -24px rgba(10, 22, 48, .6); }
.access6 b { font-weight: 800; }
.inc6 { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.inc6 li { display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 99px; font-size: 14px; font-weight: 800; color: var(--ink); background: #fff; border: 1px solid #E6D8BC; }
.inc6 i { width: 18px; height: 18px; border-radius: 6px; }
.inc6 i.b { background: linear-gradient(140deg, #8CB8FF, #2F6BD8); } .inc6 i.m { background: linear-gradient(140deg, #FFD98A, #D08F12); } .inc6 i.a { background: conic-gradient(from 200deg, #6FD3A6, #4C8DF6, #F7C552, #6FD3A6); }
.inc6 .mav { width: 20px; height: 20px; }
.two6 .px-copy .lede { margin-top: 18px; }
.nb6 { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 16px; font-weight: 800; color: var(--ink); }
.nb6 span:last-child { color: #A86E06; }
.steps6 { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: s6; }
.steps6 li { counter-increment: s6; padding: 12px 12px 12px; border-radius: 12px; background: #fff; border: 1px solid #E6D8BC; }
.steps6 li::before { content: "0" counter(s6); display: block; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1; color: #B07A0C; }
.steps6 b { display: block; margin-top: 6px; font-size: 15px; } .steps6 span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.two6 .px-copy .actions { margin-top: 24px; }

/* ================= CONTAINER QUERIES — the OS windows adapt to their width ================= */
@container (max-width: 1180px) {
  .os-grid { grid-template-columns: 60px minmax(0, 1fr) 250px; }
  .os-nav { padding: 14px 8px; } .os-nav small { display: none; }
  .os-nav span { justify-content: center; padding: 10px 0; font-size: 0; gap: 0; } .os-nav span svg { width: 18px; height: 18px; }
  .os-nav em { display: none; }
  .hide-t { display: none !important; }
  .os-row.r3 { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .os-acts span:nth-child(3) { display: none; }
}
@container (max-width: 900px) {
  .os-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .os-nav { display: none; }
  .os-marin, .os-rail { border-left: 0; border-top: 1px solid var(--ln); }
  .os-marin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .os-marin .om-h { grid-column: 1 / -1; }
  .om-msg.you { justify-self: end; } .om-chips, .om-in { grid-column: 1 / -1; }
  .os-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .os-search { display: none; }
  .os-brand small { display: none; }
  .os-btn { margin-left: auto; }
}
@container (max-width: 620px) {
  .os6 { font-size: 12.5px; }
  .os-main { padding: 14px; gap: 12px; }
  .os-top { padding: 10px 12px; gap: 10px; } .os-me .bell { display: none; }
  .os-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .os-kpis b { font-size: 22px; } .mcw .os-kpis b { font-size: 28px; }
  .os-kpis > div > svg { display: none; }
  .os-row.r2, .os-row.r3 { grid-template-columns: minmax(0, 1fr); }
  .hide-m { display: none !important; }
  .os-hello { flex-direction: column; align-items: flex-start; } .os-acts { display: none; }
  .pnl-sched, .pn-sched, .pn-rev { display: none; }
  .os-marin { display: flex; align-items: stretch; } .os-rail { display: flex; }
  .os-rail .rc:nth-child(2) { display: none; }
  .mc-title h4 { font-size: 26px; }
  .adv-q { margin-left: 0; }
  .pn-sig b { white-space: normal; }
}

/* ================= RESPONSIVE (viewport) ================= */
@media (max-width: 1100px) {
  .pf6-h { grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
  .ai6-grid { grid-template-columns: minmax(0, 1fr); }
  .layers6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .layers6 li { border: 1px solid #E8DCC4 !important; border-radius: 14px !important; }
  .layers6 li::before { display: none; }
  .four6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .built6, .ai6 { padding: 68px 0 64px; }
  .pf6 { margin-top: 56px; } .pf6 + .pf6 { margin-top: 72px; }
  .pf-n { font-size: 56px; }
  .pf6-t { gap: 14px; }
  .pf6-t p { font-size: 16px; }
  .pf-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-mods li { font-size: 13px; padding: 9px 10px; }
  .os6 { border-radius: 16px; margin: 0 -4px; }
  .cr-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marin6, .crew6 { padding: 20px 16px; border-radius: 20px; }
  .m6-fig { width: 96px; }
  .m6-id h3 { font-size: 20px; }
  .ai6-f { flex-direction: column; align-items: stretch; padding: 20px; }
  .steps6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .access6 { font-size: 17px; }
  .both6 p { font-size: 16px; }
}
@media (max-width: 480px) {
  .four6 { grid-template-columns: minmax(0, 1fr); }
  .layers6 { grid-template-columns: minmax(0, 1fr); }
  .cr-g { grid-template-columns: minmax(0, 1fr); }
  .cr-g li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 6px; }
  .cr-g li p, .cr-g li .ho { grid-column: 1 / -1; }
  .pf-mods li { font-size: 12.5px; }
}

/* late additions */
.wk { display: flex; align-items: flex-end; gap: 5px; height: 54px; margin-bottom: 8px; }
.wk i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #F7CF7A, rgba(233, 167, 44, .35)); }
.rc .wk + p { font-size: 12px; }
.wave i { height: 55%; } .wave i:nth-child(2n) { height: 90%; } .wave i:nth-child(3n) { height: 35%; } .wave i:nth-child(5n) { height: 100%; }
.built6 .s5-head, .ai6 .s5-head { max-width: 980px; }
@container (max-width: 420px) { .os-btn { display: none; } .os-me { margin-left: auto; } }
