/* Signeal website - one stylesheet for every page.
   Layout concept: a calm, light "specification sheet" - left-aligned headlines, a real product window as the hero,
   facts set in tables and mono where an engineer would look for them. The Signeal gradient appears only in the logo
   and one thin signal rule; orange is for the action people take, blue for links and data, magenta for AI only. */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --sunken: #eef0f4;
  --ink: #0d1117;
  --ink-2: #454e5e;
  --muted: #747d8e;
  --line: #e1e4ea;
  --line-strong: #cdd2db;
  --brand: #f7891f;
  --brand-ink: #1c1206;
  --brand-hover: #ea7a0f;
  --blue: #0a6fe0;
  --blue-soft: rgba(10, 111, 224, 0.09);
  --magenta: #b5179e;
  --green: #138a4a;
  --green-soft: rgba(19, 138, 74, 0.1);
  --amber: #a86400;
  --amber-soft: rgba(214, 135, 0, 0.12);
  --red: #c8252c;
  --red-soft: rgba(200, 37, 44, 0.1);
  --grad: linear-gradient(100deg, #ff8a1f 0%, #ff3b3b 38%, #b5179e 68%, #0a7cf0 100%);
  --bg-2: #ffffff; --surface-2: #f3f5f8; --violet: #7c3aed;
  --shadow: 0 1px 2px rgba(13, 17, 23, 0.04), 0 12px 32px -12px rgba(13, 17, 23, 0.14);
  --shadow-lg: 0 2px 6px rgba(13, 17, 23, 0.05), 0 32px 80px -24px rgba(13, 17, 23, 0.28);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --r: 10px;
  --r-lg: 16px;
  --max: 1560px;
  --gutter: clamp(20px, 4.5vw, 88px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0e13; --surface: #12161e; --sunken: #0e1219; --ink: #e9ecf1; --ink-2: #aab2c0; --muted: #7d8697;
    --bg-2: #12161e; --surface-2: #171c26; --violet: #a78bfa;
    --line: #222935; --line-strong: #2e3644; --brand-hover: #ff9a3a; --blue: #5aa2ff; --blue-soft: rgba(90, 162, 255, 0.12);
    --magenta: #e05cc8; --green: #4cc982; --green-soft: rgba(76, 201, 130, 0.12); --amber: #f0b44c; --amber-soft: rgba(240, 180, 76, 0.13); --red: #ff6b6b; --red-soft: rgba(255, 107, 107, 0.12);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.35), 0 32px 80px -24px rgba(0, 0, 0, 0.75);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg-2: #12161e; --surface-2: #171c26; --violet: #a78bfa;
  --bg: #0b0e13; --surface: #12161e; --sunken: #0e1219; --ink: #e9ecf1; --ink-2: #aab2c0; --muted: #7d8697;
  --line: #222935; --line-strong: #2e3644; --brand-hover: #ff9a3a; --blue: #5aa2ff; --blue-soft: rgba(90, 162, 255, 0.12);
  --magenta: #e05cc8; --green: #4cc982; --green-soft: rgba(76, 201, 130, 0.12); --amber: #f0b44c; --amber-soft: rgba(240, 180, 76, 0.13); --red: #ff6b6b; --red-soft: rgba(255, 107, 107, 0.12);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.35), 0 32px 80px -24px rgba(0, 0, 0, 0.75);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
code, .mono { font-family: var(--mono); font-size: 0.88em; }
code { background: var(--sunken); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; }

.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* Type scale: 13 / 16 / 18 / 22 / 30 / 44 / 60 */
h1, h2, h3 { font-family: var(--display); font-weight: 650; letter-spacing: -0.02em; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: clamp(38px, 4.6vw, 76px); line-height: 1.06; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 2.9vw, 52px); line-height: 1.1; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.25vw, 22px); color: var(--ink-2); max-width: 62ch; line-height: 1.55; }
.eyebrow { font: 600 12.5px/1 var(--body); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }

/* Header ------------------------------------------------------------------------------------------------------------ */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 700 21px/1 var(--display); letter-spacing: -0.03em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { color: var(--ink-2); font-size: 15px; font-weight: 520; padding: 8px 12px; border-radius: 8px; position: relative; }
.nav-links a:hover { color: var(--ink); background: var(--sunken); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); color: var(--ink); border-radius: 8px; padding: 8px 10px; font: inherit; cursor: pointer; }
.mobile-nav { display: none; }
/* seven tabs: the secondary header button goes first, then the tabs move into the menu */
@media (max-width: 1240px) { .nav-cta .btn-ghost { display: none; } }
@media (max-width: 1020px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-cta { margin-left: 0; }
  .mobile-nav.open { display: grid; gap: 2px; padding: 8px 0 18px; border-top: 1px solid var(--line); }
  .mobile-nav a { color: var(--ink); padding: 11px 4px; font-weight: 550; border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) { .nav-cta { display: none; } }

/* Buttons ------------------------------------------------------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--body); padding: 13px 20px; border-radius: 9px;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); border-color: var(--muted); }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Sections ----------------------------------------------------------------------------------------------------------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tight { padding-block: clamp(44px, 6vw, 72px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 920px; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Hero --------------------------------------------------------------------------------------------------------------- */
.hero { padding-block: clamp(48px, 7vw, 88px) clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 16%, transparent), transparent 62%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { font-size: 13.5px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note span::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 6px; }
.page-hero { padding-block: clamp(48px, 6vw, 80px) clamp(36px, 4vw, 56px); }
.page-hero .wrap { display: grid; gap: 18px; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* The product window (a real Workbench screen, drawn in HTML) ------------------------------------------------------------ */
.app { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; min-width: 0;
  font-size: 12.5px; position: relative; }
.app::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); }
.app-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--sunken); }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); display: block; }
.app-title { font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.app-title img { width: 16px; height: 16px; }
.app-tabs { margin-left: auto; display: flex; gap: 4px; }
.app-tabs span { padding: 4px 9px; border-radius: 6px; color: var(--muted); font-weight: 550; }
.app-tabs span.on { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.app-body { display: grid; grid-template-columns: 178px minmax(0, 1fr); min-height: 360px; }
.app-side { border-right: 1px solid var(--line); padding: 12px 10px; display: grid; align-content: start; gap: 2px; background: var(--surface); }
.app-side .h { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 650; padding: 4px 6px 6px; }
.app-side .t { display: flex; align-items: center; gap: 7px; padding: 4px 6px; border-radius: 6px; color: var(--ink-2); font-family: var(--mono); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-side .t.on { background: var(--blue-soft); color: var(--ink); }
.app-side .t::before { content: ""; width: 9px; height: 9px; border: 1.5px solid currentColor; border-radius: 2px; opacity: .55; flex: none; }
.app-main { display: grid; grid-template-rows: auto auto 1fr; min-width: 0; }
.sql { font-family: var(--mono); font-size: 12px; line-height: 1.75; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: pre; overflow: hidden; color: var(--ink); }
.sql .k { color: var(--blue); font-weight: 600; } .sql .f { color: var(--magenta); } .sql .s { color: var(--green); } .sql .n { color: var(--amber); } .sql .ln { color: var(--muted); user-select: none; display: inline-block; width: 18px; }
.caret { display: inline-block; width: 7px; height: 14px; background: var(--brand); vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.app-bar { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11.5px; }
.app-bar .run { background: var(--brand); color: var(--brand-ink); font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.app-bar .ok { color: var(--green); font-weight: 600; }
.app-res { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-width: 0; }
.res-wrap { min-width: 0; overflow-x: auto; }
.grid-t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.grid-t th, .grid-t td { padding: 6px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.grid-t th { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 650; background: var(--sunken); }
.grid-t td.num { text-align: right; font-family: var(--mono); font-size: 11.5px; }
.grid-t th.num { text-align: right; }
.app-chart { border-left: 1px solid var(--line); padding: 12px 14px; display: grid; align-content: start; gap: 8px; min-width: 0; }
.app-chart .ct { font-weight: 600; color: var(--ink-2); }
.bars { display: grid; gap: 7px; }
.bar { display: grid; grid-template-columns: 54px minmax(0, 1fr) 40px; gap: 8px; align-items: center; font-size: 11px; color: var(--ink-2); }
.bar b { display: block; height: 12px; border-radius: 0 4px 4px 0; background: var(--blue); transform-origin: left; animation: grow 1.2s cubic-bezier(.2,.8,.2,1) both; }
.bar:nth-child(2) b { animation-delay: .08s; } .bar:nth-child(3) b { animation-delay: .16s; } .bar:nth-child(4) b { animation-delay: .24s; } .bar:nth-child(5) b { animation-delay: .32s; }
.bar span:last-child { text-align: right; font-family: var(--mono); }
@keyframes grow { from { transform: scaleX(0.04); } }
@media (max-width: 640px) { .app-body { grid-template-columns: minmax(0, 1fr); } .app-side { display: none; } .app-res { grid-template-columns: minmax(0, 1fr); } .app-chart { border-left: 0; border-top: 1px solid var(--line); } .app-tabs span:not(.on) { display: none; } }

/* Cards, grids --------------------------------------------------------------------------------------------------------- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.card p { color: var(--ink-2); font-size: 15px; }
.card .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--sunken); color: var(--ink); border: 1px solid var(--line); }
.card .ic svg { width: 20px; height: 20px; }
.card .ic.ai { color: var(--magenta); }
.card .ic.run { color: var(--brand); }
.card .ic.data { color: var(--blue); }
.card ul { margin: 4px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14.5px; display: grid; gap: 4px; }
a.card { color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
a.card:hover { text-decoration: none; border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.card .more { color: var(--blue); font-weight: 600; font-size: 14px; margin-top: 4px; }

.tag { display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px/1 var(--body); padding: 5px 9px; border-radius: 999px; background: var(--sunken); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.tag.ga { background: var(--green-soft); color: var(--green); border-color: transparent; }
.tag.preview { background: var(--blue-soft); color: var(--blue); border-color: transparent; }
.tag.soon { color: var(--muted); }
.tag.bad { background: var(--red-soft); color: var(--red); border-color: transparent; }
.tag.ai { color: var(--magenta); }

/* Product family ---------------------------------------------------------------------------------------------------- */
.family { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.family > div { padding: 22px 20px; display: grid; gap: 8px; align-content: start; border-right: 1px solid var(--line); min-width: 0; }
.family > div:last-child { border-right: 0; }
.family .where { font: 600 11px/1.3 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.family h3 { font-size: 18px; }
.family p { color: var(--ink-2); font-size: 14px; }
@media (max-width: 980px) { .family { grid-template-columns: repeat(2, minmax(0, 1fr)); } .family > div { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .family { grid-template-columns: minmax(0, 1fr); } .family > div { border-right: 0; } }

/* Steps (a real sequence) ------------------------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps > div { padding: 22px 22px 0 0; display: grid; gap: 8px; align-content: start; counter-increment: s; min-width: 0; }
.steps > div::before { content: counter(s, decimal-leading-zero); font: 600 13px/1 var(--mono); color: var(--brand); padding-top: 4px; }
.steps p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Split feature rows -------------------------------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.split.flip > :first-child { order: 2; }
.split .copy { display: grid; gap: 16px; min-width: 0; }
.checks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; color: var(--ink-2); }
.checks li::before { content: ""; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--green-soft); box-shadow: inset 0 0 0 5px var(--green-soft), inset 0 0 0 16px var(--green); transform: scale(.62); }
.checks b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .split, .split.flip { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } }

/* Mini panels used beside feature copy --------------------------------------------------------------------------------- */
.panel { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow); padding: 18px; display: grid; gap: 12px; min-width: 0; font-size: 13.5px; }
.panel .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); }
.panel .row b { font-weight: 600; }
.panel .lbl { font: 600 10.5px/1 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.flow .node { padding: 7px 11px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; font-size: 13px; }
.flow .arrow-r { color: var(--muted); }

/* Fact tables ------------------------------------------------------------------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
table.facts { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
table.facts th, table.facts td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.facts tr:last-child td { border-bottom: 0; }
table.facts thead th { font: 650 12px/1.2 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--sunken); }
table.facts tbody th { font-weight: 600; color: var(--ink); width: 22%; }
table.facts td { color: var(--ink-2); }
table.facts td.yes { color: var(--green); font-weight: 600; }
table.facts td.no { color: var(--muted); }

dl.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 22px; margin: 0; font-size: 14.5px; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }

/* In-page tab bar ------------------------------------------------------------------------------------------------------ */
.subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 68px); z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { color: var(--ink-2); font-size: 14px; font-weight: 550; padding: 13px 12px; white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--ink); text-decoration: none; }
.subnav a.on { color: var(--ink); border-bottom-color: var(--brand); }

/* Product sections ----------------------------------------------------------------------------------------------------- */
.feature { padding-block: clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.feature:last-of-type { border-bottom: 0; }
.feature .split { align-items: start; }
.who { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.example { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 0 var(--r) var(--r) 0; padding: 14px 16px; color: var(--ink-2); font-size: 14.5px; }
.example b { color: var(--ink); }

/* Architecture diagram ------------------------------------------------------------------------------------------------- */
.arch { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(14px, 3vw, 28px); overflow-x: auto; }
.arch svg { width: 100%; min-width: 760px; height: auto; display: block; }
.arch .box { fill: var(--bg); stroke: var(--line-strong); }
.arch .box.hl { fill: var(--surface); stroke: var(--brand); }
.arch .zone { fill: none; stroke: var(--line-strong); stroke-dasharray: 5 5; }
.arch text { fill: var(--ink); font-family: var(--body); font-size: 13px; }
.arch .t-b { font-weight: 650; font-size: 14px; }
.arch .t-s { fill: var(--muted); font-size: 11.5px; }
.arch .t-m { fill: var(--ink-2); font-family: var(--mono); font-size: 11px; }
.arch .t-z { fill: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .1em; }
.arch .ln { stroke: var(--ink-2); stroke-width: 1.5; fill: none; }
.arch .ln.out { stroke: var(--green); }
.arch .ln.db { stroke: var(--blue); }
.arch .ah { fill: var(--ink-2); } .arch .ah.out { fill: var(--green); } .arch .ah.db { fill: var(--blue); }

/* Checklist ------------------------------------------------------------------------------------------------------------- */
.checklist { display: grid; gap: 22px; }
.cl-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cl-group h3 { font-size: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--sunken); display: flex; justify-content: space-between; gap: 10px; }
.cl-group h3 small { font: 500 13px var(--body); color: var(--muted); }
.cl-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); cursor: pointer; }
.cl-item:last-child { border-bottom: 0; }
.cl-item input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); cursor: pointer; }
.cl-item b { display: block; font-weight: 600; color: var(--ink); }
.cl-item span { color: var(--ink-2); font-size: 14.5px; }
.cl-item span a { font-weight: 550; }
.progress { height: 6px; border-radius: 6px; background: var(--sunken); border: 1px solid var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .3s; }
.cl-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cl-bar .progress { flex: 1; min-width: 160px; }

/* FAQ --------------------------------------------------------------------------------------------------------------------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 16px; color: var(--ink-2); max-width: 72ch; }

/* Pricing ----------------------------------------------------------------------------------------------------------------- */
.switches { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--sunken); border: 1px solid var(--line); }
.seg button { font: 600 14px var(--body); border: 0; background: none; color: var(--ink-2); padding: 8px 14px; border-radius: 8px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0,0,0,.06); }
.seg .save { color: var(--green); font-weight: 600; margin-left: 4px; font-size: 12px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; position: relative; min-width: 0; }
.plan.pop { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.plan .badge { position: absolute; top: -11px; left: 24px; background: var(--brand); color: var(--brand-ink); font: 700 11.5px/1 var(--body); padding: 6px 10px; border-radius: 999px; }
.plan .price { font: 650 40px/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan .per { color: var(--muted); font-size: 13.5px; }
.plan .seats { font-size: 14px; color: var(--ink); background: var(--sunken); border-radius: 8px; padding: 9px 11px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); flex: 1; }
.plan ul li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; }
.plan ul li::before { content: "✓"; color: var(--green); font-weight: 800; }
.plan .btn { width: 100%; }

