/* Fusor.be — full design system
   Ported from the React mockup (terminal/IDE light theme). */

:root {
  --bg: #fafbfa;
  --bg2: #f1f4f2;
  --bg3: #e6eceb;
  --line: #d7ddda;
  --line2: #c4cdc9;
  --ink: #0a1f25;
  --ink-hi: #102e35;
  --mute: #5b6e73;
  --dim: #717f83;
  --accent: #00a9c9;
  --accent2: #7ec857;
  --accent-deep: #007a94;
  --green: #4f8a1c;
  --yellow: #a07800;
  --orange: #c4601f;
  --red: #c4452d;
  --purple: #6b4a8a;
  --blue: #0a7a94;
  --dark-bg: #0e1a1f;
  --dark-bg2: #15262e;
  --dark-bg3: #0a1418;
  --dark-line: #1e333c;
  --dark-text: #e8f4f6;
  --dark-mute: #7a939b;
  --dark-accent: #a8d84a;
  --dark-blue: #3dc5e8;
  --dark-purple: #c792ea;
  --dark-cyan: #82d4ff;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

  --container: 1344px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Accessibility === */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  left: 0;
  text-decoration: underline;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === Animations === */
@keyframes tBlink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0.25; } }
@keyframes tGlow { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.6; } }
@keyframes tDash { to { stroke-dashoffset: -160; } }
@keyframes tFlow { to { stroke-dashoffset: -120; } }
@keyframes tStream { to { stroke-dashoffset: -100; } }
@keyframes tPulseRing {
  0% { r: 18; opacity: 0.8; stroke-width: 2.2; }
  100% { r: 46; opacity: 0; stroke-width: 0.4; }
}
@keyframes tNodePulse {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 14px currentColor); }
}
@keyframes tOrbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ftPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 251, 250, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
}
.site-header__inner {
  padding: 14px clamp(16px, 4vw, 48px);
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
}

/* Burger toggle (CSS-only, hidden on desktop) */
.nav-toggle {
  position: absolute;
  width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); border: 0;
}
.nav-burger {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column; justify-content: center; align-items: stretch;
  gap: 5px; padding: 6px; cursor: pointer; border-radius: 4px;
  margin-left: auto;
}
.nav-burger:hover { background: var(--bg3); }
.nav-burger span {
  display: block; height: 2px; background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .15s ease;
  transform-origin: center;
}
.nav-toggle:focus-visible + .nav-burger { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 15px; }
.brand__logo {
  width: 22px; height: 22px; border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-weight: 900; font-size: 13px;
  display: grid; place-items: center;
}
.brand__dot { color: var(--accent); }

.nav { display: flex; gap: 4px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav__link { white-space: nowrap; }
.nav__link {
  padding: 6px 12px; border-radius: 4px;
  color: var(--mute); transition: all .15s;
}
.nav__link:hover { background: var(--bg3); color: var(--ink); text-decoration: none; }
body[data-page="societe"]  .nav__link[data-page="societe"],
body[data-page="produits"] .nav__link[data-page="produits"],
body[data-page="contact"]  .nav__link[data-page="contact"] {
  background: var(--bg3); color: var(--ink);
}

.site-header__right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.build-indicator { display: flex; align-items: center; gap: 6px; color: var(--mute); font-size: 11px; }
.build-indicator::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
}
.lang-switch {
  padding: 6px 10px; border-radius: 4px;
  color: var(--mute); border: 1px solid var(--line);
  font-size: 12px; font-weight: 600;
}
.lang-switch:hover { color: var(--ink); border-color: var(--ink); text-decoration: none; }
.cta {
  background: var(--ink); color: var(--accent2);
  padding: 8px 14px; border-radius: 6px;
  font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.cta:hover { background: var(--ink-hi); text-decoration: none; }

/* === Layout === */
.container { max-width: var(--container); margin: 0 auto; }
.section { padding: clamp(48px, 9vw, 100px) clamp(20px, 4vw, 48px); }
.section--tinted { background: var(--bg2); }
.section--bordered { border-bottom: 1px solid var(--line); }
.section--bordered-top { border-top: 1px solid var(--line); }

.section-header { display: flex; align-items: baseline; gap: 18px; margin-bottom: 48px; }
.section-header__rule { flex: 1; height: 1px; background: var(--bg3); border: 0; }
.section-header__lead {
  font-family: var(--font-mono); font-size: 13px; color: var(--accent2);
}
.section-header__meta { font-family: var(--font-mono); font-size: 12px; color: var(--mute); }

.section-title {
  font-family: var(--font-mono);
  font-size: clamp(28px, 5vw, 48px); font-weight: 500;
  color: var(--ink); letter-spacing: -0.03em;
  margin: 0 0 clamp(32px, 5vw, 56px); line-height: 1.1; max-width: 900px;
}
.section-title__comment { color: var(--mute); }

/* === Hero shared parts === */
.hero {
  padding: clamp(40px, 7vw, 72px) clamp(20px, 4vw, 48px) clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.hero--home { padding-bottom: clamp(48px, 9vw, 96px); }
.hero__inner { position: relative; }
.hero__breadcrumb {
  font-family: var(--font-mono); font-size: 12px; color: var(--mute);
  margin-bottom: 18px; display: flex; align-items: center; gap: 8px;
}
.hero__breadcrumb-tilde { color: var(--accent2); }
.hero__breadcrumb-current { color: var(--ink); }
.hero__breadcrumb-tag {
  margin-left: 12px; padding: 2px 8px;
  background: var(--bg3); border-radius: 3px; font-size: 10px;
}
.hero__grid {
  display: grid; gap: clamp(32px, 5vw, 56px); align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}
.hero__grid--wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.hero__grid--medium-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; color: var(--accent2);
  padding: 5px 10px; border: 1px solid rgba(126, 200, 87, 0.34);
  border-radius: 99px; margin-bottom: 22px; letter-spacing: 0.08em;
}
.pill__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent2);
  animation: tBlink 1.6s ease-in-out infinite;
}

