/* ==========================================================================
   PUBLISHERS — "Traffic & Monetization"
   Direction: modern digital workspace with a technology atmosphere.
   Deep teal-navy surfaces, mint as the lead accent, a CSS-3D laptop,
   device mock-ups and a mint-tinted light palette for content sections.
   ========================================================================== */
body[data-page="publishers"] { --p-deep: #0A1A24; --p-deep-2: #0E2430; --p-tint: #F1F8F6; background: var(--p-deep); }
body[data-page="publishers"] main > section:not(.on-dark) { background: #fff; }

/* 1. Hero ---------------------------------------------------------------- */
.p-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 40px) 0 clamp(80px, 9vw, 120px); background: var(--p-deep); }
.p-hero-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 55% at 72% 45%, rgba(56,191,165,.22), transparent 70%), radial-gradient(40% 50% at 95% 10%, rgba(71,120,255,.18), transparent 70%), linear-gradient(180deg, transparent 70%, rgba(56,191,165,.06)); }
.p-hero-glow::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(56,191,165,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(56,191,165,.07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 70% 50%, #000, transparent 75%); }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.p-hero h1 { font-size: clamp(2.8rem, 1.5rem + 4.6vw, 5.6rem); margin-bottom: 24px; }
.p-accent { display: block; background: linear-gradient(92deg, #7FE3CE, #38BFA5 50%, #4778FF); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.p-hero .lead { max-width: 480px; margin-bottom: 40px; color: #B5C6CF; }

.p-hero-visual { position: relative; width: 100%; aspect-ratio: 1.12; max-width: 720px; justify-self: end; }
.laptop-scene { position: absolute; inset: 0; perspective: 1800px; perspective-origin: 50% 20%; }
.laptop { position: absolute; left: 50%; top: 38%; width: 70%; transform-style: preserve-3d; transform: translate(-50%, -50%) rotateX(calc(24deg - var(--ty, 0) * 5deg)) rotateY(calc(-22deg + var(--tx, 0) * 9deg)) rotateZ(1deg); transition: transform 1s var(--ease-out); }
.laptop-screen { position: relative; aspect-ratio: 16 / 10.4; border-radius: 16px 16px 5px 5px; padding: 2.4% 2.4% 3.2%; background: linear-gradient(160deg, #36465A, #141C27 60%); transform-origin: 50% 100%; transform: rotateX(-10deg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 2px 0 rgba(255,255,255,.12), 0 50px 90px -30px rgba(0,0,0,.85); }
.laptop-screen::before { content: ""; position: absolute; top: 1%; left: 50%; width: .8%; aspect-ratio: 1; border-radius: 50%; background: #0A0F15; box-shadow: inset 0 0 0 1px #2C3846; }
.laptop-screen::after { content: ""; position: absolute; inset: 2.4% 2.4% 3.2%; border-radius: 8px; background: linear-gradient(115deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 38%); pointer-events: none; }
.laptop-base { position: absolute; left: -5%; top: 100%; width: 110%; aspect-ratio: 16 / 9.4; transform-origin: 50% 0; transform: rotateX(-90deg); border-radius: 4px 4px 20px 20px; background: linear-gradient(180deg, #3D4A5C, #283240); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transform-style: preserve-3d; }
.laptop-keys { position: absolute; left: 7%; right: 7%; top: 8%; height: 50%; border-radius: 6px; background-color: #121820; background-image: repeating-linear-gradient(90deg, transparent 0 calc(100% / 15 - 3px), #303B4A calc(100% / 15 - 3px) calc(100% / 15)), repeating-linear-gradient(0deg, transparent 0 calc(100% / 6 - 3px), #303B4A calc(100% / 6 - 3px) calc(100% / 6)); }
.laptop-pad { position: absolute; left: 34%; width: 32%; top: 64%; height: 28%; border-radius: 8px; background: #343F4E; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.laptop-lip { position: absolute; left: 0; right: 0; top: 100%; height: 12px; transform-origin: 50% 0; transform: rotateX(90deg); border-radius: 0 0 14px 14px; background: linear-gradient(#202935, #0D1218); }
.laptop-shadow { position: absolute; left: 18%; right: 2%; bottom: 14%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.7), transparent); filter: blur(16px); }

.screen-ui { position: relative; width: 100%; height: 100%; border-radius: 8px; overflow: hidden; background: #F5F8FA; container-type: inline-size; display: flex; flex-direction: column; color: #152238; }
.sui-top { display: flex; align-items: center; gap: 3cqw; padding: 0 3cqw; height: 9%; font-size: 2.3cqw; font-weight: 600; background: #fff; border-bottom: 1px solid #E6EBF1; }
.sui-dots { display: flex; gap: .8cqw; }
.sui-dots i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #CBD5E1; }
.sui-tag { margin-left: auto; font-size: 1.8cqw; padding: .4cqw 1.4cqw; border-radius: 99px; background: #FFF4E5; color: #7A4A00; }
.sui-body { flex: 1; display: grid; grid-template-columns: 7% 1fr; min-height: 0; }
.sui-side { background: #0E2430; display: grid; align-content: start; justify-items: center; gap: 3cqw; padding-top: 3cqw; }
.sui-side i { width: 3cqw; height: 3cqw; border-radius: .8cqw; background: rgba(255,255,255,.18); }
.sui-side i.on { background: var(--mint); }
.sui-main { padding: 2.6cqw; display: grid; grid-template-rows: auto 1fr auto; gap: 2cqw; min-height: 0; }
.sui-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.sui-kpis div { background: #fff; border-radius: 1.2cqw; padding: 1.8cqw; border: 1px solid #E6EBF1; }
.sui-kpis span { display: block; font-size: 1.8cqw; color: #586A80; margin-bottom: 1.4cqw; font-weight: 600; }
.sui-kpis b { display: block; height: 1.2cqw; border-radius: 99px; background: #E6EBF1; position: relative; overflow: hidden; }
.sui-kpis b::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #1A7F6C, #38BFA5); }
.sui-kpis div:nth-child(2) b::after { background: linear-gradient(90deg, #3563F0, #6E95FF); }
.sui-chart { background: #fff; border-radius: 1.2cqw; border: 1px solid #E6EBF1; padding: 1.8cqw; display: flex; flex-direction: column; min-height: 0; }
.sui-chart > span { font-size: 1.9cqw; font-weight: 700; }
.sui-chart em { font-style: normal; font-weight: 500; color: #8A98AB; }
.sui-bars { flex: 1; display: flex; align-items: flex-end; gap: 1.6cqw; padding-top: 1.6cqw; }
.sui-bars i { flex: 1; height: var(--h); border-radius: .8cqw .8cqw .3cqw .3cqw; background: linear-gradient(#5FE0C6, #1A7F6C); opacity: .9; }
.sui-bars i:nth-child(odd) { opacity: .65; }
.sui-rows { display: grid; gap: 1cqw; font-size: 1.9cqw; }
.sui-rows div { display: flex; justify-content: space-between; padding: 1.2cqw 1.6cqw; background: #fff; border-radius: 1cqw; border: 1px solid #E6EBF1; }
.sui-rows em { font-style: normal; font-weight: 600; color: #2B55D9; }
.sui-rows em.ok { color: #1A7F6C; }

.p-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; font-size: .8125rem; white-space: nowrap; }
.p-note strong { display: block; color: #fff; font-size: .8438rem; }
.p-note span:not(.p-note-ic) { color: #9FB6BF; font-size: .75rem; }
.p-note-ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(71,120,255,.25); color: #BFD0FF; }
.p-note-ic.mint { background: linear-gradient(145deg, #4CD3B8, #1A7F6C); color: #fff; box-shadow: 0 8px 18px -6px rgba(56,191,165,.7); }
.p-note-ic svg { width: 17px; height: 17px; }
.p-note--a { top: -1%; right: -3%; }
.p-note--b { bottom: 8%; left: -2%; }
.p-note--c { top: 50%; right: -3%; }
.p-orb { position: absolute; z-index: 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #D9F5EE; background: radial-gradient(circle at 35% 30%, rgba(127,227,206,.35), rgba(14,36,48,.9)); border: 1px solid rgba(127,227,206,.35); box-shadow: 0 12px 26px -10px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.2); }
.p-orb svg { width: 20px; height: 20px; }
.p-orb--1 { top: 14%; left: 6%; }
.p-orb--2 { top: 2%; left: 40%; width: 38px; height: 38px; }
.p-orb--3 { bottom: 2%; right: 30%; }
.p-orb--4 { top: 30%; left: -3%; width: 38px; height: 38px; }
.p-hero-caption { position: absolute; right: 0; bottom: -18px; margin: 0; font-size: .6875rem; color: #6E8590; }

/* 2. Proposition --------------------------------------------------------- */
.p-prop { padding-block: var(--section-y); background: var(--p-tint) !important; }
.p-prop-head { max-width: 760px; margin-bottom: 56px; }
.p-equation { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: clamp(12px, 2vw, 28px); margin-bottom: clamp(48px, 6vw, 80px); }
.p-eq { padding: 28px 0 0; border-top: 2px solid var(--text); }
.p-eq--result { border-top-color: var(--mint-700); }
.p-eq-label { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mint-700); margin-bottom: 14px; }
.p-eq h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 10px; }
.p-eq p { color: var(--muted); }
.p-eq-op { align-self: center; font-family: var(--font-head); font-weight: 300; font-size: clamp(2.4rem, 1.6rem + 2vw, 3.6rem); color: var(--mint-700); line-height: 1; }
.p-prop-photo { aspect-ratio: 21 / 8; border-radius: 28px; }
.p-prop-img { position: absolute; inset: -8% 0; }
.p-prop-img img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0)); }
.p-prop-chips { position: absolute; left: 24px; bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; z-index: 2; }
.p-prop-chips span { padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .8125rem; font-weight: 600; color: var(--text); box-shadow: var(--shadow); }

/* 3. Channel selector ---------------------------------------------------- */
.p-channels { padding-block: var(--section-y); background: radial-gradient(50% 60% at 100% 0%, rgba(56,191,165,.12), transparent 70%), var(--p-deep); }
.p-channels-head { max-width: 760px; margin-bottom: 56px; }
.p-selector { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.p-sel-list { display: grid; gap: 6px; }
.p-sel { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: #B5C6CF; font-weight: 600; font-size: 1rem; text-align: left; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.p-sel svg { width: 20px; height: 20px; flex: none; }
.p-sel:hover { background: rgba(255,255,255,.04); color: #fff; }
.p-sel[aria-selected="true"] { background: rgba(56,191,165,.12); border-color: rgba(56,191,165,.35); color: #fff; }
.p-sel[aria-selected="true"] svg { color: var(--mint); }
.p-sel::after { content: ""; position: absolute; right: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .3s var(--ease-out); box-shadow: 0 0 12px var(--mint); }
.p-sel[aria-selected="true"]::after { opacity: 1; transform: scale(1); }
.p-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center; padding: clamp(20px, 3vw, 36px); border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); }
.p-panel h3 { font-size: 1.75rem; margin-bottom: 10px; }
.p-panel-body > p { color: #B5C6CF; margin-bottom: 24px; }
.p-facts { display: grid; gap: 16px; margin: 0; }
.p-facts div { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.p-facts dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); margin-bottom: 6px; }
.p-facts dd { margin: 0; color: #E2ECEF; }
.p-facts .pill { background: rgba(56,191,165,.16); color: #9BF0DE; }

/* device mock-ups */
.p-mock { position: relative; min-height: 300px; border-radius: 18px; padding: 22px; background: linear-gradient(160deg, #E9F0F6, #F7FAFC); display: grid; place-items: center; box-shadow: 0 40px 70px -30px rgba(0,0,0,.7), inset 0 1px 0 #fff; transform: perspective(1000px) rotateY(10deg) rotateX(3deg); color: #152238; }
.p-mock i { display: block; height: 7px; border-radius: 4px; background: #D5DEE8; margin: 6px 0; }
.p-mock i.s { width: 58%; }
.p-mock b { display: block; height: 10px; width: 70%; border-radius: 4px; background: #9EB0C8; }
.p-mock em { font-style: normal; font-size: .6875rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--mint-50); color: var(--mint-700); }
.m-search { width: 100%; align-content: start; gap: 10px; display: grid; }
.m-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 99px; background: #fff; box-shadow: var(--shadow); font-size: .8125rem; color: #586A80; }
.m-bar svg { width: 16px; height: 16px; }
.m-res { position: relative; background: #fff; border-radius: 12px; padding: 12px 14px; border: 1px solid #E2E8F0; }
.m-res.is-ad { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(56,191,165,.15); }
.m-res em { position: absolute; top: 10px; right: 12px; }
.m-post { width: 230px; background: #fff; border-radius: 14px; padding: 12px; box-shadow: var(--shadow); }
.m-who { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.m-who i { width: 26px; height: 26px; border-radius: 50%; margin: 0; background: linear-gradient(135deg, #38BFA5, #4778FF); }
.m-who b { width: 90px; }
.m-img { height: 110px; border-radius: 10px; background: linear-gradient(135deg, #CFE9E3, #DCE6FF); }
.m-acts { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.m-acts span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #9EB0C8; }
.m-acts em { margin-left: auto; }
.m-page { width: 290px; background: #fff; border-radius: 12px; padding: 12px; box-shadow: var(--shadow); }
.m-nav { height: 12px; border-radius: 4px; background: #E2E8F0; margin-bottom: 10px; }
.m-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.m-banner, .m-leader { display: grid; place-items: center; border: 2px dashed var(--mint); border-radius: 8px; background: rgba(56,191,165,.08); font-size: .6875rem; font-weight: 700; color: var(--mint-700); }
.m-leader { height: 36px; margin-top: 10px; }
.m-inbox { width: 280px; background: #fff; border-radius: 12px; padding: 8px; box-shadow: var(--shadow); }
.m-mail { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: center; padding: 10px; border-radius: 8px; }
.m-mail i { width: 24px; height: 24px; border-radius: 50%; margin: 0; }
.m-mail.is-on { background: rgba(56,191,165,.1); outline: 1px solid rgba(56,191,165,.5); }
.m-mail em { position: absolute; right: 10px; }
.m-review { width: 280px; background: #fff; border-radius: 12px; padding: 16px; box-shadow: var(--shadow); }
.m-stars { color: #E0A21B; letter-spacing: 2px; margin: 8px 0; font-size: .9375rem; }
.m-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.m-table span { height: 22px; border-radius: 6px; background: #EEF2F7; }
.m-table span:nth-child(-n+3) { background: #DCE6FF; }
.m-table span:nth-child(5) { background: rgba(56,191,165,.3); }
.m-feed { width: 290px; display: grid; gap: 8px; }
.m-card { display: grid; grid-template-columns: 70px 1fr; gap: 10px; background: #fff; border-radius: 10px; padding: 10px; box-shadow: var(--shadow-sm); }
.m-thumb { height: 52px; border-radius: 8px; background: linear-gradient(135deg, #DCE6FF, #CFE9E3); }
.m-card.is-on { outline: 2px solid var(--mint); }
.m-phone { width: 170px; height: 300px; border-radius: 30px; background: #0E1726; padding: 10px; box-shadow: var(--shadow-lg); position: relative; }
.m-notch { position: absolute; top: 12px; left: 50%; width: 50px; height: 12px; margin-left: -25px; border-radius: 99px; background: #000; z-index: 1; }
.m-app { height: 100%; border-radius: 22px; background: #fff; padding: 34px 14px 14px; }
.m-inapp { display: grid; gap: 8px; padding: 12px; margin: 12px 0; border-radius: 12px; background: linear-gradient(135deg, rgba(56,191,165,.15), rgba(71,120,255,.12)); border: 1px solid rgba(56,191,165,.4); }
.m-inapp span { justify-self: start; font-size: .6875rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--mint-700); color: #fff; }

/* 4. Bento verticals ----------------------------------------------------- */
.p-vert-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 48px; }
.p-vert-head h2 { margin: 0; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(160px, auto); gap: 16px; grid-template-areas: "fin fin ins ecom" "fin fin saas ecom" "apps util edu life"; }
.bento-tile { position: relative; overflow: hidden; border-radius: 20px; padding: 24px; background: #fff; border: 1px solid var(--border); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s; }
.bento-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(56,191,165,.5); }
.bento-tile h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.bento-tile p { color: var(--muted); font-size: .9375rem; margin: 0; }
.b-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mint-50); color: var(--mint-700); margin-bottom: 18px; }
.b-ic svg { width: 22px; height: 22px; }
.b-finance { grid-area: fin; display: flex; flex-direction: column; justify-content: flex-end; padding: 36px; color: #B5C6CF; border: 0; background: radial-gradient(80% 70% at 85% 10%, rgba(56,191,165,.35), transparent 60%), linear-gradient(160deg, #0E2430, #0A1A24); }
.b-finance h3 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.b-finance p { color: #B5C6CF; max-width: 380px; font-size: 1rem; }
.b-finance .b-ic { position: absolute; top: 32px; left: 36px; width: 64px; height: 64px; border-radius: 18px; background: rgba(56,191,165,.18); color: #7FE3CE; }
.b-finance .b-ic svg { width: 30px; height: 30px; }
.b-insurance { grid-area: ins; } .b-ecom { grid-area: ecom; background: linear-gradient(170deg, #EAF7F3, #fff); } .b-saas { grid-area: saas; }
.b-apps { grid-area: apps; } .b-util { grid-area: util; } .b-edu { grid-area: edu; } .b-life { grid-area: life; }
.b-ecom { display: flex; flex-direction: column; justify-content: space-between; }

/* 5. Earn ladder ---------------------------------------------------------- */
.p-models { background: var(--p-tint) !important; }
.p-models-head { margin-bottom: 40px; }
.ladder { border-top: 1px solid var(--border-strong); }
.ladder-row { position: relative; display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px 16px; border-bottom: 1px solid var(--border); transition: background-color .3s var(--ease); }
.ladder-row:not(.ladder-row--head):hover { background: #fff; }
.ladder-row:not(.ladder-row--head)::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--mint-700); transform: scaleY(0); transition: transform .35s var(--ease-out); }
.ladder-row:hover::before { transform: scaleY(1); }
.ladder-row--head { padding-block: 14px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.l-model { display: flex; align-items: baseline; gap: 12px; color: var(--muted); font-size: .875rem; }
.l-model b { font-family: var(--font-head); font-size: 1.6rem; color: var(--mint-700); letter-spacing: -0.02em; min-width: 88px; }
.ladder-row span:nth-child(2) { color: var(--text); font-weight: 500; }
.ladder-row span:nth-child(3) { color: var(--muted); }

/* 6. Reporting ------------------------------------------------------------ */
.p-report-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.callout-list { display: grid; gap: 18px; margin-top: 32px; }
.callout-list li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; color: var(--muted); }
.callout-list li > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mint-700); color: #fff; font-weight: 700; font-size: .8125rem; }
.callout-list strong { color: var(--text); }
.p-dash { padding: 22px; border-radius: 20px; display: grid; gap: 14px; }
.pd-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); font-weight: 800; }
.pd-top > span:first-child { display: inline-flex; gap: 8px; align-items: center; }
.pd-top svg { width: 18px; height: 18px; color: var(--mint-700); }
.pd-link, .pd-chart, .pd-status, .pd-subs { position: relative; }
.pd-link code { display: block; padding: 12px 14px; border-radius: 10px; background: #0E2430; color: #CFE9E3; font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-link em { font-style: normal; color: var(--mint); }
.pd-chart { border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.pd-chart svg { width: 100%; height: auto; }
.pd-status { display: grid; gap: 6px; }
.pd-status > div { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; background: #FAFBFD; border: 1px solid #EEF2F7; font-size: .8438rem; }
.pd-subs { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-subs span:not(.cm) { padding: 6px 10px; border-radius: 8px; background: var(--mint-50); color: var(--mint-700); font-size: .75rem; font-weight: 600; }
.cm { position: absolute; right: -12px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mint-700); color: #fff; font-size: .75rem; font-weight: 700; box-shadow: 0 0 0 5px rgba(26,127,108,.18); }

/* 7. Onboarding ----------------------------------------------------------- */
.p-onboard { background: var(--p-tint) !important; }
.p-onboard-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
ol.vtimeline { position: relative; margin-top: 40px; padding-left: 44px; --p: 0; }
.vtimeline::before, .vtimeline::after { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--border-strong); }
.vtimeline::after { bottom: auto; height: calc((100% - 16px) * var(--p)); background: linear-gradient(var(--mint-700), var(--mint)); }
.vtimeline li { position: relative; padding-bottom: 32px; --lit: clamp(0, (var(--p) * 5.6 - var(--i, 0)) * 3, 1); }
.vtimeline li:nth-child(1) { --i: 0; } .vtimeline li:nth-child(2) { --i: 1; } .vtimeline li:nth-child(3) { --i: 2; } .vtimeline li:nth-child(4) { --i: 3; } .vtimeline li:nth-child(5) { --i: 4; }
.vtimeline li:last-child { padding-bottom: 0; }
.vt-dot { position: absolute; left: -44px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--border-strong); z-index: 1; overflow: hidden; }
.vt-dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--mint-700); opacity: var(--lit); transform: scale(calc(.4 + var(--lit) * .6)); }
.vt-step { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-700); }
.vtimeline h3 { font-size: 1.3rem; margin: 4px 0 6px; }
.vtimeline p { color: var(--muted); }
.p-onboard-photo { aspect-ratio: 4 / 5; position: sticky; top: calc(var(--header-h) + 32px); }
.p-photo-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; background: linear-gradient(transparent, rgba(10,26,36,.85)); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; }

/* 8. Apply ---------------------------------------------------------------- */
.p-apply { background: radial-gradient(50% 60% at 0% 100%, rgba(56,191,165,.14), transparent 70%), var(--p-deep); }
.p-apply-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.p-apply-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.p-apply-aside .accordion { margin-top: 36px; }
.p-apply .form-card { box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .p-hero-grid { grid-template-columns: 1fr; }
  .p-hero-visual { justify-self: center; max-width: 640px; }
  .p-selector { grid-template-columns: 1fr; }
  .p-sel-list { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .p-sel-list::-webkit-scrollbar { display: none; }
  .p-sel { flex: none; padding: 10px 14px; border-color: rgba(255,255,255,.12); }
  .p-sel::after { display: none; }
  .p-report-grid, .p-apply-grid, .p-onboard-grid { grid-template-columns: 1fr; }
  .p-apply-aside, .p-onboard-photo { position: static; }
  .p-onboard-photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 900px) {
  .p-equation { grid-template-columns: 1fr; }
  .p-eq-op { justify-self: start; font-size: 2rem; }
  .p-panel { grid-template-columns: 1fr; }
  .p-mock { transform: none; min-height: 260px; }
  .p-vert-head { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "fin fin" "ins ecom" "saas ecom" "apps util" "edu life"; }
  .b-finance { min-height: 300px; }
  .ladder-row { grid-template-columns: 1fr; gap: 6px; }
  .ladder-row--head { display: none; }
}
@media (max-width: 680px) {
  .p-prop-photo { aspect-ratio: 4 / 3; }
  .p-note { padding: 8px 12px 8px 8px; }
  .p-note--c { display: none; }
  .p-note--a { top: 0; right: 0; }
  .p-note--b { bottom: 4%; left: 0; }
  .p-orb--2, .p-orb--4 { display: none; }
  .p-hero-visual { aspect-ratio: 1 / 1; }
  .laptop { width: 84%; top: 40%; }
  .cm { right: -8px; }
  .p-hero-caption { left: 0; right: auto; bottom: -26px; }
}
@media (max-width: 440px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "fin" "ins" "ecom" "saas" "apps" "util" "edu" "life"; }
  .p-note-ic { width: 28px; height: 28px; }
  .p-note strong { font-size: .75rem; }
  .p-mock { padding: 14px; }
  .m-page, .m-review, .m-inbox, .m-feed { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .vtimeline li { --lit: 1; }
  .vtimeline::after { height: calc(100% - 16px); }
}
.m-search { place-items: stretch; align-content: center; }
.m-search > * { width: 100%; }
body[data-page="publishers"] main section:not(.on-dark) .eyebrow { color: var(--mint-700); }
body[data-page="publishers"] .link-arrow { color: var(--mint-700); }
body[data-page="publishers"] .on-dark .link-arrow { color: #fff; }
.p-report-grid > *, .p-dash, .pd-link { min-width: 0; }
/* SEO structure */
.p-prop-head .lead { margin-top: 16px; }
.p-prop-link { margin: -24px 0 32px; color: var(--muted); }
body[data-page="publishers"] section:not(.on-dark) .inline-link { color: var(--mint-700); }