/* Connectors -------------------------------------------------------------------------------------------------------------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: 600 13.5px var(--body); padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.conn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.conn { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; }
.conn .mono-ic { width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; background: var(--sunken); border: 1px solid var(--line); font: 700 12px var(--mono); color: var(--ink-2); }
.conn b { display: block; font-weight: 600; font-size: 15px; }
.conn small { color: var(--muted); font-size: 12.5px; display: block; margin: 1px 0 6px; }

/* CTA band ---------------------------------------------------------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; border-radius: 22px; background: var(--ink); color: var(--bg); padding: clamp(36px, 6vw, 64px); display: grid; gap: 18px; }
.cta::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(247, 137, 31, .35), transparent 60%); }
.cta::after { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); }
.cta h2 { color: var(--bg); max-width: 20ch; position: relative; }
.cta p { color: color-mix(in srgb, var(--bg) 72%, transparent); max-width: 58ch; position: relative; font-size: 17px; }
.cta .hero-actions { position: relative; }
.cta .btn-ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.cta .btn-ghost:hover { background: color-mix(in srgb, var(--bg) 10%, transparent); }

/* Notes & callouts ------------------------------------------------------------------------------------------------------- */
.note { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 14px 16px; border-radius: var(--r); background: var(--blue-soft); color: var(--ink-2); font-size: 14.5px; }
.note::before { content: "i"; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: var(--surface); font: 700 12px/20px var(--display); text-align: center; }
.note.warn { background: var(--amber-soft); } .note.warn::before { content: "!"; background: var(--amber); }
.honest { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: 22px 24px; display: grid; gap: 10px; }

/* Footer ----------------------------------------------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 36px; margin-top: clamp(48px, 7vw, 96px); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-grid h4 { margin: 0 0 10px; font: 650 12px/1 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.foot-grid a { color: var(--ink-2); }
.foot-base { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.copy-mail { display: inline-flex; gap: 8px; align-items: center; }
.copy-mail button { font: 600 12px var(--body); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); border-radius: 6px; padding: 3px 8px; cursor: pointer; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Reveal on scroll (visible at rest; only nudged in) ----------------------------------------------------------------------- */
.rise { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(10px); opacity: .001; } }

/* Real screenshots ------------------------------------------------------------------------------------------------------- */
.shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); background: var(--surface); position: relative; min-width: 0; }
.shot::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); z-index: 1; }
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption { font-size: 13px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); background: var(--surface); }
.shot.tall img { max-height: 640px; object-fit: cover; object-position: top left; }
.shot.narrow { max-width: 520px; justify-self: center; }

/* Apple-style scrolling: things rise into place, the hero flattens, words light up, a pinned story ------------------------ */
html.js .reveal { opacity: 0; transform: translateY(56px) scale(.985); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1.2s cubic-bezier(.2, .7, .2, 1); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal.d1 { transition-delay: .1s; } html.js .reveal.d2 { transition-delay: .2s; } html.js .reveal.d3 { transition-delay: .3s; }

.hero-center { text-align: center; display: grid; justify-items: center; gap: 22px; padding-block: clamp(56px, 8vw, 104px) 0; position: relative; }
.hero-center h1 { font-size: clamp(42px, 6.4vw, 112px); line-height: 1.02; max-width: 15ch; }
.hero-center .lead { margin-inline: auto; text-align: center; }
.hero-center .hero-note { justify-content: center; }
.hero-stage { max-width: calc(1800px + 2 * var(--gutter)); perspective: 1800px; margin-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero-stage .shot { transform-origin: 50% 0; transform: rotateX(calc((1 - var(--p, 1)) * 24deg)) scale(calc(.86 + var(--p, 1) * .14)); will-change: transform; }

.statement-wrap { padding-block: clamp(96px, 14vw, 180px); }
.statement { font: 650 clamp(32px, 4.6vw, 84px)/1.08 var(--display); letter-spacing: -0.03em; max-width: 20ch; margin: 0; color: var(--ink); text-wrap: balance; }
html.js .statement .w { opacity: .16; transition: opacity .35s ease; }
html.js .statement .w.lit { opacity: 1; }
.statement .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.story-inner { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.5fr); gap: clamp(28px, 4vw, 56px); }
.story-steps > div { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; transition: opacity .5s; }
html.js .story-steps > div { opacity: .25; }
html.js .story-steps > div.on { opacity: 1; }
.story-steps .num { font: 600 13px/1 var(--mono); color: var(--brand); }
.story-steps p { color: var(--ink-2); font-size: 17px; max-width: 42ch; }
.story-stage { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 68px + 7vh); height: 74vh; display: grid; align-items: center; }
.story-stage .shot { grid-area: 1 / 1; opacity: 0; transform: translateY(24px) scale(.965); transition: opacity .7s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.story-stage .shot.on { opacity: 1; transform: none; }
.m-shot { display: none; }
@media (max-width: 900px) {
  .story-inner { grid-template-columns: minmax(0, 1fr); }
  .story-stage { display: none; }
  .story-steps > div { min-height: 0; padding-block: 28px; }
  html.js .story-steps > div { opacity: 1; }
  .m-shot { display: block; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
  .hero-stage .shot { transform: none; }
  html.js .statement .w { opacity: 1; }
}

/* Pricing calculator ---------------------------------------------------------------------------------------------------- */
.calc { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.calc-inputs { padding: clamp(22px, 3vw, 36px); display: grid; gap: 26px; align-content: start; border-right: 1px solid var(--line); }
.calc-out { padding: clamp(22px, 3vw, 36px); display: grid; gap: 22px; align-content: start; background: var(--bg); }
.calc-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.calc-label label { font: 650 17px var(--display); }
.calc-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; align-items: center; }
.calc-row input[type=number] { font: 600 17px var(--body); font-variant-numeric: tabular-nums; padding: 9px 10px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); width: 100%; }
.calc input[type=range] { width: 100%; accent-color: var(--brand); height: 28px; }
.calc-ticks { display: grid; grid-template-columns: repeat(10, 1fr); font: 500 11px var(--mono); color: var(--muted); margin-right: 110px; }
.calc-ticks span { text-align: center; }
.calc-ticks span:first-child { text-align: left; } .calc-ticks span:last-child { text-align: right; }
.calc-presets { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.calc-bars { display: grid; gap: 16px; }
.cbar-h { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; margin-bottom: 7px; }
.cbar-h span { font: 650 15px var(--body); font-variant-numeric: tabular-nums; }
.cbar-t { height: 16px; border-radius: 999px; background: var(--sunken); border: 1px solid var(--line); overflow: hidden; }
.cbar-t i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--line-strong); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.cbar.s .cbar-t i { background: var(--grad); }
.cbar.s .cbar-h b { color: var(--ink); }
.calc-result { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 6px; }
.calc-result h3 { font-size: clamp(22px, 2vw, 30px); }
.calc-result h3 .amt { color: var(--brand); }
.calc-result a { cursor: pointer; }
.calc-years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.calc-years > div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.calc-years b { font: 650 18px var(--display); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); } .calc-inputs { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .calc-ticks { display: none; } .calc-years { grid-template-columns: minmax(0, 1fr); } }

/* Personas ------------------------------------------------------------------------------------------------------------- */
.p-picker { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.p-pick { position: relative; overflow: hidden; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; text-align: left;
  padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s; }
.p-pick:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.p-pick b { display: block; font: 650 15px var(--display); }
.p-pick small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.p-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--sunken); color: var(--ink-2); border: 1px solid var(--line); transition: background .3s, color .3s; }
.p-ic svg { width: 21px; height: 21px; }
.p-pick[aria-selected="true"] { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.p-pick[aria-selected="true"] .p-ic { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.p-prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--grad); }
.p-pick.timing .p-prog { animation: pprog var(--p-dur, 9s) linear forwards; }
@keyframes pprog { to { width: 100%; } }
@media (max-width: 1100px) { .p-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .p-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); } .p-pick small { display: none; } }

.p-products { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.p-prod { font: 600 13.5px var(--body); padding: 8px 14px; border-radius: 999px; border: 1px dashed var(--line-strong); color: var(--muted); background: transparent;
  transition: all .45s cubic-bezier(.2, .8, .2, 1); }
.p-prod.lit { border-style: solid; border-color: transparent; color: var(--brand-ink); background: var(--brand); box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--brand) 70%, transparent); transform: translateY(-2px); }

.p-panel { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(22px, 3vw, 40px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; min-height: 520px; }
.p-panel.enter .p-copy > * { animation: pin .6s cubic-bezier(.2, .8, .2, 1) both; }
.p-panel.enter .p-copy > :nth-child(2) { animation-delay: .06s; } .p-panel.enter .p-copy > :nth-child(3) { animation-delay: .12s; }
.p-panel.enter .p-copy > :nth-child(5) { animation-delay: .7s; }
.p-panel.enter .p-steps li { animation: pin .55s cubic-bezier(.2, .8, .2, 1) both; }
.p-panel.enter .p-steps li:nth-child(1) { animation-delay: .2s; } .p-panel.enter .p-steps li:nth-child(2) { animation-delay: .32s; }
.p-panel.enter .p-steps li:nth-child(3) { animation-delay: .44s; } .p-panel.enter .p-steps li:nth-child(4) { animation-delay: .56s; }
.p-panel.enter .p-shots { animation: pshot .8s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes pin { from { opacity: 0; transform: translateY(14px); } }
@keyframes pshot { from { opacity: 0; transform: translateX(30px) scale(.97); } }
.p-copy { display: grid; gap: 16px; min-width: 0; }
.p-before { color: var(--ink-2); font-size: 15.5px; padding: 10px 14px; border-radius: 10px; background: var(--sunken); }
.p-steps { list-style: none; counter-reset: ps; margin: 0; padding: 0; display: grid; gap: 12px; }
.p-steps li { counter-increment: ps; position: relative; padding-left: 42px; min-height: 28px; color: var(--ink-2); font-size: 15.5px; }
.p-steps li::before { content: counter(ps); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--mono);
  background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }
.p-steps b { color: var(--ink); }
.p-note { font-size: 14px; color: var(--green); font-weight: 600; }
.p-shots { display: grid; min-width: 0; }
.p-shots .shot { grid-area: 1 / 1; opacity: 0; transform: scale(.98); transition: opacity .8s ease, transform 1s ease; }
.p-shots .shot.on { opacity: 1; transform: none; }
@media (max-width: 900px) { .p-panel { grid-template-columns: minmax(0, 1fr); min-height: 0; } }

/* Interactive architecture ---------------------------------------------------------------------------------------------- */
.arch2 { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.arch2-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--bg); }
.arch2-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.arch2-canvas { overflow-x: auto; padding: 14px; min-width: 0; background:
  radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 0) 0 0 / 22px 22px; }