.hero__title {
  font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(34px, 6vw, 54px); line-height: 1.05; letter-spacing: -0.035em;
  color: var(--ink); margin: 0 0 20px;
}
.hero__title--smaller { font-size: clamp(30px, 5.2vw, 48px); }
.hero__title-mute { color: var(--mute); font-weight: 500; }
.hero__title-accent { color: var(--accent); }

.hero__lead {
  font-family: var(--font-sans); font-size: 17px; line-height: 1.6;
  color: var(--mute); margin: 0 0 32px; font-weight: 400; max-width: 540px;
}
.hero__lead-strong { color: var(--ink); font-weight: 600; }

.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }

.btn-cli {
  background: var(--ink); color: var(--accent2); border: none;
  padding: 13px 20px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; box-shadow: 0 8px 24px rgba(10, 31, 37, 0.15);
}
.btn-cli__return { opacity: 0.5; }
.btn-cli:hover { text-decoration: none; }

.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
  padding: 13px 20px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { text-decoration: none; }

.kpi-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kpi-row__cell { padding: 14px 16px; border-right: 1px solid var(--line); }
.kpi-row__cell:last-child { border-right: none; }
.kpi-row__v {
  font-family: var(--font-mono); font-size: 22px; color: var(--ink);
  font-weight: 500; letter-spacing: -0.02em;
}
.kpi-row__l {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--mute);
  margin-top: 3px; letter-spacing: 0.08em;
}

/* === Terminal card === */
.term-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg2), var(--bg));
  border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px 14px;
  box-shadow: 0 24px 60px rgba(10, 31, 37, 0.10);
  overflow: hidden;
}
.term-card--home { padding: 20px 22px 16px; box-shadow: 0 24px 60px rgba(10, 31, 37, 0.12); }
.term-card__head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
  font-family: var(--font-mono); font-size: 11px; color: var(--mute);
}
.term-card__dots { display: flex; gap: 5px; }
.term-card__dots span {
  width: 9px; height: 9px; border-radius: 50%;
}
.term-card__dots span:nth-child(1) { background: rgba(255, 95, 87, 0.56); }
.term-card__dots span:nth-child(2) { background: rgba(254, 188, 46, 0.56); }
.term-card__dots span:nth-child(3) { background: rgba(40, 200, 64, 0.56); }
.term-card__live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent2);
}
.term-card__live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent2); animation: tBlink 1.4s ease-in-out infinite;
}
.term-card__svg { width: 100%; height: auto; display: block; }
.term-card__foot {
  margin-top: 8px; padding-top: 10px;
  border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10.5px; color: var(--dim);
}

/* === Background grid for hero === */
.t-grid-bg {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 78%);
  position: absolute; inset: 0; opacity: 0.45; pointer-events: none;
}
.hero__glow {
  position: absolute; pointer-events: none;
  background: radial-gradient(circle, rgba(0, 169, 201, 0.12) 0%, transparent 70%);
  animation: tGlow 8s ease-in-out infinite;
}
.hero__glow--top { top: 10%; right: -15%; width: 700px; height: 700px; }
.hero__glow--bottom {
  bottom: -20%; left: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(126, 200, 87, 0.09) 0%, transparent 70%);
  animation-duration: 10s;
}

/* === Stats band (4 cells) === */
.stats-band { background: var(--bg2); border-bottom: 1px solid var(--line); }
.stats-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-band__cell {
  padding: clamp(24px, 4vw, 40px) clamp(20px, 3vw, 32px);
  border-right: 1px solid var(--line);
  position: relative;
}
.stats-band__cell:last-child { border-right: none; }
.stats-band__no { font-family: var(--font-mono); font-size: 10px; color: var(--mute); margin-bottom: 12px; }
.stats-band__v {
  font-family: var(--font-mono); font-size: clamp(36px, 6vw, 56px); color: var(--accent2);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1;
}
.stats-band__l { color: var(--ink); font-size: 15px; margin-top: 10px; font-weight: 500; }
.stats-band__sub { color: var(--mute); font-size: 12px; margin-top: 4px; font-family: var(--font-mono); }

/* === Architecture layers list === */
.layers {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
}
.layers__row {
  background: var(--bg2); padding: 22px 28px;
  display: grid; grid-template-columns: 140px 220px 1fr 60px;
  gap: 32px; align-items: center;
}
.layers__k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; font-weight: 600; }
.layers__label { color: var(--ink); font-size: 16px; font-weight: 600; }
.layers__items { display: flex; flex-wrap: wrap; gap: 8px; }
.layers__item {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--mute);
  padding: 4px 10px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 4px;
}
.layers__l { font-family: var(--font-mono); font-size: 11px; color: var(--dim); text-align: right; }

