/* ============================================================
   Predefined — inner pages (service, about, research, legal)
   Load AFTER styles.css. Reuses its tokens, header, mega menu,
   footer, contact popup, .pd-btn and .txt-grad.
   ============================================================ */
:root {
    --pg-pad: 110px;
    --hair: #d3d9e4;
    --ink: #1b1f29;
    --muted: #5f6775;
    --soft: #8a909c;
    --blue: #356AE6;
    --blue-l: #4A90E2;
    --blue-dark-bg: #7fb2f0;
}
body { background: #fff; color: var(--ink); }
img { max-width: 100%; }

/* skip link for keyboard users */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: #0a0d16; padding: 10px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; transition: top 0.2s ease; }
.skip-link:focus { top: 12px; }

/* anchors land below the sticky header */
[id] { scroll-margin-top: 100px; }

/* ---------- scroll reveal: same fade-up as the homepage ---------- */
.rv { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); transition-delay: var(--d, 0s); }
.js .rv { opacity: 0; transform: translateY(24px); }
.js .rv.in { opacity: 1; transform: none; }
/* after the reveal finishes, drop the stagger delay so hovers respond instantly */
.rv-done { transition-delay: 0s !important; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- shared type ---------- */
.pg-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-l); margin-bottom: 20px; }
.pg-h2 { font-size: 2.4rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 18px; }
.pg-p { font-size: 0.98rem; line-height: 1.7; color: var(--muted); max-width: 560px; margin: 0; }

/* ---------- sections ---------- */
.pg-sec { padding: 100px var(--pg-pad); }
.pg-sec.alt { background: #f6f8fc; }
.pg-head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 56px; }
.pg-head .pg-h2 { margin: 0; }

