/* Perspective-B · site2 — palette from the ProjectB light theme ("Mist"). */

:root {
  --paper: #f3f4f3;
  --paper-2: #eaedec;
  --mist: #e2e7e7;
  --white: #fbfbfa;
  --ink: #16211f;
  --ink-2: #4d5957;
  --ink-3: #87918f;
  --line: rgba(22, 33, 31, .09);
  --line-2: rgba(22, 33, 31, .16);
  --slate: #3d6578;
  --slate-2: #2f5163;
  --green: #3f7556;
  --amber: #b27a33;
  --sun: #e9c9a0;

  --sans: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --display: "Inter Tight", "Inter", "Segoe UI Variable Display", system-ui, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --brand: "Geist", "Inter Tight", "Inter", system-ui, sans-serif;
  --mark: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22146 240 142 125%22%3E%3Cpath fill=%22%23000%22 transform=%22matrix(1,0,0,-1,185.1,326.8304)%22 d=%22M0 0V-.01L-14.43-24.99-28.85-.01-14.43 24.98ZM27.89 48.26 20.71 35.83H6.21L-.97 48.27 13.460 73.25 27.89 48.27ZM55.82 32.22 53.73 28.6 50.67 23.3 48.58 19.69V19.68L48.57 19.66H44.42 38.28 34.19L34.15 19.73 32.06 23.35 26.96 32.2 34.15 44.65H63L57.91 35.83ZM62.04 3.61 54.85 16.07 62.08 28.6H76.46L90.89 3.61ZM48.57 76.87 63 51.88H34.15L19.72 76.87ZM-8.16 28.6H2.04 6.22 10.39 16.53 20.69L20.7 28.59 22.78 24.97 25.84 19.66 27.89 16.11 27.85 16.05 25.77 12.44 20.67 3.61H6.26ZM-8.17-28.61 6.26-3.62H20.67L27.89-16.13 20.69-28.610ZM34.15-12.52 32.06-8.9 29.01-3.62 26.93-.01 29.02 3.61 34.11 12.44H34.12 48.59L55.78-.01 41.35-24.99 36.23-16.13ZM47.62-28.6 61.66-4.28 62.04-3.62H90.88L76.46-28.6ZM100.28 1.8 81.68 34.02C81.03 35.14 79.840 35.83 78.55 35.83H66.25L72.39 46.46C73.04 47.58 73.04 48.95 72.39 50.07L53.79 82.29C53.14 83.41 51.95 84.1 50.66 84.1H13.46C12.17 84.1 10.98 83.41 10.33 82.29L-8.27 50.07C-8.92 48.95-8.92 47.58-8.27 46.46L-2.13 35.83H-14.42C-14.56 35.83-14.7 35.82-14.83 35.8-14.98 35.79-15.13 35.76-15.27 35.72-15.92 35.57-16.51 35.24-16.98 34.77-17.09 34.66-17.19 34.54-17.29 34.42-17.39 34.29-17.48 34.16-17.56 34.02L-36.16 1.8C-36.8.68-36.8-.7-36.16-1.81L-17.56-34.03C-16.91-35.15-15.72-35.84-14.43-35.84H22.77C24.06-35.84 25.26-35.150 25.9-34.03L32.06-23.35 38.22-34.02C38.87-35.14 40.06-35.83 41.35-35.83H78.55C79.84-35.83 81.03-35.14 81.68-34.02L100.28-1.82C100.92-.7 100.92.68 100.28 1.8%22/%3E%3C/svg%3E");
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(120px, 16vw, 208px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(61, 101, 120, .18); }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; border-radius: 6px; }

.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(#d8dddd 1px, transparent 1px),
    linear-gradient(90deg, #d8dddd 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .35;
  mask-image: radial-gradient(ellipse 70% 55% at 60% 20%, #000 15%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 60% 20%, #000 15%, transparent 70%);
}
main, .foot { position: relative; z-index: 1; }

.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(820px + 2 * var(--gutter)); }

/* ── type ── */
.display {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: .98;
}
.display em, .h2 em, .statement em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.h3 { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-2); }
.eyebrow { font-size: 14px; color: var(--ink-3); letter-spacing: 0; }