/* === Code sample dark section === */
.code-section {
  padding: clamp(56px, 10vw, 120px) clamp(20px, 4vw, 48px);
  background: var(--dark-bg);
  border-bottom: 1px solid var(--line); position: relative; overflow: hidden;
}
.code-section__bg {
  position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  background-image:
    linear-gradient(var(--accent2) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent2) 1px, transparent 1px);
  background-size: 48px 48px;
}
.code-section__grid {
  position: relative;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.code-section__lead { font-family: var(--font-mono); font-size: 12px; color: var(--dark-accent); margin-bottom: 18px; letter-spacing: 0.12em; }
.code-section__h2 {
  font-family: var(--font-mono); font-size: clamp(28px, 4.5vw, 42px); color: var(--dark-text);
  font-weight: 500; letter-spacing: -0.03em; margin: 0 0 24px; line-height: 1.15;
}
.code-section__h2 em { font-style: normal; color: var(--dark-accent); }
.code-section__p { color: var(--dark-mute); font-size: 16px; line-height: 1.7; margin: 0 0 24px; }
.code-section__list { display: flex; flex-direction: column; gap: 10px; font-family: var(--font-mono); font-size: 13px; color: var(--dark-mute); }
.code-section__list-check { color: var(--dark-accent); }

.code-window {
  background: var(--dark-bg3); border: 1px solid var(--dark-line);
  border-radius: 10px; overflow: hidden;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.7;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.code-window__bar {
  background: var(--dark-bg2); padding: 10px 14px;
  border-bottom: 1px solid var(--dark-line);
  display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--dark-mute);
}
.code-window__dots { display: flex; gap: 6px; }
.code-window__dots span { width: 10px; height: 10px; border-radius: 50%; }
.code-window__dots span:nth-child(1) { background: #ff5f57; }
.code-window__dots span:nth-child(2) { background: #febc2e; }
.code-window__dots span:nth-child(3) { background: #28c840; }
.code-window__file { margin-left: 8px; }
.code-window__lang { margin-left: auto; color: var(--dark-blue); }
.code-window__pre {
  margin: 0; padding: clamp(16px, 2.5vw, 26px); color: var(--dark-text);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  font-size: clamp(11px, 1.2vw, 13px);
}
.tok-comment { color: var(--dark-mute); }
.tok-keyword { color: var(--dark-purple); }
.tok-type { color: var(--dark-cyan); }
.tok-fn { color: var(--dark-accent); }

/* === Features grid (6 cards with code) === */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
}
.feature-card {
  background: var(--bg); padding: 32px 28px 36px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 340px;
  position: relative; overflow: hidden;
}
.feature-card__k {
  font-family: var(--font-mono); font-size: 10px; color: var(--accent);
  letter-spacing: 0.15em; display: flex; align-items: center; gap: 8px;
}
.feature-card__k::before { content: ''; width: 14px; height: 1px; background: var(--accent); }
.feature-card__t { font-family: var(--font-sans); font-size: 22px; color: var(--ink); font-weight: 600; margin: 0; letter-spacing: -0.02em; }
.feature-card__d { color: var(--mute); font-size: 14px; line-height: 1.6; margin: 0; flex: 1; }
.feature-card__code {
  background: var(--dark-bg); border: 1px solid var(--dark-line); border-radius: 6px;
  padding: 12px 14px; margin: 0;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--dark-accent);
  line-height: 1.6; white-space: pre-wrap; overflow: hidden;
}

/* === Process steps === */
.steps {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
}
.steps__row {
  background: var(--bg); padding: 28px 32px;
  display: grid; grid-template-columns: 80px 180px 1fr 140px;
  gap: 32px; align-items: center;
  transition: background .2s;
}
.steps__row:hover { background: var(--bg3); }
.steps__n { font-family: var(--font-mono); font-size: 36px; color: var(--accent2); font-weight: 300; letter-spacing: -0.03em; }
.steps__k { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.15em; margin-bottom: 4px; }
.steps__t { color: var(--ink); font-size: 18px; font-weight: 600; }
.steps__d { color: var(--mute); font-size: 14px; line-height: 1.6; }
.steps__time {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink); text-align: right;
  padding: 6px 12px; background: var(--bg2); border-radius: 4px; border: 1px solid var(--line);
  justify-self: end;
}

/* === Stack JSON block === */
.stack-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.stack-json {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 10px;
  padding: 24px; font-family: var(--font-mono); font-size: 13px; line-height: 1.9;
}
.stack-json__indent { padding-left: 24px; }
.stack-json__key { color: var(--purple); }
.stack-json__sep { color: var(--mute); }
.stack-json__str { color: var(--yellow); }
.stack-json__num { color: var(--green); }
.stack-json__pkgs { padding-left: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.stack-json__pkg {
  background: var(--bg3); color: var(--accent2); padding: 3px 10px;
  border-radius: 4px; font-size: 11px; border: 1px solid var(--line);
}

/* === Metrics grid === */
.metrics {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
}
.metric { background: var(--bg); padding: 24px 26px; border-right: 1px solid var(--line); }
.metric:nth-child(3n) { border-right: none; }
.metric:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
.metric__l { font-family: var(--font-mono); font-size: 11px; color: var(--mute); letter-spacing: 0.12em; margin-bottom: 10px; }
.metric__v { font-family: var(--font-mono); font-size: 34px; color: var(--ink); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 14px; }
.metric__bar { height: 4px; background: var(--bg3); border-radius: 2px; overflow: hidden; }
.metric__bar-fill { height: 100%; transition: width 1.6s ease; }

/* === Cases (3-column cards) === */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 28px; position: relative; overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.case-card:hover { transform: translateY(-4px); }
.case-card__c { font-family: var(--font-mono); font-size: 11px; margin-bottom: 16px; }
.case-card__n { color: var(--ink); font-size: 24px; font-weight: 600; margin: 0 0 12px; letter-spacing: -0.02em; }
.case-card__m { color: var(--mute); font-size: 13.5px; line-height: 1.6; margin: 0 0 18px; font-family: var(--font-mono); }
.case-card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.case-card__chip {
  font-family: var(--font-mono); font-size: 10px; padding: 2px 8px;
  border-radius: 3px; letter-spacing: 0.04em;
}
.case-card__stat {
  font-family: var(--font-mono); font-size: 20px; font-weight: 600;
  padding-top: 20px; border-top: 1px dashed var(--line);
}

/* === CTA === */
.cta-section {
  padding: clamp(64px, 12vw, 140px) clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.cta-section__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(126, 200, 87, 0.09) 0%, transparent 60%);
}
.cta-section__inner {
  max-width: 1000px; margin: 0 auto; text-align: center; position: relative;
}
.cta-section__lead { font-family: var(--font-mono); font-size: 13px; color: var(--accent2); margin-bottom: 24px; }
.cta-section__title {
  font-family: var(--font-mono); font-size: clamp(38px, 7vw, 72px); color: var(--ink);
  font-weight: 500; letter-spacing: -0.04em; margin: 0 0 28px; line-height: 1.05;
}
.cta-section__p {
  color: var(--mute); font-size: clamp(15px, 1.5vw, 19px); line-height: 1.55;
  margin: 0 auto 40px; max-width: 620px;
}
.cta-section__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-section__btn-primary {
  background: var(--ink); color: var(--accent2); border: none;
  padding: 16px 28px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 15px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 12px 30px rgba(10, 31, 37, 0.2);
  text-decoration: none;
}
.cta-section__btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
  padding: 16px 28px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 15px; font-weight: 500;
  text-decoration: none;
}

