/* ================= Product/agency infrastructure ================= */

/* --- Two paths / access modes (Intelligence platform page) --- */
.tp-modes { padding: clamp(72px, 8vw, 116px) 0; background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tp-modes .sec-head { margin-bottom: 50px; }
.tp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 860px) { .tp-grid { grid-template-columns: 1fr; } }
.tp-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 36px 34px; box-shadow: 0 14px 40px rgba(10,32,92,.06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tp-card:hover { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(10,32,92,.12); }
.tp-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 999px; background: radial-gradient(circle at 30% 30%, rgba(38,103,216,.10), transparent 70%); pointer-events: none; transition: transform .4s var(--ease); }
.tp-card:hover::after { transform: scale(1.3); }
.tp-card .mode { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); font-weight: 500; }
.tp-card .chip { margin: 16px 0 18px; }
.tp-card h3 { font-size: clamp(24px, 2.4vw, 30px); }
.tp-card h3 .tm { font-size: .45em; vertical-align: super; color: var(--text-3); }
.tp-card p { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--text-3); }
.tp-card ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.tp-card li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.tp-card li .ck { flex-shrink: 0; width: 20px; height: 20px; border-radius: 999px; background: rgba(90,204,155,.16); color: #1F7A4D; display: grid; place-items: center; margin-top: 1px; }
.tp-card .tlink { margin-top: 24px; }
.tp-bridge { margin: 30px auto 0; max-width: 640px; text-align: center; font-size: 14.5px; color: var(--text-3); }
.tp-bridge b { color: var(--text); font-weight: 600; }

/* --- Agency band (hyper-local wedge) --- */
.ag-band { padding: clamp(72px, 8vw, 116px) 0; }
.ag-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background:
    radial-gradient(70% 110% at 100% 0%, rgba(90,204,155,.26), transparent 60%),
    radial-gradient(60% 90% at 0% 100%, rgba(51,136,255,.30), transparent 60%),
    linear-gradient(135deg, #001A63 0%, #2667D8 60%, #2072E5 100%);
  color: #fff; padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 860px) { .ag-card { grid-template-columns: 1fr; } }
.ag-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 75%); pointer-events: none; }
.ag-card .inner { position: relative; z-index: 1; }
.ag-card .eyebrow-pill { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.24); color: #fff; }
.ag-card h2 { color: #fff; margin-top: 18px; }
.ag-card p { color: rgba(255,255,255,.85); margin-top: 16px; font-size: 16px; line-height: 1.6; max-width: 52ch; }
.ag-card .ag-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.ag-card .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.ag-card .btn-ghost:hover { background: rgba(255,255,255,.10); }
.ag-points { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.ag-point { display: flex; gap: 13px; align-items: flex-start; padding: 16px 18px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-md); }
.ag-point .pic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.16); color: #fff; flex-shrink: 0; }
.ag-point .tt { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: #fff; }
.ag-point .ss { font-size: 13px; color: rgba(255,255,255,.78); margin-top: 2px; line-height: 1.45; }

/* --- Scenario architecture (Data Explorer) --- */
.sc-sec { padding: clamp(72px, 8vw, 116px) 0; }
.sc-sec .sec-head { margin-bottom: 46px; }
.sc-list { display: flex; flex-direction: column; gap: 16px; }
.sc-row {
  display: grid; grid-template-columns: 56px 1fr 1.1fr; gap: 26px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 30px;
  box-shadow: 0 10px 30px rgba(10,32,92,.05); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.sc-row:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(10,32,92,.10); }
@media (max-width: 820px) { .sc-row { grid-template-columns: 1fr; gap: 16px; } }
.sc-row .sc-ic { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 8px 20px rgba(38,103,216,.28); }
.sc-row h3 { font-size: 20px; }
.sc-row .scenario { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-vibrant); font-weight: 500; margin-bottom: 8px; }
.sc-row p { font-size: 14.5px; color: var(--text-3); line-height: 1.55; }
.sc-row .sc-q { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 18px; }
.sc-row .sc-q .ql { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.sc-row .sc-q .qt { font-size: 14.5px; color: var(--text); font-weight: 500; line-height: 1.45; }

/* --- Custom data delivery block --- */
.dd-sec { padding: clamp(72px, 8vw, 116px) 0; background: var(--surface-2); border-top: 1px solid var(--border); }
.dd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
@media (max-width: 820px) { .dd-grid { grid-template-columns: 1fr; } }
.dd-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: 0 10px 30px rgba(10,32,92,.05); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.dd-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(10,32,92,.10); }
.dd-card .chip { margin-bottom: 18px; }
.dd-card .kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-vibrant); font-weight: 500; }
.dd-card h3 { font-size: 20px; margin-top: 6px; }
.dd-card p { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--text-3); }