/* ── nav ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.scrolled {
  background: rgba(243, 244, 243, .78);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }

/* brand: the mark sweeps from ink to brand blue on load; hover replays a shine */
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); justify-self: start; }
.brand-mark {
  --blue: #2e7cfd;
  position: relative; overflow: hidden; flex: none;
  width: 34px; height: 30px;
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
  background: linear-gradient(115deg, var(--ink) 0 38%, var(--blue) 52%, #8ab8ff 60%, var(--blue) 68% 100%);
  background-size: 300% 100%;
  animation: brand-in 2.2s cubic-bezier(.65, 0, .35, 1) .3s both;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .85) 50%, transparent 70%);
  transform: translateX(-120%);
}
.brand:hover .brand-mark::after { animation: brand-shine .9s var(--ease); }
.brand-name {
  font-family: var(--brand); font-size: 20px; font-weight: 600;
  letter-spacing: -0.025em; line-height: 1; white-space: nowrap;
}
@keyframes brand-in { from { background-position: 0% 0; } to { background-position: 100% 0; } }
@keyframes brand-shine { to { transform: translateX(120%); } }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; font-size: 14.5px; }
.nav-links a {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px;
  color: var(--ink-2); transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(22, 33, 31, .05); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.only-mobile { display: none; }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 6px; font-size: 14.5px; white-space: nowrap; }.nav-lang, .nav-ghost {
  display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 10px;
  color: var(--ink-2); transition: color .2s, background .2s;
}
.nav-lang { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-3); }
.nav-lang:hover, .nav-ghost:hover { color: var(--ink); background: rgba(22, 33, 31, .05); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; margin-left: 6px;
  border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 500;
  box-shadow: 0 6px 18px -10px rgba(22, 33, 31, .7);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.nav-cta svg { width: 14px; height: 14px; flex: none; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(22, 33, 31, .6); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; margin: 5px auto; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 15.5px; font-weight: 500; letter-spacing: -0.005em;
  transition: transform .5s var(--ease), background .3s, box-shadow .5s var(--ease), color .3s;
}
.btn svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: var(--white); box-shadow: 0 10px 30px -14px rgba(22, 33, 31, .6); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(22, 33, 31, .55); }
.btn-plain { color: var(--ink); padding: 0 8px; }
.btn-plain:hover { color: var(--slate); }
/* ── hero ── */
.hero { position: relative; padding-top: clamp(168px, 20vw, 232px); text-align: center; }
.hero .display { font-size: clamp(48px, 7.4vw, 112px); max-width: 15ch; margin: 0 auto; text-wrap: balance; }
.hero .lead { margin: 36px auto 0; max-width: 34em; }
.hero .actions { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 48px; flex-wrap: wrap; }

.stage {
  position: relative;
  margin-top: clamp(88px, 10vw, 136px);
  padding: clamp(28px, 6vw, 88px) clamp(16px, 6vw, 88px) 0;
  border-radius: 36px 36px 0 0;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 18% 0%, rgba(233, 201, 160, .55), transparent 62%),
    radial-gradient(55% 80% at 90% 10%, rgba(61, 101, 120, .28), transparent 60%),
    linear-gradient(180deg, #dfe5e5 0%, #e7ebea 100%);
}
.stage::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
}

.stage-shot {
  position: relative; z-index: 1;
  display: block; width: 100%; max-width: 1120px; height: auto; margin: 0 auto;
  border-radius: 14px 14px 0 0;
  box-shadow:
    0 0 0 1px rgba(22, 33, 31, .08),
    0 40px 100px -40px rgba(22, 44, 50, .45),
    0 12px 30px -18px rgba(22, 44, 50, .25);
}