/* dark band: same drifting gradient as the homepage hero */
.pg-dark {
    position: relative; color: #fff;
    background:
        radial-gradient(900px 600px at 18% 12%, rgba(66,133,244,0.28), transparent 60%),
        radial-gradient(900px 650px at 85% 20%, rgba(118,87,213,0.30), transparent 60%),
        radial-gradient(1000px 700px at 70% 95%, rgba(125,211,192,0.14), transparent 60%),
        #070a16;
    background-size: 160% 160%, 170% 170%, 180% 180%, auto;
    animation: stageDrift 22s ease-in-out infinite alternate;
}
.pg-dark .pg-eyebrow { color: var(--blue-dark-bg); }
.pg-dark .pg-h2 { color: #fff; }
.pg-dark .pg-p { color: rgba(255,255,255,0.62); }
@media (prefers-reduced-motion: reduce) { .pg-dark { animation: none; } }

/* ---------- page hero ---------- */
.pg-hero { padding: 168px var(--pg-pad) 100px; }
.pg-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0 0 30px; padding: 0; font-size: 13px; }
.pg-crumb li { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.5); }
.pg-crumb li + li::before { content: "/"; color: rgba(255,255,255,0.25); }
.pg-crumb a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s ease; }
.pg-crumb a:hover { color: #fff; }
.pg-crumb [aria-current] { color: #fff; }
.pg-title { font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 22px; max-width: 880px; }
.pg-lead { font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,0.65); max-width: 580px; margin: 0 0 34px; }
.pg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.pd-btn:hover { transform: translateY(-2px); }
/* secondary outline pill on dark */
.pg-ghost { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: #fff; text-decoration: none; padding: 12px 24px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.3); transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.pg-ghost:hover, .pg-ghost:focus-visible { background: #fff; color: #0a0d16; border-color: #fff; }
.pg-ghost:focus-visible, .pd-btn:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 3px; }

/* ---------- hairline grid (same divider style as the service tiles) ---------- */
.hl-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); }
.hl-item { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 6px 28px; }
.hl-item:first-child { padding-left: 0; }
.hl-item + .hl-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0.5px; background: var(--hair); }
.hl-num { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; color: #c2c8d4; }
.hl-ic { color: #667085; display: inline-flex; }
.hl-ic svg { width: 30px; height: 30px; }
.hl-item h3 { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--ink); margin: 0; }
.hl-item p { font-size: 14px; line-height: 1.6; color: var(--soft); margin: 0; }
.hl-item ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.hl-item li { position: relative; padding-left: 14px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.hl-item li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px; border-radius: 50%; background: linear-gradient(135deg, #7DD3C0, #4A90E2); }

/* ---------- two-column split ---------- */
.pg-split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }

/* checklist with small blue tick circles */
.pg-check { list-style: none; margin: 28px 0 0; padding: 0; border-top: 0.5px solid var(--hair); }
.pg-check li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 0.5px solid var(--hair); font-size: 15px; line-height: 1.55; color: var(--ink); }
.pg-check li::before {
    content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
    background: rgba(74,144,226,0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23356AE6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* rows with a tag, title and text (use cases, related articles) */
.pg-rows { border-top: 0.5px solid var(--hair); margin-top: 28px; }
.pg-row { display: block; padding: 22px 0; border-bottom: 0.5px solid var(--hair); text-decoration: none; color: inherit; }
.pg-row-tag { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); margin-bottom: 6px; }
.pg-row h3 { font-size: 1.12rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; color: var(--ink); margin: 0 0 6px; width: fit-content; }
.pg-row p { font-size: 14px; line-height: 1.6; color: var(--soft); margin: 0; }
a.pg-row:hover h3, a.pg-row:focus-visible h3 {
    background: linear-gradient(135deg, #7DD3C0 0%, #4A90E2 60%, #3b7dd6 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
a.pg-row:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 4px; }

/* ---------- process steps on a gradient line ---------- */
.pg-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 32px; }
.pg-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, #7DD3C0, #4A90E2, #7657D5); opacity: 0.55; }
.pg-steps li { position: relative; padding-top: 38px; }
.pg-steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 1.5px solid var(--blue-l); box-shadow: 0 0 0 5px rgba(74,144,226,0.12); box-sizing: border-box; }
.pg-sec.alt .pg-steps li::before { background: #f6f8fc; }
.pg-step-n { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--soft); margin-bottom: 6px; }
.pg-steps b { display: block; font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.pg-steps p { font-size: 14px; line-height: 1.6; color: var(--soft); margin: 0; }

/* ---------- technology groups ---------- */
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-chips span { font-size: 13px; font-weight: 500; color: var(--ink); padding: 7px 13px; border-radius: 999px; background: #f1f4f9; }
.pg-sec.alt .pg-chips span { background: #fff; }
.pg-note { font-size: 13.5px; line-height: 1.6; color: var(--soft); margin: 40px 0 0; max-width: 640px; }

/* ---------- FAQ (native details, no JS needed) ---------- */
.pg-faq { border-top: 0.5px solid var(--hair); }
.pg-faq details { border-bottom: 0.5px solid var(--hair); }
.pg-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 20px; padding: 22px 0; font-size: 1.1rem; font-weight: 500; color: var(--ink); }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: "+"; margin-left: auto; font-size: 24px; font-weight: 300; line-height: 1; color: #667085; transition: transform 0.25s ease, color 0.2s ease; }
.pg-faq details[open] summary::after { transform: rotate(45deg); color: var(--blue); }
.pg-faq summary:hover span, .pg-faq details[open] summary span {
    background: linear-gradient(135deg, #7DD3C0 0%, #4A90E2 60%, #3b7dd6 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.pg-faq summary:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 4px; }
.pg-faq details p { margin: 0; padding: 0 48px 24px 0; font-size: 14.5px; line-height: 1.7; color: var(--soft); max-width: 720px; }

/* ---------- related links strip ---------- */
.pg-related { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 0.5px solid var(--hair); }
.pg-related a { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 26px 0; text-decoration: none; }
.pg-related a + a { padding-left: 24px; }
.pg-related a + a::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 0.5px; background: var(--hair); }
.pg-related small { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--soft); }
.pg-related b { font-size: 16px; font-weight: 600; color: var(--ink); width: fit-content; }
.pg-related em { font-style: normal; font-size: 13.5px; font-weight: 600; color: #667085; transition: color 0.2s ease; }
.pg-related a:hover b, .pg-related a:focus-visible b {
    background: linear-gradient(135deg, #7DD3C0 0%, #4A90E2 60%, #3b7dd6 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.pg-related a:hover em, .pg-related a:focus-visible em { color: var(--blue); }
.pg-related a:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 2px; }

/* ---------- closing CTA band ---------- */
.pg-cta { padding: 110px var(--pg-pad); }
.pg-cta-title { font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 20px; max-width: 860px; }
.pg-cta-sub { font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.62); max-width: 520px; margin: 0 0 34px; }
.pg-mail { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s ease; }
.pg-mail:hover, .pg-mail:focus-visible { color: #fff; }

/* ============================================================
   SERVICE PAGE
   ============================================================ */
/* split hero: text on the left, "In this vertical" list on the right */
.svc-hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 90px; align-items: end; }
.svc-glance { padding-bottom: 6px; }
.svc-glance-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 12px; }
.svc-glance ol { list-style: none; margin: 0; padding: 0; border-top: 0.5px solid rgba(255,255,255,0.16); counter-reset: g; }
.svc-glance li { counter-increment: g; border-bottom: 0.5px solid rgba(255,255,255,0.16); }
.svc-glance a { display: flex; align-items: center; gap: 16px; padding: 15px 0; font-size: 15.5px; font-weight: 500; color: #fff; text-decoration: none; transition: color 0.2s ease; }
.svc-glance a::before { content: counter(g, decimal-leading-zero); width: 26px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.35); transition: color 0.2s ease; }
.svc-glance a::after { content: "\2192"; margin-left: auto; color: rgba(255,255,255,0.35); transition: transform 0.2s ease, color 0.2s ease; }
.svc-glance a:hover, .svc-glance a:focus-visible { color: var(--blue-dark-bg); outline: none; }
.svc-glance a:hover::before, .svc-glance a:focus-visible::before { color: var(--blue-dark-bg); }
.svc-glance a:hover::after, .svc-glance a:focus-visible::after { color: var(--blue-dark-bg); transform: translateX(4px); }

/* ---------- shared tile: soft fill, no outline, gentle lift on hover ---------- */
.tile { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: 18px; background: #f6f8fc; transition: opacity 0.7s ease, transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease; transition-delay: var(--d, 0s); }
.pg-sec.alt .tile { background: #fff; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(16,24,40,0.08); }
.tile h3 { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
.tile p { font-size: 14px; line-height: 1.6; color: var(--soft); margin: 0; }
/* small icon in a soft blue circle */
.tile-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(74,144,226,0.1); color: var(--blue); }
.tile-ic svg { width: 22px; height: 22px; }
/* dark featured tile */
.tile-dark {
    color: #fff;
    background:
        radial-gradient(420px 300px at 15% 10%, rgba(66,133,244,0.32), transparent 65%),
        radial-gradient(420px 320px at 90% 90%, rgba(118,87,213,0.32), transparent 65%),
        #0a0f1e !important;
}
.tile-dark h3 { color: #fff; }
.tile-dark p { color: rgba(255,255,255,0.62); }
.tile-dark .tile-ic { background: rgba(255,255,255,0.1); color: var(--blue-dark-bg); }
.tile-dark:hover { box-shadow: 0 26px 60px rgba(7,10,22,0.3); }
.js .rv.tile.in:hover { transform: translateY(-4px); }

/* ---------- "What changes" bento ---------- */
.bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.bento-hero { grid-row: span 2; justify-content: space-between; min-height: 420px; }
.bento-hero h3 { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.02em; }
.flow-svg { width: 100%; height: auto; margin: 6px 0 10px; }
.flow-svg .fl-src circle { fill: rgba(255,255,255,0.06); stroke: rgba(255,255,255,0.28); stroke-width: 1; }
.flow-svg .fl-src text { font-family: var(--font); font-size: 11px; font-weight: 600; fill: rgba(255,255,255,0.7); }
.flow-svg .fl-path { fill: none; stroke-width: 1.4; stroke-dasharray: 3 7; animation: flowDash 1.6s linear infinite; }
.flow-svg .fl-db { fill: none; stroke-width: 2.2; stroke-linejoin: round; }
.flow-svg .fl-glow { fill: rgba(74,144,226,0.25); }
.flow-svg .fl-label { font-family: var(--font); font-size: 12px; font-weight: 700; fill: #fff; letter-spacing: 0.02em; }
@keyframes flowDash { to { stroke-dashoffset: -20; } }
/* AI page: pulsing ring around the central agent node, tool pills on the right */
.flow-svg .ai-ring { fill: none; stroke: #4A90E2; stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: aiPulse 2.6s ease-out infinite; }
.flow-svg .ai-ring.r2 { animation-delay: 1.3s; }
.flow-svg .ai-core { fill: #0b1020; stroke-width: 2; }
.flow-svg .ai-pill rect { fill: rgba(255,255,255,0.06); stroke: rgba(255,255,255,0.22); stroke-width: 1; }
.flow-svg .ai-pill text { font-family: var(--font); font-size: 11px; font-weight: 600; fill: rgba(255,255,255,0.78); }
@keyframes aiPulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .flow-svg .ai-ring { animation: none; opacity: 0.3; } }

/* mini dashboard illustration (BI page): KPI cards, growing bars, drawing trend line */
.dash-svg { width: 100%; height: auto; margin: 6px 0 10px; }
.dash-svg .d-card { fill: rgba(255,255,255,0.06); }
.dash-svg .d-lbl { font-family: var(--font); font-size: 10.5px; font-weight: 600; fill: rgba(255,255,255,0.55); }
.dash-svg .d-val { fill: rgba(255,255,255,0.85); }
.dash-svg .d-up { fill: #7DD3C0; }
.dash-svg .d-grid { stroke: rgba(255,255,255,0.08); stroke-width: 1; }
.dash-svg .d-bar { transform-box: fill-box; transform-origin: bottom; transition: transform 1s cubic-bezier(0.22,1,0.36,1); }
.dash-svg .d-line { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 320; transition: stroke-dashoffset 1.6s ease 0.4s; }
.dash-svg .d-dot { fill: #fff; transition: opacity 0.4s ease 1.8s; }
/* start state only when JS runs, so the chart is never stuck empty */
.js .dash-svg .d-bar { transform: scaleY(0.15); }
.js .dash-svg .d-line { stroke-dashoffset: 320; }
.js .dash-svg .d-dot { opacity: 0; }
.rv.in .dash-svg .d-bar { transform: scaleY(1); }
.rv.in .dash-svg .d-bar:nth-of-type(2) { transition-delay: 0.08s; }
.rv.in .dash-svg .d-bar:nth-of-type(3) { transition-delay: 0.16s; }
.rv.in .dash-svg .d-bar:nth-of-type(4) { transition-delay: 0.24s; }
.rv.in .dash-svg .d-bar:nth-of-type(5) { transition-delay: 0.32s; }
.rv.in .dash-svg .d-bar:nth-of-type(6) { transition-delay: 0.40s; }
.rv.in .dash-svg .d-bar:nth-of-type(7) { transition-delay: 0.48s; }
.rv.in .dash-svg .d-line { stroke-dashoffset: 0; }
.rv.in .dash-svg .d-dot { opacity: 1; }
/* forecast illustration (Predictive page): history line, dashed forecast and an interval band */
.fc-svg { width: 100%; height: auto; margin: 6px 0 10px; }
.fc-svg .f-grid { stroke: rgba(255,255,255,0.08); stroke-width: 1; }
.fc-svg .f-hist { fill: none; stroke: rgba(255,255,255,0.85); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; transition: stroke-dashoffset 1.4s ease; }
.fc-svg .f-band { fill: url(#fBand); transition: opacity 0.8s ease 1.2s; }
.fc-svg .f-fc { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 5 6; transition: opacity 0.8s ease 1.3s; }
.fc-svg .f-now { stroke: rgba(255,255,255,0.3); stroke-width: 1; stroke-dasharray: 3 4; }
.fc-svg .f-lbl { font-family: var(--font); font-size: 10.5px; font-weight: 600; fill: rgba(255,255,255,0.55); }
.fc-svg .f-lbl-hi { fill: #7fb2f0; }
.js .fc-svg .f-hist { stroke-dashoffset: 420; }
.js .fc-svg .f-band, .js .fc-svg .f-fc { opacity: 0; }
.rv.in .fc-svg .f-hist { stroke-dashoffset: 0; }
.rv.in .fc-svg .f-band, .rv.in .fc-svg .f-fc { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .fc-svg .f-hist { stroke-dashoffset: 0 !important; transition: none; }
    .fc-svg .f-band, .fc-svg .f-fc { opacity: 1 !important; transition: none; }
    .dash-svg .d-bar { transform: none; transition: none; }
    .dash-svg .d-line { stroke-dashoffset: 0; transition: none; }
    .dash-svg .d-dot { opacity: 1; transition: none; }
}
@media (prefers-reduced-motion: reduce) { .flow-svg .fl-path { animation: none; } }

/* ---------- use-case tiles 2x2 ---------- */
.uc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.uc-tile { padding: 32px; gap: 14px; }
.uc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.uc-tag { font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
/* sources -> outcome strip at the bottom of each tile */
.uc-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 0.5px solid var(--hair); }
.uc-flow span { font-size: 12.5px; font-weight: 500; color: var(--muted); padding: 5px 11px; border-radius: 999px; background: #fff; }
.pg-sec.alt .uc-flow span { background: #f1f4f9; }
.uc-flow i { font-style: normal; color: var(--blue-l); font-size: 14px; }
.uc-flow b { font-size: 12.5px; font-weight: 600; color: #fff; padding: 5px 12px; border-radius: 999px; background: linear-gradient(135deg, #7DD3C0 0%, #4A90E2 60%, #3b7dd6 100%); }

/* ---------- "Ways to start" tiles ---------- */
.start-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.start-tile { padding: 34px 30px; gap: 14px; }
.start-badge { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; padding: 5px 11px; border-radius: 999px; background: linear-gradient(135deg, #7DD3C0 0%, #4A90E2 60%, #3b7dd6 100%); }
.start-best { font-size: 13px; color: var(--muted); }
.start-best b { font-weight: 600; color: var(--ink); }
.tile-dark .start-best { color: rgba(255,255,255,0.6); }
.tile-dark .start-best b { color: #fff; }
.start-tile ul { list-style: none; margin: 6px 0 0; padding: 18px 0 0; border-top: 0.5px solid var(--hair); display: flex; flex-direction: column; gap: 10px; }
.tile-dark ul { border-top-color: rgba(255,255,255,0.14); }
.start-tile li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.tile-dark li { color: rgba(255,255,255,0.78); }
.start-tile li::before {
    content: ""; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%;
    background: rgba(74,144,226,0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23356AE6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.tile-dark li::before { background-color: rgba(255,255,255,0.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fb2f0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.start-link { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #667085; text-decoration: none; transition: gap 0.2s ease, color 0.2s ease; }
.start-link:hover, .start-link:focus-visible { color: var(--blue); gap: 10px; }
.tile-dark .start-link { color: #fff; }
.tile-dark .start-link:hover, .tile-dark .start-link:focus-visible { color: var(--blue-dark-bg); }
.start-link:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    :root { --pg-pad: 40px; }
    .pg-sec { padding-top: 80px; padding-bottom: 80px; }
    .hl-grid { --cols: 2 !important; row-gap: 40px; }
    .hl-item:nth-child(odd) { padding-left: 0; }
    .hl-item:nth-child(odd)::before { display: none; }
    .pg-related { grid-template-columns: repeat(2, 1fr); }
    .pg-related a:nth-child(3) { padding-left: 0; }
    .pg-related a:nth-child(3)::before { display: none; }
    .pg-related a:nth-child(n+3) { border-top: 0.5px solid var(--hair); }
}
@media (max-width: 960px) {
    .pg-head, .pg-split, .svc-hero { grid-template-columns: 1fr; gap: 36px; }
    .bento { grid-template-columns: 1fr 1fr; }
    .bento-hero { grid-row: auto; grid-column: 1 / -1; min-height: 0; }
    .start-grid { grid-template-columns: 1fr; }
    .uc-grid { grid-template-columns: 1fr; }
    .pg-head { align-items: start; margin-bottom: 40px; }
    .pg-steps { grid-template-columns: 1fr; gap: 28px; padding-left: 34px; }
    .pg-steps::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, #7DD3C0, #4A90E2, #7657D5); }
    .pg-steps li { padding-top: 0; }
    .pg-steps li::before { left: -34px; top: 3px; }
}
@media (max-width: 640px) {
    .pg-hero { padding-top: 130px; padding-bottom: 72px; }
    .pg-h2 { font-size: 1.9rem; }
    .pg-sec { padding-top: 60px; padding-bottom: 60px; }
    .pg-cta { padding-top: 72px; padding-bottom: 72px; }
    .hl-grid { --cols: 1 !important; row-gap: 0; }
    .hl-item, .hl-item:nth-child(odd) { padding: 24px 0; }
    .hl-item::before { display: none; }
    .hl-item + .hl-item { border-top: 0.5px solid var(--hair); }
    .bento { grid-template-columns: 1fr; }
    .tile, .uc-tile, .start-tile { padding: 26px 22px; }
    .pg-related { grid-template-columns: 1fr; }
    .pg-related a, .pg-related a + a { padding-left: 0; border-top: 0.5px solid var(--hair); }
    .pg-related a + a::before { display: none; }
}

/* ---------- print: content only ---------- */
@media print {
    .top-bar, .mnav, .contact-overlay, .panel-footer, .skip-link, .pg-cta { display: none !important; }
    .pg-dark { background: none !important; color: #000 !important; animation: none !important; }
    .js .rv { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
/* oversized statement hero */
.ab-hero { padding: 180px var(--pg-pad) 90px; }
.ab-statement { font-size: clamp(2.6rem, 5.4vw, 4.5rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 28px; max-width: 1080px; }
.ab-hero .pg-lead { max-width: 620px; margin-bottom: 0; }
/* three facts under the hero, hairline-separated */
.ab-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 80px; border-top: 0.5px solid rgba(255,255,255,0.16); }
.ab-fact { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 28px 0; }
.ab-fact:first-child { padding-left: 0; }
.ab-fact + .ab-fact::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 0; width: 0.5px; background: rgba(255,255,255,0.16); }
.ab-fact b { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.02em; color: #fff; }
.ab-fact span { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.58); max-width: 300px; }

/* editorial intro: large lead left, body copy right */
.ab-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: start; }
.ab-lead { font-size: 1.7rem; font-weight: 400; line-height: 1.4; letter-spacing: -0.015em; color: var(--ink); margin: 0; }
.ab-body p { font-size: 1rem; line-height: 1.8; color: var(--muted); margin: 0 0 18px; }
.ab-body p:last-child { margin-bottom: 0; }

/* mission + vision, split by a hairline */
.ab-mv { display: grid; grid-template-columns: 1fr 1fr; }
.ab-mv-item { position: relative; padding: 8px 56px 8px 0; }
.ab-mv-item + .ab-mv-item { padding: 8px 0 8px 56px; }
.ab-mv-item + .ab-mv-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0.5px; background: var(--hair); }
.ab-mv-item p { font-size: 1.6rem; font-weight: 400; line-height: 1.4; letter-spacing: -0.015em; color: var(--ink); margin: 0; }

/* values: numbered rows */
.ab-values { border-top: 0.5px solid var(--hair); }
.ab-value { display: grid; grid-template-columns: 90px 1fr 1.3fr; gap: 40px; align-items: baseline; padding: 30px 0; border-bottom: 0.5px solid var(--hair); }
.ab-value-n { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; color: #c2c8d4; transition: color 0.2s ease; }
.ab-value h3 { font-size: 1.45rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink); margin: 0; width: fit-content; }
.ab-value p { font-size: 15px; line-height: 1.7; color: var(--soft); margin: 0; }
.ab-value:hover .ab-value-n { color: var(--blue-l); }
.ab-value:hover h3 {
    background: linear-gradient(135deg, #7DD3C0 0%, #4A90E2 60%, #3b7dd6 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}

/* five verticals as clickable tiles */
.ab-caps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
a.ab-cap { text-decoration: none; color: inherit; gap: 12px; padding: 28px 24px; }
.ab-cap-n { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--soft); }
.ab-cap h3 { font-size: 17px; }
.ab-cap em { margin-top: auto; padding-top: 10px; font-style: normal; font-size: 13.5px; font-weight: 600; color: #667085; transition: color 0.2s ease; }
a.ab-cap:hover em, a.ab-cap:focus-visible em { color: var(--blue); }
a.ab-cap:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 3px; }

/* how we engage: 4 tiles */
.ab-engage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

@media (max-width: 1200px) {
    .ab-caps { grid-template-columns: repeat(3, 1fr); }
    .ab-engage { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
    .ab-intro, .ab-mv { grid-template-columns: 1fr; gap: 40px; }
    .ab-mv-item, .ab-mv-item + .ab-mv-item { padding: 0; }
    .ab-mv-item + .ab-mv-item { padding-top: 40px; border-top: 0.5px solid var(--hair); }
    .ab-mv-item + .ab-mv-item::before { display: none; }
    .ab-value { grid-template-columns: 60px 1fr; gap: 10px 20px; }
    .ab-value p { grid-column: 2; }
    .ab-caps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .ab-hero { padding-top: 140px; padding-bottom: 64px; }
    .ab-facts { grid-template-columns: 1fr; margin-top: 52px; }
    .ab-fact, .ab-fact:first-child { padding: 22px 0; }
    .ab-fact + .ab-fact { border-top: 0.5px solid rgba(255,255,255,0.16); }
    .ab-fact + .ab-fact::before { display: none; }
    .ab-lead, .ab-mv-item p { font-size: 1.35rem; }
    .ab-caps, .ab-engage { grid-template-columns: 1fr; }
}

/* ============================================================
   LEGAL PAGES (privacy, terms, cookies, security, accessibility, sitemap)
   ============================================================ */
/* light top section, so the header gets a solid background */
body.pg-solid-head .top-bar { background: rgba(8,11,20,0.92); }

.lg-hero { padding: 156px var(--pg-pad) 56px; background: #f6f8fc; }
.lg-hero .pg-crumb li { color: var(--soft); }
.lg-hero .pg-crumb li + li::before { color: #c2c8d4; }
.lg-hero .pg-crumb a { color: var(--muted); }
.lg-hero .pg-crumb a:hover { color: var(--blue); }
.lg-hero .pg-crumb [aria-current] { color: var(--ink); }
.lg-title { font-size: clamp(2.3rem, 4.4vw, 3.3rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 16px; }
.lg-intro { font-size: 1.02rem; line-height: 1.7; color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.lg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; font-size: 13.5px; color: var(--soft); }
.lg-meta b { font-weight: 600; color: var(--ink); }
.lg-print { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font); font-size: 13.5px; font-weight: 600; color: #667085; background: none; border: 0; padding: 0; cursor: pointer; transition: color 0.2s ease; }
.lg-print:hover, .lg-print:focus-visible { color: var(--blue); }
.lg-print:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 3px; border-radius: 4px; }

/* sticky table of contents + readable column */
.lg-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 88px; padding: 64px var(--pg-pad) 90px; align-items: start; }
.lg-toc { position: sticky; top: 100px; }
.lg-toc-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; }
.lg-toc ol { list-style: none; margin: 0; padding: 0; border-left: 0.5px solid var(--hair); }
.lg-toc a { display: block; margin-left: -1px; padding: 7px 0 7px 16px; border-left: 1.5px solid transparent; font-size: 13.5px; line-height: 1.45; color: var(--muted); text-decoration: none; transition: color 0.2s ease, border-color 0.2s ease; }
.lg-toc a:hover { color: var(--ink); }
.lg-toc a.is-active { color: var(--blue); border-left-color: var(--blue-l); font-weight: 600; }
.lg-toc a:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 2px; }

/* "In short" summary */
.lg-summary { background: #f6f8fc; border-radius: 16px; padding: 26px 30px; margin-bottom: 48px; }
.lg-summary h2 { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-l); margin: 0 0 12px; }
.lg-summary ul { margin: 0; padding-left: 18px; }
.lg-summary li { font-size: 15px; line-height: 1.7; color: var(--ink); margin-bottom: 4px; }

/* clauses */
.lg-body section { padding-bottom: 34px; margin-bottom: 34px; border-bottom: 0.5px solid var(--hair); }
.lg-body section:last-child { border-bottom: 0; margin-bottom: 0; }
.lg-body h2 { display: flex; gap: 12px; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; color: var(--ink); margin: 0 0 14px; }
.lg-body h2 .n { flex-shrink: 0; min-width: 28px; color: var(--blue-l); }
.lg-body h3 { font-size: 1rem; font-weight: 600; color: var(--ink); margin: 22px 0 8px; }
.lg-body p, .lg-body li { font-size: 15.5px; line-height: 1.8; color: #3a4150; }
.lg-body p { margin: 0 0 14px; }
.lg-body ul { margin: 0 0 14px; padding-left: 20px; }
.lg-body li { margin-bottom: 6px; }
.lg-body a { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lg-body a:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 2px; border-radius: 3px; }
.lg-body strong { font-weight: 600; color: var(--ink); }
.lg-contact { background: #f6f8fc; border-radius: 16px; padding: 26px 30px; }
.lg-contact dl { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; margin: 0; }
.lg-contact dt { font-size: 14px; color: var(--soft); }
.lg-contact dd { margin: 0; font-size: 15px; color: var(--ink); }

/* data tables (cookie list) */
.lg-table-wrap { overflow-x: auto; margin: 6px 0 18px; }
.lg-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lg-table th, .lg-table td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 0.5px solid var(--hair); }
.lg-table th { font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.lg-table td { color: #3a4150; line-height: 1.6; }
.lg-table code, .lg-body code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; background: #f1f4f9; padding: 2px 6px; border-radius: 4px; color: var(--ink); }

/* other policies strip */
.lg-others { padding: 0 var(--pg-pad) 100px; }
.lg-others-inner { border-top: 0.5px solid var(--hair); padding-top: 36px; }
.lg-others-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; }
.lg-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.lg-pills a { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 10px 18px; border-radius: 999px; background: #f1f4f9; transition: background 0.2s ease, color 0.2s ease; }
.lg-pills a:hover, .lg-pills a:focus-visible { background: var(--ink); color: #fff; outline: none; }
.lg-pills a[aria-current] { background: var(--ink); color: #fff; }

/* cookie settings controls */
.ck-panel { background: #f6f8fc; border-radius: 18px; padding: 8px 30px 26px; margin-bottom: 48px; }
.ck-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding: 22px 0; border-bottom: 0.5px solid var(--hair); }
.ck-row h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.ck-row p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }
.ck-always { flex-shrink: 0; font-size: 12.5px; font-weight: 600; color: #16865B; white-space: nowrap; padding-top: 3px; }
.ck-switch { position: relative; flex-shrink: 0; width: 46px; height: 26px; margin-top: 2px; }
.ck-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.ck-switch span { position: absolute; inset: 0; border-radius: 999px; background: #c9d1df; transition: background 0.2s ease; }
.ck-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.2); transition: transform 0.2s ease; }
.ck-switch input:checked + span { background: linear-gradient(135deg, #7DD3C0, #4A90E2); }
.ck-switch input:checked + span::after { transform: translateX(20px); }
.ck-switch input:focus-visible + span { outline: 2px solid var(--blue-l); outline-offset: 3px; }
.ck-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.pg-btn-line { font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--ink); background: transparent; border: 1px solid #c3ccdd; border-radius: 999px; padding: 11px 22px; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.pg-btn-line:hover, .pg-btn-line:focus-visible { background: var(--ink); color: #fff; border-color: var(--ink); }
.pg-btn-line:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 3px; }
.ck-status { font-size: 13.5px; font-weight: 600; color: #16865B; min-height: 20px; margin: 14px 0 0; }

/* sitemap groups */
.sm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 64px var(--pg-pad) 90px; }
.sm-group { padding: 28px 30px; }
.sm-group h2 { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-l); margin: 0 0 10px; }
.sm-group ul { list-style: none; margin: 0; padding: 0; }
.sm-group li + li { border-top: 0.5px solid var(--hair); }
.sm-group a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; transition: color 0.2s ease; }
.sm-group a::after { content: "\2192"; color: #c2c8d4; transition: transform 0.2s ease, color 0.2s ease; }
.sm-group a:hover, .sm-group a:focus-visible { color: var(--blue); outline: none; }
.sm-group a:hover::after, .sm-group a:focus-visible::after { color: var(--blue); transform: translateX(4px); }
.tile.sm-group:hover { transform: none; box-shadow: none; }

@media (max-width: 960px) {
    .lg-layout { grid-template-columns: 1fr; gap: 36px; }
    .lg-toc { position: static; }
    .sm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .lg-hero { padding-top: 124px; padding-bottom: 44px; }
    .lg-summary, .lg-contact, .ck-panel { padding-left: 22px; padding-right: 22px; }
    .lg-contact dl { grid-template-columns: 1fr; gap: 2px; }
    .lg-contact dd { margin-bottom: 10px; }
    .sm-grid { grid-template-columns: 1fr; }
}
@media print {
    .lg-toc, .lg-others, .lg-print, .ck-banner { display: none !important; }
    .lg-layout { grid-template-columns: 1fr; padding: 0; }
    .lg-hero { padding: 0 0 24px; background: none; }
}

/* ============================================================
   RESEARCH HUB (research.html)
   ============================================================ */
.rs-hero .pg-title { max-width: 820px; }
.rs-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 56px var(--pg-pad) 0; }
.rs-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-filter { font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--ink); background: #f1f4f9; border: 0; padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.rs-filter:hover { background: #e4e9f2; }
.rs-filter[aria-pressed="true"] { background: var(--ink); color: #fff; }
.rs-filter:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 3px; }
.rs-count { font-size: 13.5px; color: var(--soft); }
.rs-grid { list-style: none; margin: 0; padding: 32px var(--pg-pad) 100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pg-sec .rs-grid { padding: 0; }
.rs-grid > li { display: flex; }
.rs-grid > li[hidden] { display: none; }
.rs-grid > li.is-featured { grid-column: 1 / -1; }
.rs-empty { padding: 0 var(--pg-pad) 100px; font-size: 15px; color: var(--soft); }

/* tile: light face by default */
.rs-tile { position: relative; display: flex; flex-direction: column; width: 100%; min-height: 330px; border-radius: 22px; overflow: hidden; background: #f6f8fc; text-decoration: none; color: inherit; isolation: isolate; }
.pg-sec.alt .rs-tile { background: #fff; }
.is-featured .rs-tile { min-height: 380px; }
.rs-face { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 30px; transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22,1,0.36,1); }
.is-featured .rs-face { padding: 44px; }
.rs-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rs-cat { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-l); }
.rs-meta { font-size: 12.5px; color: var(--soft); }
.rs-title { font-size: 1.3rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); margin: 14px 0 0; }
.is-featured .rs-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; max-width: 760px; }
.rs-brief { font-size: 14.5px; line-height: 1.65; color: var(--soft); margin: 0; max-width: 620px; }
.is-featured .rs-brief { font-size: 1.02rem; }
.rs-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 0.5px solid var(--hair); font-size: 13.5px; font-weight: 600; color: #667085; }
.rs-foot time { font-weight: 500; color: var(--soft); }
.rs-soon { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); background: #fff; padding: 5px 10px; border-radius: 999px; }
.pg-sec.alt .rs-soon { background: #f1f4f9; }

/* hover: dark gradient "slide" with logo, wordmark and a big bold title */
.rs-slide {
    position: absolute; inset: 0; z-index: 1;
    display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
    padding: 30px; color: #fff; pointer-events: none;
    background:
        radial-gradient(420px 320px at 12% 8%, rgba(66,133,244,0.40), transparent 65%),
        radial-gradient(460px 340px at 92% 96%, rgba(118,87,213,0.42), transparent 65%),
        radial-gradient(380px 280px at 82% 10%, rgba(125,211,192,0.18), transparent 65%),
        #070a16;
    opacity: 0; transform: scale(1.04);
    transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.is-featured .rs-slide { padding: 44px; }
.rs-slide::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1.6px); background-size: 14px 14px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.rs-slide > * { position: relative; }
.rs-brand { display: flex; align-items: center; gap: 10px; }
.rs-brand img { width: 30px; height: 30px; object-fit: contain; }
.rs-brand span { font-family: 'Gabriola', 'Poppins', var(--font); font-size: 21px; letter-spacing: 0.5px; color: #fff; }
.rs-slide-title { font-size: clamp(1.6rem, 2.2vw, 2.1rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin: 0; }
.is-featured .rs-slide-title { font-size: clamp(2.4rem, 4.4vw, 4rem); max-width: 860px; }
.rs-slide-title::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 20px; border-radius: 2px; background: linear-gradient(90deg, #7DD3C0, #4A90E2, #7657D5); }
.rs-slide-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.rs-slide-foot b { font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #fff; }
@media (hover: hover) {
    .rs-tile:hover .rs-slide { opacity: 1; transform: none; }
    .rs-tile:hover .rs-face { opacity: 0; transform: scale(0.98); }
}
/* keyboard users get the same slide */
.rs-tile:focus-visible .rs-slide { opacity: 1; transform: none; }
.rs-tile:focus-visible .rs-face { opacity: 0; }
.rs-tile:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 3px; }
.rs-tile.is-soon { cursor: default; }
@media (prefers-reduced-motion: reduce) {
    .rs-slide, .rs-face { transition: opacity 0.2s ease; transform: none !important; }
}

/* ============================================================
   RESEARCH ARTICLE (research-*.html)
   ============================================================ */
.ar-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, #7DD3C0, #4A90E2, #7657D5); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.lg-hero.ar-hero { background: #fff; padding-bottom: 44px; }
.ar-cat { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-l); margin-bottom: 18px; }
.ar-title { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 20px; max-width: 960px; }
.ar-lead { font-size: 1.15rem; line-height: 1.7; color: var(--muted); max-width: 740px; margin: 0 0 32px; }
.ar-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-top: 22px; border-top: 0.5px solid var(--hair); font-size: 14px; color: var(--soft); }
.ar-author { display: flex; align-items: center; gap: 12px; }
.ar-author-ic { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #0a0f1e; }
.ar-author-ic img { width: 22px; height: 22px; object-fit: contain; }
.ar-author b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.ar-share { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ar-share a, .ar-share button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; min-width: 38px; padding: 0 12px; border-radius: 999px; border: 0; background: #f1f4f9; color: #667085; font-family: var(--font); font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.ar-share a:hover, .ar-share button:hover, .ar-share a:focus-visible, .ar-share button:focus-visible { background: var(--ink); color: #fff; }
.ar-share a:focus-visible, .ar-share button:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 2px; }

/* slide-style cover, echoing the hub tiles */
.ar-cover {
    position: relative; overflow: hidden; margin: 0 var(--pg-pad);
    aspect-ratio: 16 / 6.5; border-radius: 26px; padding: 48px 56px;
    display: flex; flex-direction: column; justify-content: space-between; color: #fff;
    background:
        radial-gradient(700px 480px at 10% 8%, rgba(66,133,244,0.40), transparent 65%),
        radial-gradient(760px 520px at 94% 96%, rgba(118,87,213,0.44), transparent 65%),
        radial-gradient(520px 380px at 80% 8%, rgba(125,211,192,0.18), transparent 65%),
        #070a16;
}
.ar-cover::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1.6px); background-size: 16px 16px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.ar-cover > * { position: relative; }
.ar-cover .rs-brand img { width: 38px; height: 38px; }
.ar-cover .rs-brand span { font-size: 26px; }
.ar-cover-title { font-size: clamp(2.4rem, 5vw, 4.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; margin: 0; max-width: 900px; }
.ar-cover-title::after { content: ""; display: block; width: 72px; height: 3px; margin-top: 24px; border-radius: 2px; background: linear-gradient(90deg, #7DD3C0, #4A90E2, #7657D5); }
.ar-cover .rs-slide-foot { font-size: 12px; }

/* reading column with sticky contents list (reuses .lg-toc) */
.ar-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 88px; padding: 72px var(--pg-pad) 90px; align-items: start; }
.ar-body p { font-size: 17px; line-height: 1.85; color: #2c3341; margin: 0 0 20px; }
.ar-body h2 { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink); margin: 52px 0 16px; }
.ar-body h3 { font-size: 1.2rem; font-weight: 600; color: var(--ink); margin: 30px 0 10px; }
.ar-body ul, .ar-body ol { margin: 0 0 22px; padding-left: 22px; }
.ar-body li { font-size: 17px; line-height: 1.8; color: #2c3341; margin-bottom: 8px; }
.ar-body strong { font-weight: 600; color: var(--ink); }
.ar-body a { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ar-body a:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 2px; border-radius: 3px; }
.ar-takeaways { background: #f6f8fc; border-radius: 18px; padding: 28px 32px; margin: 0 0 44px; }
.ar-takeaways-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-l); margin-bottom: 12px; }
.ar-takeaways ul { margin: 0; padding-left: 18px; }
.ar-takeaways li { font-size: 15.5px; line-height: 1.7; margin-bottom: 6px; }
.ar-quote { margin: 44px 0; padding: 4px 0 4px 28px; border-left: 3px solid #4A90E2; }
.ar-quote p { font-size: 1.55rem; font-weight: 400; line-height: 1.45; letter-spacing: -0.015em; color: var(--ink); margin: 0; }
.ar-note { background: rgba(74,144,226,0.08); border-radius: 14px; padding: 20px 24px; margin: 0 0 24px; }
.ar-note p { font-size: 15.5px; line-height: 1.7; margin: 0; }
/* four building blocks as small tiles inside the article */
.ar-blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 8px 0 26px; }
.ar-block { background: #f6f8fc; border-radius: 16px; padding: 22px 24px; }
.ar-block b { display: block; font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.ar-block span { display: block; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.ar-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 52px; padding-top: 28px; border-top: 0.5px solid var(--hair); }
.ar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ar-tags span { font-size: 13px; font-weight: 500; color: var(--ink); padding: 7px 13px; border-radius: 999px; background: #f1f4f9; }

@media (max-width: 1200px) {
    .rs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
    .ar-layout { grid-template-columns: 1fr; gap: 36px; }
    .ar-cover { aspect-ratio: auto; min-height: 340px; padding: 36px; }
}
@media (max-width: 640px) {
    .rs-grid { grid-template-columns: 1fr; }
    .rs-bar { padding-top: 40px; }
    .is-featured .rs-face, .is-featured .rs-slide { padding: 30px; }
    .ar-cover { margin: 0 16px; padding: 28px; min-height: 300px; border-radius: 20px; }
    .ar-body p, .ar-body li { font-size: 16px; }
    .ar-quote p { font-size: 1.3rem; }
    .ar-blocks { grid-template-columns: 1fr; }
    .ar-share { margin-left: 0; }
}
@media print {
    .ar-progress, .ar-share, .ar-cover { display: none !important; }
    .ar-layout { grid-template-columns: 1fr; padding: 0; }
}