/* --- Persona cards (Agency landing) --- */
.pe-sec { padding: clamp(72px, 8vw, 116px) 0; }
.pe-sec .sec-head { margin-bottom: 50px; }
.pe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .pe-grid { grid-template-columns: 1fr; } }
.pe-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 34px 30px; box-shadow: 0 12px 36px rgba(10,32,92,.06); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.pe-card:hover { transform: translateY(-4px); box-shadow: 0 26px 56px rgba(10,32,92,.12); }
.pe-card .role { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-vibrant); font-weight: 500; }
.pe-card .chip { margin: 14px 0 18px; }
.pe-card h3 { font-size: 21px; }
.pe-card .pain { margin-top: 12px; font-size: 14px; color: var(--text-3); line-height: 1.55; }
.pe-card .win { margin-top: 16px; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); }
.pe-card .win .wl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 5px; }
.pe-card .win .wt { font-size: 14.5px; color: var(--text); font-weight: 500; line-height: 1.45; }

/* --- Hooks grid (Story Builder above the fold) --- */
.hk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
@media (max-width: 900px) { .hk-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .hk-grid { grid-template-columns: 1fr; } }
.hk { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px; box-shadow: 0 8px 24px rgba(10,32,92,.05); }
.hk .n { font-family: var(--font-mono); font-size: 12px; color: var(--brand-vibrant); font-weight: 500; }
.hk h4 { font-family: var(--font-display); font-size: 15.5px; font-weight: 600; color: var(--text); margin-top: 8px; line-height: 1.3; }
.hk p { font-size: 13px; color: var(--text-3); margin-top: 6px; line-height: 1.45; }

/* --- Lenses (Story Builder) --- */
.ln-sec { padding: clamp(72px, 8vw, 116px) 0; background: var(--surface-2); border-top: 1px solid var(--border); }
.ln-sec .sec-head { margin-bottom: 46px; }
.ln-list { display: flex; flex-direction: column; gap: 16px; }
.ln-row { display: grid; grid-template-columns: 1fr 1.05fr; gap: 30px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px 32px; box-shadow: 0 10px 30px rgba(10,32,92,.05); }
.ln-row.flip .ln-copy { order: 2; }
@media (max-width: 860px) { .ln-row, .ln-row.flip { grid-template-columns: 1fr; } .ln-row.flip .ln-copy { order: 0; } }
.ln-row .lens-n { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-vibrant); font-weight: 500; }
.ln-row .chip { margin: 12px 0 16px; }
.ln-row h3 { font-size: 22px; }
.ln-row .ln-copy > p { margin-top: 10px; font-size: 14.5px; color: var(--text-3); line-height: 1.55; }
.ln-example { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px; }
.ln-example .ex-tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.ln-example .ex-tag .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent); }
.ln-example .ex-stat { font-family: var(--font-display); font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -.03em; color: var(--text); line-height: 1; }
.ln-example .ex-stat .grad-text { display: inline; }
.ln-example .ex-cap { font-size: 13px; color: var(--text-3); margin-top: 8px; line-height: 1.45; }
.ln-example .ex-bars { display: flex; align-items: end; gap: 8px; height: 70px; margin-top: 16px; }
.ln-example .ex-bars i { flex: 1; border-radius: 5px 5px 0 0; background: var(--grad); }
.ln-anon { margin-top: 12px; font-family: var(--font-mono); font-size: 10.5px; color: var(--text-3); letter-spacing: .04em; }

/* Story Builder showcase image */
.sb-showcase-sec { padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 5vw, 72px); }
.sb-shot { max-width: 1080px; margin: 0 auto; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border-2); box-shadow: 0 30px 80px rgba(10,32,92,.16); }
.sb-shot img { display: block; width: 100%; height: auto; }

/* TVBU badge (Tenetic × TVB page) */
.tvb-badge{display:grid;place-items:center;padding:clamp(26px,4vw,52px);background:#fff;border:1px solid var(--border);border-radius:var(--r-xl);box-shadow:0 30px 80px rgba(10,32,92,.14)}
.tvb-badge img{width:100%;max-width:460px;height:auto;display:block}

/* TVBU video (Tenetic × TVB page) */
.tvb-video-sec{padding:clamp(56px,7vw,96px) 0;background:var(--surface-2);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.tvb-video{max-width:1040px;margin:0 auto;border-radius:var(--r-xl);overflow:hidden;background:#000;box-shadow:0 30px 80px rgba(10,32,92,.18)}
.tvb-video video{display:block;width:100%;height:auto}

.tvb-video-note{margin:14px auto 0;max-width:1040px;text-align:center;font-size:13px;color:var(--text-3)}
