/* =========================================================
   DexterNow v3 - site styles (on top of Bootstrap 5.3)
   Layout concept: bright, light pages. Product mockups (journey,
   chatbot, dashboard) are styled like real software screens, with
   white panels and familiar analytics chart colours.
   ========================================================= */

:root {
  /* Brand */
  --bg: #F8F6F6;            /* soft cool grey section background */
  --surface: #FFFFFF;
  --ink: #1E1418;           /* headings */
  --text: #33424D;          /* body */
  --muted: #64737E;
  --line: #EAE4E6;
  --line-strong: #D9D0D3;
  --accent: #4E1026;        /* deep wine: signature colour, buttons, links */
  --accent-hover: #6D1A36;
  --accent-2: #C9A04A;      /* gold: secondary accent */
  --gold-soft: #F7EFDC;
  --accent-soft: #F6E9EC;

  /* Chart colours (familiar analytics palette) */
  --c-blue: #1A73E8;
  --c-orange: #F29900;
  --c-green: #1E8E3E;
  --c-purple: #8E44EC;
  --c-teal: #12A4B5;
  --c-red: #D93025;
  --good: #1E8E3E;
  --good-soft: #E6F4EA;
  --bad: #C5221F;

  /* Type */
  --font-display: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-lg: 16px;
  --r: 12px;
  --r-sm: 8px;
  --nav-h: 70px;
  --shadow-sm: 0 1px 2px rgba(20, 33, 43, .06), 0 2px 6px rgba(20, 33, 43, .05);
  --shadow: 0 2px 4px rgba(20, 33, 43, .04), 0 18px 40px -16px rgba(20, 33, 43, .18);

  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--text);
  --bs-body-bg: var(--surface);
  --bs-link-color-rgb: 78, 16, 38;
  --bs-link-hover-color-rgb: 109, 26, 54;
  --bs-border-color: var(--line);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--surface); -webkit-font-smoothing: antialiased; }