.arch2-canvas svg { width: 100%; min-width: 900px; height: auto; display: block; }
.arch2-panel { border-left: 1px solid var(--line); padding: 22px; display: grid; gap: 8px; align-content: start; background: var(--surface); }
.arch2-panel h3 { font-size: 21px; }
.arch2-panel ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 8px; color: var(--ink-2); font-size: 14.5px; }
.arch2-panel.flash { animation: pin .45s cubic-bezier(.2, .8, .2, 1); }
@media (max-width: 1000px) { .arch2-body { grid-template-columns: minmax(0, 1fr); } .arch2-panel { border-left: 0; border-top: 1px solid var(--line); } }

.arch2 .az { fill: none; stroke: var(--line-strong); stroke-dasharray: 6 6; }
.arch2 .az.inner { fill: color-mix(in srgb, var(--brand) 5%, var(--surface)); stroke: color-mix(in srgb, var(--brand) 55%, transparent); stroke-dasharray: none; stroke-width: 1.5; }
.arch2 .azt { fill: var(--muted); font: 700 11px var(--body); letter-spacing: .1em; }
.arch2 .an { cursor: pointer; transition: opacity .35s; }
.arch2 .an-box { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1.2; transition: stroke .25s, fill .25s; }
.arch2 .an:hover .an-box, .arch2 .an:focus .an-box { stroke: var(--blue); }
.arch2 .an:focus { outline: none; }
.arch2 .an.sel .an-box { stroke: var(--brand); stroke-width: 2; fill: var(--surface); filter: drop-shadow(0 6px 14px color-mix(in srgb, var(--brand) 25%, transparent)); }
.arch2 .an-ic { fill: var(--sunken); stroke: var(--line); }
.arch2 .an-icp { fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.arch2 .an.edge .an-ic, .arch2 .an.link .an-ic { fill: url(#agrad); stroke: none; } .arch2 .an.edge .an-icp, .arch2 .an.link .an-icp { stroke: #fff; }
.arch2 .an.db .an-icp { stroke: var(--blue); } .arch2 .an.store .an-icp { stroke: var(--green); } .arch2 .an.module .an-icp { stroke: var(--brand); }
.arch2 .an.ext .an-box { stroke-dasharray: 5 4; }
.arch2 .ant { fill: var(--ink); font: 650 13.5px var(--body); }
.arch2 .ans { fill: var(--muted); font: 500 11.5px var(--body); }
.arch2 .ae-base { fill: none; stroke: var(--line-strong); stroke-width: 1.6; }
.arch2 .ae-flow { fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-dasharray: 5 9; animation: aflow 1.4s linear infinite; opacity: .55; }
.arch2 .ae.db .ae-flow { stroke: var(--blue); } .arch2 .ae.out .ae-flow { stroke: var(--green); } .arch2 .ae.ext .ae-flow { stroke: var(--magenta); }
.arch2 .ae.dash .ae-flow { animation: none; stroke-dasharray: 3 5; }
.arch2 .ae-dot { fill: var(--brand); }
.arch2 .ae.db .ae-dot { fill: var(--blue); } .arch2 .ae.out .ae-dot { fill: var(--green); }
.arch2 .ael { fill: var(--ink-2); font: 600 11px var(--mono); paint-order: stroke; stroke: var(--surface); stroke-width: 4px; }
@keyframes aflow { to { stroke-dashoffset: -28; } }
.arch2.stepping .an:not(.hot) { opacity: .28; }
.arch2.stepping .ae:not(.hot) { opacity: .15; }
.arch2 .an.hot .an-box { stroke: var(--brand); stroke-width: 2.2; }
.arch2 .ae.hot .ae-flow { opacity: 1; stroke-width: 2.6; stroke: var(--brand); }
.arch2 .ae.hot .ae-base { stroke: color-mix(in srgb, var(--brand) 35%, transparent); stroke-width: 6; }

.arch2-steps { border-top: 1px solid var(--line); padding: 20px; display: grid; gap: 14px; background: var(--bg); }
.as-head { display: flex; justify-content: space-between; align-items: end; gap: 14px; flex-wrap: wrap; }
.as-head h3 { font-size: 20px; margin-top: 6px; }
.as-ctl { display: flex; gap: 8px; }
.as-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.as-list button { width: 100%; height: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; display: grid; gap: 6px; align-content: start;
  padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); transition: border-color .25s, box-shadow .25s, transform .25s; }
.as-list b { font-size: 14.5px; }
.as-list span:not(.as-n) { font-size: 13px; color: var(--ink-2); }
.as-n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--mono); background: var(--sunken); color: var(--muted); }
.as-list li.done .as-n { background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--green); }
.as-list li.on button { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); transform: translateY(-2px); }
.as-list li.on .as-n { background: var(--brand); color: var(--brand-ink); }
@media (prefers-reduced-motion: reduce) { .arch2 .ae-flow { animation: none; } }

/* Personas: "How will you use Signeal?" journey ----------------------------------------------------------------------- */
.j-hero h1 { font-size: clamp(44px, 6vw, 96px); }
.j-section { padding-bottom: clamp(24px, 4vw, 48px); }
.j-roles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.j-role { display: grid; gap: 6px; justify-items: start; text-align: left; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font: inherit; cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .25s, background .25s; min-width: 0; }
.j-role:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.j-role b { font: 650 17px/1.2 var(--display); letter-spacing: -0.01em; }
.j-role small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.j-av { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sunken); color: var(--ink-2); margin-bottom: 6px; transition: background .3s, color .3s; }
.j-av svg { width: 22px; height: 22px; }
.j-role[aria-selected="true"] { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: var(--shadow); }
.j-role[aria-selected="true"] .j-av { background: var(--ink); color: var(--bg); }
@media (max-width: 1100px) {
  .j-roles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; margin-inline: -2px; }
  .j-roles::-webkit-scrollbar { display: none; }
  .j-role { flex: 0 0 210px; scroll-snap-align: start; }
}

.j-stage { display: grid; gap: clamp(26px, 3vw, 40px); transition: opacity .25s ease, transform .3s ease; }
.j-stage.out { opacity: 0; transform: translateY(10px); }
.j-head h2 { font-size: clamp(30px, 3.6vw, 60px); max-width: 22ch; }
.j-flow { display: flex; align-items: center; gap: 0; flex-wrap: wrap; row-gap: 10px; }
.j-node { padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-strong); font-weight: 650; font-size: 14.5px; white-space: nowrap; }
.j-node:nth-child(3) { border-color: color-mix(in srgb, var(--green) 60%, transparent); color: var(--green); }
.j-pipe { position: relative; width: clamp(28px, 5vw, 72px); height: 2px; background: var(--line-strong); overflow: hidden; }
.j-pipe i { position: absolute; top: -2px; left: -10px; width: 10px; height: 6px; border-radius: 6px; background: var(--brand); animation: jpipe 1.6s linear infinite; }
@keyframes jpipe { to { left: 100%; } }

.j-track { position: relative; }
.j-line { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.j-line path { fill: none; stroke: url(#jgrad); stroke-width: 2.5; stroke-linecap: round; opacity: .85; }
.j-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); position: relative; }
.j-card { width: 100%; height: 100%; display: grid; gap: 10px; align-content: start; justify-items: start; text-align: left; padding: 22px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); color: inherit; font: inherit; cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .25s; }
.j-card:hover { border-color: var(--line-strong); }
.j-step.on .j-card { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.j-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--mono); background: var(--bg); border: 1.5px solid var(--line-strong); color: var(--ink-2); position: relative; z-index: 1; transition: all .3s; }
.j-step.on .j-num { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.j-act { font: 650 clamp(20px, 1.6vw, 26px)/1.15 var(--display); letter-spacing: -0.015em; color: var(--ink); }
.j-copy { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.j-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.j-badge { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--body); padding: 6px 10px 6px 8px; border-radius: 999px; background: var(--sunken); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.j-badge::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--grad); }
.j-badge[data-app="signeal-link"]::before { background: var(--green); }
.j-badge[data-app="signeal-explorer"]::before { background: var(--blue); }
.j-badge[data-app="signeal-desktop"]::before { background: var(--brand); }
.j-badge[data-app="signeal-studio"]::before { background: var(--magenta); }
.j-stage.in .j-step { animation: jin .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes jin { from { opacity: 0; transform: translateY(14px); } }

.j-bottom { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 44px); align-items: center; }
.j-preview { transition: opacity .16s ease, transform .2s ease; }
.j-preview.swap { opacity: 0; transform: scale(.985); }
.j-preview img { aspect-ratio: 2160 / 1320; object-fit: contain; object-position: top center; background: var(--surface); }
.j-preview.note { display: block; min-height: 0; padding: clamp(24px, 3vw, 40px); }
.j-preview.note figcaption { display: block; border: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); padding: 0; max-width: 60ch; }
.j-note-t { display: block; font: 650 26px var(--display); color: var(--ink); margin-bottom: 10px; }
.j-summary { display: grid; gap: 22px; align-content: center; }
.j-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font: 650 clamp(18px, 1.5vw, 22px) var(--display); color: var(--ink); margin: 0; }
.j-chain i { font-style: normal; color: var(--muted); font-weight: 400; }
.j-yours { display: grid; gap: 12px; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.j-yours-apps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.j-yours-apps .j-badge { font-size: 14px; padding: 9px 14px 9px 11px; background: var(--bg); color: var(--ink); }
.j-plus { color: var(--muted); font-weight: 700; }
.j-summary .btn { justify-self: start; }

.j-compare summary { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; list-style: none; padding: 6px 0; }
.j-compare summary::-webkit-details-marker { display: none; }
.j-compare summary::after { content: "+"; font-size: 18px; line-height: 1; }
.j-compare[open] summary::after { content: "\2212"; }
.j-compare .table-wrap { margin-top: 14px; }

@media (max-width: 900px) {
  .j-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .j-card { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
  .j-card .j-num { grid-row: span 3; }
  .j-card > :not(.j-num) { grid-column: 2; }
  .j-step.on .j-card { transform: none; }
  .j-bottom { grid-template-columns: minmax(0, 1fr); }
  .j-flow { gap: 6px; } .j-pipe { width: 22px; }
}
@media (prefers-reduced-motion: reduce) { .j-pipe i { animation: none; } .j-stage.in .j-step { animation: none; } }

/* Use cases first: "What do you want to accomplish?" ------------------------------------------------------------------ */
.uc-hero h1 { font-size: clamp(46px, 6.4vw, 104px); max-width: 14ch; }
.uc-tagline { font: 650 clamp(17px, 1.4vw, 21px) var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }
.uc-section { padding-bottom: clamp(56px, 8vw, 104px); }
.uc-ask { font-size: clamp(26px, 2.6vw, 40px); }
.uc-picks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 6px; box-shadow: var(--shadow); }
.uc-pick { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left;
  padding: 14px; border-radius: 15px; border: 0; background: transparent; color: var(--ink-2); font: inherit; cursor: pointer; transition: background .25s, color .25s; min-width: 0; }
.uc-pick + .uc-pick::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.uc-pick[aria-selected="true"]::before, .uc-pick[aria-selected="true"] + .uc-pick::before { opacity: 0; }
.uc-pick:hover { background: var(--bg); color: var(--ink); }
.uc-ic { grid-row: span 2; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--sunken); transition: background .3s, color .3s; }
.uc-ic svg { width: 20px; height: 20px; }
.uc-pick b { font: 650 16px/1.2 var(--display); color: var(--ink); }
.uc-pick small { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.uc-pick[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.uc-pick[aria-selected="true"] b { color: var(--bg); }
.uc-pick[aria-selected="true"] small { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.uc-pick[aria-selected="true"] .uc-ic { background: var(--grad); color: #fff; }
@media (max-width: 1180px) {
  .uc-picks { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .uc-picks::-webkit-scrollbar { display: none; }
  .uc-pick { flex: 0 0 220px; scroll-snap-align: start; }
}

.uc-story { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.9fr) minmax(0, 1.5fr); grid-template-areas: "left steps shot" "comp comp comp";
  gap: clamp(22px, 2.6vw, 40px); padding: clamp(24px, 3vw, 44px); border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: opacity .25s ease, transform .3s ease; align-items: start; }
.uc-story.out { opacity: 0; transform: translateY(10px); }
.uc-left { grid-area: left; display: grid; gap: 16px; align-content: start; }
.uc-left h3 { font-size: clamp(28px, 2.6vw, 46px); line-height: 1.08; letter-spacing: -0.025em; }
.uc-left p { color: var(--ink-2); font-size: 16.5px; margin: 0; }
.uc-left .btn { justify-self: start; margin-top: 6px; }
.uc-flow { display: flex; flex-wrap: wrap; align-items: center; row-gap: 8px; }
.uc-flow .j-node { font-size: 13px; padding: 8px 12px; }
.uc-steps { grid-area: steps; list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; position: relative; }
.uc-steps::before { content: ""; position: absolute; left: 21px; top: 26px; bottom: 26px; width: 2px; background: var(--grad); opacity: .35; border-radius: 2px; }
.uc-step button { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; text-align: left; padding: 12px 12px 12px 0; border: 0;
  background: transparent; color: inherit; font: inherit; cursor: pointer; border-radius: 14px; transition: background .2s; }
.uc-step button:hover { background: var(--bg); }
.uc-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--mono); background: var(--surface); border: 1.5px solid var(--line-strong); color: var(--muted); position: relative; z-index: 1; transition: all .3s; }
.uc-step.on .uc-n { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.uc-st { display: grid; gap: 4px; justify-items: start; padding-top: 2px; }
.uc-st b { font: 650 18px var(--display); color: var(--ink); }
.uc-st > span:not(.j-badge) { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.uc-st .j-badge { margin-top: 4px; }
.uc-step:not(.on) .uc-st .j-badge { opacity: .7; }
.uc-story.in .uc-step { animation: jin .4s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 60ms); }
.uc-shot { grid-area: shot; transition: opacity .15s ease, transform .2s ease; align-self: center; }
.uc-shot.swap { opacity: 0; transform: scale(.985); }
.uc-shot img { aspect-ratio: 2160 / 1320; object-fit: contain; object-position: top center; background: var(--surface); }
.uc-shot.note { padding: clamp(22px, 3vw, 36px); }
.uc-shot.note figcaption { display: block; border: 0; padding: 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.uc-components { grid-area: comp; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.uc-components-t { font: 650 12px var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-right: 6px; }
.uc-components .j-badge { font-size: 13.5px; padding: 8px 13px 8px 10px; background: var(--bg); color: var(--ink); }
@media (max-width: 1100px) { .uc-story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "left steps" "shot shot" "comp comp"; } }
@media (max-width: 700px) { .uc-story { grid-template-columns: minmax(0, 1fr); grid-template-areas: "left" "steps" "shot" "comp"; } }

/* Roles: one outcome card at a time */
.ro-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.ro-pick { font: 600 14.5px var(--body); padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: all .2s; }
.ro-pick:hover { color: var(--ink); border-color: var(--muted); }
.ro-pick[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (max-width: 700px) { .ro-picks { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; } .ro-pick { flex: none; } }
.ro-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: clamp(26px, 3.4vw, 52px); border-radius: 26px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; transition: opacity .22s ease, transform .3s ease; }
.ro-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); }
.ro-card.out { opacity: 0; transform: translateY(8px); }
.ro-main { display: grid; gap: 18px; align-content: start; }
.ro-main h3 { font-size: clamp(30px, 3vw, 52px); line-height: 1.06; letter-spacing: -0.025em; max-width: 16ch; }
.ro-journey { display: grid; gap: 10px; }
.ro-journey-t { font: 650 12px var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ro-journey > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ro-journey .j-badge { font-size: 14px; padding: 9px 14px 9px 11px; background: var(--bg); color: var(--ink); }
.ro-arrow { color: var(--muted); }
.ro-outcomes { display: grid; gap: 12px; align-content: start; }
.ro-outcomes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ro-outcomes li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font: 600 16.5px var(--body); color: var(--ink); }
.ro-outcomes li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--green-soft); color: var(--green); }
.ro-card.in li { animation: jin .4s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 50ms); }
@media (max-width: 800px) { .ro-card { grid-template-columns: minmax(0, 1fr); } }