/* === Footer (4-col rich) === */
.site-footer {
  padding: clamp(40px, 6vw, 60px) clamp(20px, 4vw, 48px) clamp(24px, 4vw, 40px);
  background: var(--bg2);
  font-family: var(--font-mono); font-size: 12px;
}
.site-footer__grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px, 3vw, 48px);
}
.site-footer__brand-name {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 700; font-size: 16px; margin-bottom: 16px;
}
.site-footer__brand-p {
  color: var(--mute); line-height: 1.7; margin: 0;
  font-family: var(--font-sans); font-size: 13px;
}
.site-footer__col-title { color: var(--accent2); margin-bottom: 14px; }
.site-footer__col-body { color: var(--mute); line-height: 1.9; }
.site-footer__col-links { display: flex; flex-direction: column; }
.site-footer__col-links a { color: var(--mute); }
.site-footer__bottom {
  max-width: var(--container); margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  color: var(--dim); font-size: 11px;
}

/* === Société: values + timeline + team === */
.values {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
}
.value-card { background: var(--bg); padding: 32px 28px; }
.value-card__k {
  font-family: var(--font-mono); font-size: 10px; color: var(--accent);
  letter-spacing: 0.15em; margin-bottom: 12px;
  display: flex; gap: 8px; align-items: center;
}
.value-card__k::before { content: ''; width: 14px; height: 1px; background: var(--accent); }
.value-card__t { font-family: var(--font-sans); font-size: 22px; color: var(--ink); font-weight: 600; margin: 0 0 10px; letter-spacing: -0.02em; }
.value-card__d { color: var(--mute); font-size: 14px; line-height: 1.6; margin: 0; }

