/* TMS four-page build — V5 (Opus, Nov 18 2026). Loaded after v4.css.
   The message pass: the technology (Business Core, Marketing Core, Marin, AI agents) shown as real product screens,
   two clear ways to work with TMS, no pricing anywhere, Marin's official avatar beside her messages. */

:root { --bc: #4C8DF6; --bc-soft: rgba(76, 141, 246, .14); --mc: #E9A72C; --mc-soft: rgba(233, 167, 44, .16); }

/* ---------- Marin avatar (official artwork) ---------- */
.mav { display: inline-block; flex: none; width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 1.5px rgba(150, 190, 255, .55), 0 0 14px rgba(70, 130, 255, .45); background: #0B1430; }
.mav.xl { width: 92px; height: 92px; box-shadow: 0 0 0 2px rgba(150, 190, 255, .5), 0 0 40px rgba(70, 130, 255, .5), 0 20px 40px -16px rgba(10, 20, 50, .6); }
.d-marin .d-av { width: 40px; height: 40px; }
.ph-av { width: 30cqw; height: 30cqw; border-radius: 50%; box-shadow: 0 0 0 .8cqw rgba(140, 180, 255, .35), 0 0 14cqw rgba(70, 130, 255, .55); }
.board-float .mav { width: 28px; height: 28px; margin-top: -2px; }

/* ---------- shared section heads ---------- */
.s5-head { max-width: 780px; }
.s5-head.center { margin: 0 auto; text-align: center; }
.s5-head.center .kicker, .s5-head.center .eyebrow { justify-content: center; }
.s5-head h2 { margin-top: 16px; font-size: clamp(32px, 3.3vw, 48px); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.s5-head .lede { margin-top: 18px; max-width: 680px; }
.s5-head.center .lede { margin-left: auto; margin-right: auto; }
.fine5 { margin: 26px 0 0; font-size: 13.5px; color: var(--on-navy-2); }
.fine5.dark, .ivory .fine5, .stage5 .fine5 { color: #6A7284; }
.c-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.c-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.c-badge.b { color: #2F6BD8; background: var(--bc-soft); }
.c-badge.m { color: #A86E06; background: var(--mc-soft); }
.c-badge.g { color: #8A6210; background: rgba(247, 197, 82, .2); }

/* ============ THE TECHNOLOGY STAGE (cream, dark product screens) ============ */
.stage5 { position: relative; padding: 104px 0 110px; color: var(--ink); overflow: hidden;
  background: radial-gradient(900px 420px at 50% 0%, rgba(255, 214, 150, .45), transparent 70%),
              radial-gradient(1200px 520px at 50% 100%, rgba(18, 39, 73, .10), transparent 70%),
              linear-gradient(180deg, #FBF6EC, #F4EBDA); }
.stage5 h2 { color: var(--ink); }
.stage5 .lede { color: var(--ink-2); }
.cores2 { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.core5 { display: flex; flex-direction: column; gap: 22px; }
.core5-t h3 { margin-top: 14px; font-size: clamp(26px, 2.3vw, 34px); letter-spacing: -.025em; color: var(--ink); }
.core5-t p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 460px; }

/* the product window */
.appw { position: relative; margin: 0; border-radius: 18px; overflow: hidden; color: #E9EEF7; container-type: inline-size;
  background: linear-gradient(170deg, #17284A 0%, #0E1B35 55%, #0B162C 100%);
  box-shadow: 0 2px 0 rgba(255, 255, 255, .08) inset, 0 0 0 1px rgba(10, 20, 40, .55), 0 60px 90px -50px rgba(10, 22, 48, .85), 0 28px 50px -30px rgba(10, 22, 48, .55); }
.appw::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(118deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .02) 28%, transparent 46%); }
.appw-b { box-shadow: 0 2px 0 rgba(255, 255, 255, .08) inset, 0 0 0 1px rgba(10, 20, 40, .55), 0 60px 90px -50px rgba(18, 60, 140, .75), 0 28px 50px -30px rgba(10, 22, 48, .55); }
.appw-m { box-shadow: 0 2px 0 rgba(255, 255, 255, .08) inset, 0 0 0 1px rgba(10, 20, 40, .55), 0 60px 90px -50px rgba(120, 80, 10, .55), 0 28px 50px -30px rgba(10, 22, 48, .55); }
.aw-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.aw-dots { display: flex; gap: 6px; } .aw-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.aw-bar b { font-size: 13px; letter-spacing: .02em; color: #F6F1E7; }
.aw-bar em { margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(220, 228, 240, .5); }
.aw-tabs { display: flex; gap: 4px; padding: 10px 14px 0; overflow: hidden; }
.aw-tabs span { padding: 7px 11px; border-radius: 8px 8px 0 0; font-size: 12px; font-weight: 700; color: #9FB0C8; white-space: nowrap; }
.appw-b .aw-tabs span.on { color: #fff; background: rgba(76, 141, 246, .22); box-shadow: inset 0 -2px 0 var(--bc); }
.appw-m .aw-tabs span.on { color: #fff; background: rgba(233, 167, 44, .2); box-shadow: inset 0 -2px 0 var(--mc); }
.aw-body { padding: 16px; display: grid; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .06); }
.aw-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.aw-tiles > div { padding: 12px 13px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); min-width: 0; }
.aw-tiles small, .aw-card > small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #93A4BE; }
.aw-tiles b { display: block; margin-top: 6px; font-size: 22px; line-height: 1.1; color: #fff; letter-spacing: -.02em; }
.aw-tiles em { display: block; margin-top: 4px; font-style: normal; font-size: 12px; color: #A9C9FF; }
.appw-m .aw-tiles em { color: #F7CF7A; }
.aw-cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 10px; }
.aw-card { padding: 13px 14px; border-radius: 12px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .07); min-width: 0; }
.cu-h { display: flex; align-items: center; gap: 10px; }
.cu-h > i { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-size: 12px; font-weight: 800; color: #0B162C; background: linear-gradient(180deg, #BFD6FF, #7FA9F2); }
.cu-h b { display: block; font-size: 14px; color: #fff; } .cu-h small { font-size: 11.5px; color: #93A4BE; }
.tag-gold { margin-left: auto; padding: 4px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 800; color: #0A1428; background: linear-gradient(180deg, #FFDB7C, #E9AE2B); white-space: nowrap; }
.cu-t { list-style: none; margin: 12px 0 0; padding: 0 0 0 14px; border-left: 1px dashed rgba(169, 201, 255, .35); display: grid; gap: 8px; }
.cu-t li { position: relative; font-size: 12.5px; color: #C9D4E5; }
.cu-t li::before { content: ""; position: absolute; left: -19px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--bc); box-shadow: 0 0 8px var(--bc); }
.cu-t li.nx::before { background: transparent; border: 2px solid #F7C552; box-shadow: none; }
.cu-t b { color: #fff; margin-right: 6px; }
.aw-day > div, .aw-sig > div { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 12.5px; color: #D5DEEC; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.aw-day > div:last-child, .aw-sig > div:last-child { border-bottom: 0; }
.aw-day > small, .aw-sig > small, .aw-fun > small { margin-bottom: 6px; }
.aw-day time { width: 40px; flex: none; font-weight: 800; color: #A9C9FF; font-size: 12px; }
.aw-day .open span { color: #F7CF7A; font-weight: 700; }
.aw-sig i { width: 8px; height: 8px; flex: none; border-radius: 50%; }
.aw-sig .s1 { background: #6FD3A6; box-shadow: 0 0 8px #6FD3A6; } .aw-sig .s2 { background: #F7C552; box-shadow: 0 0 8px #F7C552; } .aw-sig .s3 { background: #8CC4FF; box-shadow: 0 0 8px #8CC4FF; }
.aw-fun > div { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 10px; padding: 6px 0; font-size: 12px; color: #C9D4E5; }
.aw-fun i { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .06); position: relative; overflow: hidden; }
.aw-fun i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #B8780A, #F7C552); }
.aw-auto { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: linear-gradient(90deg, rgba(76, 141, 246, .16), rgba(76, 141, 246, .04)); border: 1px solid rgba(76, 141, 246, .28); }
.aw-auto.mk { background: linear-gradient(90deg, rgba(233, 167, 44, .16), rgba(233, 167, 44, .04)); border-color: rgba(233, 167, 44, .3); }
.aw-auto > span { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #93A4BE; margin-right: 4px; }
.aw-auto i { font-style: normal; font-size: 12px; font-weight: 700; color: #EAF1FC; padding: 4px 9px 4px 22px; border-radius: 99px; background: rgba(255, 255, 255, .06); position: relative; }
.aw-auto i::before { content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #6FD3A6; box-shadow: 0 0 6px #6FD3A6; }
.aw-auto.mk i:last-child::before { background: #F7C552; box-shadow: 0 0 6px #F7C552; }
@container (max-width: 470px) {
  .aw-tabs span:nth-child(n+5) { display: none; }
  .aw-cols { grid-template-columns: 1fr; }
  .aw-tiles b { font-size: 18px; }
  .aw-tiles > div { padding: 10px; }
  .aw-tiles em { font-size: 11px; }
}
@container (max-width: 360px) { .aw-tiles > div:nth-child(3) { display: none; } .aw-tiles { grid-template-columns: 1fr 1fr; } .aw-tabs span:nth-child(n+4) { display: none; } }

/* Marin + agents under the Cores */
.duo5 { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.duo5 > div { display: flex; gap: 22px; align-items: center; padding: 26px 28px; border-radius: 22px; background: rgba(255, 252, 245, .78); border: 1px solid #E8DABF; box-shadow: 0 30px 60px -44px rgba(30, 40, 70, .45); }
.duo5 h3 { margin-top: 10px; font-size: 22px; color: var(--ink); }
.duo5 p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.duo-a { flex-direction: column; align-items: flex-start !important; }
.agent-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.agent-row li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 10px; font-size: 13.5px; font-weight: 700; color: #EAF0FA; background: linear-gradient(180deg, #1A3359, #0F2142); box-shadow: 0 10px 20px -12px rgba(10, 22, 46, .7); }
.agent-row i { width: 8px; height: 8px; border-radius: 50%; background: #6FD3A6; box-shadow: 0 0 8px #6FD3A6; }
.duo5.slim { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.duo5.slim > a { justify-self: end; }

/* partnership: what the systems help with */
.jobs5 { margin-top: 34px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-radius: 18px; overflow: hidden; border: 1px solid #E5D6B8; background: #FFFCF6; }
.jobs5 > div { padding: 20px 18px; border-left: 1px solid #EFE3CB; display: flex; flex-direction: column; gap: 6px; }
.jobs5 > div:first-child { border-left: 0; }
.jobs5 b { font-size: 16px; color: var(--ink); }
.jobs5 span { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.jobs5 em { margin-top: auto; padding-top: 8px; font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #A06B0A; }

/* ============ CONNECTED EXAMPLE (navy) ============ */
.flow5 { padding: 100px 0 96px; color: var(--on-navy);
  background: radial-gradient(800px 380px at 50% 0%, rgba(247, 180, 70, .16), transparent 70%), radial-gradient(700px 500px at 100% 100%, rgba(47, 110, 210, .25), transparent 70%), linear-gradient(180deg, #11244A, #0C1C3A); }
.flow5 h2 { color: #FFF8EC; }
.chain { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; counter-reset: ch; }
.chain::before { content: ""; position: absolute; left: 4%; right: 4%; top: 15px; height: 2px; background: linear-gradient(90deg, rgba(76, 141, 246, .2), rgba(247, 197, 82, .8), rgba(76, 141, 246, .2)); }
.chain li { position: relative; padding-top: 44px; display: flex; flex-direction: column; gap: 10px; counter-increment: ch; }
.chain li::before { content: counter(ch); position: absolute; top: 0; left: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; font-size: 14px; color: #0A1428; background: linear-gradient(180deg, #FFDB7C, #E9AE2B); box-shadow: 0 0 0 5px #0F2142, 0 0 22px rgba(247, 197, 82, .6); }
.ch-k { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8CC4FF; }
.chain b { font-size: 19px; color: #fff; }
.ch-ui { display: flex; flex-direction: column; gap: 4px; padding: 12px 13px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .6); }
.ch-ui small { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #93A4BE; }
.ch-ui span { font-size: 14px; font-weight: 600; color: #EEF2F8; }
.ch-ui em { font-style: normal; color: #6FD3A6; }
.ch-chat { flex-direction: row; align-items: flex-start; gap: 10px; }
.ch-chat .mav { width: 28px; height: 28px; }
.ch-you { align-self: flex-end; padding: 7px 12px; border-radius: 12px 12px 4px 12px; font-size: 13px; font-weight: 700; color: #0A1428; background: linear-gradient(180deg, #FFE39A, #F2B937); }

/* ============ TWO WAYS (cream) ============ */
.ways5 { padding: 104px 0 110px; }
.way1 { margin-top: 56px; }
.way-n { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.way-n b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: 14px; letter-spacing: 0; color: #0A1428; background: linear-gradient(180deg, #FFDB7C, #E9AE2B); box-shadow: 0 8px 18px -8px rgba(200, 140, 20, .8); }
.way1 .px-copy h2 { margin-top: 14px; }
.access { margin: 18px 0 0; padding: 14px 18px; border-left: 3px solid #E3A82B; border-radius: 0 12px 12px 0; background: linear-gradient(90deg, rgba(247, 197, 82, .2), rgba(247, 197, 82, .04)); font-size: 16.5px; line-height: 1.5; color: var(--ink); max-width: 600px; }
.way2 { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 36px; align-items: center; padding: 36px 40px; border-radius: 24px; color: var(--on-navy);
  background: radial-gradient(520px 260px at 92% 0%, rgba(247, 180, 70, .22), transparent 70%), linear-gradient(160deg, #183563, #0E2142);
  box-shadow: 0 0 0 1px rgba(247, 197, 82, .25), 0 44px 80px -46px rgba(10, 20, 40, .8); }
.way-n.lt { color: var(--gold-hi); }
.way2 h3 { margin-top: 12px; font-size: 28px; color: #FFF8EC; }
.way2 p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: #D5DEEC; max-width: 470px; }
.tool-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tool-chips li { padding: 8px 12px; border-radius: 99px; font-size: 13.5px; font-weight: 700; color: #F4ECD9; background: rgba(255, 255, 255, .07); border: 1px solid rgba(247, 197, 82, .3); }

/* ============ MARIN CHAT (with avatar) ============ */
.chat5 { position: relative; margin: 0; padding: 22px; border-radius: 24px; color: var(--on-navy);
  background: linear-gradient(165deg, rgba(30, 48, 84, .92), rgba(12, 22, 44, .95)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(140, 180, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .1); }
.c5-h { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.c5-h .mav { width: 42px; height: 42px; }
.c5-h b { display: block; font-size: 16px; color: #fff; } .c5-h small { font-size: 12px; color: #9FB0C8; }
.c5-h .st { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8CC4FF; }
.c5-h .st i { width: 8px; height: 8px; border-radius: 50%; background: #4AA8FF; box-shadow: 0 0 10px #4AA8FF; }
.msg5 { display: flex; gap: 10px; margin-bottom: 12px; }
.msg5 p { margin: 0; padding: 11px 14px; font-size: 15px; line-height: 1.5; border-radius: 14px; }
.msg5.you { justify-content: flex-end; }
.msg5.you p { max-width: 78%; font-weight: 600; color: #0A1428; background: linear-gradient(180deg, #FFE39A, #F2B937); border-bottom-right-radius: 4px; }
.msg5.her > div { max-width: 86%; }
.msg5.her p { color: #EEF2F8; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .07); border-bottom-left-radius: 4px; }
.msg5.her .mav { margin-top: 2px; }
.m-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.m-tags em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 3px 8px; border-radius: 99px; color: #A9C9FF; background: rgba(76, 141, 246, .16); }
.m-tags em:nth-child(2) { color: #F7CF7A; background: rgba(233, 167, 44, .16); }
.chat5 .ph-chips { margin: 4px 0 0 40px; } .chat5 .ph-chips span { font-size: 12.5px; padding: 7px 12px; }
.chat5 .ph-input { margin-top: 16px; font-size: 13.5px; padding: 10px 10px 10px 16px; }
.chat5 .ph-input span { width: 32px; height: 32px; } .chat5 .ph-input svg { width: 16px; height: 16px; }
.m5 .rm-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 72px; align-items: center; }
.m5 .chat5 { max-width: 560px; justify-self: end; width: 100%; }

/* ============ PARTNERSHIP PAGE ============ */
.pp5 .ph-bg { width: 70%; }
.pp5 .ph-bg img { object-position: 60% 50%; filter: saturate(.9) brightness(.82); }
.pp5 .ph-bg::after { background: linear-gradient(90deg, rgba(14, 31, 61, .96), rgba(14, 31, 61, .55) 32%, rgba(14, 31, 61, .25) 70%, rgba(14, 31, 61, .45)), linear-gradient(0deg, rgba(14, 31, 61, .55), transparent 45%), radial-gradient(600px 400px at 70% 30%, rgba(255, 170, 80, .16), transparent 70%); }
.plan5-sec { padding: 104px 0 110px; }
.plan5 { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.plan-doc { margin: 0; padding: 26px 28px 18px; border-radius: 22px; background: #FFFDF8; border: 1px solid #E8DABF; box-shadow: 0 50px 80px -50px rgba(30, 40, 70, .5), 0 2px 0 #fff inset; }
.pd-h { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid #EFE3CB; }
.pd-h small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.pd-h b { font-size: 20px; color: var(--ink); }
.pd-rev { font-size: 12.5px; font-weight: 700; color: #3D5A8A; padding: 6px 11px; border-radius: 99px; background: rgba(76, 141, 246, .12); white-space: nowrap; }
.pd-cols, .pd-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.35fr) minmax(0, .8fr) 92px; gap: 18px; align-items: center; }
.pd-cols { padding: 14px 0 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8A8F9C; }
.pd-row { padding: 16px 0 18px; border-top: 1px solid #F1E7D4; position: relative; }
.pd-row b { font-size: 15.5px; line-height: 1.35; color: var(--ink); }
.pd-row > span { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.pd-row > em { font-style: normal; font-size: 13.5px; font-weight: 700; color: #3D5A8A; }
.pd-row .st { justify-self: start; font-style: normal; font-size: 11.5px; font-weight: 800; padding: 5px 10px; border-radius: 99px; white-space: nowrap; }
.st.s-live { color: #0F6B45; background: rgba(60, 190, 130, .16); } .st.s-now { color: #8A5A00; background: rgba(247, 197, 82, .3); }
.st.s-next { color: #3D5A8A; background: rgba(76, 141, 246, .13); } .st.s-plan { color: #6A7284; background: rgba(106, 114, 132, .12); }
.pd-bar { position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; border-radius: 99px; background: #F3EADB; overflow: hidden; }
.pd-bar i { position: absolute; inset: 0 auto 0 0; width: var(--p); background: linear-gradient(90deg, #E3A82B, #B57D0E); border-radius: inherit; }
.plan-side { display: grid; gap: 16px; }
.ps-card { padding: 18px 20px; border-radius: 18px; background: #FFFDF8; border: 1px solid #E8DABF; box-shadow: 0 30px 50px -40px rgba(30, 40, 70, .45); }
.ps-card small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.ps-card ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.ps-card li { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 600; color: var(--ink); }
.ps-card li::before { content: ""; width: 11px; height: 6px; flex: none; margin-top: -3px; border-left: 2.5px solid #B57D0E; border-bottom: 2.5px solid #B57D0E; transform: rotate(-45deg); }
.ps-trend svg { display: block; width: 100%; height: 86px; margin-top: 12px; }
.ps-trend span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.ps-marin { display: flex; gap: 12px; align-items: flex-start; background: linear-gradient(165deg, #183563, #0E2142); border-color: transparent; }
.ps-marin p { margin: 0; font-size: 14px; line-height: 1.5; color: #EEF2F8; }

/* ============ AI TOOLS PAGE ============ */
.tl5 { padding: 72px 0 84px; }
.tl5::before { display: none; }
.tl5 .ph-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.tl-photo { position: relative; margin: 0 0 30px; }
.tl-photo picture, .tl-photo > picture img { display: block; }
.tl-photo > picture img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 60px 90px -50px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08); }
.tl-photo::after { content: ""; position: absolute; inset: 0 0 auto; aspect-ratio: 1386 / 1024; border-radius: 22px; pointer-events: none; background: linear-gradient(180deg, transparent 60%, rgba(10, 20, 40, .35)), radial-gradient(500px 300px at 20% 0%, rgba(255, 190, 110, .14), transparent 70%); }
.tl-card { position: absolute; z-index: 2; border-radius: 14px; box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .8); }
.tl-a { left: -28px; bottom: -6px; max-width: 250px; padding: 13px 15px; color: #0A1428; background: linear-gradient(180deg, #FFE5A0, #F2B937); }
.tl-a small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #6A4A06; }
.tl-a b { display: block; margin-top: 4px; font-size: 15px; line-height: 1.3; }
.tl-a em { display: block; margin-top: 3px; font-style: normal; font-size: 12px; font-weight: 600; color: #4A3A10; }
.tl-b { right: -22px; top: 42%; max-width: 220px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; color: #EEF2F8; background: rgba(14, 30, 58, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(140, 180, 255, .22); }
.tl-b p { margin: 0; font-size: 13.5px; line-height: 1.45; }
.tools5 { padding: 100px 0 104px; }
.tgroups { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tg { display: flex; flex-direction: column; padding: 28px 30px 24px; border-radius: 22px; background: #FFFDF8; border: 1px solid #E8DABF; box-shadow: 0 40px 70px -54px rgba(30, 40, 70, .55); }
.tg header { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 2px solid #F0E3C8; }
.tg-n { font: italic 600 34px/1 var(--serif); color: #C99A3A; }
.tg h3 { font-size: 20px; color: var(--ink); letter-spacing: -.015em; }
.tg ul { list-style: none; margin: 4px 0 0; padding: 0; }
.tg li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 14px 0; border-bottom: 1px solid #F3EADB; }
.tg li b { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--ink); }
.tg li b .mav { width: 24px; height: 24px; }
.tg li span { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.tg li em { font-style: normal; font-size: 13.5px; font-weight: 700; color: #A06B0A; }
.tg li.hl { margin: 8px -12px 0; padding: 14px 12px; border-radius: 12px; border-bottom: 0; background: linear-gradient(90deg, rgba(76, 141, 246, .09), rgba(76, 141, 246, .02)); }
.tg-ask { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 800; color: var(--ink); text-decoration: none; }
.tg-ask svg { width: 16px; height: 16px; transition: transform .2s; } .tg-ask:hover svg { transform: translateX(3px); }
.tg-ask:hover { color: #A06B0A; }
.tl-how { padding: 96px 0; }
.tl-how-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.tl-how h2 { margin-top: 16px; }
.how5 { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 0; counter-reset: h; }
.how5 li { position: relative; padding: 16px 0 16px 52px; border-top: 1px solid rgba(255, 255, 255, .1); counter-increment: h; display: flex; flex-direction: column; gap: 4px; }
.how5 li::before { content: counter(h); position: absolute; left: 0; top: 16px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; color: var(--gold-hi); border: 1.5px solid rgba(247, 197, 82, .55); }
.how5 b { font-size: 18px; color: #fff; } .how5 span { font-size: 15.5px; color: #C9D4E5; }

/* ============ MARIN & TECHNOLOGY PAGE ============ */
@media (min-width: 1101px) { .mh5 .ph-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.mh5 h1 { font-size: clamp(36px, 3.6vw, 54px); }
.four5 { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.four5 li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px 8px 10px; border-radius: 99px; font-size: 14px; font-weight: 700; color: #EEF2F8; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.four5 i { width: 10px; height: 10px; border-radius: 50%; }
.four5 i.b { background: var(--bc); box-shadow: 0 0 10px var(--bc); } .four5 i.m { background: var(--mc); box-shadow: 0 0 10px var(--mc); } .four5 i.a { background: #6FD3A6; box-shadow: 0 0 10px #6FD3A6; }
.four5 .mav { width: 22px; height: 22px; }
.chat5.hero { margin-top: 40px; }
.m-fig { position: absolute; z-index: -1; width: 210px; height: auto; right: -40px; top: -132px; filter: drop-shadow(0 0 40px rgba(70, 130, 255, .45)); pointer-events: none; }
.plat5 { padding-top: 100px; }
.plat { margin-top: 56px; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; align-items: center; }
.plat.flip { margin-top: 80px; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.plat.flip .plat-copy { order: 2; }
.plat-copy h3 { margin-top: 14px; font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -.025em; color: var(--ink); }
.plat-copy > p { margin: 8px 0 0; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }
.wf { list-style: none; margin: 24px 0 0; padding: 0; counter-reset: wf; }
.wf li { position: relative; padding: 0 0 16px 44px; counter-increment: wf; display: flex; flex-direction: column; gap: 2px; }
.wf li::before { content: counter(wf); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: 13px; font-weight: 800; color: #fff; background: var(--bc); box-shadow: 0 6px 14px -6px var(--bc); }
.wf li::after { content: ""; position: absolute; left: 13.5px; top: 28px; bottom: 2px; width: 1px; background: rgba(76, 141, 246, .35); }
.wf li:last-child::after { display: none; } .wf li:last-child { padding-bottom: 0; }
.wf.mk li::before { background: var(--mc); box-shadow: 0 6px 14px -6px var(--mc); } .wf.mk li::after { background: rgba(233, 167, 44, .4); }
.wf b { font-size: 16px; color: var(--ink); } .wf span { font-size: 14.5px; color: var(--ink-2); }
.both5 { margin: 72px auto 0; max-width: 860px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 14px; padding: 22px 28px; border-radius: 18px; background: #FFFDF8; border: 1px solid #E8DABF; text-align: center; }
.both5 .plus { font-size: 22px; font-weight: 800; color: var(--gold-deep); }
.both5 p { flex-basis: 100%; margin: 4px 0 0; font-size: 16px; color: var(--ink-2); }
.agents5 { padding: 104px 0; color: var(--on-navy); background: radial-gradient(900px 420px at 80% 0%, rgba(111, 211, 166, .10), transparent 70%), radial-gradient(800px 500px at 0% 100%, rgba(47, 110, 210, .3), transparent 70%), linear-gradient(180deg, #10244A, #0B1A35); }
.agents5 h2 { color: #FFF8EC; }
.pipe { margin-top: 48px; padding: 26px 28px 30px; border-radius: 24px; background: linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .8); }
.pipe-h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.pipe-h p { margin: 0; font-size: 15px; color: #C9D4E5; }
.tag-live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #9BE8C4; background: rgba(111, 211, 166, .12); border: 1px solid rgba(111, 211, 166, .3); }
.tag-live i { width: 8px; height: 8px; border-radius: 50%; background: #6FD3A6; box-shadow: 0 0 10px #6FD3A6; }
.pipe-l { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; position: relative; }
.pipe-l::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: linear-gradient(90deg, #6FD3A6, #4C8DF6 50%, #F7C552); opacity: .7; }
.pipe-l li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 60px 14px 16px; border-radius: 16px; background: rgba(10, 20, 40, .55); border: 1px solid rgba(255, 255, 255, .08); }
.pn { position: absolute; top: 4px; left: 12px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; font-weight: 800; color: #0A1428; background: linear-gradient(180deg, #C9F2DD, #6FD3A6); box-shadow: 0 0 0 4px #0F2142, 0 0 18px rgba(111, 211, 166, .5); }
.pipe-l li:nth-child(3) .pn, .pipe-l li:nth-child(4) .pn { background: linear-gradient(180deg, #CFE0FF, #4C8DF6); box-shadow: 0 0 0 4px #0F2142, 0 0 18px rgba(76, 141, 246, .55); }
.pipe-l li:nth-child(5) .pn, .pipe-l li:nth-child(6) .pn { background: linear-gradient(180deg, #FFE5A0, #F2B937); box-shadow: 0 0 0 4px #0F2142, 0 0 18px rgba(247, 197, 82, .55); }
.pipe-l .pn { color: #0A1428; font-size: 15px; }
.pipe-l b { font-size: 17px; color: #fff; }
.pipe-l span { font-size: 13.5px; line-height: 1.4; color: #C9D4E5; }
.pipe-l code { margin-top: auto; padding-top: 8px; font: 700 11.5px/1.3 var(--sans); color: #9BE8C4; }
.adapt { margin-top: 56px; }
.adapt h3 { font-size: 24px; color: #FFF8EC; }
.adapt-g { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.adapt-g > div { padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(247, 197, 82, .2); display: flex; flex-direction: column; gap: 6px; }
.adapt-g b { font-size: 16.5px; color: var(--gold-hi); } .adapt-g span { font-size: 14.5px; line-height: 1.5; color: #D5DEEC; }
.meet5 { padding: 100px 0; }
.meet5-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.meet-fig { position: relative; display: grid; place-items: center; padding: 40px; border-radius: 28px; background: radial-gradient(circle at 50% 45%, #1C3D7A, #0B1A35 70%); box-shadow: 0 50px 90px -50px rgba(10, 22, 48, .8); }
.meet-fig img { width: 100%; max-width: 380px; height: auto; filter: drop-shadow(0 0 50px rgba(70, 130, 255, .5)); }
.meet5 h2 { margin-top: 16px; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.meet5 .lede { margin-top: 18px; }
.ways6 { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ways6 li { padding: 14px 15px; border-radius: 14px; background: #FFFDF8; border: 1px solid #E8DABF; display: flex; flex-direction: column; gap: 3px; }
.ways6 b { font-size: 15px; color: var(--ink); } .ways6 span { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.rules5 { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.rules5 span { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.rules5 span::before { content: ""; width: 11px; height: 6px; margin-top: -3px; border-left: 2.5px solid #B57D0E; border-bottom: 2.5px solid #B57D0E; transform: rotate(-45deg); }
.txt-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: 14.5px; font-weight: 700; color: #3D5A8A; }


/* ---------- V5 polish ---------- */
.founder-note.f5 { align-items: center; }
.fn-i { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(247, 197, 82, .16); border: 1px solid rgba(247, 197, 82, .45); }
.fn-i svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-hi); stroke-width: 1.8; stroke-linecap: round; }
@media (min-width: 1101px) {
  .cores2 { perspective: 2200px; }
  .cores2 .core5:first-child .appw { transform: rotateY(4deg) rotateX(1deg); transform-origin: 100% 50%; }
  .cores2 .core5:last-child .appw { transform: rotateY(-4deg) rotateX(1deg); transform-origin: 0 50%; }
  .plat .appw { transform: perspective(2200px) rotateY(-4deg); transform-origin: 0 50%; }
  .plat.flip .appw { transform: perspective(2200px) rotateY(4deg); transform-origin: 100% 50%; }
}
.core5, .plat { position: relative; }
.core5::after, .plat::after { content: ""; position: absolute; z-index: 0; left: 8%; right: 8%; bottom: -26px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(18, 39, 73, .28), transparent); filter: blur(6px); pointer-events: none; }
.plat::after { left: 40%; right: 2%; } .plat.flip::after { left: 2%; right: 40%; }
.core5 > *, .plat > * { position: relative; z-index: 1; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1240px) {
  .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; } .chain::before { display: none; }
  .pipe-l { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; } .pipe-l::before { display: none; }
  .jobs5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .jobs5 > div { border-top: 1px solid #EFE3CB; } .jobs5 > div:nth-child(-n+3) { border-top: 0; } .jobs5 > div:nth-child(4) { border-left: 0; }
  .way2 { grid-template-columns: minmax(0, 1fr) auto; } .tool-chips { grid-column: 1 / -1; grid-row: 2; }
  .adapt-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-fig { width: 170px; top: -110px; right: -20px; }
}
@media (max-width: 1100px) {
  .cores2 { grid-template-columns: 1fr; max-width: 720px; margin-left: auto; margin-right: auto; gap: 56px; }
  .duo5 { grid-template-columns: 1fr; max-width: 720px; margin-left: auto; margin-right: auto; }
  .duo5.slim { grid-template-columns: 1fr; } .duo5.slim > a { justify-self: start; }
  .plat, .plat.flip { grid-template-columns: 1fr; gap: 32px; max-width: 720px; margin-left: auto; margin-right: auto; } .plat.flip .plat-copy { order: 0; }
  .plan5 { grid-template-columns: 1fr; } .plan-side { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tgroups { grid-template-columns: 1fr; max-width: 760px; }
  .tl5 .ph-grid, .tl-how-grid, .meet5-grid { grid-template-columns: 1fr; gap: 48px; }
  .tl-photo { max-width: 640px; margin: 0 auto 30px; width: 100%; }
  .m5 .rm-grid { grid-template-columns: 1fr; gap: 48px; } .m5 .chat5 { justify-self: start; }
  .meet-fig { max-width: 420px; }
  .chat5.hero { max-width: 560px; margin-left: auto; margin-right: auto; width: 100%; }
  .m-fig { display: none; }
}
@media (max-width: 900px) {
  .pp5 .ph-bg { width: 100%; }
  .pp5 .ph-bg::after { background: linear-gradient(180deg, rgba(14, 31, 61, .7), rgba(14, 31, 61, .9)); }
  .pp5 .ph-bg img { filter: saturate(.85) brightness(.75); }
}
@media (max-width: 760px) {
  .pd-cols { display: none; }
  .pd-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 16px 0 20px; }
  .pd-row b { grid-column: 1; } .pd-row .st { grid-column: 2; grid-row: 1; align-self: start; }
  .pd-row > span, .pd-row > em { grid-column: 1 / -1; }
  .plan-side { grid-template-columns: 1fr; }
  .ways6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .stage5, .ways5, .plan5-sec, .tools5, .flow5, .agents5, .meet5, .tl-how { padding: 64px 0 68px; }
  .s5-head h2, .meet5 h2 { font-size: 30px; }
  .cores2 { margin-top: 40px; gap: 44px; }
  .core5-t h3 { font-size: 24px; }
  .chain { grid-template-columns: 1fr; row-gap: 22px; margin-top: 36px; }
  .chain li { padding: 0 0 0 48px; }
  .pipe { padding: 20px 16px 22px; } .pipe-l { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pipe-l li { padding: 56px 12px 14px; }
  .jobs5 { grid-template-columns: 1fr 1fr; } .jobs5 > div { border-left: 0 !important; border-top: 1px solid #EFE3CB !important; padding: 16px 14px; } .jobs5 > div:nth-child(-n+2) { border-top: 0 !important; } .jobs5 > div:nth-child(even) { border-left: 1px solid #EFE3CB !important; }
  .jobs5 > div:last-child { grid-column: 1 / -1; border-left: 0 !important; }
  .duo5 > div { flex-direction: column; align-items: flex-start; padding: 22px; gap: 14px; } .mav.xl { width: 72px; height: 72px; }
  .way2 { grid-template-columns: 1fr; padding: 26px 22px; gap: 20px; } .way2 .btn { width: 100%; } .tool-chips { grid-row: auto; }
  .access { font-size: 15.5px; }
  .plan-doc { padding: 20px 18px 10px; } .pd-h { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tg { padding: 22px 20px 20px; } .tg h3 { font-size: 18px; } .tg-n { font-size: 28px; }
  .tl-a { position: relative; left: auto; bottom: auto; max-width: 260px; margin: -46px 0 0 12px; } .tl-b { position: relative; right: auto; top: auto; max-width: none; margin: 12px 0 0; }
  .tl-b p { font-size: 12.5px; } .tl-photo { margin-bottom: 40px; }
  .msg5 p { font-size: 14px; } .chat5 { padding: 18px 16px; } .chat5 .ph-chips { margin-left: 0; }
  .ways6 { grid-template-columns: 1fr; }
  .meet-fig { padding: 24px; }
  .adapt-g { grid-template-columns: 1fr; }
  .both5 { padding: 18px; }
  .closing .actions .btn { width: 100%; }
}
@media (max-width: 400px) { .pipe-l { grid-template-columns: 1fr; } .jobs5 { grid-template-columns: 1fr; } .jobs5 > div { border-left: 0 !important; border-top: 1px solid #EFE3CB !important; } .jobs5 > div:first-child { border-top: 0 !important; } }