/* Ecosystem */
.eco { position: relative; height: 560px; border-radius: 26px; border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 55%), radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 8%, transparent) 1px, transparent 0) 0 0 / 22px 22px, var(--surface); }
.eco-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.eco-l { fill: none; stroke: url(#egrad); stroke-width: 2; vector-effect: non-scaling-stroke; }
.eco-l.faint { stroke: var(--line-strong); stroke-dasharray: 4 6 !important; }
.eco-node { position: absolute; transform: translate(-50%, -50%); width: min(250px, 26%); display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.eco-node b { font: 650 17px var(--display); display: flex; align-items: center; gap: 8px; }
.eco-node span { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.eco-node i { position: absolute; top: 16px; right: 16px; width: 10px; height: 10px; border-radius: 3px; }
.eco-c { left: 50%; top: 50%; width: min(300px, 32%); text-align: center; justify-items: center; padding: 24px; border: 1.5px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--brand) 45%, transparent); }
.eco-c b { font-size: 22px; justify-content: center; }
.eco-tl { left: 20.5%; top: 21%; } .eco-bl { left: 20.5%; top: 79%; } .eco-tr { left: 79.5%; top: 21%; } .eco-br { left: 79.5%; top: 79%; }
.eco-t { left: 50%; top: 9%; } .eco-b { left: 50%; top: 91%; }
.eco-soft { background: var(--bg); box-shadow: none; padding: 10px 14px; text-align: center; width: auto; white-space: nowrap; }
.eco-soft b { font-size: 14px; justify-content: center; } .eco-soft span { font-size: 12.5px; }
.eco .eco-node:not(.eco-c) { opacity: 0; transition: opacity .6s ease .5s; } .eco.live .eco-node { opacity: 1; }
html:not(.js) .eco .eco-node { opacity: 1; }
@media (max-width: 860px) {
  .eco { height: auto; display: grid; gap: 10px; padding: 18px; }
  .eco-lines { display: none; }
  .eco-node, .eco-c, .eco-soft { position: static; transform: none; width: auto; opacity: 1 !important; white-space: normal; text-align: left; justify-items: start; }
  .eco-c { order: -1; }
}

/* Use cases - the mockup (2026-11-19): layered hero, icon cards, framed story, icon badges, open ecosystem ----------- */
.c-orange { color: var(--brand); } .c-magenta { color: var(--magenta); } .c-green { color: var(--green); } .c-blue { color: var(--blue); }
.uc2-hero { padding-block: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 48px); position: relative; overflow: hidden; }
.uc2-hero::before { content: ""; position: absolute; right: -8%; top: -30%; width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 22%, transparent), transparent 62%); pointer-events: none; }
.uc2-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; position: relative; }
.uc2-hero-copy { display: grid; gap: 18px; }
.uc2-hero-copy h1 { font-size: clamp(44px, 5.4vw, 88px); letter-spacing: -0.03em; }
.uc2-tag { display: flex; align-items: center; gap: 14px; margin: 4px 0 0; font: 650 clamp(16px, 1.3vw, 20px) var(--display); color: var(--ink); }
.uc2-tag span { width: 64px; height: 3px; border-radius: 3px; background: var(--grad); flex: none; }
.uc2-stack { position: relative; height: clamp(260px, 28vw, 420px); perspective: 1600px; }
.uc2-stack .shot { position: absolute; width: 78%; transform-style: preserve-3d; box-shadow: var(--shadow-lg); }
.uc2-stack .s1 { left: 6%; top: 20%; transform: rotateY(-16deg) rotateX(6deg) rotateZ(-2deg); z-index: 3; }
.uc2-stack .s2 { left: 18%; top: 8%; transform: rotateY(-16deg) rotateX(6deg) rotateZ(-2deg) translateZ(-60px); z-index: 2; opacity: .92; }
.uc2-stack .s3 { left: 30%; top: -2%; transform: rotateY(-16deg) rotateX(6deg) rotateZ(-2deg) translateZ(-120px); z-index: 1; opacity: .75; }
@media (max-width: 900px) { .uc2-hero-grid { grid-template-columns: minmax(0, 1fr); } .uc2-stack { height: 240px; } }