.timeline {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
}
.timeline__row {
  display: grid; grid-template-columns: 120px 160px 1fr 120px;
  gap: 24px; padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.timeline__row:last-child { border-bottom: none; }
.timeline__commit { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.timeline__y { font-family: var(--font-mono); font-size: 18px; color: var(--accent2); font-weight: 600; white-space: nowrap; }
.timeline__t { color: var(--ink); font-size: 16px; font-weight: 600; }
.timeline__d { color: var(--mute); font-size: 13px; margin-top: 4px; font-family: var(--font-mono); }
.timeline__status { font-family: var(--font-mono); font-size: 11px; color: var(--mute); text-align: right; }
.timeline__head {
  padding: 3px 8px; background: rgba(126, 200, 87, 0.13);
  color: var(--green); border-radius: 3px;
}

.team {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
}
.team-card {
  background: var(--bg); padding: 24px 22px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 160px;
}
.team-card__avatar {
  width: 44px; height: 44px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-family: var(--font-mono); font-size: 18px; font-weight: 700;
  display: grid; place-items: center;
}
.team-card__n { font-family: var(--font-sans); font-size: 16px; font-weight: 600; color: var(--ink); }
.team-card__r { font-family: var(--font-mono); font-size: 11px; color: var(--mute); }
.team-card__t { font-family: var(--font-mono); font-size: 10px; color: var(--accent); margin-top: auto; }

/* === Produits === */
.product-section { padding: clamp(48px, 7vw, 80px) clamp(20px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.product-section--alt { background: var(--bg2); }

.product-header {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; flex-wrap: wrap;
}
.product-header__pkg { font-family: var(--font-mono); font-size: 13px; color: var(--accent2); }
.product-header__ver {
  font-family: var(--font-mono); font-size: 11px; color: var(--mute);
  padding: 2px 10px; background: var(--bg3); border-radius: 3px; border: 1px solid var(--line);
}
.product-header__status {
  font-family: var(--font-mono); font-size: 11px; color: var(--green);
  padding: 2px 10px; background: rgba(126, 200, 87, 0.13); border-radius: 3px;
}
.product-header__rule { flex: 1; height: 1px; background: var(--line); min-width: 40px; }
.product-header__tag { font-family: var(--font-mono); font-size: 11px; color: var(--accent); }

.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-name {
  font-family: var(--font-mono); font-size: clamp(34px, 6vw, 54px); font-weight: 500;
  color: var(--ink); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 18px;
}
.product-desc {
  font-family: var(--font-sans); font-size: 17px; line-height: 1.6;
  color: var(--mute); margin: 0 0 28px;
}
.stack-label { font-family: var(--font-mono); font-size: 11px; color: var(--accent); margin-bottom: 10px; }
.stack-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.stack-chip {
  padding: 4px 10px; background: var(--bg3); color: var(--ink);
  border-radius: 4px; font-family: var(--font-mono); font-size: 11px;
  border: 1px solid var(--line);
}

.btn-cli-link {
  font-family: var(--font-mono); font-size: 13px; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; background: var(--bg3); border-radius: 6px;
  border: 1px solid var(--line);
}
.btn-cli-link:hover { text-decoration: none; }

.api-block {
  background: var(--dark-bg); border: 1px solid var(--dark-line);
  border-radius: 8px; font-family: var(--font-mono); font-size: 12px; overflow: hidden;
}
.api-block__head { padding: 8px 14px; background: var(--dark-bg2); color: var(--dark-mute); font-size: 11px; border-bottom: 1px solid var(--dark-line); }
.api-block__body { padding: 14px 16px; line-height: 1.9; }
.api-block__verb { font-weight: 600; display: inline-block; min-width: 64px; }
.api-block__verb--get { color: var(--dark-accent); }
.api-block__verb--post { color: var(--dark-blue); }
.api-block__verb--patch { color: #f0c948; }
.api-block__verb--ws { color: #c89dff; }
.api-block__verb--webrtc { color: #f0c948; }
.api-block__verb--webhook { color: var(--dark-blue); }
.api-block__path { color: var(--dark-text); }

.features-block {
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 20px 22px;
}
.features-block__label { font-family: var(--font-mono); font-size: 11px; color: var(--accent); margin-bottom: 12px; }
.features-block ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.features-block li {
  display: flex; gap: 10px; font-family: var(--font-sans);
  font-size: 14px; color: var(--ink); line-height: 1.5;
}
.features-block li::before {
  content: '✓'; font-family: var(--font-mono); color: var(--accent2); font-size: 13px;
}

/* === Spin-off badge (Melodia, Matching Square) === */
.spinoff-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--ink); background: var(--bg);
  padding: 6px 12px; border-radius: 99px;
  border: 1px solid var(--ink); letter-spacing: 0.1em;
}
.spinoff-badge::before {
  content: '◑'; font-size: 13px; line-height: 1;
}
.spinoff-note {
  font-family: var(--font-mono); font-size: 12px; color: var(--mute);
  margin: 0 0 18px; line-height: 1.5;
}
.spinoff-note strong { color: var(--ink); font-weight: 600; }

/* === Featured product (FridayTimesheets) === */
.featured-section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 48px) clamp(56px, 8vw, 100px);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(160, 120, 0, 0.07), transparent 60%), var(--bg);
  border-bottom: 1px solid var(--line);
}
.featured-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; color: var(--bg);
  padding: 6px 12px; background: var(--yellow); border-radius: 99px;
  font-weight: 700; letter-spacing: 0.12em;
}
.featured-pill__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--bg);
  animation: ftPulse 1.6s ease-in-out infinite;
}
.featured-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 64px; align-items: start;
}
.featured-name {
  font-family: var(--font-mono); font-size: clamp(34px, 6vw, 54px); font-weight: 500;
  color: var(--ink); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 18px;
}
.featured-name em { font-style: normal; color: var(--yellow); }
.featured-pitch {
  font-family: var(--font-sans); font-size: clamp(17px, 2vw, 22px); line-height: 1.45;
  color: var(--ink); margin: 0 0 18px; max-width: 540px; font-weight: 500;
}
.featured-pitch mark {
  background: rgba(160, 120, 0, 0.2); padding: 1px 8px; border-radius: 4px; color: var(--ink);
}
.featured-stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: var(--bg2); margin-bottom: 32px;
}
.featured-stat { padding: 18px 20px; border-right: 1px solid var(--line); }
.featured-stat:last-child { border-right: none; }
.featured-stat__n { font-family: var(--font-sans); font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: -0.025em; }
.featured-stat__l { font-family: var(--font-mono); font-size: 11px; color: var(--mute); margin-top: 4px; letter-spacing: 0.04em; }
.btn-yellow {
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  color: var(--bg); background: var(--yellow); text-decoration: none;
  padding: 14px 22px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-yellow:hover { text-decoration: none; }

.tt-window {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; box-shadow: 0 30px 70px rgba(10, 31, 37, 0.14);
}
.tt-window__bar {
  padding: 10px 14px; background: var(--bg3); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; color: var(--mute);
}
.tt-window__synced {
  margin-left: auto; color: var(--green);
  padding: 2px 8px; background: rgba(126, 200, 87, 0.13); border-radius: 3px;
}
.tt-grid { padding: 18px 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tt-row {
  display: grid; grid-template-columns: 1.6fr repeat(5, 1fr) 0.8fr;
  gap: 8px; align-items: center; min-width: 540px;
}
.tt-row--head { padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.tt-row--body { padding: 8px 0; }
.tt-row--total { padding: 12px 0 0; border-top: 1px solid var(--line); margin-top: 6px; }
.tt-head-cell { font-family: var(--font-mono); font-size: 10px; color: var(--mute); letter-spacing: 0.12em; text-align: center; }
.tt-head-cell--first { text-align: left; }
.tt-head-cell--last { color: var(--accent2); text-align: right; }
.tt-proj { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tt-proj__dot { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.tt-proj__name { font-family: var(--font-sans); font-size: 13px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt-cell {
  position: relative; height: 32px; border-radius: 5px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.tt-cell__bg { position: absolute; inset: 0; }
.tt-cell__v { position: relative; font-family: var(--font-mono); font-size: 12px; }
.tt-cell--has { background: var(--bg3); }
.tt-cell--has .tt-cell__v { color: var(--ink); font-weight: 600; }
.tt-cell--empty .tt-cell__v { color: var(--dim); }
.tt-row__total { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--ink); text-align: right; }
.tt-row--total .tt-head-cell { font-size: 11px; }
.tt-row--total .tt-grand { font-family: var(--font-sans); font-size: 18px; font-weight: 700; color: var(--yellow); text-align: right; }

.tt-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tt-feature {
  padding: 14px 16px; background: var(--bg2);
  border: 1px solid var(--line); border-radius: 8px;
  display: flex; gap: 10px; align-items: flex-start;
}
.tt-feature__n { font-family: var(--font-mono); color: var(--yellow); font-size: 14px; font-weight: 700; flex-shrink: 0; }
.tt-feature__t { font-family: var(--font-sans); font-size: 13px; line-height: 1.45; color: var(--ink); }

/* === FridayTimesheets brand theme (#0E6FCB blue) === */
.featured-section--ft {
  background: radial-gradient(1200px 600px at 80% -10%, rgba(14, 111, 203, 0.10), transparent 60%), var(--bg);
}
.featured-section--ft .featured-pill { background: #0E6FCB; }
.featured-section--ft .featured-pill__dot { background: var(--bg); }
.featured-section--ft .featured-name em { color: #0E6FCB; }
.featured-section--ft .featured-pitch mark { background: rgba(14, 111, 203, 0.18); color: var(--ink); }
.featured-section--ft .stack-label { color: #0E6FCB; }
.featured-section--ft .tt-feature__n { color: #0E6FCB; }
.featured-section--ft .tt-window__synced { color: #0E6FCB; background: rgba(14, 111, 203, 0.12); }

.btn-ft {
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  color: #fff; background: #0E6FCB; text-decoration: none;
  padding: 14px 22px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-ft:hover { background: #0a58a3; text-decoration: none; }

/* === Melodia Therapy brand theme (#EF80CC pink) === */
.featured-section--blue {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(239, 128, 204, 0.14), transparent 60%),
    radial-gradient(700px 400px at 5% 100%, rgba(132, 228, 245, 0.10), transparent 60%),
    var(--bg);
}
.featured-section--blue .featured-pill { background: #EF80CC; }
.featured-section--blue .featured-pill__dot { background: var(--bg); }
.featured-section--blue .featured-name em { color: #EF80CC; }
.featured-section--blue .featured-pitch mark { background: rgba(239, 128, 204, 0.22); color: var(--ink); }
.featured-section--blue .stack-label { color: #EF80CC; }
.featured-section--blue .featured-stat__l { letter-spacing: 0.04em; }
.featured-section--blue .tt-feature__n { color: #EF80CC; }
.featured-section--blue .tt-window__synced { color: #c5559e; background: rgba(239, 128, 204, 0.16); }

.btn-blue {
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  color: #fff; background: #EF80CC; text-decoration: none;
  padding: 14px 22px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-blue:hover { background: #d660b1; text-decoration: none; }

/* === Octofus brand theme (#F18A00 orange + #BE2126 red accent) === */
.featured-section--green {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(241, 138, 0, 0.12), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(190, 33, 38, 0.06), transparent 60%),
    var(--bg);
}
.featured-section--green .featured-pill { background: #F18A00; }
.featured-section--green .featured-pill__dot { background: var(--bg); }
.featured-section--green .featured-name em { color: #F18A00; }
.featured-section--green .featured-pitch mark { background: rgba(241, 138, 0, 0.22); color: var(--ink); }
.featured-section--green .stack-label { color: #F18A00; }
.featured-section--green .featured-stat__l { letter-spacing: 0.04em; }
.featured-section--green .tt-feature__n { color: #BE2126; }
.featured-section--green .tt-window__synced { color: #BE2126; background: rgba(190, 33, 38, 0.10); }

.btn-green {
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  color: #fff; background: #F18A00; text-decoration: none;
  padding: 14px 22px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-green:hover { background: #d27800; text-decoration: none; }

/* === Matching Square brand theme (#033154 navy + #E46113 orange accent) === */
.featured-section--accent {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(3, 49, 84, 0.12), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(228, 97, 19, 0.08), transparent 60%),
    var(--bg);
}
.featured-section--accent .featured-pill { background: #033154; }
.featured-section--accent .featured-pill__dot { background: var(--bg); }
.featured-section--accent .featured-name em { color: #033154; }
.featured-section--accent .featured-pitch mark { background: rgba(3, 49, 84, 0.18); color: var(--ink); }
.featured-section--accent .stack-label { color: #033154; }
.featured-section--accent .featured-stat__l { letter-spacing: 0.04em; }
.featured-section--accent .tt-feature__n { color: #E46113; }
.featured-section--accent .tt-window__synced { color: #E46113; background: rgba(228, 97, 19, 0.12); }

.btn-accent {
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  color: #fff; background: #033154; text-decoration: none;
  padding: 14px 22px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-accent:hover { background: #022540; text-decoration: none; }

/* Now-playing block (Melodia mockup) */
.now-playing {
  background: linear-gradient(180deg, var(--bg2), var(--bg));
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 24px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center;
  margin-bottom: 18px;
}
.now-playing__label {
  font-family: var(--font-mono); font-size: 11px; color: #0a7a94;
  letter-spacing: 0.12em; margin-bottom: 6px;
}
.now-playing__title {
  font-family: var(--font-mono); font-size: 26px; font-weight: 600;
  color: var(--ink); margin: 0; letter-spacing: -0.02em;
}
.now-playing__sub {
  font-family: var(--font-mono); font-size: 12px; color: var(--mute);
}
.now-playing__time {
  font-family: var(--font-mono); font-size: 22px; font-weight: 500;
  color: var(--ink); margin-top: 6px; letter-spacing: -0.01em;
}
.now-playing__time small { color: var(--mute); font-weight: 400; }

@keyframes eqBar {
  0%, 100% { transform: scaleY(0.25); }
  50% { transform: scaleY(1); }
}
.eq-bars {
  display: flex; gap: 4px; align-items: end;
  height: 44px; margin-top: 14px;
  width: 100%; max-width: 240px; justify-content: center;
}
.eq-bars span {
  width: 5px; height: 100%; flex: 1; max-width: 8px;
  background: linear-gradient(to top, #0a7a94, #00a9c9);
  border-radius: 3px;
  transform-origin: bottom;
  animation: eqBar 1.2s ease-in-out infinite;
}
.eq-bars span:nth-child(1)  { animation-delay: 0.00s; }
.eq-bars span:nth-child(2)  { animation-delay: 0.10s; }
.eq-bars span:nth-child(3)  { animation-delay: 0.20s; }
.eq-bars span:nth-child(4)  { animation-delay: 0.05s; }
.eq-bars span:nth-child(5)  { animation-delay: 0.30s; }
.eq-bars span:nth-child(6)  { animation-delay: 0.15s; }
.eq-bars span:nth-child(7)  { animation-delay: 0.45s; }
.eq-bars span:nth-child(8)  { animation-delay: 0.25s; }
.eq-bars span:nth-child(9)  { animation-delay: 0.55s; }
.eq-bars span:nth-child(10) { animation-delay: 0.35s; }
.eq-bars span:nth-child(11) { animation-delay: 0.40s; }
.eq-bars span:nth-child(12) { animation-delay: 0.50s; }

/* Sessions list (Melodia mockup) */
.sessions-list {
  font-family: var(--font-mono); font-size: 12px;
}
.sessions-list__head {
  font-family: var(--font-mono); font-size: 11px; color: var(--mute);
  letter-spacing: 0.12em; margin-bottom: 8px; padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.session-row {
  display: grid;
  grid-template-columns: 100px 1fr 130px 60px 20px;
  gap: 10px; align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  min-width: 460px;
}
.sessions-list__inner { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.session-row:last-child { border-bottom: none; }
.session-row__date { color: var(--mute); }
.session-row__patient { color: var(--ink); }
.session-row__prog { color: var(--ink); }
.session-row__dur { color: var(--mute); text-align: right; }
.session-row__check { color: var(--green); text-align: right; }

/* === Articles === */
.featured-article {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 0;
  background: var(--dark-bg); border: 1px solid var(--dark-line);
  border-radius: 10px; overflow: hidden; margin-bottom: 48px;
  text-decoration: none;
}
.featured-article:hover { text-decoration: none; }
.featured-article__pin { font-family: var(--font-mono); font-size: 11px; color: var(--dark-accent); margin-bottom: 16px; }
.featured-article__t {
  font-family: var(--font-mono); font-size: clamp(22px, 3.4vw, 36px); color: var(--dark-text);
  font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 20px;
}
.featured-article__body { padding: clamp(24px, 4vw, 40px) clamp(20px, 4vw, 36px); }
.featured-article__pre { padding: clamp(24px, 4vw, 40px) clamp(20px, 3.5vw, 32px); overflow-x: auto; }
.featured-article__meta { font-family: var(--font-mono); font-size: 12px; color: var(--dark-mute); }
.featured-article__author { color: var(--dark-blue); }
.featured-article__lang { color: var(--dark-mute); }
.featured-article__pre {
  background: var(--dark-bg2); margin: 0;
  font-family: var(--font-mono); font-size: 12px; line-height: 1.7;
  color: var(--dark-mute);
}

.articles-list { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.articles-list__header { font-family: var(--font-mono); font-size: 13px; color: var(--accent2); margin-bottom: 14px; }
.articles-list__header em { font-style: normal; color: var(--mute); }
.article-row {
  display: grid; grid-template-columns: 90px 1fr 220px 80px;
  gap: 24px; padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  align-items: center; transition: background .15s;
  text-decoration: none;
}
.article-row:last-child { border-bottom: none; }
.article-row:hover { background: var(--bg2); text-decoration: none; }
.article-row__cat { font-family: var(--font-mono); font-size: 11px; color: var(--accent); }
.article-row__title-block { display: flex; align-items: center; gap: 12px; }
.article-row__lang {
  font-family: var(--font-mono); font-size: 10px; padding: 2px 6px;
  background: var(--bg3); border-radius: 3px;
  border: 1px solid var(--line);
}
.article-row__t {
  font-family: var(--font-sans); font-size: 16px; color: var(--ink);
  font-weight: 500; margin: 0; letter-spacing: -0.01em;
}
.article-row__author { font-family: var(--font-mono); font-size: 12px; color: var(--mute); }
.article-row__read { font-family: var(--font-mono); font-size: 11px; color: var(--mute); text-align: right; }

.tags-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.tag {
  font-family: var(--font-mono); font-size: 11px; color: var(--mute);
  padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px;
}

/* === Contact === */
.contact-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start;
}
.contact-form {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 10px;
  padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 22px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-fieldset { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.form-fieldset > .form-label { padding: 0; }
.form-label {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
  margin-bottom: 8px; display: block; letter-spacing: 0.05em;
}
.form-field {
  width: 100%; padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  font-family: var(--font-mono); font-size: 14px; color: var(--ink); outline: none;
}
.form-field:focus { border-color: var(--accent); }
.form-textarea { font-family: var(--font-mono); font-size: 13px; line-height: 1.6; min-height: 140px; resize: vertical; }
.form-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.form-chip {
  padding: 8px 14px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  background: var(--bg); color: var(--mute);
  border: 1px solid var(--line);
  cursor: pointer; user-select: none;
}
.form-chip input { display: none; }
.form-chip:has(input:checked), .form-chip--active {
  background: var(--ink); color: var(--accent2); border-color: var(--ink);
}
.form-submit-row { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.form-meta { font-family: var(--font-mono); font-size: 11px; color: var(--mute); }

.form-feedback {
  font-family: var(--font-mono); font-size: 13px; line-height: 1.5;
  padding: 14px 18px; border-radius: 8px; margin-bottom: 8px;
  border: 1px solid transparent;
}
.form-feedback--ok {
  color: #2c6f1d; background: rgba(126, 200, 87, 0.12); border-color: rgba(126, 200, 87, 0.4);
}
.form-feedback--err {
  color: #8a2222; background: rgba(190, 33, 38, 0.08); border-color: rgba(190, 33, 38, 0.35);
}

.contact-aside { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 20px 22px;
  font-family: var(--font-mono); font-size: 12px; line-height: 1.9;
}
.contact-card--dark { background: var(--dark-bg); border-color: var(--dark-line); }
.contact-card--bg { background: var(--bg); }
.contact-card--bg2 { background: var(--bg2); }
.contact-card__title { margin-bottom: 8px; }
.contact-card--dark .contact-card__title { color: var(--dark-mute); }
.contact-card--dark .contact-card__body { color: var(--dark-text); }
.contact-card--dark .contact-card__phone { color: var(--dark-blue); }
.contact-card--bg .contact-card__title { color: var(--accent2); }
.contact-card--bg .contact-card__body { color: var(--ink); }
.contact-card--bg .contact-card__sub { color: var(--mute); }
.contact-card--bg2 .contact-card__title { color: var(--accent); }
.contact-card__channel { color: var(--ink); display: block; }
.contact-card__channel-tag { color: var(--accent2); margin-right: 6px; }
.contact-card--sla { background: var(--bg); }
.contact-card--sla .contact-card__title { color: var(--accent2); margin-bottom: 8px; }
.contact-card--sla { color: var(--mute); }
.contact-card--sla strong { color: var(--ink); font-weight: 400; }

/* === Color helpers === */
.c-accent { color: var(--accent); }
.c-accent2 { color: var(--accent2); }
.c-yellow { color: var(--yellow); }
.c-purple { color: var(--purple); }
.c-blue { color: var(--blue); }
.c-mute { color: var(--mute); }
.c-ink { color: var(--ink); }

.bd-accent { border-color: var(--accent); }
.bd-accent2 { border-color: var(--accent2); }
.bd-yellow { border-color: var(--yellow); }
.bd-purple { border-color: var(--purple); }
.bd-blue { border-color: var(--blue); }

/* === Responsive === */
@media (max-width: 1024px) {
  .hero__grid, .hero__grid--wide-right, .hero__grid--medium-right { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr; gap: 32px; }
  .code-section__grid { grid-template-columns: 1fr; gap: 32px; }
  .product-grid { grid-template-columns: 1fr; gap: 32px; }
  .featured-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .stats-band__grid { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .cases { grid-template-columns: 1fr; }
  .featured-article { grid-template-columns: 1fr; }
  .article-row { grid-template-columns: 1fr; gap: 6px; }
  .timeline__row { grid-template-columns: 1fr; gap: 8px; }
  .layers__row { grid-template-columns: 1fr; gap: 12px; }
  .steps__row { grid-template-columns: 60px 1fr; gap: 12px; }
  .steps__row > div:nth-child(3), .steps__row > div:nth-child(4) { grid-column: 2; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-burger { display: flex; }
  .nav, .site-header__right {
    display: none;
    flex-basis: 100%;
    margin-top: 0;
  }
  .site-header__right { margin-left: 0; }

  /* Open state: show nav and right group as stacked panel */
  .site-header__inner:has(.nav-toggle:checked) .nav,
  .site-header__inner:has(.nav-toggle:checked) .site-header__right {
    display: flex;
  }

  .nav {
    flex-direction: column; gap: 2px;
    padding: 12px 0 8px;
    border-top: 1px solid var(--line);
    overflow: visible;
  }
  .nav__link { padding: 12px 14px; font-size: 14px; border-radius: 8px; }

  .site-header__right {
    flex-direction: column; align-items: stretch; gap: 10px;
    padding: 8px 0 4px;
    border-top: 1px solid var(--line);
  }
  .build-indicator { display: none; }
  .lang-switch, .cta {
    width: 100%; justify-content: center;
    padding: 12px 14px; font-size: 13px;
  }
}

@media (max-width: 720px) {
  .featured-stats-grid { grid-template-columns: 1fr; }
  .featured-stat { border-right: none; border-bottom: 1px solid var(--line); }
  .featured-stat:last-child { border-bottom: none; }

  .features { grid-template-columns: 1fr; }
  .stats-band__grid, .team { grid-template-columns: 1fr; }
  .stats-band__cell { border-right: none; border-bottom: 1px solid var(--line); }
  .stats-band__cell:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .metric:last-child { border-bottom: none !important; }
  .tt-features { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  .steps__row { grid-template-columns: 1fr; }
  .steps__row > div:nth-child(3), .steps__row > div:nth-child(4) { grid-column: 1; }
  .steps__time { justify-self: flex-start; }

  .product-header { gap: 8px; }
  .product-header__rule { display: none; }

  .section-header { gap: 12px; flex-wrap: wrap; }
  .hero__breadcrumb { flex-wrap: wrap; row-gap: 4px; }
  .hero__breadcrumb-tag { margin-left: 0; }

  .cta-section__actions { flex-direction: column; align-items: center; }
  .cta-section__btn-primary, .cta-section__btn-ghost { width: 100%; max-width: 320px; justify-content: center; }

  .form-submit-row { flex-direction: column; align-items: stretch; }
  .form-meta { text-align: center; }
}