/* ── product window (mirrors the ProjectB app shell) ── */
.app {
  position: relative; z-index: 1;
  max-width: 1080px; margin: 0 auto;
  background: var(--white);
  border-radius: 16px 16px 0 0;
  box-shadow:
    0 0 0 1px rgba(22, 33, 31, .06),
    0 40px 100px -40px rgba(22, 44, 50, .45),
    0 12px 30px -18px rgba(22, 44, 50, .25);
  overflow: hidden;
  text-align: left;
  font-size: 13px;
}
.app-bar {
  height: 40px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px 0 16px; border-bottom: 1px solid var(--line);
  background: #f5f6f6;
}
.app-title { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.app-title img { height: 16px; width: auto; }
.app-title b { font-weight: 600; }
.app-title span { color: var(--ink-3); }
.app-title code { font-family: var(--mono); font-size: 12px; color: var(--slate); }
.app-ctl { display: flex; gap: 18px; color: var(--ink-3); font-family: var(--mono); font-size: 11px; }
.app-body { display: grid; grid-template-columns: 188px 1fr 300px; min-height: 460px; }
.app-rail { border-right: 1px solid var(--line); padding: 18px 10px; background: #f7f8f8; }
.app-rail h6 { font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding: 6px 10px 12px; }
.app-rail li { list-style: none; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); }
.app-rail li i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.app-rail li i.off { background: #c5cccc; }
.app-rail li.on { background: rgba(61, 101, 120, .1); color: var(--slate-2); font-weight: 600; }
.app-rail h6 + ul + h6 { margin-top: 18px; }
.app-chat { padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 86%; padding: 12px 14px; border-radius: 14px; line-height: 1.5; }
.msg.me { align-self: flex-end; background: var(--ink); color: #eef2f1; border-bottom-right-radius: 4px; }
.msg.ai { background: #f1f3f3; color: var(--ink); border-bottom-left-radius: 4px; }
.call {
  display: flex; align-items: center; gap: 10px; align-self: flex-start;
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-2);
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  white-space: nowrap; max-width: 100%;
}
.call::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.call b { color: var(--slate-2); font-weight: 500; }
.composer {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 12px 12px 16px; color: var(--ink-3);
}
.composer span:last-child { font-family: var(--mono); font-size: 11px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; }
.app-side { border-left: 1px solid var(--line); padding: 20px 18px; background: #fafbfb; }
.app-side h6 { font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.rows { display: grid; gap: 2px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.row small { display: block; color: var(--ink-3); font-size: 11px; }
.row .amt { font-family: var(--mono); font-size: 12px; text-align: right; }
.row .flag { color: var(--amber); }
.sum { display: flex; justify-content: space-between; margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }

/* ── statement ── */
.statement-sec { padding: var(--section) 0 calc(var(--section) * .6); }
.statement {
  font-family: var(--display);
  font-weight: 450;
  font-size: clamp(30px, 3.9vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.032em;
  color: var(--ink);
  max-width: 21em;
}
.statement .dim { color: #a7b0ae; transition: color 1.2s var(--ease); }
.statement.in .dim { color: var(--ink-3); }
.illus {
  margin-top: clamp(64px, 8vw, 112px);
  border-radius: 36px;
  padding: clamp(24px, 5vw, 72px);
  background:
    radial-gradient(60% 70% at 12% 0%, rgba(233, 201, 160, .5), transparent 62%),
    radial-gradient(55% 80% at 95% 100%, rgba(61, 101, 120, .22), transparent 60%),
    linear-gradient(180deg, #dfe5e5 0%, #e7ebea 100%);
}
.illus img { width: 100%; max-width: 760px; height: auto; margin: 0 auto; }
.pr-art { width: 100%; max-width: 440px; height: auto; margin-top: clamp(40px, 5vw, 64px); }
.cta-art { width: min(440px, 80%); height: auto; margin: 0 auto clamp(40px, 5vw, 64px); }

/* ── ecosystem ── */
.sec { padding: calc(var(--section) * .6) 0 var(--section); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(64px, 8vw, 112px); }
.sec-head .lead { justify-self: end; }
.pieces { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.piece { display: flex; flex-direction: column; }
.piece-art { height: 200px; margin-bottom: 36px; border-radius: 20px; background: var(--paper-2); display: grid; place-items: center; overflow: hidden; }
.piece-art svg { width: 70%; height: auto; }
.piece .h3 { margin-bottom: 12px; }
.piece p { color: var(--ink-2); font-size: 16px; max-width: 28em; }
.piece a { display: inline-flex; align-self: flex-start; margin-top: auto; padding-top: 24px; font-size: 15px; color: var(--slate-2); font-weight: 500; }
.piece a:hover { color: var(--ink); }

/* ── PII shield ── */
.shield-sec { padding-top: 0; }
.shield-sec .sec-head > div { justify-self: end; max-width: 36em; }
.shield-sec .h2 { font-size: clamp(40px, 4.6vw, 62px); }
.soon-note {
  display: inline-flex; margin-top: 24px; padding: 6px 12px; border-radius: 999px;
  font: 500 12px/1.3 var(--mono); color: var(--green);
  border: 1px solid rgba(63, 117, 86, .3); background: rgba(63, 117, 86, .06);
}
.shield-demo {
  display: grid; grid-template-columns: 1fr 76px minmax(250px, 300px) 76px 1fr; align-items: center;
  padding: clamp(28px, 4.4vw, 64px); border-radius: 36px;
  background:
    radial-gradient(55% 80% at 8% 0%, rgba(233, 201, 160, .5), transparent 62%),
    radial-gradient(55% 80% at 96% 100%, rgba(61, 101, 120, .24), transparent 60%),
    linear-gradient(180deg, #dfe5e5 0%, #e7ebea 100%);
}
.sd-col { display: grid; gap: 14px; align-content: center; min-height: 380px; }
.sd-label { display: flex; align-items: center; gap: 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.sd-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.sd-model .sd-label i { background: var(--slate); }
.sd-bubble {
  font-size: 14.5px; line-height: 1.55; padding: 14px 16px; border-radius: 16px;
  opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.sd-local .sd-q { background: var(--ink); color: #eef2f1; border-bottom-right-radius: 4px; }
.sd-model .sd-q { background: rgba(251, 251, 250, .5); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); border-bottom-right-radius: 4px; }
.sd-a { background: var(--white); color: var(--ink); border-bottom-left-radius: 4px; box-shadow: 0 0 0 1px rgba(22, 33, 31, .05), 0 20px 50px -30px rgba(22, 44, 50, .45); }
.shield-demo.s0 .sd-local .sd-q, .shield-demo.s3 .sd-model .sd-q,
.shield-demo.s4 .sd-model .sd-a, .shield-demo.s6 .sd-local .sd-a { opacity: 1; transform: none; }
.sd-bubble mark {
  color: inherit; background: transparent; border-radius: 4px; padding: 0 .16em; margin: 0 -.16em;
  transition: background .5s, color .5s, box-shadow .5s;
}
.shield-demo.s1 .sd-local .sd-q mark { background: rgba(233, 201, 160, .2); color: #f3d6ae; box-shadow: inset 0 -1.5px 0 var(--sun); }
.sd-model mark { background: rgba(61, 101, 120, .12); color: var(--slate-2); }
.shield-demo.s6 .sd-local .sd-a mark { background: rgba(63, 117, 86, .12); color: var(--green); transition-delay: .5s; }

.sd-core {
  position: relative; z-index: 1; padding: 26px 18px 18px; border-radius: 24px; text-align: center;
  background: var(--white); box-shadow: 0 0 0 1px rgba(22, 33, 31, .06), 0 30px 70px -40px rgba(22, 44, 50, .5);
}
.sd-shield {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px;
  border-radius: 18px; color: #fff; background: radial-gradient(circle at 30% 22%, #2a2d31, #050506);
  box-shadow: 0 14px 30px -14px rgba(5, 5, 6, .7);
}
.sd-shield svg { width: 34px; height: 34px; }
.sd-shield::after { content: ""; position: absolute; inset: -7px; border-radius: 24px; border: 1.5px solid var(--green); opacity: 0; }
.shield-demo.at-2 .sd-shield::after, .shield-demo.at-5 .sd-shield::after { animation: shield-ping 1.2s var(--ease) .75s; }
@keyframes shield-ping { from { opacity: .9; transform: scale(.9); } to { opacity: 0; transform: scale(1.3); } }
.sd-name { display: block; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.sd-where { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-3); }
.sd-map { list-style: none; display: grid; gap: 9px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); text-align: left; }
.sd-map li {
  display: grid; grid-template-columns: 1fr 14px 1fr; gap: 6px; align-items: center;
  font: 400 11px/1.3 var(--mono); opacity: 0; transform: translateY(6px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.sd-map span:first-child { color: var(--ink); }
.sd-map span:last-child { color: var(--slate-2); text-align: right; }
.sd-map em { font-style: normal; color: var(--ink-3); text-align: center; }
.shield-demo.s2 .sd-map li { opacity: 1; transform: none; }
.shield-demo.s2 .sd-map li:nth-child(1) { transition-delay: .8s; }
.shield-demo.s2 .sd-map li:nth-child(2) { transition-delay: 1s; }
.shield-demo.s2 .sd-map li:nth-child(3) { transition-delay: 1.2s; }

.sd-lane { position: relative; height: 2px; margin: 0 8px; background: repeating-linear-gradient(90deg, rgba(22, 33, 31, .2) 0 4px, transparent 4px 9px); }
.pk { position: absolute; top: 50%; left: 0; width: 22px; height: 10px; margin-top: -5px; border-radius: 6px; opacity: 0; }
.sd-lane-l .pk-out { background: var(--sun); box-shadow: 0 0 14px rgba(233, 201, 160, .95); }
.sd-lane-r .pk { background: var(--slate); box-shadow: 0 0 14px rgba(61, 101, 120, .6); }
.sd-lane-l .pk-back { background: var(--green); box-shadow: 0 0 14px rgba(63, 117, 86, .6); }
.shield-demo.at-2 .sd-lane-l .pk-out, .shield-demo.at-3 .sd-lane-r .pk-out { animation: pk-go .9s var(--ease) forwards; }
.shield-demo.at-5 .sd-lane-r .pk-back, .shield-demo.at-6 .sd-lane-l .pk-back { animation: pk-back .9s var(--ease) forwards; }
@keyframes pk-go { 0% { left: 0; opacity: 0; } 20%, 80% { opacity: 1; } 100% { left: calc(100% - 22px); opacity: 0; } }
@keyframes pk-back { 0% { left: calc(100% - 22px); opacity: 0; } 20%, 80% { opacity: 1; } 100% { left: 0; opacity: 0; } }

@media (max-width: 1080px) {
  .shield-demo { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .sd-col { min-height: 0; }
  .sd-lane { justify-self: center; width: 2px; height: 48px; margin: 10px 0; background: repeating-linear-gradient(180deg, rgba(22, 33, 31, .2) 0 4px, transparent 4px 9px); }
  .pk { top: 0; left: 50%; width: 10px; height: 20px; margin: 0 0 0 -5px; }
  .shield-demo.at-2 .sd-lane-l .pk-out, .shield-demo.at-3 .sd-lane-r .pk-out { animation-name: pk-down; }
  .shield-demo.at-5 .sd-lane-r .pk-back, .shield-demo.at-6 .sd-lane-l .pk-back { animation-name: pk-up; }
}
@keyframes pk-down { 0% { top: 0; opacity: 0; } 20%, 80% { opacity: 1; } 100% { top: calc(100% - 20px); opacity: 0; } }
@keyframes pk-up { 0% { top: calc(100% - 20px); opacity: 0; } 20%, 80% { opacity: 1; } 100% { top: 0; opacity: 0; } }

/* ── principles ── */
.principles { background: var(--white); border-radius: 40px; padding: var(--section) 0; margin: 0 clamp(8px, 1.4vw, 20px); }
.pr-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 120px); }
.pr-grid .sticky { position: sticky; top: 140px; align-self: start; }
.pr-grid .sticky .lead { margin-top: 28px; }
.pr-list { list-style: none; }
.pr-list li { display: grid; grid-template-columns: 56px 1fr; gap: 8px 16px; padding: 40px 0; border-top: 1px solid var(--line); }
.pr-list li:last-child { border-bottom: 1px solid var(--line); }
.pr-list .n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); padding-top: 7px; }
.pr-list .h3 { font-size: clamp(22px, 2.2vw, 28px); }
.pr-list p { grid-column: 2; color: var(--ink-2); max-width: 32em; }

/* ── models marquee ── */
.models { padding: var(--section) 0 calc(var(--section) * .5); text-align: center; }
.models .eyebrow { margin-bottom: 36px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; gap: 72px; width: max-content; animation: slide 38s linear infinite; }
.track span { font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.03em; color: #9aa4a2; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── access ── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { border-radius: 28px; padding: 40px 36px 44px; background: var(--paper-2); display: flex; flex-direction: column; }
.plan.first { background: var(--ink); color: #e9eeec; }
.plan .tag { font-size: 14px; color: var(--ink-3); }
.plan.first .tag { color: #9fb0ab; }
.plan .price { font-family: var(--display); font-weight: 500; font-size: 48px; letter-spacing: -0.04em; line-height: 1; margin: 22px 0 16px; }
.plan .price em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.plan p { color: var(--ink-2); font-size: 16px; }
.plan.first p { color: #b9c6c2; }
.plan ul { list-style: none; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 15px; }
.plan.first ul { border-color: rgba(255, 255, 255, .1); }
.plan li { display: flex; gap: 12px; }
.plan li::before { content: "—"; color: var(--ink-3); }
.plan.first li::before { color: var(--sun); }
.fine { margin-top: 28px; font-size: 14px; color: var(--ink-3); }

.catalog-more { margin-top: 40px; }

/* ── services / cta ── */
.cta { padding: calc(var(--section) * .5) 0 var(--section); text-align: center; }
.cta .h2 { max-width: 18ch; margin: 0 auto; }
.cta .lead { margin: 28px auto 0; }
.cta .actions { display: flex; justify-content: center; margin-top: 44px; }

/* ── footer ── */
.foot { border-top: 1px solid var(--line); padding: 48px 0 56px; font-size: 14px; color: var(--ink-3); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot .brand-mark { width: 27px; height: 24px; }
.foot .brand-name { font-size: 17px; }
.foot nav { display: flex; gap: 28px; }
.foot a:hover { color: var(--ink); }

/* ── platform page ── */
.p-hero { padding-top: clamp(168px, 20vw, 220px); padding-bottom: clamp(64px, 8vw, 104px); }
.p-hero .display { font-size: clamp(52px, 8vw, 112px); max-width: 12ch; }
.p-hero .lead { margin-top: 36px; }
.dl-hero .display { max-width: none; }
.dl-hero .soon-note { margin: 0 0 32px; }
.dl-hero .actions { display: flex; align-items: center; gap: 12px; margin-top: 48px; flex-wrap: wrap; }
.dl-sec { padding-top: 0; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 56px; list-style: none; }
.jump a { display: inline-flex; height: 38px; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); transition: border-color .2s, color .2s, background .2s; }
.jump a:hover { border-color: var(--ink); color: var(--ink); background: var(--white); }

.feature { padding: calc(var(--section) * .5) 0; }
.feature-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 104px); align-items: center; }
.feature-grid.flip { grid-template-columns: 7fr 5fr; }
.feature-grid.flip .copy { order: 2; }
.copy .eyebrow { margin-bottom: 20px; }
.copy .h2 { font-size: clamp(38px, 4.6vw, 60px); }
.copy .lead { margin-top: 28px; }
.ticks { list-style: none; margin-top: 36px; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: var(--ink-2); }
.ticks li::before { content: ""; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--slate); }

.panel {
  border-radius: 28px; padding: clamp(24px, 4vw, 48px);
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(233, 201, 160, .4), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(61, 101, 120, .2), transparent 60%),
    var(--mist);
}
.card {
  background: var(--white); border-radius: 16px; padding: 22px;
  box-shadow: 0 0 0 1px rgba(22, 33, 31, .05), 0 24px 60px -30px rgba(22, 44, 50, .35);
  font-size: 14px;
}
.card + .card { margin-top: 12px; }
.card .label { font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }

.pipeline { display: grid; gap: 10px; }
.stepc { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 14px; background: var(--white); border-radius: 14px; padding: 14px 16px; box-shadow: 0 0 0 1px rgba(22, 33, 31, .05), 0 16px 40px -28px rgba(22, 44, 50, .4); }
.stepc .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--paper-2); font-family: var(--mono); font-size: 11px; color: var(--slate-2); }
.stepc b { font-weight: 600; font-size: 14.5px; display: block; }
.stepc small { color: var(--ink-3); font-size: 12.5px; }
.stepc .st { font-family: var(--mono); font-size: 11px; color: var(--green); }
.stepc .st.wait { color: var(--amber); }
.stepc .st.idle { color: var(--ink-3); }

.card.chat { display: flex; flex-direction: column; gap: 10px; }
.card.chat .label { margin-bottom: 4px; }
.card.chat .msg { font-size: 14px; }
.card.chat .call { overflow: hidden; text-overflow: ellipsis; }
.q-head { display: flex; justify-content: space-between; align-items: baseline; }
.q-head .label { margin-bottom: 0; }
.q-st { display: inline-flex; align-items: center; gap: 7px; font: 500 11px/1 var(--mono); color: var(--green); }
.q-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: q-pulse 1.8s ease-in-out infinite; }
@keyframes q-pulse { 50% { opacity: .25; } }
.q-title { display: block; margin-top: 14px; font-weight: 600; font-size: 15px; }
.q-bar { height: 4px; margin-top: 14px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.q-bar i { display: block; width: 38%; height: 100%; border-radius: inherit; background: var(--green); }
.q-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font: 400 12px/1.3 var(--mono); color: var(--ink-3); }
.q-meta span:first-child { color: var(--ink); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .q-st::before { animation: none; } }
.research p { color: var(--ink-2); line-height: 1.55; }
.src { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.src span { font-family: var(--mono); font-size: 11px; border: 1px solid var(--line); border-radius: 6px; padding: 3px 7px; color: var(--ink-2); }
.diff { font-family: var(--mono); font-size: 12px; line-height: 1.7; font-variant-ligatures: none; overflow: hidden; }
.diff div { white-space: pre; }
.diff .add { color: var(--green); }
.diff .del { color: #a4524a; }

.catalog-sec { padding: calc(var(--section) * .6) 0; }
.catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tool { position: relative; border-radius: 22px; padding: 26px 24px; min-height: 212px; display: flex; flex-direction: column; background: var(--white); box-shadow: 0 0 0 1px rgba(22, 33, 31, .05); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.tool:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(22, 33, 31, .06), 0 30px 60px -36px rgba(22, 44, 50, .45); }
.tool .state { font-size: 12.5px; color: var(--green); display: flex; align-items: center; gap: 8px; }
.tool .state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tool .h3 { padding-top: 64px; }
.tool p { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; }
.tool.ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.tool.ghost .state { color: var(--ink-3); }
.tool.ghost .h3 { color: var(--ink-3); }
.tool.custom { background: var(--ink); color: var(--white); box-shadow: none; }
.tool.custom .state { color: var(--sun); }
.tool.custom p { color: #b9c6c2; }

/* ── tools page ── */
.tools-sec { padding-top: 0; }
.filter-bar {
  position: sticky; top: 76px; z-index: 20; margin-bottom: clamp(40px, 5vw, 64px);
  padding: 14px 0; background: rgba(243, 244, 243, .86);
  backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.filter-bar .wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  font: 500 14px/1 var(--sans); color: var(--ink-2); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.chip span { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip[aria-pressed="true"] span { color: #9fb0ab; }
.tool-group + .tool-group { margin-top: clamp(64px, 8vw, 104px); }
.tool-group[hidden] { display: none; }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line-2); }
.group-head .h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.03em; }
.group-head p { color: var(--ink-3); font-size: 15px; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app-card {
  position: relative; display: flex; flex-direction: column; border-radius: 24px; padding: 14px 14px 26px;
  background: var(--white); box-shadow: 0 0 0 1px rgba(22, 33, 31, .05);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.app-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(22, 33, 31, .06), 0 30px 60px -36px rgba(22, 44, 50, .45); }
.app-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 2px; border-radius: 2px; background: var(--accent); opacity: .8; }
.app-shot {
  display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; margin-bottom: 22px;
  background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); cursor: zoom-in;
}
.app-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .8s var(--ease); }
.app-shot:hover img { transform: scale(1.03); }
.app-shot.empty {
  display: grid; place-items: center; align-content: center; gap: 14px; cursor: default;
  background: radial-gradient(70% 90% at 50% 30%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), var(--paper-2);
}
.app-shot.empty img { width: 72px; height: 72px; object-fit: contain; }
.app-shot.empty span { font-size: 12.5px; color: var(--ink-3); }
.app-head { display: flex; align-items: center; gap: 14px; padding: 0 12px; }
.app-head img { width: 44px; height: 44px; flex: none; }
.app-head .h3 { font-size: 21px; }
.app-type { display: block; font: 500 10.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }
.app-card > p { color: var(--ink-2); font-size: 15px; margin: 16px 12px 0; }
.app-card ul { list-style: none; margin: 16px 12px 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.app-card li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; }
.app-card li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--accent); }
.badges { display: flex; gap: 6px; flex-wrap: wrap; margin: auto 12px 0; padding-top: 20px; }
.badges span { font-family: var(--mono); font-size: 11px; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 8px; }
.app-card.custom { background: var(--ink); color: var(--white); box-shadow: none; padding: 34px 26px; min-height: 240px; }
.app-card.custom::before { display: none; }
.app-card.custom .app-type { color: var(--sun); margin: 0 0 56px; }
.app-card.custom > p { color: #b9c6c2; margin: 10px 0 0; }
.app-card.custom a { margin-top: auto; padding-top: 24px; color: var(--sun); font-weight: 500; font-size: 15px; }
.shot-dialog { margin: auto; padding: 0; border: 0; background: transparent; max-width: min(1600px, 94vw); max-height: 92vh; overflow: visible; }
.shot-dialog::backdrop { background: rgba(14, 22, 21, .72); backdrop-filter: blur(6px); }
.shot-dialog img { display: block; max-width: 100%; max-height: 92vh; border-radius: 14px; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .6); }
.shot-close { position: absolute; top: -18px; right: -18px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .4); }

.chip-sep { flex: none; align-self: center; width: 1px; height: 22px; margin: 0 6px; background: var(--line-2); }
.app-card { scroll-margin-top: 170px; }
.app-card:target { animation: card-ping 2.4s var(--ease); }
@keyframes card-ping {
  0%, 40% { box-shadow: 0 0 0 2px var(--accent), 0 30px 60px -36px rgba(22, 44, 50, .45); }
  100% { box-shadow: 0 0 0 1px rgba(22, 33, 31, .05); }
}
a.app-shot.empty { cursor: pointer; }
.app-shot.empty b { font-size: 13.5px; font-weight: 500; color: var(--slate-2); }
.badges span.dev { color: var(--green); border-color: rgba(63, 117, 86, .35); background: rgba(63, 117, 86, .06); }

/* ── three layers (tools page) ── */
.layers-hero .display { max-width: 14ch; }
.layers { margin-top: clamp(64px, 8vw, 104px); }
.layer {
  display: grid; grid-template-columns: minmax(220px, 4fr) 8fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(24px, 3vw, 36px) clamp(22px, 3.4vw, 44px); border-radius: 28px;
}
.layer-controle {
  background: radial-gradient(60% 120% at 100% 0%, rgba(46, 124, 253, .16), transparent 60%), var(--ink);
  color: #e9eeec;
}
.layer-orchestration {
  background:
    radial-gradient(50% 120% at 0% 0%, rgba(233, 201, 160, .45), transparent 62%),
    radial-gradient(50% 120% at 100% 100%, rgba(61, 101, 120, .22), transparent 60%),
    var(--mist);
}
.layer-outils {
  padding-block: clamp(30px, 4vw, 52px);
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(22, 33, 31, .05), 0 50px 90px -60px rgba(22, 44, 50, .5);
}
.layer-n {
  display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px;
  border-radius: 50%; border: 1px solid var(--line-2); font: 500 17px/1 var(--mono); color: var(--ink-3);
}
.layer-controle .layer-n { border-color: rgba(255, 255, 255, .2); color: #9fb0ab; }
.layer-h { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.03em; line-height: 1.1; }
.layer-k p { margin-top: 10px; font-size: 15px; color: var(--ink-2); max-width: 26em; }
.layer-controle .layer-k p { color: #9fb0ab; }
.layer-apps { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; }
.layer-apps a {
  display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 16px;
  transition: background .25s, transform .5s var(--ease);
}
.layer-apps a:hover { background: rgba(22, 33, 31, .05); transform: translateY(-2px); }
.layer-controle .layer-apps a:hover { background: rgba(255, 255, 255, .07); }
.layer-apps img { width: 44px; height: 44px; flex: none; }
.li-txt { display: grid; gap: 2px; min-width: 0; }
.li-name { font-weight: 500; font-size: 15.5px; letter-spacing: -0.01em; }
.li-name small {
  margin-left: 6px; padding: 2px 7px; border-radius: 999px; vertical-align: 2px;
  font: 500 10px/1.4 var(--mono); letter-spacing: .06em; color: var(--sun); border: 1px solid rgba(233, 201, 160, .35);
}
.li-sub { font-size: 13.5px; color: var(--ink-3); line-height: 1.35; }
.layer-controle .li-sub { color: #9fb0ab; }
.layer-orchestration .layer-apps { grid-template-columns: repeat(3, 1fr); }
.layer-controle .layer-apps { grid-template-columns: repeat(2, 1fr); }
.layer-outils .layer-apps { grid-template-columns: repeat(5, 1fr); gap: 4px; }
.layer-outils .layer-apps a { flex-direction: column; gap: 10px; padding: 16px 6px 14px; text-align: center; }
.layer-outils .layer-apps img { width: 52px; height: 52px; }
.layer-outils .li-name { font-size: 14px; color: var(--ink-2); }
.layer-link { display: flex; flex-direction: column; align-items: center; height: 64px; justify-content: center; }
.layer-link i {
  flex: 1; width: 1px;
  background: repeating-linear-gradient(180deg, var(--ink-3) 0 3px, transparent 3px 7px);
  opacity: .55; animation: mcp-flow 1.4s linear infinite;
}
.layer-link span {
  padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper);
  font: 500 10px/1.3 var(--mono); letter-spacing: .14em; color: var(--ink-3);
}
@keyframes mcp-flow { to { background-position: 0 7px; } }

.icon-strip { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.icon-strip a {
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 10px 18px;
  border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px rgba(22, 33, 31, .05);
  font-size: 14px; font-weight: 500; color: var(--ink-2); text-align: center;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .2s;
}
.icon-strip a:hover { transform: translateY(-3px); color: var(--ink); box-shadow: 0 0 0 1px rgba(22, 33, 31, .06), 0 24px 48px -30px rgba(22, 44, 50, .45); }
.icon-strip img { width: 56px; height: 56px; }
@media (max-width: 860px) { .icon-strip { grid-template-columns: repeat(3, 1fr); } }

/* ── real screenshots on the platform page ── */
.shot-panel { border-radius: 28px; padding: clamp(14px, 2.4vw, 28px); background:
    radial-gradient(70% 90% at 0% 0%, rgba(233, 201, 160, .4), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(61, 101, 120, .2), transparent 60%),
    var(--mist); }
.shot-panel a { display: block; border-radius: 14px; overflow: hidden; cursor: zoom-in; box-shadow: 0 0 0 1px rgba(22, 33, 31, .06), 0 30px 70px -36px rgba(22, 44, 50, .5); }
.shot-panel img { width: 100%; height: auto; }

.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.modes.two { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
.mode { border-top: 1px solid var(--line-2); padding-top: 28px; }
.mode .eyebrow { margin-bottom: 14px; }
.mode p { color: var(--ink-2); margin-top: 10px; font-size: 16px; }

/* ── reveal ── */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; } .rv.d4 { transition-delay: .32s; }
.no-js .rv { opacity: 1; transform: none; }

/* ── responsive ── */
@media (max-width: 1080px) {
  .app-body { grid-template-columns: 170px 1fr; }
  .app-side { display: none; }
  .catalog, .app-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-toggle { display: block; }
  .nav-lang, .nav-ghost { display: none; }
  .only-mobile { display: block; }
  .nav-links a { height: auto; padding: 0; }
  .nav-links a:hover { background: none; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 22px;
    padding: 28px var(--gutter) 36px; background: rgba(243, 244, 243, .97);
    backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line);
    font-size: 20px; opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .4s var(--ease);
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .sec-head, .pr-grid, .feature-grid, .feature-grid.flip, .pieces, .plans, .modes, .modes.two { grid-template-columns: 1fr; }
  .sec-head .lead, .shield-sec .sec-head > div { justify-self: start; }
  .layer { grid-template-columns: 1fr; }
  .layer-outils .layer-apps { grid-template-columns: repeat(4, 1fr); }
  .feature-grid.flip .copy { order: 0; }
  .pr-grid .sticky { position: static; }
  .app-body { grid-template-columns: 1fr; min-height: 380px; }
  .app-rail { display: none; }
  .stage { border-radius: 24px 24px 0 0; }
  .principles { border-radius: 28px; }
}
@media (max-width: 560px) {
  .nav-cta { display: none; }
  .nav-toggle { margin-right: -10px; }
  .catalog, .app-grid { grid-template-columns: 1fr; }
  .filter-bar .wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .chip { flex: none; }
  .layer-orchestration .layer-apps, .layer-controle .layer-apps { grid-template-columns: 1fr; }
  .layer-outils .layer-apps { grid-template-columns: repeat(2, 1fr); }
  .layer-outils .layer-apps a { flex-direction: row; text-align: left; padding: 8px; }
  .layer-outils .layer-apps img { width: 40px; height: 40px; }
  .hero .actions { flex-direction: column; }
  .app-ctl { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .rv { opacity: 1; transform: none; }
  .brand-mark { background-position: 100% 0; }
}