.uc-ask { font-size: clamp(28px, 2.8vw, 44px); letter-spacing: -0.025em; }
.uc2-picks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.uc2-pick { display: grid; gap: 6px; justify-items: start; text-align: left; padding: 20px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font: inherit; cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s, background .25s; min-width: 0; }
.uc2-pick:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.uc2-pick svg { width: 30px; height: 30px; margin-bottom: 14px; }
.uc2-pick b { font: 650 17px/1.2 var(--display); }
.uc2-pick small { font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.uc2-pick[aria-selected="true"] { background: linear-gradient(#111a2e, #111a2e) padding-box, var(--grad) border-box; border: 2px solid transparent; color: #fff; box-shadow: 0 14px 34px -14px rgba(17, 26, 46, .6); }
.uc2-pick[aria-selected="true"] small { color: rgba(255, 255, 255, .72); }
@media (max-width: 1180px) {
  .uc2-picks { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 12px; }
  .uc2-picks::-webkit-scrollbar { display: none; }
  .uc2-pick { flex: 0 0 200px; scroll-snap-align: start; }
}

/* the story card */
.uc2-story { grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(0, 1.45fr); border-radius: 20px; }
.uc2-story .uc-left h3 { font-size: clamp(28px, 2.4vw, 42px); }
.uc2-story .uc-steps { gap: 10px; padding-left: 26px; }
.uc2-story .uc-steps::before { left: 6px; top: 22px; bottom: 30px; width: 2px; opacity: 1; background: linear-gradient(var(--brand), var(--magenta), var(--blue)); }
.uc2-story .uc-step button { grid-template-columns: 44px minmax(0, 1fr); padding: 8px 10px 8px 0; position: relative; }
.uc2-story .uc-step button::before { content: ""; position: absolute; left: -26px; top: 20px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); }
.uc2-story .uc-step:nth-child(2) button::before { border-color: #e2456a; } .uc2-story .uc-step:nth-child(3) button::before { border-color: var(--magenta); } .uc2-story .uc-step:nth-child(4) button::before { border-color: var(--blue); }
.uc2-story .uc-n { width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--blue-soft); color: var(--blue); font-size: 14px; }
.uc2-story .uc-step.on .uc-n { background: var(--blue); color: #fff; }
.uc2-story .uc-st b { font-size: 17px; }
.uc2-story .uc-st > span:not(.j-badge):not(.j-badge-note) { font-size: 14px; }
.uc2-story .uc-shot { box-shadow: var(--shadow-lg); }
.uc2-story .uc-shot::before { height: 3px; }

/* product badges with the app's mark */
.j-badge { gap: 7px; padding: 6px 12px 6px 9px; background: var(--surface); border: 1.5px solid var(--line-strong); color: var(--ink); font-weight: 650; }
.j-badge::before { display: none; }
.j-badge svg { width: 15px; height: 15px; flex: none; }
.j-badge.a-explorer { border-color: color-mix(in srgb, var(--blue) 45%, transparent); } .j-badge.a-explorer svg { color: var(--blue); }
.j-badge.a-desktop { border-color: color-mix(in srgb, var(--brand) 50%, transparent); } .j-badge.a-desktop svg { color: var(--brand); }
.j-badge.a-cloud { border-color: color-mix(in srgb, #e2456a 45%, transparent); } .j-badge.a-cloud svg { color: #e2456a; }
.j-badge.a-link { border-color: color-mix(in srgb, var(--green) 45%, transparent); } .j-badge.a-link svg { color: var(--green); }
.j-badge.a-bistudio { border-color: color-mix(in srgb, var(--magenta) 45%, transparent); } .j-badge.a-bistudio svg { color: var(--magenta); }
.j-badge.a-signeal svg { color: var(--brand); }
.j-badge-note { color: var(--ink-2); font-size: 14px; margin-left: -2px; }
.uc-components .j-badge, .ro-journey .j-badge { font-size: 14px; padding: 9px 16px 9px 12px; background: var(--surface); }
.uc-components .j-badge svg, .ro-journey .j-badge svg { width: 18px; height: 18px; }
.uc-components > div { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* role pills with icons, and the outcome card */
.uc2-roles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.uc2-roles .ro-pick { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 14px; border-radius: 12px; font-size: 15px; color: var(--ink); background: var(--surface); }
.uc2-roles .ro-pick svg { width: 22px; height: 22px; flex: none; color: var(--ink-2); }
.uc2-roles .ro-pick[aria-selected="true"] { background: linear-gradient(#111a2e, #111a2e) padding-box, var(--grad) border-box; border: 2px solid transparent; color: #fff; }
.uc2-roles .ro-pick[aria-selected="true"] svg { color: var(--brand); }
@media (max-width: 1000px) { .uc2-roles { display: flex; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; } .uc2-roles .ro-pick { flex: none; } }
.uc2-rocard { border-radius: 18px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); padding: clamp(24px, 3vw, 40px) clamp(24px, 3.4vw, 48px); }
.uc2-rocard .ro-outcomes { border-left: 1px solid var(--line); padding-left: clamp(22px, 3vw, 44px); }
.uc2-rocard .ro-main h3 { font-size: clamp(28px, 2.4vw, 42px); max-width: 20ch; }
.uc2-rocard .ro-outcomes li { font-weight: 500; }
.uc2-rocard .ro-outcomes li::before { background: none; color: var(--green); font-size: 16px; }
@media (max-width: 800px) { .uc2-rocard { grid-template-columns: minmax(0, 1fr); } .uc2-rocard .ro-outcomes { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; } }

/* the ecosystem, open layout */
.eco2 { position: relative; display: grid; grid-template-columns: 1fr 1.1fr 1fr; grid-template-rows: auto auto auto auto auto; column-gap: clamp(30px, 6vw, 110px); row-gap: 6px; align-items: center; justify-items: center; padding-block: 8px; }
.eco2-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.eco2 .eco-l { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.eco2-node { display: flex; gap: 14px; align-items: center; width: 100%; max-width: 320px; padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; z-index: 1; }
.eco2-node svg { width: 34px; height: 34px; flex: none; }
.eco2-node b { display: block; font: 650 18px var(--display); }
.eco2-node span { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.35; }
.e-tl { grid-column: 1; grid-row: 2; justify-self: start; } .e-bl { grid-column: 1; grid-row: 4; justify-self: start; }
.e-tr { grid-column: 3; grid-row: 2; justify-self: end; } .e-br { grid-column: 3; grid-row: 4; justify-self: end; }
.eco2-soft { display: inline-flex; align-items: center; gap: 10px; padding: 11px 22px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font: 650 15px var(--body); position: relative; z-index: 1; }
.eco2-soft svg { width: 20px; height: 20px; color: var(--ink-2); }
.e-top { grid-column: 2; grid-row: 1; } .e-bottom { grid-column: 2; grid-row: 5; }
.eco2-arrow { grid-column: 2; font-size: 22px; color: var(--ink-2); line-height: 1; }
.a-down { grid-row: 2; align-self: end; } .a-up { grid-row: 4; align-self: start; }
.eco2-center { grid-column: 2; grid-row: 3; display: flex; align-items: center; gap: 18px; padding: 26px 34px; border-radius: 18px; background: var(--surface); position: relative; z-index: 1;
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -18px color-mix(in srgb, var(--brand) 40%, transparent), 0 0 80px -10px color-mix(in srgb, var(--magenta) 18%, transparent); }
.eco2-center b { display: block; font: 700 26px var(--display); letter-spacing: -0.02em; }
.eco2-center span { display: block; font-size: 15px; color: var(--ink-2); }
.eco2 .eco2-node, .eco2 .eco2-soft { opacity: 0; transform: translateY(8px); transition: opacity .6s ease .4s, transform .6s ease .4s; }
.eco2.live .eco2-node, .eco2.live .eco2-soft { opacity: 1; transform: none; }
html:not(.js) .eco2 .eco2-node, html:not(.js) .eco2 .eco2-soft { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .eco2 { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
  .eco2-lines, .eco2-arrow { display: none; }
  .eco2 > * { grid-column: 1 !important; grid-row: auto !important; justify-self: stretch !important; max-width: none; opacity: 1 !important; transform: none !important; }
  .eco2-center { order: -1; }
}

/* closing band */
.uc2-cta { position: relative; overflow: hidden; border-radius: 18px; background: #111a2e; padding: clamp(22px, 3vw, 34px) clamp(24px, 3.4vw, 44px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.uc2-cta::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); }
.uc2-cta h2 { color: #fff; font-size: clamp(24px, 2.4vw, 38px); margin: 0; }
.uc2-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.uc2-cta .btn-ghost:hover { background: rgba(255, 255, 255, .08); }

/* ecosystem line colours (beat the older .eco-l rule), tighter section spacing */
.eco2 .eco-l:nth-of-type(1), .eco2 .eco-l:nth-of-type(2) { stroke: url(#e2a); }
.eco2 .eco-l:nth-of-type(3), .eco2 .eco-l:nth-of-type(4) { stroke: url(#e2b); }
.uc-section { padding-bottom: clamp(28px, 4vw, 52px); }

/* ecosystem without Signeal Desktop: Explorer in the middle of the left side */
.e-ml { grid-column: 1; grid-row: 3; justify-self: start; }
.eco2 .eco-l:nth-of-type(1) { stroke: url(#e2a); }
.eco2 .eco-l:nth-of-type(2), .eco2 .eco-l:nth-of-type(3) { stroke: url(#e2b); }

/* Download Signeal Explorer (download.html) */
.dl-hero { padding-block: clamp(40px, 5vw, 72px); background: linear-gradient(180deg, var(--surface), var(--bg)); border-bottom: 1px solid var(--line); }
.dl-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.dl-pitch { display: grid; gap: 18px; min-width: 0; }
.dl-points { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.dl-points li { padding-left: 28px; position: relative; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.dl-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font: 700 12px/1 var(--body); background: var(--green-soft); color: var(--green); margin-top: 2px; }
.dl-points b { color: var(--ink); }
.dl-shot { margin: 8px 0 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.dl-shot img { display: block; width: 100%; height: auto; }
.dl-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 34px);
  position: sticky; top: 88px; min-width: 0; }
.dl-card::before { content: ""; display: block; height: 4px; border-radius: 4px; background: var(--grad); margin: -6px 0 18px; }
.dl-card form, .dl-done { display: grid; gap: 14px; }
.dl-card h2 { font-size: clamp(24px, 2.4vw, 30px); }
.dl-card label { display: grid; gap: 6px; font: 600 14px var(--body); color: var(--ink); min-width: 0; }
.dl-card input:not([type=checkbox]), .dl-card select { font: 400 15px var(--body); padding: 11px 12px; border-radius: 9px; border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--ink); width: 100%; min-width: 0; }
.dl-card input:focus, .dl-card select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.dl-card [aria-invalid=true] { border-color: var(--red) !important; outline-color: var(--red); }
.dl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dl-check { grid-template-columns: 18px 1fr; align-items: start; font: 400 14px/1.5 var(--body) !important; color: var(--ink-2) !important; }
.dl-check input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--brand); }
.dl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dl-error { background: var(--red-soft); color: var(--red); border-radius: 9px; padding: 10px 12px; font-size: 14px; }
.dl-submit { width: 100%; padding-block: 15px; font-size: 16px; }
.dl-submit:disabled { opacity: .7; cursor: progress; }
.dl-done { text-align: left; }
.dl-done:focus { outline: none; }
.dl-done-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font: 700 24px/1 var(--body); }
.dl-next { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }
.dl-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sunken); border: 1px solid var(--line);
  font: 700 15px/1 var(--display); color: var(--ink); }
@media (max-width: 980px) { .dl-grid { grid-template-columns: 1fr; } .dl-card { position: static; } .dl-pitch .dl-shot { display: none; } }
@media (max-width: 520px) { .dl-row { grid-template-columns: 1fr; } }

/* Services page (services.html) ---------------------------------------------------------------------------------------
   Light page with selected dark bands (.svc-dark redefines the tokens, so every component inside follows). Motion:
   transforms and opacity only; everything stops for prefers-reduced-motion (global rule at the top of this file). */
.svc-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.svc-ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc-g { background: linear-gradient(100deg, #ff8a1f 0%, #ff3b3b 55%, #b5179e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* The deep (navy) theme - one token set for the homepage (body.deep) and the Services dark bands (.svc-dark) */
.deep, .svc-dark {
  --bg: #0a0f1d; --bg-2: #0d1426; --surface: #111a2e; --surface-2: #16213a; --sunken: #0c1324; --ink: #eef2f8; --ink-2: #a9b4c8; --muted: #7d899f;
  --line: #1d2840; --line-strong: #2a3753; --brand-hover: #ff9a3a; --blue: #5aa2ff; --blue-soft: rgba(90, 162, 255, .13); --violet: #a78bfa; --magenta: #e05cc8;
  --green: #4cc982; --green-soft: rgba(76, 201, 130, .13); --amber: #f0b44c; --amber-soft: rgba(240, 180, 76, .13); --red: #ff6b6b; --red-soft: rgba(255, 107, 107, .13);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 36px -14px rgba(0, 0, 0, .65); --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 36px 90px -28px rgba(0, 0, 0, .8);
  color-scheme: dark; color: var(--ink);
}
.svc-dark { background: var(--bg); position: relative; overflow: hidden; }
.svc-dark::before { content: ""; position: absolute; inset: -30% auto auto -15%; width: 720px; height: 720px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(181, 23, 158, .16), transparent 62%); }
.svc-dark::after { content: ""; position: absolute; inset: auto -12% -40% auto; width: 680px; height: 680px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(10, 124, 240, .14), transparent 62%); }
.svc-dark > .wrap { position: relative; z-index: 1; }

/* Hero */
.svc-hero { padding-block: clamp(40px, 6vw, 84px) clamp(40px, 5vw, 72px); position: relative; overflow: hidden; }
.svc-hero::before { content: ""; position: absolute; inset: -25% -12% auto auto; width: 820px; height: 820px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 14%, transparent), transparent 62%); }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; position: relative; }
.svc-hero h1 { font-size: clamp(38px, 4.4vw, 72px); }
.svc-stage { position: relative; aspect-ratio: 5 / 4; min-width: 0; --px: 0; --py: 0; }
.svc-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.svc-line { fill: none; stroke: url(#svc-grad); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 6 10; opacity: .75; animation: svcdash 7s linear infinite; }
.svc-line-2 { opacity: .35; stroke-width: 1.5; animation-duration: 11s; }
@keyframes svcdash { to { stroke-dashoffset: -160; } }
.svc-visual { display: grid; gap: clamp(14px, 2vw, 22px); min-width: 0; }
.svc-path { list-style: none; margin: 0; padding: 0; position: relative; display: flex; justify-content: space-between; padding-top: 18px;
  animation: rise .7s cubic-bezier(.2, .8, .2, 1) .7s both; }
.svc-path::before { content: ""; position: absolute; top: 5px; left: 6px; right: 6px; height: 2px; border-radius: 2px; background: var(--grad); opacity: .85; }
.svc-path::after { content: ""; position: absolute; top: 1px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--surface);
  border: 2px solid var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); animation: svcdot 6s cubic-bezier(.45, .05, .55, .95) infinite; }
@keyframes svcdot { 0% { left: 0; } 85%, 100% { left: calc(100% - 10px); } }
.svc-path li { position: relative; font: 600 11.5px/1.2 var(--mono); letter-spacing: .03em; color: var(--ink-2); }
.svc-path li::before { content: ""; position: absolute; top: -17px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); }
.svc-path li:last-child { text-align: right; } .svc-path li:last-child::before { left: auto; right: 0; }
.svc-path li:nth-child(2)::before, .svc-path li:nth-child(3)::before { left: calc(50% - 4px); }
.svc-visual:has(.paused) .svc-path::after { animation-play-state: paused; }
.svc-layer { position: absolute; margin: 0; transform: translate3d(calc(var(--px) * var(--depth) * 1px), calc(var(--py) * var(--depth) * 1px), 0);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1); animation: svcin .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes svcin { from { opacity: 0; translate: 0 18px; } }
.svc-float { animation: svcfloat 9s ease-in-out infinite; }
@keyframes svcfloat { 50% { transform: translateY(-7px); } }
.svc-stage.paused .svc-float, .svc-stage.paused .svc-line { animation-play-state: paused; }
.svc-main { left: 6%; top: 12%; width: 84%; z-index: 2; animation-delay: .1s; }
.svc-main img, .svc-mini img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); background: var(--surface); }
.svc-kpi { left: 0; top: 0; width: 46%; z-index: 4; animation-delay: .3s; }
.svc-kpi .svc-float { animation-duration: 8s; animation-delay: -2s; }
.svc-mini { right: 0; bottom: 0; width: 27%; z-index: 3; animation-delay: .45s; }
.svc-mini .svc-float { animation-duration: 10s; animation-delay: -5s; }
.svc-flowcard { left: 2%; bottom: 0; width: 40%; z-index: 4; animation-delay: .6s; }
.svc-flowcard .svc-float { animation-duration: 11s; animation-delay: -7s; }
.svc-card { background: color-mix(in srgb, var(--surface) 94%, transparent); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 12px 14px; display: grid; gap: 8px; position: relative; overflow: hidden; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.svc-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); }
.svc-card-h { font: 650 11px/1 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.svc-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.svc-kpis small { display: block; font-size: 11px; color: var(--muted); }
.svc-kpis b { font: 650 clamp(15px, 1.4vw, 20px)/1.15 var(--display); font-variant-numeric: tabular-nums; color: var(--ink); }
.svc-spark { width: 100%; height: 28px; }
.svc-spark path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.svc-flowcard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13px; color: var(--ink-2); }
.svc-flowcard li { display: flex; align-items: center; gap: 8px; }
.svc-flowcard li i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; }
.svc-flowcard li.done i { background: var(--green); border-color: var(--green); box-shadow: inset 0 0 0 2px var(--surface); }
.svc-flowcard li.now { color: var(--ink); font-weight: 600; }
.svc-flowcard li.now i { border-color: var(--brand); border-top-color: transparent; animation: svcspin 1.6s linear infinite; }
@keyframes svcspin { to { transform: rotate(360deg); } }
.svc-stage.paused .svc-flowcard li.now i { animation-play-state: paused; }
@media (max-width: 980px) {
  .svc-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-stage { max-width: 680px; width: 100%; justify-self: center; }
}
@media (max-width: 560px) {
  .svc-stage { aspect-ratio: 4 / 4.1; }
  .svc-main { left: 0; width: 100%; top: 16%; }
  .svc-kpi { width: 62%; }
  .svc-mini { width: 34%; bottom: 0; }
  .svc-flowcard { width: 50%; bottom: 0; }
  .svc-flowcard ul { font-size: 12px; gap: 5px; }
  .svc-path li { font-size: 10.5px; }
  .svc-float { animation: none; }
}

/* Value strip */
.svc-values-wrap { padding-block: 0 clamp(48px, 6vw, 80px); }
.svc-values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.svc-values li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 10px; align-content: start;
  transition: border-color .2s, transform .2s, box-shadow .2s; }
.svc-values li:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-values .svc-ic { color: var(--brand); width: 24px; height: 24px; }
.svc-values h3 { font-size: 16px; }
.svc-values p { color: var(--ink-2); font-size: 14px; line-height: 1.5; margin-top: 4px; }
.svc-lbl { display: block; font: 600 11px/1.35 var(--mono); color: var(--blue); margin-top: 3px; }
@media (max-width: 1240px) { .svc-values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .svc-values { grid-template-columns: minmax(0, 1fr); } .svc-values li { grid-template-columns: 24px minmax(0, 1fr); gap: 14px; } }

/* What we can build */
.svc-build { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(18px, 2.5vw, 32px); align-items: start; }
.svc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.svc-tile { position: relative; overflow: hidden; text-align: left; display: grid; gap: 14px; align-content: space-between; min-height: 112px; padding: 16px;
  border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 15px/1.3 var(--display); cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s; }
.svc-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(.12); transform-origin: left;
  opacity: .55; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.svc-tile .svc-ic { color: var(--brand); width: 26px; height: 26px; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.svc-tile:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.svc-tile:hover .svc-ic { transform: translate(2px, -2px); }
.svc-tile:hover::after { transform: scaleX(1); opacity: .9; }
.svc-tile[aria-expanded="true"] { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.svc-tile[aria-expanded="true"]::after { transform: scaleX(1); opacity: 1; }
.svc-detail { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 30px);
  display: grid; gap: 18px; box-shadow: var(--shadow); }
.svc-detail::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--grad); }
.svc-detail-in { display: grid; gap: 10px; }
.svc-detail-in.swap { animation: rise .45s cubic-bezier(.2, .8, .2, 1) both; }
.svc-detail-k { font: 650 11px/1 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.svc-detail h3 { font-size: clamp(20px, 1.8vw, 26px); }
.svc-detail p { color: var(--ink-2); }
.svc-detail .btn { justify-self: start; }
.svc-checks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.svc-checks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 9px; }
.svc-checks li::before { content: "✓"; color: var(--green); font-weight: 800; }
@media (max-width: 900px) { .svc-build { grid-template-columns: minmax(0, 1fr); } .svc-detail { position: relative; top: 0; } }
@media (max-width: 420px) { .svc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc-tile { min-height: 100px; font-size: 14px; padding: 13px; } }

/* How the service works: a line fills across the four steps once */
.svc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; padding-top: 30px; }
.svc-steps::before, .svc-steps::after { content: ""; position: absolute; top: 9px; left: 9px; right: 0; height: 2px; border-radius: 2px; background: var(--line); }
.svc-steps::after { background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 2.2s cubic-bezier(.45, .05, .25, 1); }
.svc-steps.run::after { transform: scaleX(1); }
.svc-steps > li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 10px; align-content: start;
  opacity: .45; transform: translateY(10px); transition: opacity .6s, transform .6s cubic-bezier(.2, .8, .2, 1), border-color .6s; transition-delay: calc(var(--i) * .5s); }
.svc-steps > li::before { content: ""; position: absolute; top: -30px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong);
  transition: background .4s, border-color .4s; transition-delay: calc(var(--i) * .5s + .2s); }