h1, h2, h3, .section-title { font-family: var(--font-display); color: var(--ink); letter-spacing: -0.02em; text-wrap: balance; }
.mono { font-family: var(--font-mono); font-size: .78rem; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2000; background: var(--accent); color: #fff; padding: .5rem 1rem; border-radius: var(--r-sm); }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s; }
.btn-lg { padding: .85rem 1.5rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1rem; }
.btn-accent { background: var(--accent); color: #fff; border: 1px solid var(--accent); box-shadow: 0 1px 2px rgba(78, 16, 38, .25); }
.btn-accent:hover, .btn-accent:focus-visible { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-accent:disabled { background: var(--accent); color: #fff; opacity: .7; }
.btn-accent .bi-arrow-right { transition: transform .15s; }
.btn-accent:hover .bi-arrow-right { transform: translateX(3px); }
.btn-outline-accent { border: 1px solid var(--accent); color: var(--accent); background: var(--surface); }
.btn-outline-accent:hover { background: var(--accent); color: #fff; }
.btn-plain { border: 1px solid var(--line-strong); color: var(--ink); background: var(--surface); }
.btn-plain:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Nav ---------- */
.site-nav { min-height: var(--nav-h); background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px) saturate(160%); -webkit-backdrop-filter: blur(12px) saturate(160%); transition: box-shadow .2s; }
.site-nav.scrolled, .site-nav.menu-open { box-shadow: 0 1px 0 var(--line); background: rgba(255, 255, 255, .97); }
.navbar-brand { display: flex; align-items: center; gap: .55rem; }
.brand-logo { border-radius: 8px; object-fit: contain; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.03em; }
.brand-word b { color: var(--accent); font-weight: 800; }
.brand-word sup { font-size: .5em; font-weight: 600; color: var(--muted); margin-left: 1px; }
.site-nav .nav-link { color: var(--text); font-weight: 500; font-size: .95rem; padding: .5rem .8rem !important; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--accent); }
.navbar-toggler { border: 0; color: var(--ink); font-size: 1.9rem; padding: 0; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) {
  .navbar-collapse { padding: .5rem 0 1.25rem; }
  .site-nav .nav-link { padding: .7rem 0 !important; border-bottom: 1px solid var(--line); }
  .navbar-nav .btn { margin-top: 1rem; width: 100%; }
}

/* ---------- Kicker ---------- */
.kicker { font-family: var(--font-mono); font-size: .76rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 1rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(700px 420px at 85% 15%, rgba(78, 16, 38, .07), transparent 65%), radial-gradient(600px 380px at 10% 100%, rgba(201, 160, 74, .10), transparent 60%), var(--surface); padding: calc(var(--nav-h) + 4rem) 0 5rem; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(20, 33, 43, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 33, 43, .045) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 75% 40%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse at 75% 40%, #000 15%, transparent 70%); pointer-events: none; }
.hero-title { font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 3.7rem); line-height: 1.05; margin-bottom: 1.4rem; }
.hero-title .hl { color: var(--accent); }
.hero-lead { font-size: 1.2rem; line-height: 1.6; max-width: 34rem; color: var(--text); }
.hero-proof { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .95rem; color: var(--muted); }
.hero-proof i { color: var(--accent); margin-right: .3rem; }

/* Journey card: styled like an analytics "user explorer" */
.trace { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem 1.4rem 1rem; box-shadow: var(--shadow); }
.trace-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--muted); margin-bottom: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.live { font-size: .75rem; font-weight: 600; color: var(--good); background: var(--good-soft); padding: .22rem .65rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.trace-list { list-style: none; padding: 0; margin: 0; position: relative; }
.trace-list::before { content: ""; position: absolute; left: calc(3.2rem + .9rem + 1.05rem - 1px); top: 1.3rem; bottom: 1.3rem; width: 2px; background: var(--line); }
.trace-list li { display: grid; grid-template-columns: 3.2rem 2.1rem 1fr; align-items: center; gap: .9rem; padding: .5rem 0; position: relative; }
.trace-list .t { color: var(--muted); text-align: right; font-size: .75rem; }
.trace-list .ico { width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; font-size: .95rem; position: relative; z-index: 1; border: 2px solid var(--surface); }
.trace-list li:nth-child(1) .ico { background: #F3E8FD; color: var(--c-purple); }
.trace-list li:nth-child(2) .ico { background: #E8F0FE; color: var(--c-blue); }
.trace-list li:nth-child(3) .ico { background: #E0F6F8; color: var(--c-teal); }
.trace-list li:nth-child(4) .ico { background: #FEF3E0; color: #C77700; }
.trace-list li.win .ico { background: var(--good); color: #fff; }
.trace-list .ev { display: flex; flex-direction: column; min-width: 0; }
.trace-list strong { color: var(--ink); font-weight: 600; font-size: .97rem; line-height: 1.35; }
.trace-list small { color: var(--muted); font-size: .72rem; overflow-wrap: anywhere; }
.trace-list li.win strong { color: var(--good); }
.trace-note { color: var(--muted); margin: .8rem 0 0; font-size: .7rem; opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .js .trace-list li { animation: rise .5s ease both; }
  .js .trace-list li:nth-child(2) { animation-delay: .12s; }
  .js .trace-list li:nth-child(3) { animation-delay: .24s; }
  .js .trace-list li:nth-child(4) { animation-delay: .36s; }
  .js .trace-list li:nth-child(5) { animation-delay: .48s; }
}
@keyframes rise { from { opacity: .001; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* ---------- Platforms ---------- */
.platforms { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2rem 0; }
.platforms-label { text-align: center; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 1rem; }
.chip-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }
.chip-row li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .38rem .9rem; font-size: .88rem; font-weight: 500; color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: 6.5rem 0; }
.section-tint { background: var(--bg); }
.section-head { max-width: 44rem; margin-bottom: 3.25rem; }
.section-head-split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.section-title { font-weight: 800; font-size: clamp(2rem, 3.8vw, 2.9rem); line-height: 1.08; margin-bottom: 1.1rem; }
.section-lead { color: var(--muted); font-size: 1.12rem; max-width: 40rem; }
@media (max-width: 575.98px) { .section { padding: 4.5rem 0; } .section-head { margin-bottom: 2.25rem; } }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.ticks li { position: relative; padding-left: 1.5rem; font-size: .95rem; color: var(--text); }
.ticks li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .05rem; color: var(--accent); font-size: 1rem; }

/* ---------- Stages ---------- */
.stages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.stage { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.5rem 1.7rem; transition: border-color .2s, box-shadow .2s, transform .2s; }
.stage:hover { border-color: #B5DCD4; box-shadow: var(--shadow); transform: translateY(-3px); }
.stage:not(:last-child)::after { content: ""; position: absolute; top: 2.65rem; right: -1.25rem; width: 1.25rem; height: 2px; background: var(--line); }
.stage-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.stage-no { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }
.stage-ico { width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; }
.stage:nth-child(1) .stage-ico { background: #E8F0FE; color: var(--c-blue); }
.stage:nth-child(2) .stage-ico { background: #FEF3E0; color: #C77700; }
.stage:nth-child(3) .stage-ico { background: #F3E8FD; color: var(--c-purple); }
.stage:nth-child(4) .stage-ico { background: var(--good-soft); color: var(--good); }
.stage h3 { font-size: 1.55rem; font-weight: 800; margin-bottom: .45rem; }
.stage-sum { color: var(--muted); font-size: .97rem; margin-bottom: 1.2rem; min-height: 3.1em; }
@media (max-width: 991.98px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stage::after { display: none; } }
@media (max-width: 575.98px) { .stages { grid-template-columns: 1fr; } .stage-sum { min-height: 0; } }

.across { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; background: var(--gold-soft); border: 1px solid #EADBB6; color: var(--text); border-radius: var(--r-lg); padding: 1.2rem 1.5rem; }
.across p { margin: 0; flex: 1 1 22rem; min-width: 0; }
.across strong { color: var(--ink); }
.across-ico { width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 1.2rem; flex: none; }
.link-arrow { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow:hover { color: var(--accent-hover); }

/* ---------- Assistant ---------- */
.feature-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.3rem; }
.feature-list li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; }
.feature-list i { width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--accent); font-size: 1.15rem; }
.feature-list strong { display: block; color: var(--ink); font-weight: 600; }
.feature-list span { display: block; color: var(--muted); font-size: .95rem; }

.chat-demo { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.chat-window { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.chat-bar { display: flex; align-items: center; gap: .75rem; padding: .9rem 1.1rem; background: var(--accent); color: #fff; }
.chat-bar strong { display: block; color: #fff; font-size: .95rem; }
.chat-bar small { color: rgba(255,255,255,.85); font-size: .8rem; }
.chat-avatar { width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); color: #fff; }
.chat-body { padding: 1.1rem; display: flex; flex-direction: column; gap: .6rem; background: #F7F9FC; flex: 1; }
.msg { max-width: 85%; padding: .6rem .9rem; border-radius: 16px; font-size: .92rem; line-height: 1.45; }
.msg.bot { background: var(--surface); border: 1px solid var(--line); color: var(--text); border-bottom-left-radius: 4px; align-self: flex-start; box-shadow: var(--shadow-sm); }
.msg.user { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-data { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.chat-data-head { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; margin-bottom: 1rem; }
.chat-data dl { margin: 0; display: grid; gap: .8rem; }
.chat-data dl > div { display: grid; gap: .2rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.chat-data dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.chat-data dt { font-weight: 500; font-size: .75rem; color: var(--muted); }
.chat-data dd { margin: 0; color: var(--ink); font-size: .93rem; font-weight: 500; display: flex; align-items: center; gap: .6rem; }
.chat-data-note { margin: auto 0 0; padding-top: 1rem; color: var(--muted); font-size: .7rem; }
.pill { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.pill-accent { background: var(--accent-soft); color: var(--accent); }
.pill-good { background: var(--good-soft); color: var(--good); }
.score { flex: 1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; max-width: 7rem; }
.score span { display: block; height: 100%; background: var(--good); border-radius: 99px; }
.demo-note { color: var(--muted); font-size: .7rem; margin: .9rem 0 0; text-align: right; }
@media (max-width: 767.98px) { .chat-demo { grid-template-columns: 1fr; } }

/* ---------- Dashboard (styled like a real BI report) ---------- */
.dash { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.dash-chrome { display: flex; align-items: center; gap: .9rem; padding: .6rem 1rem; background: #EEF1F4; border-bottom: 1px solid var(--line); }
.dots { display: inline-flex; gap: .35rem; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.dots i:nth-child(2) { background: #FEBC2E; }
.dots i:nth-child(3) { background: #28C840; }
.dash-url { font-size: .78rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: .15rem .8rem; }
.dash-inner { padding: 1.25rem; background: #F7F9FB; }
.dash-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.dash-title strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.dash-title span { font-size: .82rem; color: var(--muted); }
.dash-filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.filter-chip { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 500; color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; padding: .3rem .7rem; }
.filter-chip .bi-chevron-down { font-size: .7rem; color: var(--muted); }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; margin-bottom: .9rem; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .15rem; border-top: 3px solid var(--accent); }
.kpi:nth-child(2) { border-top-color: var(--accent-2); }
.kpi:nth-child(3) { border-top-color: var(--c-purple); }
.kpi:nth-child(4) { border-top-color: var(--c-blue); }
.kpi-label { font-size: .82rem; color: var(--muted); font-weight: 500; }
.kpi-val { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 700; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; transition: color .4s; }
.kpi-val.mono { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.kpi-val.bump { color: var(--good); }
.delta { font-size: .8rem; font-weight: 600; }
.delta.up { color: var(--good); }
.delta.flat { color: var(--muted); }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: .9rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.15rem 1rem; min-width: 0; }
.panel-wide { grid-column: 1 / -1; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; color: var(--ink); font-weight: 600; font-size: .95rem; margin-bottom: .9rem; }
.panel-sub { font-size: .78rem; font-weight: 400; color: var(--muted); }
.legend { display: inline-flex; align-items: center; gap: .4rem; font-weight: 400; color: var(--muted); font-size: .8rem; }
.sw { display: inline-block; width: 12px; height: 3px; border-radius: 2px; margin-left: .5rem; }
.sw-a { background: var(--accent); } .sw-b { background: var(--accent-2); }
.chart { width: 100%; height: 230px; display: block; overflow: visible; }
.chart .grid line { stroke: #E8ECEF; stroke-width: 1; }
.chart .axis text { fill: var(--muted); font-family: var(--font-body); font-size: 11px; }
.chart .line-a { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .line-b { fill: none; stroke: var(--accent-2); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.chart .area-a { fill: url(#areaA); }
.chart .end { fill: var(--accent); stroke: #fff; stroke-width: 2.5; }
.chart .end-b { fill: var(--accent-2); stroke: #fff; stroke-width: 2.5; }
.chart .end-label { fill: var(--ink); font-family: var(--font-body); font-weight: 600; font-size: 11.5px; }

.bars { display: grid; gap: .8rem; }
.bar-row { display: grid; grid-template-columns: 5.6rem 1fr 3.2rem; align-items: center; gap: .7rem; font-size: .86rem; color: var(--text); }
.bar-track { height: 12px; background: #EEF1F4; border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; }
.bar-val { font-size: .84rem; font-weight: 600; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }

.funnel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; }
.f-step { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.f-bar { height: 70px; border-radius: 6px; background: #EEF1F4; display: flex; align-items: flex-end; margin-bottom: .35rem; overflow: hidden; }
.f-bar span { display: block; width: 100%; background: var(--accent); border-radius: 6px 6px 0 0; }
.f-step:nth-child(2) .f-bar span { background: #6D1A36; }
.f-step:nth-child(3) .f-bar span { background: #9A4A66; }
.f-step:nth-child(4) .f-bar span { background: #C996A8; }
.f-step:nth-child(5) .f-bar span { background: var(--accent-2); }
.f-label { font-size: .8rem; color: var(--muted); }
.f-num { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.f-rate { font-size: .74rem; color: var(--muted); }

@media (max-width: 991.98px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dash-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) {
  .dash-inner { padding: .8rem; }
  .funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; }
  .bar-row { grid-template-columns: 4.8rem 1fr 2.8rem; }
  .dash-url { display: none; }
}

/* ---------- Offers ---------- */
.offer { height: 100%; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.9rem 1.7rem; }
.offer h3 { font-size: 1.4rem; font-weight: 800; margin: 1rem 0 .55rem; }
.offer p { color: var(--muted); font-size: .97rem; }
.offer .ticks { margin: .4rem 0 1.6rem; }
.offer .btn { margin-top: auto; }
.offer-tag { align-self: flex-start; text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; color: var(--accent); background: var(--accent-soft); padding: .3rem .65rem; border-radius: 999px; }
.offer-featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.offer-featured .offer-tag { background: var(--accent); color: #fff; }

/* ---------- Case studies ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .45rem; }
.filter-btn { border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); padding: .42rem .95rem; border-radius: 999px; font-weight: 500; font-size: .88rem; transition: all .15s; }
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.case-card { height: 100%; width: 100%; display: flex; flex-direction: column; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; transition: border-color .2s, transform .2s, box-shadow .2s; }
.case-card:hover, .case-card:focus-visible { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.case-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 1.1rem; }
.stage-pill { display: inline-flex; align-items: center; text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; padding: .3rem .65rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.stage-pill[data-stage="build"] { background: #E8F0FE; color: var(--c-blue); }
.stage-pill[data-stage="track"] { background: #FEF3E0; color: #B26A00; }
.stage-pill[data-stage="understand"] { background: #F3E8FD; color: var(--c-purple); }
.stage-pill[data-stage="decide"] { background: var(--good-soft); color: var(--good); }
.case-industry { color: var(--muted); font-size: .82rem; }
.case-card h3 { font-size: 1.22rem; font-weight: 700; line-height: 1.25; margin-bottom: .55rem; }
.case-card p { color: var(--muted); font-size: .95rem; margin-bottom: 1.1rem; }
.case-stack { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; margin-bottom: 1.1rem; }
.case-stack span { font-family: var(--font-mono); font-size: .7rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); padding: .15rem .5rem; border-radius: 6px; }
.case-link { color: var(--accent); font-weight: 600; font-size: .94rem; display: inline-flex; align-items: center; gap: .35rem; }
.case-link i { transition: transform .2s; }
.case-card:hover .case-link i { transform: translateX(3px); }
.case-col.is-hidden { display: none; }
.case-modal { border: 0; border-radius: var(--r-lg); }
.case-modal .modal-header { padding: 1.6rem 1.75rem 1.2rem; align-items: flex-start; border-bottom: 1px solid var(--line); }
.case-modal .modal-title { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1.15; margin: .7rem 0 .3rem; }
.case-client { color: var(--muted); font-size: .92rem; }
.case-modal .modal-body { padding: 1.5rem 1.75rem; }
.case-block { margin-bottom: 1.4rem; }
.case-block h4 { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: .45rem; }
.case-block ul { padding-left: 1.1rem; margin: 0; }

.partners { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.partner-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem 3rem; }
.partner-row img { height: 38px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.partner-row img:hover { filter: none; opacity: 1; }

/* ---------- About ---------- */
.about-text { font-size: 1.15rem; color: var(--text); margin-bottom: 2rem; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.principles div { display: flex; flex-direction: column; gap: .3rem; padding-top: 1.2rem; border-top: 2px solid var(--line); }
.principles i { color: var(--accent); font-size: 1.3rem; }
.principles strong { color: var(--ink); font-weight: 600; }
.principles span { color: var(--muted); font-size: .93rem; }
@media (max-width: 767.98px) { .principles { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { --bs-accordion-bg: var(--surface); --bs-accordion-border-color: var(--line); --bs-accordion-border-radius: var(--r); --bs-accordion-inner-border-radius: var(--r); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(78, 16, 38, .2); --bs-accordion-active-bg: var(--surface); --bs-accordion-active-color: var(--ink); }
.faq .accordion-item { margin-bottom: .6rem; border: 1px solid var(--line); border-radius: var(--r) !important; overflow: hidden; }
.faq .accordion-button { font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; color: var(--ink); padding: 1.1rem 1.25rem; }
.faq .accordion-button:not(.collapsed) { box-shadow: none; }
.faq .accordion-body { color: var(--muted); padding: 0 1.25rem 1.25rem; }
.faq .accordion-header { font-size: inherit; letter-spacing: 0; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: .8rem; }
.contact-list li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .9rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.contact-list > li > i { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 1.1rem; }
.contact-list .label { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); }
.contact-list .value { display: block; color: var(--ink); font-weight: 500; line-height: 1.45; overflow-wrap: anywhere; }
.copy-btn { border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 8px; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; }
.copy-btn:hover { color: var(--accent); border-color: var(--accent); }
.copy-btn.copied { color: var(--good); border-color: var(--good); }
.socials { display: flex; gap: .55rem; }
.socials a { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); transition: all .15s; }
.socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--shadow); }
@media (max-width: 575.98px) { .contact-form { padding: 1.25rem; } }
.form-label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.form-label .req { color: var(--bad); }
.form-label .hint { font-weight: 400; color: var(--muted); font-size: .8rem; }
.form-control, .form-select { border-radius: 10px; padding: .72rem .9rem; border-color: var(--line-strong); background-color: var(--surface); color: var(--ink); }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(78, 16, 38, .15); }
.form-control::placeholder { color: #93A0A9; }
.form-fine { color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 10px; padding: .9rem 1.1rem; font-weight: 500; }
.form-status.ok { background: var(--good-soft); color: #136B2E; border: 1px solid #B7DFC3; }
.form-status.err { background: #FCE8E6; color: #A50E0E; border: 1px solid #F5C0BB; }

/* ---------- Footer ---------- */
.site-footer { background: #2A0814; color: #CDB9C0; padding: 4rem 0 2rem; }
.footer-logo { height: 34px; width: auto; display: block; }
.footer-tag { margin: 1rem 0 0; max-width: 22rem; font-size: .95rem; color: #CDB9C0; }
.footer-contact { font-size: .9rem; line-height: 1.7; color: #B79FA8; }
.footer-h { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-2); margin-bottom: .9rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-links a { color: #E6D9DE; text-decoration: none; font-size: .95rem; }
.footer-links a:hover { color: var(--accent-2); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #45172A; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .85rem; color: #A88C97; }

/* ---------- Reveal ---------- */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.js .reveal.pre { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) { .js .reveal.pre { opacity: 1; transform: none; } }

/* ---------- Brand logo ---------- */
.brand-logo-full { height: 34px; width: auto; display: block; }
.kicker { color: var(--accent-hover); }

/* ---------- Channels ---------- */
.channels-lead { max-width: 30rem; }
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.channel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; transition: border-color .2s, box-shadow .2s, transform .2s; }
.channel:hover { border-color: #D7BFC7; box-shadow: var(--shadow); transform: translateY(-3px); }
.channel h3 { font-size: 1.25rem; font-weight: 800; margin: .6rem 0 0; }
.channel p { color: var(--muted); font-size: .96rem; margin: 0 0 .5rem; }
.channel-ico { width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.15rem; }
.channel-all { background: var(--accent); border-color: var(--accent); }
.channel-all h3 { color: #fff; }
.channel-all p { color: #E6D3DA; }
.channel-all .channel-ico { background: rgba(201, 160, 74, .18); color: var(--accent-2); }
.channel-all .chip-mini li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.chip-mini { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chip-mini li { font-size: .78rem; font-weight: 500; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: .2rem .65rem; }
@media (max-width: 991.98px) { .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .channels { grid-template-columns: 1fr; } }

/* ---------- Offers: icon ---------- */
.offer-ico { width: 2.8rem; height: 2.8rem; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.25rem; margin-bottom: 1rem; }
.offer-featured .offer-ico { background: var(--accent); color: var(--accent-2); }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(600px 300px at 90% 0%, rgba(201, 160, 74, .22), transparent 60%), var(--accent); color: #F3E6EA; padding: 4rem 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-inner > div { flex: 1 1 28rem; min-width: 0; }
.cta-band h2 { color: #fff; font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 .6rem; }
.cta-band p { margin: 0; color: #E6D3DA; font-size: 1.08rem; max-width: 36rem; }
.btn-gold { background: var(--accent-2); color: #2A0814; border: 1px solid var(--accent-2); }
.btn-gold:hover, .btn-gold:focus-visible { background: #D9B566; border-color: #D9B566; color: #2A0814; }

/* ---------- More services ---------- */
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.more-item { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; padding: 1.6rem 1.5rem 1.6rem 0; border-bottom: 1px solid var(--line); }
.more-item i { width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: #8A6A22; font-size: 1.15rem; }
.more-item h3 { font-size: 1.1rem; font-weight: 700; margin: .15rem 0 .35rem; }
.more-item p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 991.98px) { .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .more-grid { grid-template-columns: 1fr; } .more-item { padding-right: 0; } }

/* ---------- Vision and mission ---------- */
.mv-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.mv { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.3rem; }
.mv-label { display: block; color: var(--accent-hover); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; margin-bottom: .4rem; }
.mv p { margin: 0; color: var(--text); font-size: .98rem; }
@media (max-width: 575.98px) { .mv-row { grid-template-columns: 1fr; } }

/* ---------- Who we help ---------- */
.who { height: 100%; display: flex; flex-direction: column; gap: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; }
.who h3 { font-size: 1.5rem; font-weight: 800; margin: .3rem 0 0; }
.who > p { color: var(--muted); margin: 0; }
.who .ticks { margin: .4rem 0 1rem; }
.who .btn { align-self: flex-start; margin-top: auto; }
.who-ico { width: 3rem; height: 3rem; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.35rem; }
.who-dark { background: var(--accent); border-color: var(--accent); }
.who-dark h3 { color: #fff; }
.who-dark > p { color: #E6D3DA; }
.who-dark .ticks li { color: #F3E6EA; }
.who-dark .ticks li::before { color: var(--accent-2); }
.who-dark .who-ico { background: rgba(201, 160, 74, .18); color: var(--accent-2); }
@media (max-width: 575.98px) { .who { padding: 1.4rem; } .who .btn { align-self: stretch; } }

/* ---------- Case study pop-up (detailed) ---------- */
.case-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem 1.5rem; margin: 0 0 1.6rem; padding: 1rem 1.2rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); }
.case-facts dt { font-family: var(--font-mono); font-weight: 400; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.case-facts dd { margin: .15rem 0 0; color: var(--ink); font-weight: 600; font-size: .92rem; }
.case-block p, .case-block li { color: var(--text); }
.case-block ul { padding-left: 1.1rem; margin: 0; display: grid; gap: .35rem; }
.case-phases { list-style: none; padding: 0; margin: 0; counter-reset: ph; display: grid; gap: .8rem; }
.case-phases li { counter-increment: ph; display: grid; grid-template-columns: 2rem 1fr; column-gap: .8rem; }
.case-phases li::before { content: counter(ph, decimal-leading-zero); grid-row: span 2; font-family: var(--font-mono); font-size: .78rem; color: var(--accent-2); background: var(--accent); border-radius: 8px; height: 2rem; display: grid; place-items: center; }
.case-phases strong { color: var(--ink); }
.case-phases span { color: var(--muted); font-size: .95rem; }
.case-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
.case-ticks { list-style: none; padding-left: 0 !important; }
.case-ticks li { position: relative; padding-left: 1.5rem; }
.case-ticks li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--accent); }
.case-results { background: var(--gold-soft); border: 1px solid #EADBB6; border-radius: var(--r); padding: 1.1rem 1.2rem; margin-bottom: 0; }
.case-results h4 { color: #8A6A22; }
@media (max-width: 575.98px) { .case-split { grid-template-columns: 1fr; } }

/* ---------- Dashboard: channel table + funnel rows ---------- */
.ch-wrap { overflow-x: auto; }
.ch-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.ch-table th { font-size: .74rem; font-weight: 600; color: var(--muted); text-align: left; padding: 0 .75rem .6rem; border-bottom: 1px solid var(--line); }
.ch-table td { padding: .75rem; border-bottom: 1px solid #F1ECEE; vertical-align: middle; color: var(--ink); }
.ch-table tr:last-child td { border-bottom: 0; }
.ch-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ch-table td:nth-child(3) { width: 38%; }
.ch-name { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.ch-name i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.ch-plat { display: block; font-size: .74rem; color: var(--muted); margin: .1rem 0 0 1.1rem; }
.ch-bar { display: inline-block; vertical-align: middle; width: calc(100% - 4.5rem); height: 10px; background: #EEF1F4; border-radius: 4px; overflow: hidden; }
.ch-bar span { display: block; height: 100%; border-radius: 4px; }
.ch-rev { display: inline-block; width: 4.2rem; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.ch-muted { color: var(--muted); font-weight: 400; }
.funnel-rows { display: grid; gap: .85rem; }
.fr { display: grid; grid-template-columns: 5.2rem 1fr 3.6rem 2.8rem; align-items: center; gap: .6rem; font-size: .85rem; }
.fr-label { color: var(--text); }
.fr-track { height: 12px; background: #EEF1F4; border-radius: 4px; overflow: hidden; }
.fr-track span { display: block; height: 100%; border-radius: 4px; }
.fr-num { text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.fr-rate { text-align: right; color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }

/* ---------- AI agents ---------- */
.agents-lead { max-width: 32rem; }
.layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 3.5rem; position: relative; }
.layer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; border-top: 3px solid var(--accent); border-top-left-radius: 0; border-top-right-radius: 0; }
.layer:nth-child(2) { border-top-color: var(--accent-hover); }
.layer:nth-child(3) { border-top-color: var(--accent-2); }
.layer-no { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; }
.layer h3 { font-size: 1.3rem; font-weight: 800; margin: .5rem 0 .5rem; display: flex; align-items: center; gap: .5rem; }
.layer h3 i { color: var(--accent); font-size: 1.1rem; }
.layer p { color: var(--muted); margin: 0; font-size: .96rem; }
.sub-title { font-size: 1.35rem; font-weight: 800; margin-bottom: .5rem; }
.agents-row .feature-list { margin-top: 1.25rem; }
@media (max-width: 767.98px) { .layers { grid-template-columns: 1fr; } }

.brief { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 1rem; }
.brief-head { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.brief-head strong { display: block; color: var(--ink); }
.brief-head small { color: var(--muted); font-size: .78rem; }
.brief-ico { width: 2.3rem; height: 2.3rem; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: var(--accent-2); flex: none; }
.brief-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.brief-kpis div { padding: .85rem 1.2rem; display: flex; flex-direction: column; gap: .1rem; }
.brief-kpis div + div { border-left: 1px solid var(--line); }
.brief-kpis span { font-size: .75rem; color: var(--muted); }
.brief-kpis strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.brief-kpis em { font-style: normal; font-size: .75rem; font-weight: 600; }
.brief-kpis em.up { color: var(--good); } .brief-kpis em.flat { color: var(--muted); }
.brief-body { padding: 1rem 1.2rem 1.2rem; font-size: .93rem; }
.brief-body p { margin: 0 0 .6rem; color: var(--text); }
.brief-body ul { margin: 0 0 .8rem; padding-left: 1.1rem; display: grid; gap: .3rem; color: var(--text); }
.brief-action { background: var(--gold-soft); border-radius: 8px; padding: .6rem .8rem; margin: 0 !important; color: #6E5418 !important; font-weight: 500; }
.brief-action i { margin-right: .3rem; }
@media (max-width: 575.98px) { .brief-kpis div { padding: .7rem .8rem; } .brief-kpis strong { font-size: 1.1rem; } }

/* ================= v3: marketing science positioning ================= */
/* Hero headline: two balanced lines */
.hero-title .hl { white-space: nowrap; }

/* Platform groups */
.plat-groups { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem 1.6rem; }
.plat-group { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.plat-k { font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: .25rem .5rem; }
.plat-group .chip-row { gap: .4rem; }
.plat-group .chip-row li { font-size: .84rem; padding: .32rem .8rem; }

/* Services: Grow / Run rows */
.svc-row-head { display: flex; align-items: baseline; gap: 1rem; margin: 0 0 1.1rem; }
.svc-row-head p { margin: 0; color: var(--muted); }
.svc-row-head strong { color: var(--ink); }
.svc-row-run { margin-top: 3rem; padding-top: 2.25rem; border-top: 1px solid var(--line); }
.svc-k { flex: none; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; background: var(--accent); border-radius: 6px; padding: .3rem .65rem; }
.svc-row-run .svc-k { background: var(--accent-2); color: var(--ink); }
.stage:hover { border-color: #D9B9C4; }
.run-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.run-card { display: flex; flex-direction: column; background: var(--gold-soft); border: 1px solid #EADBB6; border-radius: var(--r-lg); padding: 1.6rem 1.5rem; }
.run-card h3 { font-size: 1.3rem; font-weight: 800; margin: 1rem 0 .4rem; }
.run-card > p { color: var(--muted); font-size: .97rem; margin-bottom: 1.1rem; }
.run-card .ticks { margin-bottom: 1.4rem; }
.run-card .link-arrow { margin-top: auto; }
.run-ico { width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--accent-2); font-size: 1.2rem; }
@media (max-width: 991.98px) { .run-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .svc-row-head { flex-direction: column; gap: .5rem; } }

/* Agents: groups */
.agent-group { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin: 0 0 -.6rem; }
.agent-group ~ .agent-group { margin-top: 2rem; }
.agents-row .feature-list { margin-top: 1.4rem; gap: 1.05rem; }

/* Dashboard tabs */
.dash-chrome { flex-wrap: wrap; row-gap: .5rem; }
.dash-tabs { display: flex; gap: .3rem; flex-wrap: wrap; }
.dash-tab { border: 1px solid transparent; background: transparent; color: var(--muted); font-size: .8rem; font-weight: 600; padding: .3rem .8rem; border-radius: 7px; display: inline-flex; align-items: center; gap: .4rem; transition: background .15s, color .15s; }
.dash-tab:hover { color: var(--ink); background: rgba(255,255,255,.6); }
.dash-tab.active { background: var(--surface); color: var(--accent); border-color: var(--line); box-shadow: 0 1px 2px rgba(30,20,24,.06); }
.dash-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dash-pane { opacity: 0; transition: opacity .35s ease; }
.dash-pane.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .dash-pane { transition: none; opacity: 1; } }

/* Forecast on the line chart */
.sw-f { background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 7px); }
.chart .line-f { fill: none; stroke: var(--accent); stroke-width: 2.25; stroke-dasharray: 5 4; stroke-linecap: round; }
.chart .fc-band { fill: var(--accent); opacity: .09; }
.chart .fc-zone { fill: #F4EEF0; }
.chart .fc-cap { fill: var(--muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.chart .axis .fc-t { fill: #A78D96; }
.chart .end-f { fill: #fff; stroke: var(--accent); stroke-width: 2.25; }

/* Model shift column */
.shift { display: inline-flex; align-items: center; gap: .15rem; font-weight: 600; font-size: .82rem; padding: .15rem .5rem; border-radius: 999px; }
.shift.up { background: var(--good-soft); color: var(--good); }
.shift.down { background: #FCE8E6; color: var(--bad); }
.ch-table:not(.acct-table) td:nth-child(3) { width: 32%; }

/* Pipeline view */
.dash-grid-pipe { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.fr-pipe { grid-template-columns: 7.6rem 1fr 3.6rem 3.8rem; }
.acct-table { min-width: 560px; }
.acct-table td { padding: .6rem .75rem; }
.acct-table .ch-plat { margin-left: 0; }
.health { display: inline-block; font-size: .74rem; font-weight: 600; padding: .18rem .6rem; border-radius: 999px; white-space: nowrap; }
.health-good { background: var(--good-soft); color: var(--good); }
.health-watch { background: #FEF3E0; color: #B26A00; }
.health-risk { background: #FCE8E6; color: var(--bad); }
.acct-act { font-size: .84rem; color: var(--text); }
.acct-act i { color: var(--accent-2); margin-right: .4rem; }
@media (max-width: 991.98px) { .dash-grid-pipe { grid-template-columns: 1fr; } }

/* Industries band */
.industries { background: var(--accent); color: #fff; padding: 2.4rem 0; }
.ind-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; flex-wrap: wrap; }
.ind-k { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent-2); margin: 0 0 .35rem; }
.ind-lead { margin: 0; color: #F3E6EA; max-width: 34rem; }
.ind-chips { justify-content: flex-start; }
.ind-chips li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; padding: .45rem 1rem; }
.ind-chips i { color: var(--accent-2); margin-right: .3rem; }

/* Partner delivery line */
.partner-line { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.1rem; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: 1.05rem 1.4rem; }
.partner-line > i { font-size: 1.3rem; color: var(--accent); }
.partner-line p { margin: 0; flex: 1 1 20rem; min-width: 0; }
.partner-line strong { color: var(--ink); }

/* Case pills by practice */
.stage-pill[data-practice="marketing"] { background: var(--accent-soft); color: var(--accent); }
.stage-pill[data-practice="data"] { background: #F3E8FD; color: var(--c-purple); }
.stage-pill[data-practice="automation"] { background: #E8F0FE; color: var(--c-blue); }

/* About trust line */
.trust-line { display: flex; gap: .75rem; align-items: flex-start; margin: 1.75rem 0 0; padding: 1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent-2); border-radius: var(--r); color: var(--text); }
.trust-line i { color: var(--accent); font-size: 1.2rem; line-height: 1.2; }
.trust-line strong { color: var(--ink); }
.acct-table td:nth-child(3) { width: 1%; }
.acct-table td:first-child { width: 34%; }
.acct-table td:nth-child(2) { width: 1%; }
@media (max-width: 575.98px) {
  .dash-tab { font-size: .74rem; padding: .28rem .55rem; }
  .dash-chrome .dots { display: none; }
  .fr-pipe { grid-template-columns: 5.6rem 1fr 3.4rem; }
  .fr-pipe .fr-rate { display: none; }
}
a.value { text-decoration: none; } a.value:hover { color: var(--accent); }
