/* FRONTFACE by BlueKin: one stylesheet for every page of the site. */
:root {
  /* Layout: one 74rem column. BlueKin's gradient hero with the fusion diagram; a chaptered film for how it works (learns, works, compounds); a navy band for the real build; a short investor close. */
  color-scheme: light;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #56647b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --mist: #f4f7fc;
  --blue: #2563eb;
  --blue-ink: #1d4ed8;
  --violet: #5b4bd8;
  --sky: #a8e9ff;
  --mint: #7ff0c4;
  --green: #0b815a;
  --green-bg: #e5f5ee;
  --amber: #9a5205;
  --amber-bg: #fdf1e1;
  --navy: #0a1130;
  --on-dark: #eef2ff;
  --on-dark-2: #a9b4d8;
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 74rem;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 32px -14px rgba(15, 23, 42, .22);
  --hero-grad: radial-gradient(at 100% 0, rgba(85, 216, 238, .65), rgba(85, 216, 238, 0) 53%), radial-gradient(at 47% 120%, rgba(141, 66, 244, .73), rgba(141, 66, 244, 0) 62%), linear-gradient(112deg, #3248aa 0%, #514bd1 47%, #627de1 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--font-ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 16px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 500 12px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow-dark { color: rgba(255, 255, 255, .85); }
.eyebrow-navy { color: #8fdcff; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(168, 233, 255, .2); }
h2 { margin: 0 0 16px; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 600; }
.lede-2 { margin: 0; max-width: 38em; font-size: 1.125rem; color: var(--muted); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 12px; padding: 11px 18px; font: 600 15px/1.2 var(--font-ui); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(37, 99, 235, .8); }
.btn-primary:hover { background: var(--blue-ink); transform: translateY(-1px); }
.btn-light { background: #fff; color: #1f2a6e; border-radius: 999px; padding: 13px 22px; box-shadow: 0 12px 30px -12px rgba(10, 17, 48, .6); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -12px rgba(10, 17, 48, .7); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: 12px 20px; }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; padding-block: 12px; }
.nav { display: flex; align-items: center; gap: 20px; padding: 9px 9px 9px 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 8px 26px -16px rgba(15, 23, 42, .35); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { flex: none; width: 26px; height: 26px; }
.brand-word { font-weight: 700; font-size: 19px; letter-spacing: .03em; color: var(--ink); }
.brand-div { width: 1px; height: 18px; background: var(--line); }
.brand-product { font-size: 14px; font-weight: 500; letter-spacing: .07em; color: var(--ink-2); }
.nav-links { display: flex; gap: 2px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; white-space: nowrap; border-radius: 10px; color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav-links a svg { width: 13px; height: 13px; color: var(--muted); }
.nav-links a:hover { background: var(--mist); color: var(--ink); }

/* Hero */
.hero-band { padding-block: 6px 0; }
.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: center; padding: clamp(28px, 4.2vw, 56px); border-radius: 30px; background: var(--hero-grad); color: #fff; }
.hero h1 { margin: 0 0 22px; font-size: clamp(2.5rem, 1.4rem + 3vw, 3.7rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 600; }
.hero h1 .hl { color: var(--sky); }
@media (min-width: 600px) { .hero h1 .nb { white-space: nowrap; } }
.lede { margin: 0 0 18px; max-width: 31em; font-size: clamp(1.08rem, 1rem + .35vw, 1.22rem); line-height: 1.58; color: rgba(255, 255, 255, .92); }
.punch { margin: 0 0 30px; font: 500 italic clamp(1.25rem, 1.1rem + .6vw, 1.6rem)/1.3 var(--font-display); color: #fff; }
.punch span { color: var(--sky); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.hero-visual { margin: 0; display: grid; gap: 12px; justify-items: center; }

/* The fusion diagram: every app, data source and agent flows into the Knowledge Core */
.orbit { width: 100%; max-width: 430px; height: auto; overflow: visible; }
.orbit .ring { fill: none; stroke: rgba(255, 255, 255, .15); stroke-dasharray: 2 7; }
.orbit .wire { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1.3; stroke-linejoin: round; transition: stroke .5s ease; }
.orbit .halo, .orbit .bolt, .orbit .forks, .orbit .spark { fill: none; stroke-linejoin: round; stroke-linecap: round; opacity: 0; transition: opacity .5s ease; }
.orbit .halo { stroke: rgba(168, 233, 255, .3); stroke-width: 8; stroke-dasharray: 30 70; }
.orbit .bolt { stroke: #e6fbff; stroke-width: 2.1; stroke-dasharray: 30 70; }
.orbit .forks { stroke: rgba(214, 248, 255, .65); stroke-width: 1.2; }
.orbit .spark { stroke: #fff; stroke-width: 3.6; stroke-dasharray: 1.2 98.8; }
.orbit .app.lit .wire { stroke: rgba(214, 248, 255, .34); }
.orbit .app.lit .halo, .orbit .app.lit .bolt { opacity: 1; animation: flow 1.9s linear infinite; animation-delay: var(--d, 0s); }
.orbit .app.lit .spark { opacity: 1; animation: flow 1.25s linear infinite; animation-delay: var(--d, 0s); }
.orbit .app.lit .forks { opacity: 1; animation: flicker 2.3s steps(1, end) infinite; animation-delay: var(--d, 0s); }
@keyframes flow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes flicker { 0% { opacity: .9; } 30% { opacity: .2; } 46% { opacity: .85; } 70% { opacity: .35; } }
.orbit .node { opacity: .45; transition: opacity .5s ease; }
.orbit .app.lit .node { opacity: 1; }
.orbit .tile { fill: #fff; stroke: rgba(168, 233, 255, 0); stroke-width: 3; transition: stroke .3s ease; }
.orbit .app.lit .tile { filter: url(#tile-glow); }
.orbit .app.hot .tile { stroke: rgba(168, 233, 255, 1); }
.orbit .node-label { fill: #fff; font: 500 13px var(--font-ui); text-anchor: middle; paint-order: stroke; stroke: rgba(38, 48, 140, .6); stroke-width: 3px; stroke-linejoin: round; }
.orbit .core-name { fill: #fff; font: 600 13.5px var(--font-ui); text-anchor: middle; }
.orbit .core-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.orbit .core-ring { transform-box: fill-box; transform-origin: center; animation: spin 26s linear infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .85; } to { transform: scale(1.5); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* The task runner under the diagram */
.runner { width: 100%; max-width: 470px; margin: 0; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 16px; background: rgba(9, 15, 52, .34); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.runner-top { display: flex; align-items: center; gap: 10px; }
.runner-who { font: 500 11.5px/1.3 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.runner-pause { display: grid; place-items: center; width: 28px; height: 28px; margin-left: auto; padding: 0; border: 1px solid rgba(255, 255, 255, .32); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.runner-pause svg { width: 13px; height: 13px; }
.runner-ask { margin: 6px 0 10px; font: 500 1.2rem/1.3 var(--font-display); color: #fff; }
.runner-steps { display: grid; align-content: start; gap: 5px; min-height: 7.7rem; margin: 0; padding: 0; list-style: none; }
.runner-steps li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: 13.5px; line-height: 1.35; color: rgba(255, 255, 255, .94); animation: step-in .35s ease both; }
.runner-steps li svg { width: 15px; height: 15px; color: var(--mint); }
.runner-steps em { padding: 3px 6px; border-radius: 5px; background: rgba(255, 255, 255, .12); font: 500 10.5px/1 var(--font-mono); font-style: normal; color: rgba(255, 255, 255, .8); white-space: nowrap; }
@keyframes step-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.runner-result { display: flex; align-items: center; gap: 8px; min-height: 1.5em; margin: 10px 0 0; font-size: 13.5px; font-weight: 600; color: var(--mint); }
.runner-result svg { flex: none; width: 16px; height: 16px; }
.runner-learned { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0 0; padding-top: 9px; border-top: 1px dashed rgba(255, 255, 255, .24); font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .9); }
.runner-learned svg { flex: none; width: 15px; height: 15px; margin-top: 1px; color: var(--sky); }
.runner-learned b { font-weight: 600; color: var(--sky); }
.runner-result.is-waiting, .runner-learned.is-waiting { visibility: hidden; }
.try { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.try-lbl { margin-right: 2px; font: 500 11px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.try button { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .32); border-radius: 999px; background: rgba(255, 255, 255, .08); font: 500 12.5px/1.2 var(--font-ui); color: #fff; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.try button:hover { background: rgba(255, 255, 255, .18); }
.try button[aria-pressed="true"] { background: #fff; color: #1f2a6e; }

/* How it works: the film */
.how { padding-block: clamp(64px, 8vw, 104px) clamp(56px, 7vw, 88px); }
.how-head { max-width: 50rem; margin: 0 auto; text-align: center; }
.how-head .eyebrow { justify-content: center; }
.how-words { margin: 0 0 16px; font-size: clamp(2.4rem, 1.2rem + 4.4vw, 4.8rem); line-height: 1.02; letter-spacing: -.045em; }
.how-words .c1 { color: var(--blue); }
.how-words .c2 { color: var(--violet); }
.how-words .c3 { color: var(--green); }
.how-head .lede-2 { margin: 0 auto; }

.film { margin-top: clamp(28px, 4vw, 44px); }
.loop { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 48px); align-items: center; }
.loop-side { display: grid; justify-items: center; gap: 18px; }
.stage { position: relative; display: grid; container-type: inline-size; overflow: hidden; border: 1px solid #dde5f4; border-radius: 26px; background: radial-gradient(900px 420px at 85% -10%, rgba(85, 216, 238, .18), rgba(85, 216, 238, 0) 60%), radial-gradient(800px 420px at 0% 115%, rgba(141, 66, 244, .14), rgba(141, 66, 244, 0) 60%), linear-gradient(180deg, #f4f7ff, #eef2fb); }
.stage::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background-color: var(--blue); transition: background-color .35s ease; }
.film[data-active="1"] .stage::before { background-color: var(--violet); }
.film[data-active="2"] .stage::before { background-color: var(--green); }
.shot { grid-area: 1 / 1; display: grid; align-content: center; padding: clamp(22px, 3.2vw, 38px); visibility: hidden; opacity: 0; transition: opacity .45s ease, visibility 0s linear .45s; }
.shot.is-active { visibility: visible; opacity: 1; transition: opacity .45s ease, visibility 0s; }
.shot.is-active .in { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 40ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.arch { display: grid; gap: clamp(16px, 2.2vw, 24px); width: 100%; }
.arch-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: baseline; max-width: 56rem; }
.arch-head .num { grid-row: span 2; font: 500 italic 3.3rem/.9 var(--font-display); color: var(--blue); }
.arch-head h3 { margin: 0; font-size: clamp(1.4rem, 1rem + 1.2vw, 1.9rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 600; }
.arch-head p { margin: 0; max-width: 46em; font-size: .97rem; color: var(--ink-2); }
#shot-work .num { color: var(--violet); }
#shot-compound .num { color: var(--green); }

/* Chapter: it learns. Three sources flow down through the Curated gate into the Knowledge Core */
.ll { display: grid; }
.ll-sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ll-src { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-content: start; align-items: center; gap: 8px 10px; padding: 14px; border: 1px solid #dfe6f3; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.ll-src > div { display: contents; }
.ll-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; }
.ll-ic svg { width: 18px; height: 18px; }
.ll-src:nth-child(1) .ll-ic { background: #fdecef; color: #e11d48; }
.ll-src:nth-child(2) .ll-ic { background: #e8eeff; color: var(--blue); }
.ll-src:nth-child(3) .ll-ic { background: #e3f5f8; color: #0e7490; }
.ll-src:nth-child(4) .ll-ic { background: var(--amber-bg); color: #b45309; }
.ll-src b { font-size: 14.5px; line-height: 1.3; color: var(--ink); }
.ll-src p { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.ll-tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; }
.ll-tags i { padding: 2px 6px; border-radius: 5px; background: #f1f4f9; font: 500 10.5px/1.4 var(--font-mono); font-style: normal; color: #4b5873; }
.ll-merge { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ll-pipe { position: relative; display: block; justify-self: center; width: 3px; height: 20px; margin: 6px 0 14px; border-radius: 3px; background: repeating-linear-gradient(180deg, var(--violet) 0 8px, rgba(91, 75, 216, 0) 8px 14px); background-size: 3px 14px; }
.ll-pipe::after { content: ""; position: absolute; left: -5px; bottom: -11px; border: 6.5px solid transparent; border-top-color: var(--violet); }
.shot.is-active .ll-pipe { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both, pipe-down .7s linear infinite; animation-delay: calc(var(--i, 0) * 40ms + 80ms), 0s; }
@keyframes pipe-down { to { background-position: 0 14px; } }
.ll-curate { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 22px; padding: 14px 18px; border: 1px dashed #b9aef5; border-radius: 16px; background: #faf8ff; }
.ll-curate-h { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14.5px; font-weight: 700; color: var(--violet); }
.ll-curate-h svg { width: 18px; height: 18px; }
.ll-curate ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 16px; margin: 0; padding: 0; list-style: none; }
.ll-curate li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 6px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.ll-curate li svg { width: 14px; height: 14px; margin-top: 2px; color: var(--green); }
.kcore { padding: 14px 16px 16px; border: 1px solid #d9d1fb; border-radius: 18px; background: #fff; box-shadow: 0 18px 40px -24px rgba(91, 75, 216, .55); }
.kcore-h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 15px; font-weight: 700; color: var(--ink); }
.kcore-h svg { width: 18px; height: 18px; }
.layers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.layers li { position: relative; display: grid; align-content: start; gap: 2px; padding: 9px 11px; border-radius: 10px; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.layers li:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -12px; transform: translateY(-50%); font-size: 12px; color: var(--muted); }
.layers li b { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.layers li:nth-child(1) { background: #f1f4f9; }
.layers li:nth-child(1) b { color: var(--ink-2); }
.layers li:nth-child(2) { background: #e8eeff; }
.layers li:nth-child(2) b { color: var(--blue); }
.layers li:nth-child(3) { background: #efeafe; }
.layers li:nth-child(3) b { color: var(--violet); }
.layers li:nth-child(4) { background: var(--green-bg); }
.layers li:nth-child(4) b { color: var(--green); }
@container (max-width: 640px) {
  .ll-sources { grid-template-columns: minmax(0, 1fr); }
  .ll-merge { grid-template-columns: minmax(0, 1fr); }
  .ll-merge .ll-pipe:not(:first-child) { display: none; }
  .ll-curate { grid-template-columns: minmax(0, 1fr); }
  .layers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layers li::after { display: none; }
}
@container (max-width: 400px) {
  .layers { grid-template-columns: minmax(0, 1fr); }
}

/* Chapter: it works */
.works { display: grid; gap: 18px; }
.ui { overflow: hidden; border: 1px solid #dce3f0; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.ui-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 11px 16px; border-bottom: 1px solid #edf1f8; font: 600 13.5px/1.3 var(--font-ui); color: var(--ink-2); }
.ui-head .meta { margin-left: auto; font: 500 11px/1.2 var(--font-mono); letter-spacing: .04em; color: var(--muted); }
.agents { display: grid; margin: 0; padding: 4px 16px; list-style: none; }
.agents li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eef2f8; }
.agents li:last-child { border-bottom: 0; }
.agents b { display: block; font-size: 13.5px; color: var(--ink); }
.agents .doing { display: block; font-size: 12.5px; color: var(--muted); }
.avatar { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 600 11px/1 var(--font-ui); color: #fff; }
.av-bob { background: #2f6bec; }
.av-carol { background: #7c3aed; }
.av-jen { background: #0b815a; }
.av-team { background: #0e7490; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font: 600 11.5px/1 var(--font-ui); white-space: nowrap; }
.chip svg { width: 12px; height: 12px; }
.chip-ok { background: var(--green-bg); color: var(--green); }
.chip-wait { background: var(--amber-bg); color: var(--amber); }
.chip-lvl { background: #efeafe; color: #5534c2; }
.chip-run { background: #e8eeff; color: var(--blue-ink); }
.swap { display: grid; justify-items: end; }
.swap > * { grid-area: 1 / 1; }
.swap .before { visibility: hidden; }
.shot.is-active .swap .before { animation: show-then-hide 1.2s steps(1, end) both; animation-delay: calc(var(--i, 0) * 40ms + 200ms); }
.shot.is-active .swap .after { animation: pop .35s ease both; animation-delay: calc(var(--i, 0) * 40ms + 1400ms); }
@keyframes show-then-hide { 0% { visibility: visible; } 100% { visibility: hidden; } }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.next-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin: 0 16px 14px; padding: 10px 12px; border: 1px dashed #d6deec; border-radius: 12px; font-size: 13px; color: var(--ink-2); }
.use { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: u; }
@container (max-width: 640px) { .use { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
.use li { counter-increment: u; display: grid; grid-template-columns: 32px minmax(0, 1fr); align-content: start; gap: 2px 12px; }
.use li::before { content: counter(u); grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #efeafe; font: 600 13px/1 var(--font-mono); color: var(--violet); }
.use b { font-size: 15.5px; color: var(--ink); }
.use span { font-size: 14px; color: var(--ink-2); }

/* Chapter: it compounds */
.levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.levels li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.levels li:nth-child(1) { margin-top: 120px; background: linear-gradient(0deg, #eef1f6, #fff 55%); }
.levels li:nth-child(2) { margin-top: 80px; background: linear-gradient(0deg, #e8eeff, #fff 55%); }
.levels li:nth-child(3) { margin-top: 40px; background: linear-gradient(0deg, #efeafe, #fff 55%); }
.levels li:nth-child(4) { background: linear-gradient(0deg, var(--green-bg), #fff 55%); }
.levels li:not(:last-child)::after { content: "↗"; position: absolute; top: 12px; right: -15px; z-index: 1; font-size: 15px; color: var(--muted); }
.shot.is-active .levels li { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both, glow 1.3s ease both; animation-delay: calc(var(--i, 0) * 40ms + 80ms), calc(var(--i, 0) * 40ms + 450ms); }
@keyframes glow { 0% { border-color: var(--line); box-shadow: 0 0 0 0 rgba(91, 75, 216, 0); } 40% { border-color: #b9aef5; box-shadow: 0 0 0 5px rgba(91, 75, 216, .16); } 100% { border-color: var(--line); box-shadow: 0 0 0 0 rgba(91, 75, 216, 0); } }
.lv { align-self: flex-start; padding: 4px 10px; border-radius: 999px; font: 700 11px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; }
.levels li:nth-child(1) .lv { background: #f1f4f9; color: var(--ink-2); }
.levels li:nth-child(2) .lv { background: #e8eeff; color: var(--blue); }
.levels li:nth-child(3) .lv { background: #efeafe; color: var(--violet); }
.levels li:nth-child(4) .lv { background: var(--green-bg); color: var(--green); }
.levels p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.levels .who { margin-top: auto; padding-top: 8px; border-top: 1px dashed #e3e9f4; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.levels-note { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; color: var(--ink-2); }
.levels-note svg { flex: none; width: 16px; height: 16px; color: var(--muted); }
@container (max-width: 680px) {
  .levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .levels li:nth-child(n) { margin-top: 0; }
  .levels li::after { display: none; }
}
@container (max-width: 420px) {
  .levels { grid-template-columns: minmax(0, 1fr); }
}

/* Film controls, under the wheel */
.film-bar { display: flex; align-items: center; gap: 12px; max-width: 320px; }
.film-note { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.film-toggle { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #d3dbe8; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.film-toggle svg { width: 16px; height: 16px; }

/* The wheel: its three arcs are the chapter tabs, and a thin ring outside the active arc fills as that chapter plays */
.wheel { width: 100%; max-width: 360px; height: auto; overflow: visible; }
.wheel-track { fill: none; stroke: #edf1f8; stroke-width: 34; }
.wheel .wtab { cursor: pointer; outline: none; }
.wheel .arc { fill: none; stroke-width: 34; transition: stroke .35s ease; }
.wheel .arc-focus { fill: none; stroke: var(--ink); stroke-width: 42; opacity: 0; }
.wheel .wtab:focus-visible .arc-focus { opacity: 1; }
.wheel .arc-0 { stroke: #cdd9fb; }
.wheel .arc-1 { stroke: #dad3fb; }
.wheel .arc-2 { stroke: #c4ead9; }
.wheel .wtab:hover .arc-0 { stroke: #b4c6f8; }
.wheel .wtab:hover .arc-1 { stroke: #c6bcf8; }
.wheel .wtab:hover .arc-2 { stroke: #a6dfc5; }
.film[data-active="0"] .wheel .arc-0 { stroke: var(--blue); }
.film[data-active="1"] .wheel .arc-1 { stroke: var(--violet); }
.film[data-active="2"] .wheel .arc-2 { stroke: var(--green); }
.wheel .arc-label { font: 700 13px var(--font-ui); letter-spacing: .14em; text-anchor: middle; dominant-baseline: central; pointer-events: none; transition: fill .35s ease; }
.wheel .lab-0 { fill: #2b4bb0; }
.wheel .lab-1 { fill: #4a3bb8; }
.wheel .lab-2 { fill: #0b6b4b; }
.film[data-active="0"] .wheel .lab-0, .film[data-active="1"] .wheel .lab-1, .film[data-active="2"] .wheel .lab-2 { fill: #fff; }
.wheel .ring-track, .wheel .ring { fill: none; stroke-width: 3; }
.wheel .ring-track { stroke: #e3e9f4; }
.wheel .ring { stroke-dasharray: 100; stroke-dashoffset: 100; }
.wheel .wtab:nth-child(1) .ring { stroke: var(--blue); }
.wheel .wtab:nth-child(2) .ring { stroke: var(--violet); }
.wheel .wtab:nth-child(3) .ring { stroke: var(--green); }
.wheel [aria-selected="true"] .ring { animation: ring var(--shot, 9s) linear forwards; }
.film[data-playing="false"] .wheel [aria-selected="true"] .ring { animation-play-state: paused; }
@keyframes ring { to { stroke-dashoffset: 0; } }
.wheel .chev path { fill: none; stroke: #94a3b8; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.wheel-spin { transform-origin: 180px 180px; animation: spin 12s linear infinite; }
.film[data-playing="false"] .wheel-spin { animation-play-state: paused; }
.wheel-spin circle { fill: #fff; stroke: var(--violet); stroke-width: 3; }
.wheel-halo { fill: none; stroke: rgba(91, 75, 216, .28); stroke-width: 1.5; stroke-dasharray: 3 6; }
.wheel-core-t { fill: #fff; font: 600 14px var(--font-ui); text-anchor: middle; }

/* The whole loop, end to end: one person's know-how goes round all six steps in a pane of its own; the rail underneath is the map */
.lf { --g: var(--blue); margin-top: clamp(44px, 6vw, 72px); }
.lf[data-group="core"] { --g: #2f3aa6; }
.lf[data-group="work"] { --g: var(--violet); }
.lf[data-group="comp"] { --g: var(--green); }
.lf-head { margin-bottom: clamp(16px, 2.2vw, 22px); }
.lf-kicker { margin: 0 0 6px; font: 500 12px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lf-head h3 { margin: 0; font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.1rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 600; }
.lf-stage::before { background-color: var(--g); }
.lf-scenes { display: grid; }
.lf-scene { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); align-items: center; gap: clamp(20px, 3.4vw, 48px); min-height: 380px; padding: clamp(24px, 3.6vw, 48px); visibility: hidden; opacity: 0; transition: opacity .45s ease, visibility 0s linear .45s; }
.lf-scene.is-active { visibility: visible; opacity: 1; transition: opacity .45s ease, visibility 0s; }
.lf-scene.is-active .lf-copy { animation: rise .4s cubic-bezier(.2, .7, .2, 1) both; animation-delay: 40ms; }
.lf-scene.is-active .in { animation: rise .4s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * var(--beat, 150ms) + 150ms); }
.lf-copy { display: grid; align-content: center; gap: 10px; }
.lf-step { margin: 0; font: 600 11.5px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--g); }
.lf-copy h4 { margin: 0; font-size: clamp(1.45rem, 1.05rem + 1.3vw, 2.1rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 600; color: var(--ink); }
.lf-copy > p:last-child { margin: 0; max-width: 30em; font-size: 1rem; line-height: 1.55; color: var(--ink-2); }
.lf-vis { min-width: 0; }
.lf-ic { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #e1e7f2; border-radius: 10px; background: #fff; }
.lf-ic svg { width: 18px; height: 18px; }

/* 1 Connect: every app plugs into FRONTFACE through its own way in */
.lf-connect { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0 34px; }
.lf-side { display: grid; align-content: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.lf-side li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 2px 10px; padding: 10px 12px; border: 1px solid #e1e7f2; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.lf-side .lf-ic { grid-row: span 2; border: 0; background: #f4f7fc; }
.lf-side b { align-self: end; font-size: 13.5px; line-height: 1.25; color: var(--ink); }
.lf-side i { align-self: start; justify-self: start; padding: 2px 7px; border-radius: 999px; background: #eef2fb; font: 600 10.5px/1.3 var(--font-mono); font-style: normal; letter-spacing: .04em; color: var(--blue-ink); }
.lf-side li::after { content: ""; position: absolute; top: 50%; left: 100%; width: 34px; height: 2px; background: linear-gradient(90deg, #b9c8f5, var(--blue)); transform-origin: left; }
.lf-side:last-child li::after { left: auto; right: 100%; background: linear-gradient(270deg, #b9c8f5, var(--blue)); transform-origin: right; }
.lf-scene.is-active .lf-side li::after { animation: wire .3s ease both; animation-delay: calc(var(--i, 0) * var(--beat, 150ms) + 300ms); }
.lf-scene.is-active .lf-side i { animation: pop .3s ease both; animation-delay: calc(var(--i, 0) * var(--beat, 150ms) + 420ms); }
@keyframes wire { from { transform: scaleX(0); } }
.lf-hub { align-self: stretch; display: grid; place-content: center; justify-items: center; gap: 10px; min-height: 250px; padding: 18px 16px; border-radius: 20px; background: radial-gradient(circle at 50% 35%, #4a5fd6, #1b2466); box-shadow: 0 18px 40px -18px rgba(27, 36, 102, .7); color: #fff; }
.lf-hub svg { width: 30px; height: 30px; }
.lf-hub b { font: 600 11.5px/1 var(--font-mono); letter-spacing: .12em; }

/* 2 Learn: a recording, the app's own way in and an exploring agent become one draft skill */
.lf-learn { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: 14px; }
.lf-rec { padding: 14px 16px 8px; border: 1px solid #f3c6cf; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.lf-rec-h { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.lf-rec-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #e11d48; box-shadow: 0 0 0 4px rgba(225, 29, 72, .15); animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.lf-time { margin-left: auto; font: 500 12px/1 var(--font-mono); color: var(--muted); }
.lf-rec ol { display: grid; margin: 0; padding: 0; list-style: none; counter-reset: r; }
.lf-rec li { counter-increment: r; display: grid; grid-template-columns: 14px 16px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 0; border-top: 1px dashed #edf1f8; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.lf-rec li::before { content: counter(r); font: 600 11px/1 var(--font-mono); color: var(--muted); }
.lf-rec li svg { width: 16px; height: 16px; }
.lf-also { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lf-also li { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: start; gap: 10px; padding: 14px; border: 1px solid #dfe6f3; border-radius: 14px; background: #fff; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.lf-also b { display: block; font-size: 13.5px; color: var(--ink); }
.lf-also .lf-ic { border: 0; }
.lf-also li:nth-child(1) .lf-ic { background: #e8eeff; color: var(--blue); }
.lf-also li:nth-child(2) .lf-ic { background: #e3f5f8; color: #0e7490; }
.lf-out { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; padding: 12px 14px; border: 1px dashed #b9c8f5; border-radius: 14px; background: #f5f8ff; font-size: 14.5px; color: var(--ink); }

/* 3 Curate: the draft passes the checks before any agent may use it */
.lf-curate { display: grid; justify-items: center; gap: 12px; padding: 18px; border: 1.5px dashed #b9aef5; border-radius: 22px; background: rgba(250, 248, 255, .75); }
.lf-gate-h { display: flex; align-items: center; gap: 6px; margin: 0; font: 600 11.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.lf-gate-h svg { width: 15px; height: 15px; }
.lf-skill { width: 100%; max-width: 30rem; padding: 14px 18px; border: 1px solid #dfe6f3; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.lf-skill-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #edf1f8; }
.lf-skill-h b { font-size: 15px; line-height: 1.3; color: var(--ink); }
.lf-checks { display: grid; gap: 2px; margin: 8px 0 0; padding: 0; list-style: none; }
.lf-checks li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.lf-checks svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green-bg); color: var(--green); }
.lf-checks li:last-child svg { background: #eef1f6; color: var(--ink-2); }
.lf-skill-foot { margin: 8px 0 0; padding-top: 10px; border-top: 1px dashed #e3e9f4; font-size: 12.5px; color: var(--muted); }
.lf-scene.is-active .lf-skill .swap .before { animation: show-then-hide 1.1s steps(1, end) both; }
.lf-scene.is-active .lf-skill .swap .after { animation: pop .35s ease both; animation-delay: 1.1s; }

/* 4 Knowledge Core: the skill drops into its layer */
.lf-core { display: grid; gap: 12px; padding: 16px 18px 18px; border: 1px solid #d9d1fb; border-radius: 20px; background: #fff; box-shadow: 0 18px 40px -24px rgba(91, 75, 216, .55); }
.lf-core-h { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.lf-core-h svg { width: 18px; height: 18px; }
.lf-layers { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lf-layers li { display: grid; grid-template-columns: 9em minmax(0, 1fr); align-items: center; gap: 12px; min-height: 46px; padding: 8px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.lf-layers b { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lf-layers li:nth-child(1) { background: var(--green-bg); }
.lf-layers li:nth-child(1) b { color: var(--green); }
.lf-layers li:nth-child(2) { background: #efeafe; }
.lf-layers li:nth-child(2) b { color: var(--violet); }
.lf-layers li:nth-child(3) { background: #e8eeff; }
.lf-layers li:nth-child(3) b { color: var(--blue); }
.lf-layers li:nth-child(4) { background: #f1f4f9; }
.lf-layers li:nth-child(4) b { color: var(--ink-2); }
.lf-drop { display: inline-flex; align-items: center; justify-self: start; gap: 8px; padding: 6px 10px; border: 1px solid #b9c8f5; border-radius: 10px; background: #fff; font-weight: 600; color: var(--ink); box-shadow: 0 8px 18px -10px rgba(37, 99, 235, .6); }
.lf-drop svg { flex: none; width: 15px; height: 15px; color: var(--blue); }
.lf-scene.is-active .lf-drop { animation: drop .5s cubic-bezier(.2, .8, .3, 1.15) both; animation-delay: .8s; }
.lf-scene.is-active .lf-layers .is-new { animation: rise .4s cubic-bezier(.2, .7, .2, 1) both, landed 1.2s ease both; animation-delay: calc(var(--i, 0) * var(--beat, 150ms) + 150ms), 1.15s; }
@keyframes drop { from { opacity: 0; transform: translateY(-64px) scale(.92); } }
@keyframes landed { 40% { box-shadow: 0 0 0 5px rgba(37, 99, 235, .22); } }
.lf-who { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; font-weight: 600; color: var(--blue-ink); }
.lf-who svg { flex: none; width: 17px; height: 17px; }

/* 5 Work: a teammate's agent runs the skill app by app, then waits for her OK */
.lf-run { --beat: 300ms; }
.lf-run .ui-head .chip { margin-left: auto; }
.lf-task { margin: 0; padding: 12px 16px; border-bottom: 1px solid #edf1f8; background: #fbfcff; font-size: 14px; font-weight: 500; color: var(--ink); }
.lf-steps { display: grid; margin: 0; padding: 4px 16px; list-style: none; }
.lf-steps li { display: grid; grid-template-columns: 34px minmax(0, 7.5em) minmax(0, 1fr) 20px; grid-template-areas: "ic app act ok"; align-items: center; gap: 2px 12px; padding: 8px 0; border-bottom: 1px solid #eef2f8; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.lf-steps li:last-child { border-bottom: 0; }
.lf-steps .lf-ic { grid-area: ic; border: 0; background: #f4f7fc; }
.lf-steps b { grid-area: app; font-size: 13.5px; color: var(--ink); }
.lf-act { grid-area: act; }
.lf-ok { grid-area: ok; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; }
.lf-ok svg { width: 11px; height: 11px; }
.lf-scene.is-active .lf-ok { animation: pop .3s ease both; animation-delay: calc(var(--i, 0) * var(--beat, 150ms) + 380ms); }
.lf-run-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; padding: 12px 16px 14px; border-top: 1px solid #edf1f8; font-size: 13.5px; color: var(--ink-2); }

/* 6 Compound: each version knows more, and the last one belongs to the whole company */
.lf-grow { --beat: 350ms; display: grid; gap: 16px; }
.lf-versions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin: 0; padding: 0; list-style: none; }
.lf-versions li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.lf-versions li:nth-child(1) { margin-top: 80px; }
.lf-versions li:nth-child(2) { margin-top: 40px; }
.lf-versions li:nth-child(3) { border-color: #9fd9bf; background: linear-gradient(0deg, var(--green-bg), #fff 60%); box-shadow: 0 18px 36px -22px rgba(11, 129, 90, .6); }
.lf-versions li:not(:last-child)::after { content: "↗"; position: absolute; top: 8px; right: -20px; font-size: 16px; color: var(--muted); }
.lf-versions b { font-size: 14px; line-height: 1.35; color: var(--ink); }
.lf-lv { align-self: start; padding: 3px 8px; border-radius: 999px; background: #e8eeff; font: 600 10.5px/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--blue-ink); }
.lf-versions li:nth-child(3) .lf-lv { background: var(--green-bg); color: var(--green); }
.lf-again { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 14px; background: linear-gradient(90deg, #e5f5ee, #f1faf5); font-size: 14px; font-weight: 500; color: var(--ink); }
.lf-again svg { flex: none; width: 18px; height: 18px; color: var(--green); }

/* The rail: the six steps in a row, grouped as Learns, the core, Works and Compounds, with the way back round */
.lf-rail { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 18px; margin-top: 18px; }
.lf-rail .film-toggle { margin-top: 16px; }
.lf-groups { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 10px; }
.lg { margin-inline: 4px; padding-bottom: 6px; border-bottom: 2px solid; text-align: center; font: 700 10.5px/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; transition: color .35s ease, border-color .35s ease; }
.lg-learn { grid-column: 1 / span 3; border-color: #dbe4fb; color: #7d93d4; }
.lg-core { grid-column: 4; border-color: #d6d9f2; color: #7c84c9; }
.lg-work { grid-column: 5; border-color: #e2dcfb; color: #9187d6; }
.lg-comp { grid-column: 6; border-color: #c9ecdc; color: #5ea98a; }
.lf[data-group="learn"] .lg-learn { border-color: var(--blue); color: var(--blue); }
.lf[data-group="core"] .lg-core { border-color: #2f3aa6; color: #2f3aa6; }
.lf[data-group="work"] .lg-work { border-color: var(--violet); color: var(--violet); }
.lf[data-group="comp"] .lg-comp { border-color: var(--green); color: var(--green); }
.lf-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.lf-tab { --c: var(--blue); display: grid; gap: 9px; min-width: 0; padding: 4px 0 2px; border: 0; background: none; font: 500 13px/1.3 var(--font-ui); color: var(--muted); cursor: pointer; }
.lf-tab[data-group="core"] { --c: #2f3aa6; }
.lf-tab[data-group="work"] { --c: var(--violet); }
.lf-tab[data-group="comp"] { --c: var(--green); }
.lf-tab:hover, .lf-tab[aria-selected="true"] { color: var(--ink); }
.lf-tab:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.lf-seg { display: block; height: 4px; overflow: hidden; border-radius: 4px; background: #d5ddef; }
.lf-fill { display: block; height: 100%; border-radius: inherit; background: var(--c); transform: scaleX(0); transform-origin: left; }
.lf-tab.is-past .lf-fill { transform: none; opacity: .5; }
.lf-tab[aria-selected="true"] .lf-fill { animation: seg var(--dur, 5s) linear forwards; }
.lf[data-playing="false"] .lf-tab[aria-selected="true"] .lf-fill { animation-play-state: paused; }
@keyframes seg { to { transform: none; } }
.lf-lbl { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; }
.lf-lbl svg { flex: none; width: 16px; height: 16px; color: var(--c); opacity: .55; }
.lf-tab[aria-selected="true"] .lf-lbl svg { opacity: 1; }
.lf-lbl span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lf-back { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; padding-top: 22px; font-size: 12.5px; color: var(--muted); }
.lf-back svg { flex: none; width: 14px; height: 14px; color: var(--green); }
.lf-back::before { content: ""; position: absolute; top: 0; left: calc(100% * 3 / 12); right: calc(100% / 12); height: 14px; border: 2px dashed #d6d0f5; border-top: 0; border-radius: 0 0 14px 14px; transition: border-color .35s ease; }
.lf-back::after { content: ""; position: absolute; top: -10px; left: calc(100% * 3 / 12 - 5px); border: 6px solid transparent; border-bottom-color: #d6d0f5; transition: border-color .35s ease; }
.lf[data-group="comp"] .lf-back::before { border-color: var(--green); border-top-color: transparent; }
.lf[data-group="comp"] .lf-back::after { border-bottom-color: var(--green); }
.lf-note { margin-top: 12px; }

@container (max-width: 820px) {
  .lf-scene { grid-template-columns: minmax(0, 1fr); align-content: start; min-height: 0; }
}
@container (max-width: 560px) {
  .lf-connect { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lf-hub { grid-column: 1 / -1; grid-row: 1; grid-auto-flow: column; min-height: 0; padding: 10px 14px; }
  .lf-hub svg { width: 22px; height: 22px; }
  .lf-side li::after { display: none; }
  .lf-learn { grid-template-columns: minmax(0, 1fr); }
  .lf-layers li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .lf-steps li { grid-template-columns: 34px minmax(0, 1fr) 20px; grid-template-areas: "ic app ok" "ic act ok"; }
  .lf-versions { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .lf-versions li:nth-child(n) { margin-top: 0; }
  .lf-versions li::after { display: none; }
}
@container (max-width: 400px) {
  .lf-side li { grid-template-columns: minmax(0, 1fr); padding: 9px 12px; }
  .lf-side .lf-ic { display: none; }
}

/* Section bands */
.band { padding-block: clamp(64px, 8vw, 104px); }
.band-mist { background: var(--mist); }
.band-navy { background: radial-gradient(700px 360px at 85% 0%, rgba(85, 216, 238, .16), rgba(85, 216, 238, 0)), radial-gradient(800px 420px at 10% 100%, rgba(141, 66, 244, .22), rgba(141, 66, 244, 0)), var(--navy); color: var(--on-dark); }
.band-navy h2 { color: #fff; }
.band-navy .lede-2 { color: var(--on-dark-2); }

/* Use cases: one at a time, in rotation, the work moving across the apps */
.uc { margin-top: clamp(28px, 4vw, 44px); padding: clamp(20px, 3vw, 34px); border: 1px solid #dde5f4; border-radius: 24px; background: radial-gradient(700px 300px at 90% -20%, rgba(85, 216, 238, .14), rgba(85, 216, 238, 0) 60%), linear-gradient(180deg, #fbfcff, #f4f7ff); }
.uc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; }
.uc-count { margin: 0 0 6px; font: 500 11.5px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.uc-head h3 { margin: 0; font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.1rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 600; }
.uc-ctrl { display: flex; gap: 8px; }
.uc-btn { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #d3dbe8; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.uc-btn:hover { border-color: #aab7cf; }
.uc-btn svg { width: 15px; height: 15px; }
.uc-segs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 18px 0 24px; }
.uc-segs button { display: grid; gap: 7px; padding: 4px 0; border: 0; background: none; text-align: left; font: 500 12px/1.3 var(--font-ui); color: var(--muted); cursor: pointer; }
.uc-segs button:hover, .uc-segs [aria-selected="true"] { color: var(--ink); }
.uc-segs .seg { display: block; height: 4px; overflow: hidden; border-radius: 4px; background: #d5ddef; }
.uc-segs .seg span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--violet)); transition: width .9s linear; }
.uc-panel { display: grid; align-content: start; gap: 24px; min-width: 0; }
.uc-today { display: grid; gap: 4px; max-width: 52em; margin: 0; font-size: 1.05rem; line-height: 1.5; color: var(--ink-2); }
.uc-label { font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.uc-track { position: relative; padding-top: 6px; }
.uc-track::before, .uc-track::after { content: ""; position: absolute; top: 32px; left: calc(100% / (2 * var(--n, 5))); height: 3px; border-radius: 3px; }
.uc-track::before { right: calc(100% / (2 * var(--n, 5))); background: #dfe5f0; }
.uc-track::after { width: calc((100% - 100% / var(--n, 5)) * var(--p, 1)); background: linear-gradient(90deg, var(--blue), var(--violet)); transition: width .9s ease; }
.uc-pulse { position: absolute; z-index: 0; top: 26px; left: calc(100% / (2 * var(--n, 5)) + (100% - 100% / var(--n, 5)) * var(--p, 1)); width: 15px; height: 15px; margin-left: -7.5px; border: 3px solid var(--violet); border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(91, 75, 216, .18); transition: left .9s ease; }
.uc-flow { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.uc-node { position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center; }
.uc-ic { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #e1e7f2; border-radius: 15px; background: #fff; box-shadow: 0 2px 6px rgba(15, 23, 42, .06); opacity: .5; filter: grayscale(1); transition: opacity .4s ease, filter .4s ease, box-shadow .4s ease, border-color .4s ease; }
.uc-ic > svg { width: 24px; height: 24px; }
.uc-node.is-done .uc-ic { opacity: 1; filter: none; border-color: #c9d6fb; box-shadow: 0 10px 22px -12px rgba(37, 99, 235, .55); }
.uc-node.is-now .uc-ic { animation: uc-ring 1s ease-out; }
@keyframes uc-ring { from { box-shadow: 0 0 0 0 rgba(91, 75, 216, .45); } to { box-shadow: 0 0 0 14px rgba(91, 75, 216, 0); } }
.uc-tick { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; width: 20px; height: 20px; border: 2px solid #fff; border-radius: 50%; background: var(--green); color: #fff; opacity: 0; transform: scale(0); transition: transform .3s ease, opacity .2s ease; }
.uc-tick svg { width: 10px; height: 10px; }
.uc-node.is-done .uc-tick { opacity: 1; transform: scale(1); }
.uc-node b { font-size: 13.5px; color: var(--ink); }
.uc-act { max-width: 17ch; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); opacity: 0; transform: translateY(4px); transition: opacity .4s ease, transform .4s ease; }
.uc-node.is-done .uc-act { opacity: 1; transform: none; }
.uc-bottom { display: grid; gap: 12px; }
.uc-done { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; color: var(--green); transition: opacity .4s ease; }
.uc-done svg { flex: none; width: 18px; height: 18px; }
.uc-learn { display: grid; gap: 4px; margin: 0; padding: 14px 16px; border-radius: 14px; background: linear-gradient(90deg, #e5f5ee, #f1faf5); font-weight: 500; color: var(--ink); transition: opacity .4s ease, transform .4s ease; }
.uc-learn .uc-label { color: var(--green); }
.uc-done.is-waiting, .uc-learn.is-waiting { opacity: 0; }
.uc-learn.is-waiting { transform: translateY(6px); }
@media (max-width: 720px) {
  .uc-segs .lbl { display: none; }
  .uc-segs button { padding: 10px 0; }
  .uc-track { padding-top: 0; }
  .uc-track::before, .uc-track::after, .uc-pulse { display: none; }
  .uc-flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .uc-node { grid-template-columns: 52px minmax(0, 1fr); justify-items: start; column-gap: 14px; row-gap: 2px; padding-bottom: 16px; text-align: left; }
  .uc-node .uc-ic { grid-row: span 2; }
  .uc-node b { align-self: end; }
  .uc-act { max-width: none; }
  .uc-node:not(:last-child)::after { content: ""; position: absolute; top: 56px; bottom: 2px; left: 25px; width: 2px; background: #dfe5f0; }
  .uc-node.is-done:not(:last-child)::after { background: var(--violet); }
}

/* Benchmarks (navy) */
.bench-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(26px, 3.5vw, 40px); }
.bench-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 24px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; background: rgba(255, 255, 255, .04); }
.bench-card .bench-big { display: flex; align-items: baseline; gap: 12px; margin: 0; font: 600 clamp(2.6rem, 2rem + 2vw, 3.8rem)/1 var(--font-ui); letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.bench-big .bad { color: #ff8a8a; }
.bench-big .good { color: #4fe0a6; }
.bench-big .arr { font-size: .5em; color: var(--on-dark-2); }
.bench-big small { font-size: .32em; font-weight: 500; letter-spacing: 0; color: var(--on-dark-2); }
.bench-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--on-dark-2); }
.bench-card p b { font-weight: 600; color: #fff; }
.bench-card a, .fine a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #8fdcff; text-decoration: none; }
.bench-card a { margin-top: auto; font-size: 14px; }
.bench-card a:hover, .fine a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bench-card a svg { width: 14px; height: 14px; }
.fine { margin: 18px 0 0; font-size: 12.5px; color: #8b97bf; }

/* Demo */
.demo-head { max-width: 46rem; }
.demo-frame { position: relative; max-width: 100%; aspect-ratio: 16 / 9; margin: clamp(24px, 3.5vw, 36px) 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--navy); box-shadow: var(--shadow); }
.demo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: .85; }
.demo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo-start { text-decoration: none; cursor: pointer; background: radial-gradient(60% 60% at 50% 50%, rgba(10, 17, 48, .35), rgba(10, 17, 48, .7)); }
.demo-start:focus-visible { outline: 3px solid #fff; outline-offset: -8px; border-radius: 22px; }
.demo-start:hover .demo-play, .demo-start:focus-visible .demo-play { transform: scale(1.06); }
.demo-over { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 20px; background: radial-gradient(60% 60% at 50% 50%, rgba(10, 17, 48, .5), rgba(10, 17, 48, .84)); color: #fff; text-align: center; }
.demo-play { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--blue); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6); transition: transform .2s ease; }
.demo-play svg { width: 28px; height: 28px; margin-left: 4px; }
.demo-over b { font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); font-weight: 600; }
.demo-over .sub { max-width: 32em; font-size: 14.5px; color: rgba(255, 255, 255, .84); }
.demo-video { display: block; width: 100%; margin-top: clamp(24px, 3.5vw, 36px); border-radius: 22px; }

/* Closing and footer */
.closing { padding-block: 0 clamp(48px, 6vw, 80px); }
.closing-card { display: grid; justify-items: center; gap: 22px; padding: clamp(40px, 6vw, 76px) clamp(22px, 4vw, 56px); border-radius: 30px; background: var(--hero-grad); color: #fff; text-align: center; }
.closing-card .brand-mark { width: 50px; height: 50px; }
.closing-line { margin: 0; max-width: 20em; font: 400 clamp(1.8rem, 1.2rem + 2.2vw, 3.1rem)/1.15 var(--font-display); letter-spacing: -.015em; }
.closing-line em { color: var(--sky); }
.closing-sub { max-width: 36em; margin: -6px 0 0; font-size: 1.05rem; color: rgba(255, 255, 255, .88); }
.site-foot { border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-block: 26px; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot p { margin: 0; }

/* Responsive */
@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .brand-div, .brand-product { display: none; }
  .nav { gap: 12px; }
  .nav-links a { padding: 8px; font-size: 14.5px; }
}
@media (max-width: 900px) {
  .cases, .bench-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav .btn-primary { margin-left: auto; }
}
@media (max-width: 1180px) {
  .loop { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
}
@media (max-width: 1060px) {
  .loop { grid-template-columns: minmax(0, 1fr); }
  .wheel { max-width: 280px; }
}
@media (max-width: 760px) {
  .shot, .lf-scene { display: none; }
  .shot.is-active, .lf-scene.is-active { display: grid; }
  .wheel { max-width: 250px; }
}
@media (max-width: 900px) {
  .lf-wide { display: none; }
}
@media (max-width: 720px) {
  .lf-groups, .lf-back { display: none; }
  .lf-rail { align-items: center; gap: 12px; }
  .lf-rail .film-toggle { margin-top: 0; }
  .lf-tabs { gap: 5px; }
  .lf-tab { padding: 8px 0; }
  .lf-lbl span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 480px) {
  .brand-word { font-size: 17px; }
  .brand-div, .brand-product { display: none; }
  .nav { gap: 12px; padding-left: 14px; }
  .nav .btn-primary { padding: 10px 14px; font-size: 14px; }
  .orbit .node-label { display: none; }
  .runner-steps { min-height: 12rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .orbit .app.lit .halo, .orbit .app.lit .bolt { stroke-dashoffset: 60; }
  .wheel [aria-selected="true"] .ring { stroke-dashoffset: 0; }
  .lf-tab[aria-selected="true"] .lf-fill { transform: none; }
}

/* Sub pages: benchmarks and contact */
.nav-links a[aria-current="page"] { background: var(--mist); color: var(--ink); }
.page-band { padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.crumbs { margin: 0 0 18px; font-size: 14px; }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs svg { width: 14px; height: 14px; transform: rotate(180deg); }
.page-head { max-width: 50rem; margin-bottom: clamp(26px, 3.5vw, 40px); }
.page-head h1 { margin: 0 0 14px; font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.5rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 600; }
.page-dek { max-width: 40em; margin: 0 0 14px; font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); }
.byline { margin: 0; font-size: 14px; color: var(--muted); }
.key-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 56rem; margin: 0 0 clamp(34px, 4.5vw, 52px); padding: 0; list-style: none; }
.key-stats li { padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--mist); }
.key-stats b { display: block; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.key-stats span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.prose { max-width: 44rem; }
.prose h2 { margin: 2.1em 0 .6em; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); line-height: 1.2; letter-spacing: -.025em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); }
.prose p { margin: 0 0 1em; }
.prose ul { margin: 0 0 1em; padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--ink); }
.prose code { padding: 2px 6px; border-radius: 5px; background: #eef2f9; font: 500 .86em/1.4 var(--font-mono); color: var(--ink); }
.callout { margin: 1.4em 0; padding: 16px 18px; border-left: 3px solid var(--violet); border-radius: 0 12px 12px 0; background: #f6f4ff; font-size: 1rem; line-height: 1.6; color: var(--ink); }

/* Charts and tables on the benchmark pages */
.chart { margin: 1.6em 0 2em; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.chart figcaption { margin: 0 0 14px; }
.chart-title { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.chart-sub { display: block; font-size: 13.5px; color: var(--muted); }
.bars-table { width: 100%; border-collapse: collapse; }
.bars-table th { width: 30%; padding: 7px 12px 7px 0; font-size: 14px; font-weight: 500; text-align: left; white-space: nowrap; color: var(--ink); }
.bars-table td { padding: 7px 0; }
.bar-row { display: flex; align-items: center; gap: 10px; }
.bar-track { position: relative; flex: 1; height: 22px; border-radius: 0 4px 4px 0; background: repeating-linear-gradient(90deg, rgba(15, 23, 42, .06) 0 1px, transparent 1px 25%), #f6f8fc; }
.bar-fill { display: block; width: var(--w); height: 100%; border-radius: 0 4px 4px 0; background: #5b4bd8; transition: background-color .2s ease; }
.bar-track:hover .bar-fill { background: #4a3bc2; }
.bar-track[data-tip]:hover::after { content: attr(data-tip); position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 3; padding: 6px 9px; border-radius: 8px; background: var(--ink); font-size: 12.5px; color: #fff; white-space: nowrap; }
.bar-val { flex: none; width: 128px; font-size: 13.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar-axis td { padding-top: 4px; }
.axis-ticks { position: relative; height: 14px; margin-right: 138px; font: 500 11px/1 var(--font-mono); color: var(--muted); }
.axis-ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.axis-ticks span:first-child { transform: none; }
.axis-ticks span:last-child { transform: translateX(-100%); }
.chart-note { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 14px; font-weight: 600; color: var(--green); }
.chart-note svg { flex: none; width: 16px; height: 16px; }
.split { display: flex; gap: 2px; height: 30px; }
.split span { display: block; }
.split span:first-child { border-radius: 4px 0 0 4px; }
.split span:last-child { border-radius: 0 4px 4px 0; }
.split-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.split-legend li { display: flex; align-items: center; gap: 8px; }
.split-legend i { width: 12px; height: 12px; border-radius: 3px; }
.split-legend b { color: var(--ink); font-variant-numeric: tabular-nums; }
.table-scroll { margin: 1.4em 0 2em; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.data-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.data-table th, .data-table td { padding: 12px 16px; border-bottom: 1px solid #edf1f7; text-align: left; vertical-align: top; color: var(--ink-2); }
.data-table thead th { background: #fafbfd; font: 500 11px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.data-table tbody th { font-weight: 600; color: var(--ink); }
.data-table .num { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }

/* Previous and next analysis */
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 44rem; margin-top: clamp(40px, 5vw, 64px); }
.pager a { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-decoration: none; transition: border-color .2s ease; }
.pager a:hover { border-color: #c5d0e6; }
.pager small { font: 500 11px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pager b { font-size: 15px; color: var(--ink); }
.pager .next { grid-column: 2; text-align: right; }

/* Benchmark index */
.bench-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bench-item { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: inherit; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.bench-item:hover { border-color: #c5d0e6; transform: translateY(-2px); }
.bench-item .kind { font: 500 11px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.bench-item .big { display: flex; align-items: baseline; gap: 10px; font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3rem); line-height: 1; letter-spacing: -.04em; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.bench-item .big .bad { color: #c63b3b; }
.bench-item .big .good { color: var(--green); }
.bench-item .big small { font-size: .4em; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.bench-item h2 { margin: 0; font-size: 1.3rem; line-height: 1.22; letter-spacing: -.02em; }
.bench-item p { margin: 0; font-size: 15px; color: var(--ink-2); }
.bench-item .go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 14px; font-weight: 600; color: var(--blue); }
.bench-item .go svg { width: 14px; height: 14px; }
.method-note { max-width: 46rem; margin: 28px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* Contact */
.contact-band { padding-block: clamp(36px, 6vw, 80px); background: var(--mist); }
.contact-card { max-width: 42rem; margin: 0 auto; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.contact-card h1 { margin: 0 0 8px; font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); letter-spacing: -.035em; text-align: center; }
.contact-sub { margin: 0 0 26px; font-size: 1.05rem; text-align: center; color: var(--muted); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; align-content: start; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label .req { color: #c63b3b; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid #cfd8e6; border-radius: 10px; background: #fff; font: 400 15px/1.4 var(--font-ui); color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(37, 99, 235, .22); outline-offset: 0; }
.form-actions { grid-column: 1 / -1; display: grid; gap: 10px; }
.form-actions .btn { justify-content: center; width: 100%; padding: 13px 18px; }
.form-actions .btn[disabled] { opacity: .65; cursor: progress; }
.form-error { margin: 0; padding: 12px 14px; border-radius: 10px; background: #fdecec; font-size: 14px; color: #9b1c1c; }
.form-error a { font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: 13px; text-align: center; color: var(--muted); }
.sent { display: grid; justify-items: center; gap: 10px; padding: 18px 0 6px; text-align: center; }
.sent .ok { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-bg); color: var(--green); }
.sent .ok svg { width: 30px; height: 30px; }
.sent h2 { margin: 6px 0 0; font-size: 1.6rem; letter-spacing: -.02em; }
.sent p { margin: 0; color: var(--muted); }

@media (max-width: 900px) {
  .bench-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .key-stats, .form { grid-template-columns: minmax(0, 1fr); }
  .pager { grid-template-columns: minmax(0, 1fr); }
  .pager .next { grid-column: 1; text-align: left; }
  .bars-table th { width: auto; white-space: normal; }
}