.svc-steps.run > li { opacity: 1; transform: none; }
.svc-steps.run > li::before { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
html:not(.js) .svc-steps > li { opacity: 1; transform: none; }
.svc-step-n { font: 600 13px/1 var(--mono); color: var(--brand); }
.svc-steps .svc-ic { color: var(--ink-2); width: 26px; height: 26px; }
.svc-steps p { color: var(--ink-2); font-size: 15px; }
.svc-steps ul { margin: 2px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 4px; }
@media (max-width: 900px) {
  .svc-steps { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-left: 34px; gap: 14px; }
  .svc-steps::before, .svc-steps::after { top: 8px; bottom: 8px; left: 8px; right: auto; width: 2px; height: auto; }
  .svc-steps::after { transform: scaleY(0); transform-origin: top; }
  .svc-steps.run::after { transform: scaleY(1); }
  .svc-steps > li::before { top: 22px; left: -34px; }
}

/* Engagement models */
.svc-models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.svc-model { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 30px); display: grid; gap: 12px;
  align-content: start; grid-template-rows: auto auto auto auto 1fr auto; transition: transform .25s, border-color .25s, box-shadow .25s; }
.svc-model > .btn { align-self: end; justify-self: start; margin-top: 8px; }
.svc-model .svc-ic { color: var(--brand); width: 28px; height: 28px; }
.svc-model p { color: var(--ink-2); }
.svc-model::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); opacity: 0; transition: opacity .3s; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.svc-model:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-model:hover::after { opacity: .9; }
.svc-model.pop { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.svc-badge { position: absolute; top: -11px; left: 24px; background: var(--brand); color: var(--brand-ink); font: 700 11.5px/1 var(--body); padding: 6px 10px; border-radius: 999px; letter-spacing: .02em; }
.svc-team-line { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-team-line span { font: 600 12.5px/1 var(--body); padding: 6px 9px; border-radius: 999px; background: var(--sunken); border: 1px solid var(--line); color: var(--ink); }
.svc-team-line span.opt { color: var(--muted); border-style: dashed; font-weight: 500; }
@media (max-width: 980px) { .svc-models { grid-template-columns: minmax(0, 1fr); max-width: 640px; } }

/* Why us */
.svc-why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.svc-why li { padding: 22px 18px; display: grid; gap: 8px; align-content: start; border-right: 1px solid var(--line); transition: background .2s; }
.svc-why li:last-child { border-right: 0; }
.svc-why li:hover { background: var(--sunken); }
.svc-why li:hover .svc-ic { transform: translateY(-2px); }
.svc-why .svc-ic { color: var(--brand); width: 24px; height: 24px; transition: transform .25s; }
.svc-why h3 { font-size: 16px; }
.svc-why p { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
@media (max-width: 1240px) { .svc-why { grid-template-columns: repeat(4, minmax(0, 1fr)); } .svc-why li { border-bottom: 1px solid var(--line); } }
@media (max-width: 760px) { .svc-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .svc-why { grid-template-columns: minmax(0, 1fr); } .svc-why li { border-right: 0; } }

/* Two-column sections */
.svc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .svc-split { grid-template-columns: minmax(0, 1fr); } }

/* Platforms */
.svc-platforms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.svc-platforms li { display: flex; align-items: center; gap: 9px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg);
  font: 600 15px/1.2 var(--body); color: var(--ink); transition: transform .2s, border-color .2s, box-shadow .2s; }
.svc-platforms li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); flex: none; transition: background .2s; }
.svc-platforms li.sig::before { display: none; }
.svc-platforms li:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.svc-platforms li:hover::before { background: var(--brand); }
.svc-platforms li.sig { border-color: var(--brand); }
@media (max-width: 480px) { .svc-platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc-platforms li { font-size: 14px; padding: 12px; } }

/* Modernize */
.svc-modern { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 4vw, 52px); border-radius: 22px; background: var(--surface); border: 1px solid transparent;
  background-image: linear-gradient(var(--surface), var(--surface)), var(--grad); background-origin: border-box; background-clip: padding-box, border-box; }
.svc-modern-copy { display: grid; gap: 14px; }
.svc-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: f; }
.svc-flow li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 12px 14px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--bg); counter-increment: f; }
.svc-flow li::before { content: counter(f); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 650 13px/1 var(--mono);
  background: var(--sunken); border: 1px solid var(--line-strong); color: var(--ink-2); }
.svc-flow li + li::after { content: ""; position: absolute; left: 30px; top: -11px; width: 2px; height: 10px; background: var(--grad); }
.svc-flow b { font-weight: 650; }
.svc-flow small { color: var(--muted); font-size: 13px; }
.svc-flow li.end { border-color: var(--brand); }
.svc-flow li.end::before { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
@media (max-width: 900px) { .svc-modern { grid-template-columns: minmax(0, 1fr); } }

/* Support queue */
.svc-queue { background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.svc-queue-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 650; background: var(--surface); }
.svc-queue ul { list-style: none; margin: 0; padding: 6px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.svc-queue li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink); }
.svc-queue i { font: 650 10.5px/1 var(--body); font-style: normal; letter-spacing: .04em; text-transform: uppercase; padding: 4px 7px; border-radius: 6px; flex: none; min-width: 58px; text-align: center; }
.t-new { background: var(--blue-soft); color: var(--blue); }
.t-chg { background: var(--amber-soft); color: var(--amber); }
.t-fix { background: var(--red-soft); color: var(--red); }
.t-perf { background: var(--green-soft); color: var(--green); }
@media (max-width: 520px) { .svc-queue ul { grid-template-columns: minmax(0, 1fr); } }

/* Flexible team */
.svc-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.svc-role { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 14px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow); transition: opacity .45s, transform .45s cubic-bezier(.2, .8, .2, 1), filter .45s; }
.svc-role b { font-weight: 650; font-size: 15px; }
.svc-role small { color: var(--muted); font-size: 12.5px; grid-column: 2; }
.svc-av { grid-row: span 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font: 700 13px/1 var(--mono); color: #fff;
  background: linear-gradient(135deg, #ff8a1f, #ff3b3b 50%, #b5179e); }
.svc-role:nth-child(2) .svc-av { background: linear-gradient(135deg, #ff3b3b, #b5179e); }
.svc-role:nth-child(3) .svc-av { background: linear-gradient(135deg, #b5179e, #0a7cf0); }
.svc-role:nth-child(4) .svc-av { background: linear-gradient(135deg, #0a7cf0, #138a4a); }
.svc-role:nth-child(5) .svc-av { background: linear-gradient(135deg, #ff8a1f, #0a7cf0); }
.svc-role.off { opacity: .38; transform: scale(.96); filter: grayscale(1); box-shadow: none; }
.svc-team-note { grid-column: 1 / -1; margin-top: 4px; }
.seg[data-team-seg] { margin-top: 6px; justify-self: start; flex-wrap: wrap; }

/* Example engagement */
.svc-ex { background: var(--amber-soft); color: var(--amber); border-color: transparent; justify-self: start; }
.svc-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; counter-reset: t; }
.svc-timeline li { position: relative; padding: 18px 16px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; counter-increment: t; }
.svc-timeline li::before { content: counter(t, decimal-leading-zero); font: 600 12px/1 var(--mono); color: var(--brand); }
.svc-timeline li:not(:last-child)::after { content: "→"; position: absolute; right: -10px; top: 16px; width: 18px; text-align: center; color: var(--muted); z-index: 1; background: var(--surface); }
.svc-timeline b { font-weight: 650; font-size: 15px; line-height: 1.3; }
.svc-timeline small { color: var(--muted); font-size: 13px; line-height: 1.45; }
@media (max-width: 1100px) { .svc-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); } .svc-timeline li:nth-child(3)::after { display: none; } }
@media (max-width: 600px) { .svc-timeline { grid-template-columns: minmax(0, 1fr); } .svc-timeline li::after { display: none; } }

/* Final CTA: a slowly moving gradient edge */
.svc-cta::after { height: 3px; background: linear-gradient(90deg, #ff8a1f, #ff3b3b, #b5179e, #0a7cf0, #ff8a1f); background-size: 200% 100%; animation: svcedge 8s linear infinite; }
@keyframes svcedge { to { background-position: -200% 0; } }
.svc-cta h2 { max-width: 24ch; }
.svc-cta .svc-g { background: linear-gradient(100deg, #ff9a3a, #ff5a5a 60%, #e05cc8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta p.svc-cta-alt { font-size: 14px; }
.svc-cta-alt a { color: var(--bg); text-decoration: underline; text-underline-offset: 3px; }

/* The contact dialog (build.py inquiry_dialog + assets/inquiry.js) */
.inq { border: 0; padding: 0; background: transparent; color: var(--ink); width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); overflow: visible; }
.inq::backdrop { background: rgba(8, 10, 14, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.inq[open] { animation: rise .3s cubic-bezier(.2, .8, .2, 1) both; }
.inq-card { position: relative; display: flex; flex-direction: column; max-height: calc(100dvh - 32px); background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.inq-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); }
.inq-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 26px 28px 18px; border-bottom: 1px solid var(--line); }
.inq-head h2 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
.inq-head p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.inq-x { flex: none; width: 34px; height: 34px; margin: -4px -6px 0 0; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--muted);
  display: grid; place-items: center; cursor: pointer; transition: background .15s, color .15s; }
.inq-x:hover { background: var(--sunken); color: var(--ink); }
.inq-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.inq-form { display: flex; flex-direction: column; min-height: 0; }
.inq-body { padding: 20px 28px 4px; display: grid; gap: 18px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.inq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 14px; }
.inq-f { display: grid; gap: 6px; min-width: 0; }
.inq-f > span { font: 600 13px/1.2 var(--body); color: var(--ink-2); }
.inq-f em { font-style: normal; font-weight: 500; color: var(--muted); margin-left: 4px; }
.inq-f input, .inq-f select, .inq-f textarea { font: 400 15px/1.4 var(--body); width: 100%; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.inq-f input, .inq-f select { height: 44px; }
.inq-f textarea { resize: vertical; min-height: 84px; }
.inq-f input::placeholder, .inq-f textarea::placeholder { color: var(--muted); }
.inq-f input:focus, .inq-f select:focus, .inq-f textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.inq [aria-invalid=true] { border-color: var(--red) !important; box-shadow: 0 0 0 3px var(--red-soft) !important; }
.inq-topics { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.inq-topics legend { font: 600 13px/1.2 var(--body); color: var(--ink-2); padding: 0; margin-bottom: 8px; }
.inq-topics label { display: inline-flex; cursor: pointer; }
.inq-topics input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.inq-topics span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px 8px 11px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg);
  color: var(--ink-2); font: 500 14px/1.2 var(--body); transition: border-color .15s, background .15s, color .15s; }
.inq-topics span svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .35; }
.inq-topics label:hover span { border-color: var(--muted); color: var(--ink); }
.inq-topics input:checked + span { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--ink); }
.inq-topics input:checked + span svg { opacity: 1; color: var(--brand); }
.inq-topics input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.inq-topics input[aria-invalid=true] + span { border-color: var(--red); }
.inq-error { background: var(--red-soft); color: var(--red); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.inq-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px 22px; margin-top: 14px; border-top: 1px solid var(--line); }
.inq-foot p { font-size: 12.5px; color: var(--muted); max-width: 38ch; }
.inq-foot .btn { flex: none; min-width: 132px; }
.inq-foot .btn:disabled { opacity: .7; cursor: progress; }
.inq-done { padding: 32px 28px 28px; display: grid; gap: 12px; justify-items: start; }
.inq-done:focus { outline: none; }
.inq-done-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.inq-done-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.inq-done h2 { font-size: 22px; }
.inq-done p { color: var(--ink-2); }
.inq-done .btn { margin-top: 6px; }
@media (max-width: 560px) {
  .inq-head { padding: 22px 20px 16px; }
  .inq-body { padding: 18px 20px 4px; }
  .inq-grid { grid-template-columns: minmax(0, 1fr); }
  .inq-foot { flex-direction: column-reverse; align-items: stretch; padding: 14px 20px 20px; gap: 10px; }
  .inq-foot .btn { width: 100%; }
  .inq-foot p { max-width: none; text-align: center; }
}
@media (max-width: 400px) { .svc-team { grid-template-columns: minmax(0, 1fr); } }
.svc-last { padding-bottom: 0; }

/* Homepage (index.html) -------------------------------------------------------------------------------------------------
   The whole page wears the shared .deep theme (body class, build.py meta "theme"). Components come from the Services page
   (.svc-stage layered hero, .svc-values cards, .svc-steps line, .svc-ic icons); only the home-specific pieces are here. */
.tone-a { background: var(--bg); }
.tone-b { background: var(--bg-2); border-block: 1px solid var(--line); }
.glow { position: relative; overflow: hidden; isolation: isolate; }
.glow::before { content: ""; position: absolute; z-index: -1; top: -260px; left: -240px; width: 760px; height: 760px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle closest-side, rgba(181, 23, 158, .14), transparent); }
.glow::after { content: ""; position: absolute; z-index: -1; top: 38%; right: -260px; width: 680px; height: 680px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle closest-side, rgba(10, 124, 240, .12), transparent); }
.deep .eyebrow { color: var(--ink-2); }
.deep .lead { color: var(--ink-2); }

/* Hero */
.hm-hero { padding-block: clamp(40px, 6vw, 88px) clamp(48px, 6vw, 88px); }
.hm-hero::before { top: -300px; left: -260px; background: radial-gradient(circle closest-side, rgba(247, 137, 31, .16), transparent); }
.hm-hero h1 { font-size: clamp(40px, 4.8vw, 80px); line-height: 1.02; }
.hm-hero h1 span { display: block; }
.hm-hero .lead { max-width: 52ch; }
.hm-sql { color: var(--ink-2); font-size: 15.5px; max-width: 52ch; border-left: 2px solid var(--line-strong); padding-left: 14px; }
.hm-sql b { color: var(--ink); font-weight: 600; }
.hm-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hm-chips li { display: inline-flex; align-items: center; gap: 7px; font: 500 13.5px/1 var(--body); color: var(--ink); padding: 8px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px solid var(--line-strong); }
.hm-chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--brand)); box-shadow: 0 0 10px var(--c, var(--brand)); }
.hm-chips li:nth-child(2) { --c: #e05cc8; } .hm-chips li:nth-child(3) { --c: #4cc982; } .hm-chips li:nth-child(4) { --c: #5aa2ff; } .hm-chips li:nth-child(5) { --c: #a78bfa; }
.hm-stage .svc-main { left: 8%; top: 10%; width: 84%; }
.hm-stage .hm-guided { left: 0; bottom: 6%; width: 46%; z-index: 4; animation-delay: .35s; }
.hm-stage .hm-guided .svc-float { animation-duration: 10s; animation-delay: -4s; }
.hm-stage .hm-hub { right: 0; top: 0; width: 38%; z-index: 3; animation-delay: .5s; }
.hm-stage .hm-hub .svc-float { animation-duration: 11s; animation-delay: -6s; }
.hm-stage .hm-pub { right: 2%; bottom: 0; width: 40%; z-index: 5; animation-delay: .65s; }
.hm-stage .hm-pub .svc-float { animation-duration: 9s; animation-delay: -2s; }
.hm-stage figure img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); background: var(--surface); }
.hm-pub .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink-2); }
.hm-pub .row b { color: var(--ink); font-weight: 600; }
.hm-pub .ok { font: 650 11px/1 var(--body); color: var(--green); background: var(--green-soft); padding: 4px 8px; border-radius: 999px; }
@media (max-width: 560px) {
  .hm-stage .svc-main { left: 0; width: 100%; top: 14%; }
  .hm-stage .hm-guided { width: 56%; bottom: 4%; }
  .hm-stage .hm-hub { width: 46%; }
  .hm-stage .hm-pub { width: 58%; }
  .hm-pub .row { font-size: 11.5px; }
}

/* Capabilities: the six .svc-values cards, with a coloured icon each */
.hm-caps .svc-values li { background: var(--surface); }
.hm-caps .svc-values .svc-ic { color: var(--c, var(--brand)); }
.hm-caps .svc-values li:nth-child(2) { --c: #5aa2ff; } .hm-caps .svc-values li:nth-child(3) { --c: #4cc982; } .hm-caps .svc-values li:nth-child(4) { --c: #ff9a3a; }
.hm-caps .svc-values li:nth-child(5) { --c: #a78bfa; } .hm-caps .svc-values li:nth-child(6) { --c: #e05cc8; }
.hm-caps .svc-values li a { color: inherit; }
.hm-caps .svc-values li a::after { content: ""; position: absolute; inset: 0; }
.hm-caps .svc-values li { position: relative; }
.hm-caps .svc-values li:hover { border-color: color-mix(in srgb, var(--c, var(--brand)) 55%, var(--line)); }

/* Workflow: steps (left) + a real screenshot (right) */
.hm-flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hm-flow .svc-steps { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-left: 34px; gap: 12px; }
.hm-flow .svc-steps::before, .hm-flow .svc-steps::after { top: 8px; bottom: 8px; left: 8px; right: auto; width: 2px; height: auto; }
.hm-flow .svc-steps::after { transform: scaleY(0); transform-origin: top; }
.hm-flow .svc-steps.run::after { transform: scaleY(1); }
.hm-flow .svc-steps > li { padding: 16px 18px; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; }
.hm-flow .svc-steps > li::before { top: 18px; left: -34px; }
.hm-flow .svc-steps h3 { font-size: 18px; }
.hm-flow .svc-steps p { grid-column: 1 / -1; font-size: 14.5px; }
.hm-flow .svc-step-n { grid-column: 1 / -1; }
.hm-app { font: 600 11.5px/1 var(--mono); color: var(--blue); background: var(--blue-soft); padding: 5px 8px; border-radius: 999px; white-space: nowrap; align-self: center; }
.hm-shot { margin: 0; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); background: var(--surface); }
.hm-shot::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); z-index: 1; }
.hm-shot img { width: 100%; height: auto; display: block; }
.hm-shot figcaption { font-size: 13px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .hm-flow { grid-template-columns: minmax(0, 1fr); } }

/* Personas */
.hm-personas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hm-persona { position: relative; display: grid; gap: 12px; align-content: start; padding: 24px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s; overflow: hidden; }
.hm-persona::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); transform: scaleX(.15); transform-origin: left; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.hm-persona:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.hm-persona:hover::before { transform: scaleX(1); }
.hm-persona .svc-ic { width: 28px; height: 28px; color: var(--brand); }
.hm-persona h3 { font-size: 19px; }
.hm-persona p { color: var(--ink-2); font-size: 14.5px; }
.hm-journey { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hm-journey li { font: 600 12px/1 var(--body); color: var(--ink); padding: 6px 9px; border-radius: 999px; background: var(--sunken); border: 1px solid var(--line-strong); }
.hm-journey li + li::before { content: "→"; color: var(--muted); margin: 0 6px 0 -2px; font-weight: 400; }
.hm-persona a.more { font: 600 14px var(--body); color: var(--blue); margin-top: 4px; }
@media (max-width: 1100px) { .hm-personas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hm-personas { grid-template-columns: minmax(0, 1fr); } }

/* Ecosystem: Signeal Cloud in the middle, four apps around it, curved gradient lines */
.hm-eco { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 22px clamp(40px, 7vw, 120px);
  align-items: center; padding-block: 10px; }
.hm-eco-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hm-eco-lines path { fill: none; stroke: url(#hm-grad); stroke-width: 2; stroke-dasharray: 6 7; opacity: 1; animation: svcdash 9s linear infinite; }
.hm-app-card { position: relative; z-index: 1; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 3px; align-items: center; padding: 18px;
  border-radius: 16px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); transition: transform .25s, border-color .25s; }
.hm-app-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c, var(--brand)) 60%, var(--line-strong)); }
.hm-app-card .ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--c, var(--brand)); }
.hm-app-card .ic .svc-ic { width: 22px; height: 22px; }
.hm-app-card b { font: 650 16px/1.2 var(--display); }
.hm-app-card small { color: var(--ink-2); font-size: 13.5px; line-height: 1.4; }
.hm-app-card.explorer { --c: #2f7fe0; grid-area: 1 / 1 / 3 / 2; align-self: center; }
.hm-app-card.link { --c: #149a58; grid-area: 1 / 3; } .hm-app-card.bistudio { --c: #c2410c; grid-area: 2 / 3; }
.hm-core { grid-area: 1 / 2 / 3 / 3; z-index: 1; position: relative; text-align: center; display: grid; justify-items: center; gap: 10px; padding: clamp(26px, 3vw, 40px);
  border-radius: 22px; background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--brand) 14%, var(--surface)), var(--surface) 60%);
  border: 1px solid transparent; background-clip: padding-box; box-shadow: 0 30px 80px -30px rgba(247, 137, 31, .35); }
.hm-core::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.hm-core img { width: 56px; height: 56px; }
.hm-core b { font: 700 clamp(22px, 2vw, 28px)/1.1 var(--display); }
.hm-core p { color: var(--ink-2); }
.hm-core .where { font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) {
  .hm-eco { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 12px; padding-left: 26px; }
  .hm-eco::before { content: ""; position: absolute; left: 8px; top: 20px; bottom: 20px; width: 2px; background: var(--grad); opacity: .7; border-radius: 2px; }
  .hm-core, .hm-app-card.explorer, .hm-app-card.link, .hm-app-card.bistudio { grid-area: auto; }
  .hm-core { order: -1; }
  .hm-eco-lines { display: none; }
}

/* Governance */
.hm-gov { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.hm-gov > div { background: var(--surface); padding: 26px 24px; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; align-content: start;
  transition: background .2s; }
.hm-gov > div:hover { background: var(--surface-2); }
.hm-gov .ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--sunken); border: 1px solid var(--line-strong); color: var(--brand); }
.hm-gov h3 { font-size: 17px; }
.hm-gov p { color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 980px) { .hm-gov { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hm-gov { grid-template-columns: minmax(0, 1fr); } }

/* Showcase: tabs + layered, cross-fading screenshots */
.hm-show-tabs { display: flex; width: max-content; max-width: 100%; flex-wrap: wrap; margin: 0 auto 56px; }
.hm-show { position: relative; max-width: 1120px; margin-inline: auto; padding: 0 0 0 0; }
.hm-show::before, .hm-show::after { content: ""; position: absolute; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--surface); pointer-events: none; }
.hm-show::before { inset: -18px 4% auto 4%; height: 60%; opacity: .5; }
.hm-show::after { inset: -34px 9% auto 9%; height: 50%; opacity: .25; }
.hm-show-stack { z-index: 1; }
.hm-show-stack { position: relative; display: grid; }
.hm-show-stack figure { grid-area: 1 / 1; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.hm-show-stack figure.on { opacity: 1; transform: none; pointer-events: auto; position: relative; z-index: 2; }
.hm-show-stack figure.back { opacity: 0; z-index: 1; }   /* the previous screen fades out underneath - never over the new one */
.hm-show-stack img { width: 100%; height: auto; display: block; }
.hm-show-stack figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--ink-2); padding: 12px 16px; border-top: 1px solid var(--line); }
.hm-show-stack figcaption b { color: var(--ink); }

/* Services promo band */
.hm-promo { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; padding: clamp(28px, 4vw, 48px);
  border-radius: 22px; background: linear-gradient(115deg, color-mix(in srgb, #b5179e 22%, var(--surface)), var(--surface) 45%, color-mix(in srgb, #0a7cf0 18%, var(--surface)));
  border: 1px solid var(--line-strong); }
.hm-promo h2 { font-size: clamp(26px, 2.6vw, 40px); max-width: 26ch; }
.hm-promo p { color: var(--ink-2); max-width: 60ch; margin-top: 10px; }
.hm-promo .svc-g { background: linear-gradient(100deg, #ff9a3a, #ff5a5a 60%, #e05cc8); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 760px) { .hm-promo { grid-template-columns: minmax(0, 1fr); } .hm-promo .btn { justify-self: start; } }

/* Final CTA: dark, with a slowly moving gradient edge */
.hm-final { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(36px, 6vw, 72px); text-align: center; display: grid; justify-items: center; gap: 18px;
  background: radial-gradient(90% 140% at 50% 0%, color-mix(in srgb, var(--brand) 16%, var(--surface)), var(--surface) 70%); border: 1px solid var(--line-strong); }
.hm-final::after { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #ff8a1f, #ff3b3b, #b5179e, #0a7cf0, #ff8a1f); background-size: 200% 100%;
  animation: svcedge 10s linear infinite; }
.hm-final h2 { font-size: clamp(30px, 3.6vw, 56px); max-width: 20ch; }
.hm-final p { color: var(--ink-2); max-width: 56ch; }
.hm-final .hero-actions { justify-content: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Homepage on the light page: the promo sits under the dark showcase; the closing banner is centred */
.hm-show ~ .hm-promo { margin-top: clamp(56px, 7vw, 96px); }
.hm-cta { justify-items: center; text-align: center; }
.hm-cta h2 { max-width: 22ch; }
.hm-cta p { margin-inline: auto; }
.hm-cta .hero-actions { justify-content: center; }

/* Compare page (compare.html + assets/compare.js) ------------------------------------------------------------------------
   Status colours (one set for every legend, pill and badge) and the Focus switch: html[data-focus] fades the other tools. */
.st-built, .st-yes, .fit-best, .st-best { --st: var(--green); --st-bg: var(--green-soft); }
.st-opt, .st-part, .fit-good, .st-good { --st: var(--blue); --st-bg: var(--blue-soft); }
.st-dep, .st-add, .fit-cons, .st-cons { --st: var(--amber); --st-bg: var(--amber-soft); }
.st-lim { --st: var(--red); --st-bg: var(--red-soft); }
.st-na { --st: var(--muted); --st-bg: color-mix(in srgb, var(--muted) 12%, transparent); }
html[data-focus="signeal"] [data-tool]:not([data-tool="signeal"]),
html[data-focus="pbi"] [data-tool]:not([data-tool="pbi"]),
html[data-focus="tab"] [data-tool]:not([data-tool="tab"]) { opacity: .28; filter: saturate(.4); }
[data-tool] { transition: opacity .35s, filter .35s; }

.cmp-logo { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; font: 750 15px/1 var(--display); color: #fff; }
.cmp-logo.s { background: linear-gradient(135deg, #ff8a1f, #ff3b3b 55%, #b5179e); }
.cmp-logo.p { background: #b58a00; }
.cmp-logo.t { background: #2d5f9a; }

/* Hero */
.cmp-hero { padding-block: clamp(48px, 6vw, 88px) clamp(32px, 4vw, 56px); position: relative; overflow: hidden; }
.cmp-hero::before { content: ""; position: absolute; top: -320px; right: -240px; width: 820px; height: 820px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle closest-side, color-mix(in srgb, var(--brand) 13%, transparent), transparent); }
.cmp-hero .wrap { display: grid; gap: 20px; position: relative; }
.cmp-hero h1 { max-width: 18ch; }
.cmp-best { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.cmp-best-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cmp-best-card small { display: block; font: 600 12px/1 var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; }
.cmp-best-card b { font: 650 15.5px/1.3 var(--display); }
.cmp-best-card[data-tool="signeal"] { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); }
@media (max-width: 860px) { .cmp-best { grid-template-columns: minmax(0, 1fr); } }

/* Sticky bar */
.cmp-nav .wrap { align-items: center; }
.cmp-focus-label { margin-left: auto; padding-left: 18px; font: 600 12px/1 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
.cmp-focus { flex: none; margin: 6px 0 6px 10px; }
.cmp-focus button { padding: 6px 11px; font-size: 13px; white-space: nowrap; }
@media (max-width: 760px) { .cmp-focus-label { margin-left: 12px; padding-left: 0; } }

/* Legends */
.cmp-legend { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--ink-2); }
.cmp-legend li { display: inline-flex; align-items: center; gap: 7px; }
.cmp-legend .st { width: 10px; height: 10px; border-radius: 50%; background: var(--st); box-shadow: 0 0 0 3px var(--st-bg); }

/* Snapshot */
.cmp-snap { display: grid; gap: 8px; }
.cmp-snap-head, .cmp-snap-row { display: grid; grid-template-columns: minmax(180px, 1.1fr) repeat(3, minmax(0, 1fr)); gap: 8px; align-items: center; }
.cmp-snap-head { font: 650 12px/1 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 0 12px 4px; }
.cmp-snap-head [data-tool="signeal"] { color: var(--brand); }
.cmp-snap-row { padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.cmp-snap-row:hover { border-color: var(--line-strong); background: var(--surface-2); }
.cmp-snap-row > b { display: flex; align-items: center; gap: 10px; font: 600 15px/1.3 var(--body); }
.cmp-snap-row > b .svc-ic { color: var(--brand); width: 20px; height: 20px; }
.pill { display: inline-flex; align-items: center; gap: 8px; justify-self: start; max-width: 100%; padding: 7px 11px; border-radius: 999px; font: 500 13.5px/1.3 var(--body);
  color: var(--ink); background: var(--st-bg); border: 1px solid color-mix(in srgb, var(--st) 35%, transparent); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--st); flex: none; }
@media (max-width: 860px) {
  .cmp-snap-head { display: none; }
  .cmp-snap-row { grid-template-columns: minmax(0, 1fr); gap: 7px; padding: 14px; }
  .cmp-snap-row .pill { justify-self: stretch; }
  .cmp-snap-row .pill[data-tool]::after { order: -1; font: 650 11px/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); min-width: 64px; }
  .cmp-snap-row .pill[data-tool="signeal"]::after { content: "Signeal"; }
  .cmp-snap-row .pill[data-tool="pbi"]::after { content: "Power BI"; }
  .cmp-snap-row .pill[data-tool="tab"]::after { content: "Tableau"; }
}

/* At a glance */
.cmp-glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cmp-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 16px; align-content: start;
  transition: transform .25s, box-shadow .25s, border-color .25s; }
.cmp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.cmp-card.me { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.cmp-card header { display: flex; align-items: center; gap: 12px; }
.cmp-card h3 { font-size: 20px; }
.cmp-card dl { margin: 0; display: grid; gap: 12px; }
.cmp-card dt { font: 650 11px/1 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.cmp-card dd { margin: 5px 0 0; color: var(--ink); font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip-s { display: inline-flex; font: 550 12.5px/1 var(--body); padding: 6px 9px; border-radius: 999px; background: var(--sunken); border: 1px solid var(--line-strong); color: var(--ink); }
@media (max-width: 980px) { .cmp-glance { grid-template-columns: minmax(0, 1fr); max-width: 640px; } }

/* Feature matrix (a table; stacked cards on phones) */
.cmp-matrix-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.cmp-matrix { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp-matrix th, .cmp-matrix td { padding: 12px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.cmp-matrix tbody tr:last-child > * { border-bottom: 0; }
.cmp-matrix thead th { font: 650 12px/1.2 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--sunken); }
.cmp-matrix thead th[data-tool="signeal"] { color: var(--brand); }
.cmp-matrix tbody th { font-weight: 600; color: var(--ink); width: 30%; }
.cmp-matrix td[data-tool="signeal"] { background: color-mix(in srgb, var(--brand) 5%, transparent); }
.cmp-matrix tbody tr:hover > * { background: color-mix(in srgb, var(--blue) 5%, transparent); }
.cmp-matrix td s { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font: 650 12.5px/1 var(--body); padding: 5px 9px; border-radius: 999px; color: var(--st); background: var(--st-bg); }
.cmp-matrix td s::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--st); }
.cmp-matrix td small { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; }
.cmp-note { margin-top: 12px; }
@media (max-width: 760px) {
  .cmp-matrix-wrap { border: 0; background: none; overflow: visible; }
  .cmp-matrix thead { display: none; }
  .cmp-matrix, .cmp-matrix tbody { display: block; }
  .cmp-matrix tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
  .cmp-matrix tbody th { grid-column: 1 / -1; width: auto; background: var(--sunken); }
  .cmp-matrix td { border-bottom: 0; padding: 10px 12px; }
  .cmp-matrix td::before { content: attr(data-label); display: block; font: 650 10.5px/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 7px; }
  .cmp-matrix td s { font-size: 12px; padding: 4px 7px; }
}

/* Pricing approach */
.cmp-price { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.cmp-philo { display: grid; gap: 12px; }
.cmp-philo article { display: flex; gap: 14px; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.cmp-philo article[data-tool="signeal"] { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); }
.cmp-philo article > div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cmp-philo b { font: 650 16px/1.2 var(--display); width: 100%; }
.cmp-philo small { width: 100%; color: var(--ink-2); font-size: 13.5px; margin-top: 4px; }
.cmp-bars { padding: clamp(18px, 2.5vw, 28px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-strong); display: grid; gap: 18px; }
.cmp-bars-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.cmp-bars-top .seg button { padding: 6px 10px; font-size: 13px; }
.cmp-bar { display: grid; grid-template-columns: 130px minmax(0, 1fr) 92px; gap: 12px; align-items: center; }
.cmp-bar span { font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.cmp-bar span small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.cmp-track { height: 14px; border-radius: 999px; background: var(--sunken); border: 1px solid var(--line); overflow: hidden; }
.cmp-track i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--line-strong); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.cmp-bar[data-tool="signeal"] .cmp-track i { background: var(--grad); }
.cmp-bar b { text-align: right; font: 650 17px/1 var(--display); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .cmp-price { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .cmp-bar { grid-template-columns: minmax(0, 1fr) auto; } .cmp-track { grid-column: 1 / -1; grid-row: 2; } }

/* Use cases */
.cmp-uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cmp-use { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 12px; align-content: start; transition: transform .25s, box-shadow .25s; }
.cmp-use:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cmp-use h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.cmp-use h3 .svc-ic { color: var(--brand); }
.cmp-use ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cmp-use li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; background: var(--bg); font-size: 14px; font-weight: 550; }
.cmp-use li s { text-decoration: none; font: 650 12px/1 var(--body); padding: 5px 9px; border-radius: 999px; color: var(--st); background: var(--st-bg); }
.cmp-use p { color: var(--muted); font-size: 13.5px; }
@media (max-width: 980px) { .cmp-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cmp-uses { grid-template-columns: minmax(0, 1fr); } }

/* Why Signeal */
.cmp-why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cmp-why li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 3px; align-items: center; padding: 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.cmp-why li:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); transform: translateY(-2px); }
.cmp-why .svc-ic { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.cmp-why b { font: 650 15.5px/1.25 var(--display); }
.cmp-why span { color: var(--ink-2); font-size: 14px; }
@media (max-width: 900px) { .cmp-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cmp-why { grid-template-columns: minmax(0, 1fr); } }

/* Verdict */
.cmp-verdict { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cmp-verdict article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 14px; align-content: start; }
.cmp-verdict article.me { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.cmp-verdict h3 { display: flex; align-items: center; gap: 12px; font-size: 18px; }
@media (max-width: 900px) { .cmp-verdict { grid-template-columns: minmax(0, 1fr); max-width: 640px; } }
