/* HICHEM PUBLIC · FR PRODUCTION CANON
   Warm editorial, human first, concrete before technical.
   No remote fonts. No decorative motion. No hidden overflow repair. */

:root {
  --paper: #f6f1e7;
  --paper-2: #fbf8f1;
  --paper-3: #eee5d7;
  --ink: #171713;
  --graphite: #5f5a50;
  --muted: #7f786c;
  --taupe: #aaa092;
  --taupe-deep: #857b6c;
  --oxide: #c5682b;
  --oxide-dark: #9d4e20;
  --gold: #c8a96a;
  --green: #4f8656;
  --amber: #c58b28;
  --red: #b64f40;
  --rule: rgba(23, 23, 19, .13);
  --rule-soft: rgba(23, 23, 19, .075);
  --shadow: 0 22px 60px rgba(66, 54, 38, .09);
  --shadow-soft: 0 14px 34px rgba(72, 54, 37, .055);
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, Cambria, "Times New Roman", serif;
  --mono: "Cascadia Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --frame: 84rem;
  --reading: 44rem;
  --pad: 1.25rem;
  --radius: 20px;
  --t-body: 17px;
  --t-meta: 14px;
  --t-micro: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { max-width: 100%; background: var(--paper); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  max-width: 100%;
  background:
    radial-gradient(circle at 78% 9%, rgba(255,255,255,.7), transparent 31rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg, figure, table, pre { max-width: 100%; }
p, li, h1, h2, h3, dd, dt, td, th { overflow-wrap: break-word; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip { position: absolute; left: -9999px; font-size: var(--t-meta); }
.skip:focus {
  left: 1rem; top: 1rem; z-index: 100;
  background: var(--paper-2); color: var(--ink);
  border: 1px solid var(--ink); border-radius: 10px;
  padding: .7rem 1rem;
}
.wrap { width: 100%; max-width: var(--frame); margin-inline: auto; padding-inline: var(--pad); }

/* Header */
.top {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--rule);
  background: rgba(246, 241, 231, .96);
  backdrop-filter: blur(12px);
}
.top__in {
  width: 100%; max-width: var(--frame); margin-inline: auto;
  padding: .8rem var(--pad);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .65rem 1.35rem;
}
.top__name { margin: 0; flex: 0 0 auto; font-family: var(--serif); font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.top__name a { text-decoration: none; }
.top__brand { margin: 0; flex: 0 0 auto; }
.top__home { min-height: 44px; display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.top__brand-plate {
  width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto;
  background: var(--ink); border-radius: 12px; box-shadow: 0 7px 20px rgba(23,23,19,.09);
}
.top__brand-plate img { width: 32px; height: 30px; display: block; object-fit: contain; }
.top__brand-word { color: var(--graphite); font-size: 13px; font-weight: 700; }
.top__home:hover .top__brand-word { color: var(--oxide-dark); }
.nav { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 .95rem; }
.nav a {
  min-height: 44px; display: inline-flex; align-items: center;
  font-size: var(--t-meta); font-weight: 620; color: var(--graphite);
  text-decoration: none; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--oxide); }
.lang-top { margin-left: auto; display: flex; align-items: center; gap: .35rem; min-height: 44px; font-size: 13px; font-weight: 700; }
.lang-top a { text-decoration: none; color: var(--graphite); }
.lang-top a[aria-current="true"] { color: var(--oxide); }
.lang-top span { color: var(--muted); }

/* Language picker */
.lang-picker { position: relative; margin-left: auto; flex: 0 0 auto; z-index: 40; }
.lang-picker summary {
  min-height: 44px; display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .72rem; border: 1px solid transparent; border-radius: 10px;
  cursor: pointer; list-style: none; user-select: none;
}
.lang-picker summary::-webkit-details-marker { display: none; }
.lang-picker summary:hover, .lang-picker[open] summary { border-color: var(--rule); background: rgba(255,255,255,.5); }
.lang-picker__code { color: var(--oxide-dark); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.lang-picker__name { color: var(--graphite); font-size: 13px; font-weight: 650; }
.lang-picker__chev { color: var(--muted); font-size: 15px; transform: translateY(-1px); }
.lang-picker[open] .lang-picker__chev { transform: rotate(180deg) translateY(-1px); }
.lang-picker__panel {
  position: absolute; top: calc(100% + .55rem); right: 0;
  width: min(32rem, calc(100vw - 2rem)); padding: 1rem;
  border: 1px solid var(--rule); border-radius: 16px;
  background: rgba(251,248,241,.99); box-shadow: 0 22px 60px rgba(48,38,27,.16);
  backdrop-filter: blur(14px);
}
.lang-picker__eyebrow { margin: 0 0 .7rem; color: var(--muted); font-size: 12px; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; }
.lang-picker__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .35rem; }
.lang-picker__grid a {
  min-width: 0; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .65rem .75rem; border-radius: 10px; text-decoration: none; border: 1px solid transparent;
}
.lang-picker__grid a:hover { border-color: var(--rule); background: var(--paper); }
.lang-picker__grid a[aria-current="true"] { border-color: rgba(197,104,43,.28); background: rgba(197,104,43,.07); }
.lang-picker__native { color: var(--ink); font-size: 14px; font-weight: 700; }
.lang-picker__label { color: var(--muted); font-size: 12px; }
.lang-picker__note { margin: .8rem .2rem 0; padding-top: .75rem; border-top: 1px solid var(--rule-soft); color: var(--muted); font-size: 12px; line-height: 1.45; }

/* Sections and typography */
.band { padding-block: 4rem; border-bottom: 1px solid var(--rule-soft); }
.band--open { padding-block: 4.6rem 5.2rem; }
.band--soft { background: rgba(255, 252, 245, .5); }
.band--warm { background: rgba(232, 220, 202, .27); }
.band--last { border-bottom: 0; }
.band--dark { background: var(--ink); color: #f5f0e6; }
.kicker { margin: 0 0 .85rem; color: var(--graphite); font-size: 13px; font-weight: 760; letter-spacing: .01em; }
.h-lead {
  margin: 0 0 1.35rem; max-width: 15ch;
  font-family: var(--serif); font-size: clamp(40px, 9vw, 62px); line-height: 1.02;
  letter-spacing: -.04em; font-weight: 560;
}
.h-sec {
  margin: 0 0 1.15rem; max-width: 22ch;
  font-family: var(--serif); font-size: clamp(31px, 6vw, 44px); line-height: 1.08;
  letter-spacing: -.028em; font-weight: 560;
}
.h-min { margin: 1.8rem 0 .8rem; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.22; font-weight: 750; letter-spacing: -.015em; }
.lede { margin: 0 0 1.45rem; max-width: 47rem; color: var(--graphite); font-size: clamp(18px, 1.35rem, 21px); line-height: 1.58; }
.prose { max-width: var(--reading); }
.prose p { margin: 0 0 .95rem; font-size: clamp(17px, 1.13rem, 19px); line-height: 1.65; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--oxide-dark); font-weight: 760; }
.prose--wide { max-width: 52rem; }

/* Home hero */
.open { display: grid; gap: 2.5rem; align-items: center; }
.home-hero {
  background:
    radial-gradient(circle at 78% 32%, rgba(255,255,255,.92), transparent 29rem),
    linear-gradient(180deg, rgba(255,255,255,.12), transparent 72%);
}
.home-hero .h-lead { max-width: 15.5ch; }
.hero-intro { margin: 0 0 1rem; max-width: 42rem; color: var(--graphite); font-size: clamp(18px,1.35vw,20px); line-height: 1.6; }
.hero-intro strong { display: block; margin-bottom: .25rem; color: var(--oxide-dark); font-family: var(--serif); font-size: 1.12em; font-weight: 650; }
.problem-list { margin: 1.5rem 0 1.25rem; padding: 0; list-style: none; max-width: 45rem; }
.problem-list li { display: grid; grid-template-columns: 3rem minmax(0,1fr); gap: .9rem; align-items: start; padding: .85rem 0; border-bottom: 1px solid var(--rule); }
.problem-list li:first-child { border-top: 1px solid var(--rule); }
.problem-list .emoji {
  width: 2.45rem; height: 2.45rem; display: grid; place-items: center;
  border-radius: 11px; background: rgba(232,220,202,.56); font-size: 17px; line-height: 1;
  filter: saturate(.72);
}
.problem-copy { min-width: 0; display: grid; gap: .18rem; }
.problem-copy strong { font-size: 16px; line-height: 1.4; }
.problem-copy span { color: var(--graphite); font-size: 14px; line-height: 1.45; }
.hero-goal { margin: 1.15rem 0 0; max-width: 42rem; font-weight: 780; }
.hero-brand, .systasys-identity {
  min-width: 0; min-height: 24rem; padding: clamp(1.8rem,4vw,3rem);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 38%, rgba(200,169,106,.14), transparent 14rem), var(--ink);
  color: #f2ebdd; box-shadow: var(--shadow);
}
.hero-brand__symbol img, .systasys-identity__symbol img { width: min(10rem,36vw); display: block; }
.hero-brand__wordmark, .systasys-identity__wordmark { width: min(24rem,86%); display: block; }
.hero-brand p, .systasys-identity p { margin: 0; color: rgba(242,235,221,.68); font-size: 13px; font-weight: 700; letter-spacing: .04em; }

/* Lists and boundaries */
.plain { list-style: none; margin: 1.3rem 0 0; padding: 0; max-width: 48rem; }
.plain li { position: relative; margin: 0; padding: .8rem 0 .8rem 1.4rem; border-top: 1px solid var(--rule); line-height: 1.52; }
.plain li:last-child { border-bottom: 1px solid var(--rule); }
.plain li::before { content: ""; position: absolute; left: 0; top: 1.33rem; width: 6px; height: 6px; border-radius: 50%; background: var(--oxide); }
.case { margin: 1.7rem 0 0; padding: 1rem 0 1rem 1rem; border-left: 2px solid var(--oxide); max-width: 48rem; line-height: 1.58; }
.bound { margin: 1.7rem 0 0; padding: 1rem 1.1rem; max-width: 48rem; background: rgba(197,104,43,.065); border: 1px solid rgba(197,104,43,.10); border-radius: 14px; line-height: 1.56; }
.bound__label { display: block; margin-bottom: .3rem; color: var(--oxide-dark); font-weight: 780; font-size: 13px; }

/* Asso overview */
.asso-home, .asso-page { display: grid; gap: 3rem; }
.asso-overview { display: grid; gap: 2.5rem; align-items: start; }
.asso-copy .h-sec, .asso-copy .h-lead { text-wrap: balance; }
.checks { display: grid; gap: 0; }
.check { display: grid; grid-template-columns: 2.2rem minmax(0,1fr); gap: .9rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.check:first-child { border-top: 1px solid var(--rule); }
.check__icon { width: 1.8rem; height: 1.8rem; margin: .05rem 0 0; border: 1.7px solid var(--oxide); border-radius: 50%; position: relative; }
.check__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: .38rem; height: .68rem;
  border: solid var(--oxide); border-width: 0 1.8px 1.8px 0;
  transform: translate(-50%, -58%) rotate(45deg);
}
.check h3 { margin: 0 0 .25rem; font-size: 17px; letter-spacing: -.01em; }
.check p { margin: 0; max-width: 31rem; color: var(--graphite); font-size: 14.5px; line-height: 1.5; }
.project-link {
  min-height: 44px; margin-top: 1rem; align-self: flex-start;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .66rem .9rem; border: 1px solid var(--oxide); border-radius: 10px;
  color: var(--oxide-dark); font-size: 14px; font-weight: 760; text-decoration: none;
}
.project-link:hover { color: #fff; background: var(--oxide); }
.project-link--wide { width: 100%; justify-content: space-between; }

/* Chat and 2026 bug */
.bug-stage {
  display: grid; gap: 2rem; padding: clamp(1.25rem,3vw,2.2rem);
  border: 1px solid var(--rule); border-radius: 24px;
  background: rgba(255,255,255,.38); box-shadow: var(--shadow-soft);
}
.bug-stage .h-min { margin-top: 0; }
.chat-card { margin-top: 1.15rem; width: 100%; padding: 1.25rem; background: rgba(255,255,255,.62); border: 1px solid var(--rule); border-radius: 18px; box-shadow: var(--shadow-soft); }
.chat-row { display: flex; gap: .7rem; align-items: flex-end; margin: .7rem 0; }
.chat-row--user { justify-content: flex-end; }
.chat-avatar { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--rule); color: var(--graphite); background: var(--paper-2); font-size: 14px; }
.chat-avatar--asso { border-radius: 10px; color: var(--oxide-dark); font-weight: 800; }
.chat-bubble { margin: 0; max-width: 78%; padding: .8rem .95rem; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper-2); line-height: 1.45; font-size: 15.5px; }
.chat-row--user .chat-bubble { background: #eee5d7; border-color: transparent; }
.chat-caption { margin: 1rem 0 0; max-width: 43rem; color: var(--graphite); font-size: 15px; line-height: 1.55; }
.bug-stage__answer {
  min-width: 0; padding: 1.3rem; border-radius: 18px;
  background: rgba(246,241,231,.78); border: 1px solid var(--rule-soft);
}
.bug-stage__answer h2, .bug-stage__answer h3 { margin: 0 0 .8rem; font-family: var(--serif); font-size: clamp(25px,3vw,34px); line-height: 1.12; font-weight: 560; letter-spacing: -.02em; }
.bug-stage__answer > p:not(.kicker) { margin: 0; color: var(--graphite); line-height: 1.58; }
.bug-facts { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.bug-facts li { display: grid; grid-template-columns: 7rem minmax(0,1fr); gap: .8rem; padding: .75rem 0; border-top: 1px solid var(--rule); }
.bug-facts strong { font-size: 14px; }
.bug-facts span { color: var(--graphite); font-size: 14px; line-height: 1.45; }

/* SYSTASYS */
.systasys-hero { display: grid; gap: 2.5rem; align-items: center; }
.systasys-identity { min-height: 23rem; }
.systasys-brand-strip {
  margin: 1.9rem 0 1.7rem; min-height: 10.5rem;
  display: grid; grid-template-columns: minmax(13rem,.72fr) minmax(0,1.28fr);
  align-items: center; gap: clamp(1.4rem,4vw,3.5rem); padding: clamp(1.35rem,3vw,2.2rem);
  border-radius: 20px;
  background: radial-gradient(circle at 9% 50%, rgba(200,169,106,.12), transparent 15rem), var(--ink);
  color: #f2ebdd; box-shadow: var(--shadow-soft);
}
.systasys-brand-strip__visual img { width: min(100%,18rem); display: block; }
.systasys-brand-strip__copy span { display: block; margin-bottom: .45rem; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.systasys-brand-strip__copy p { margin: 0; max-width: 36rem; color: rgba(242,235,221,.82); font-family: var(--serif); font-size: clamp(17px,1.4vw,21px); line-height: 1.55; }
.compare-grid { margin-top: 1.6rem; display: grid; gap: 1rem; }
.compare-card { min-width: 0; padding: 1.35rem; border: 1px solid var(--rule); border-radius: 17px; background: rgba(255,255,255,.38); }
.compare-card--focus { background: #efe2d2; border-color: rgba(197,104,43,.28); }
.compare-card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-3); color: var(--taupe-deep); font-size: 23px; margin-bottom: 1rem; }
.compare-card--focus .compare-card__icon { background: rgba(255,255,255,.6); color: var(--oxide-dark); }
.compare-card__icon--brand { padding: 0; background: transparent!important; }
.systasys-mini-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); }
.systasys-mini-mark img { width: 35px; height: 32px; object-fit: contain; }
.compare-card h3 { margin: 0 0 .85rem; font-size: 17px; line-height: 1.25; }
.compare-card ul { margin: 0; padding: 0; list-style: none; }
.compare-card li { padding: .32rem 0; color: var(--graphite); font-size: 14px; line-height: 1.45; }
.simple-analogies { margin-top: 1.7rem; display: grid; gap: 1rem; }
.analogy { padding: 1rem 0 0; border-top: 1px solid var(--rule); }
.analogy h3 { margin: 0 0 .4rem; font-size: 17px; }
.analogy p { margin: 0; color: var(--graphite); font-size: 15px; line-height: 1.5; }

/* Work */
.project-grid { margin-top: 1.6rem; display: grid; gap: 1rem; }
.project-card { display: flex; flex-direction: column; min-width: 0; min-height: 100%; padding: 1.35rem; border: 1px solid rgba(197,104,43,.25); border-radius: var(--radius); background: rgba(255,255,255,.38); box-shadow: var(--shadow-soft); }
.project-card__top { display: grid; grid-template-columns: 3rem minmax(0,1fr); gap: .95rem; align-items: start; }
.project-icon { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; background: #f2e4d2; color: var(--oxide-dark); font-size: 21px; }
.project-card h3 { margin: 0; font-size: 22px; letter-spacing: -.015em; }
.project-subtitle { margin: .2rem 0 .65rem; color: var(--oxide-dark); font-size: 14px; font-weight: 750; }
.project-card p { margin: 0; color: var(--graphite); line-height: 1.55; }
.project-card .project-link { margin-top: auto; padding-top: .7rem; }
.rows { margin: 1.45rem 0 0; border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 1fr; gap: .4rem; padding: 1.05rem 0; border-bottom: 1px solid var(--rule); }
.row__name { margin: 0; font-size: 19px; font-weight: 700; }
.row__name a { text-decoration: none; border-bottom: 1.5px solid var(--oxide); }
.row__say { margin: 0; max-width: 50rem; line-height: 1.52; }
.row__meta { margin: 0; color: var(--graphite); font-size: 13px; line-height: 1.45; }
.row__meta b { color: var(--oxide-dark); }

/* Concrete examples */
.example-table { margin-top: 1.5rem; border-top: 2px solid var(--oxide); }
.example-row { display: grid; grid-template-columns: 1fr; gap: .75rem; padding: 1.05rem 0; border-bottom: 1px solid var(--rule); }
.example-situation { display: grid; grid-template-columns: 2.2rem minmax(0,1fr); gap: .75rem; }
.example-icon { color: var(--taupe-deep); font-size: 22px; line-height: 1.3; }
.example-row h3 { margin: 0 0 .2rem; font-size: 16px; }
.example-row p { margin: 0; color: var(--graphite); font-size: 14px; line-height: 1.5; }
.example-change { padding-left: 2.95rem; }
.example-head { display: none; }

/* Traces */
.timeline { margin-top: 1.55rem; display: grid; }
.timeline::before { display: none; }
.trace-item { display: grid; grid-template-columns: 1.2rem minmax(0,1fr) auto; gap: .75rem; align-items: start; padding: .95rem 0; border-bottom: 1px solid var(--rule); }
.trace-item:first-child { border-top: 1px solid var(--rule); }
.trace-dot { width: 10px; height: 10px; margin-top: .5rem; border-radius: 50%; background: var(--graphite); }
.trace-dot--green { background: var(--green); }
.trace-dot--amber { background: var(--amber); }
.trace-dot--red { background: var(--red); }
.trace-main { min-width: 0; }
.trace-date { grid-column: 2 / -1; margin-bottom: .1rem; font-family: var(--mono); font-size: 12px; color: var(--graphite); }
.trace-main p { margin: 0; line-height: 1.48; }
.status { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; min-height: 30px; padding: .3rem .6rem; border-radius: 999px; font-size: 12px; font-weight: 720; }
.status--green { color: #3d7044; background: #e2eedf; }
.status--amber { color: #9c6a16; background: #f9ead0; }
.status--red { color: #9d4338; background: #f7dfda; }
.arch { margin-top: 1.5rem; }
.arch__item { padding: 1.45rem 0; border-bottom: 1px solid var(--rule); }
.arch__when { margin: 0 0 .4rem; font-family: var(--mono); font-size: 12px; color: var(--graphite); }
.arch__what { margin: 0 0 .5rem; font-family: var(--serif); font-size: 22px; line-height: 1.22; font-weight: 560; }
.arch__say { margin: 0 0 .6rem; max-width: 51rem; line-height: 1.55; }
.arch__quote { margin: 0 0 .7rem; padding-left: 1rem; border-left: 2px solid var(--taupe); max-width: 49rem; font-family: var(--serif); font-size: 17px; font-style: italic; line-height: 1.58; }
.arch__verdict { margin: 0; max-width: 51rem; color: var(--graphite); font-size: 14px; line-height: 1.52; }
.arch__verdict b { color: var(--ink); }
.arch__verdict span { color: var(--oxide-dark); font-weight: 700; }

/* Cycle */
.chain { margin: 1.8rem 0 0; padding: 1rem 0; border-block: 1px solid var(--rule); }
.chain__cap { margin-bottom: .8rem; font-size: 13px; font-weight: 700; color: var(--graphite); }
.chain__steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr; border-left: 2px solid var(--rule); }
.chain__step { position: relative; display: flex; gap: .7rem; padding: .6rem 0 .6rem 1rem; }
.chain__step::before { content: ""; position: absolute; left: -5px; top: 1.05rem; width: 8px; height: 8px; border: 2px solid var(--taupe-deep); border-radius: 50%; background: var(--paper); }
.chain__step:last-child::before { background: var(--oxide); border-color: var(--oxide); }
.chain__n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.chain__label { font-weight: 650; }

/* Legacy review ledger */
.ledger { margin-top: 1.6rem; display: grid; gap: 1rem; }
.ledger__col { min-width: 0; }
.ledger__head { margin: 0 0 .6rem; padding-bottom: .45rem; border-bottom: 2px solid var(--taupe); font-weight: 750; }
.ledger__col--no .ledger__head { border-color: var(--oxide); }
.ledger ul { margin: 0; padding: 0; list-style: none; }
.ledger li { padding: .55rem 0; border-bottom: 1px solid var(--rule); }
.mark { margin: 2rem 0 0; }
.mark svg { display: block; width: 100%; height: auto; }
.mark div { width: 100%; margin-inline: auto; }

/* Legal */
.facts { margin-top: 1.5rem; max-width: 72rem; border-top: 1px solid var(--rule); }
.fact { display: grid; gap: .35rem; padding: 1.05rem 0; border-bottom: 1px solid var(--rule); }
.fact dt { color: var(--graphite); font-size: 13px; font-weight: 760; }
.fact dd { margin: 0; max-width: 52rem; line-height: 1.55; }
.refs { margin: 1.5rem 0 0; padding: 0; list-style: none; max-width: 52rem; }
.refs li { padding: .55rem 0; border-bottom: 1px solid var(--rule-soft); font-size: 14px; }

/* Footer */
.foot { border-top: 1px solid var(--rule); }
.foot__in { width: 100%; max-width: var(--frame); margin-inline: auto; padding: 1.8rem var(--pad) 2.3rem; display: grid; gap: 1.3rem; }
.foot__brand { margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 650; letter-spacing: -.015em; }
.foot__tag { margin: .2rem 0 0; color: var(--graphite); font-size: 13px; }
.foot__nav { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.foot__nav a { min-height: 32px; display: inline-flex; align-items: center; color: var(--graphite); font-size: 13px; text-decoration: none; }
.foot__nav a:hover { color: var(--oxide-dark); }
.langs { margin: 0; }
.langs__label { margin: 0 0 .4rem; color: var(--graphite); font-size: 12px; font-weight: 760; }
.langs__list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .35rem .9rem; }
.langs__list li { font-size: 13px; }
.langs__list a, .langs__list span[aria-current] { display: inline-block; padding-block: .18rem; }
.langs__list a { color: var(--graphite); text-decoration: none; }
.langs__list span[aria-current] { color: var(--oxide-dark); font-weight: 720; }
.langs__note { margin: .5rem 0 0; color: var(--muted); font-size: 12px; max-width: 31rem; }

@media (max-width: 47.99rem) {
  .top__in { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: .6rem .75rem; padding-block: .65rem; }
  .top__brand, .top__name { grid-column: 1; }
  .top__brand-word { display: none; }
  .lang-picker, .lang-top { grid-column: 3; margin-left: 0; }
  .lang-picker__name { display: none; }
  .lang-picker__panel { position: fixed; top: 4.25rem; right: 1rem; left: 1rem; width: auto; }
  .top__in > nav[aria-label="Sections"] { grid-column: 1 / -1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .top__in > nav[aria-label="Sections"]::-webkit-scrollbar { display: none; }
  .nav { width: max-content; flex-wrap: nowrap; gap: .9rem; }
  .nav a { white-space: nowrap; }
  .lang-picker__grid { grid-template-columns: 1fr; max-height: 62vh; overflow-y: auto; }
  .hero-brand, .systasys-identity { min-height: 18rem; }
  .hero-brand__symbol img, .systasys-identity__symbol img { width: 7.5rem; }
  .bug-facts li { grid-template-columns: 1fr; gap: .15rem; }
  .systasys-brand-strip { grid-template-columns: 1fr; min-height: auto; }
  .systasys-brand-strip__visual img { width: min(78%,16rem); }
}

@media (min-width: 48rem) {
  :root { --pad: 2.5rem; }
  .band { padding-block: 4.8rem; }
  .band--open { padding-block: 5.1rem 5.7rem; }
  .h-lead { font-size: clamp(50px, 6.5vw, 68px); }
  .h-sec { font-size: clamp(36px, 4.7vw, 48px); }
  .open { grid-template-columns: minmax(0,1.02fr) minmax(20rem,.98fr); gap: 3.5rem; }
  .asso-overview { grid-template-columns: minmax(0,1.02fr) minmax(20rem,.98fr); gap: 3.5rem; }
  .bug-stage { grid-template-columns: minmax(0,1.05fr) minmax(19rem,.95fr); gap: 2.5rem; align-items: stretch; }
  .bug-stage__answer { display: flex; flex-direction: column; justify-content: center; }
  .systasys-hero { grid-template-columns: minmax(0,1.03fr) minmax(20rem,.97fr); gap: 3.5rem; }
  .compare-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .simple-analogies { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .example-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 2rem; padding: .75rem 0; font-size: 13px; font-weight: 760; }
  .example-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 2rem; align-items: center; }
  .example-change { padding-left: 0; }
  .trace-item { grid-template-columns: 9.5rem 1.2rem minmax(0,1fr) auto; gap: .8rem; }
  .trace-date { grid-column: 1; margin: .12rem 0 0; text-align: right; padding-right: .5rem; }
  .trace-dot { grid-column: 2; }
  .trace-main { grid-column: 3; }
  .status { grid-column: 4; }
  .row { grid-template-columns: minmax(0,12rem) minmax(0,1fr) minmax(0,9rem); gap: .6rem 1.5rem; align-items: baseline; }
  .row__meta { text-align: right; }
  .facts .fact { grid-template-columns: minmax(0,14rem) minmax(0,1fr); gap: 1.8rem; }
  .arch__item { display: grid; grid-template-columns: 10rem minmax(0,1fr); gap: .35rem 1.8rem; }
  .arch__when { grid-column: 1; grid-row: 1 / span 5; padding-top: .2rem; text-align: right; }
  .arch__what, .arch__say, .arch__quote, .arch__verdict { grid-column: 2; }
  .foot__in { grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; }
}

@media (min-width: 68rem) {
  :root { --pad: 4rem; --reading: 43rem; }
  .top__in { flex-wrap: nowrap; min-height: 72px; }
  .top__brand, .top__name { min-width: 4.2rem; }
  .top__in > nav[aria-label="Sections"] { flex: 1; }
  .nav { justify-content: center; }
  .lang-picker, .lang-top { min-width: 9rem; display: flex; justify-content: flex-end; }
  .band { padding-block: 5.5rem; }
  .band--open { padding-block: 5.5rem 6.3rem; }
  .h-lead { font-size: clamp(60px, 4.9vw, 76px); max-width: 15ch; }
  .h-sec { font-size: clamp(40px, 3.15vw, 50px); }
  .open { grid-template-columns: minmax(0,1.04fr) minmax(26rem,.96fr); gap: 5.5rem; }
  .hero-brand { min-height: 32rem; }
  .asso-overview { grid-template-columns: minmax(0,1.06fr) minmax(23rem,.94fr); gap: 5.5rem; }
  .checks { padding-left: 2.8rem; border-left: 1px solid var(--rule); }
  .bug-stage { grid-template-columns: minmax(0,1.05fr) minmax(25rem,.95fr); gap: 4rem; padding: 2.4rem; }
  .systasys-hero { grid-template-columns: minmax(0,1.05fr) minmax(25rem,.95fr); gap: 5.5rem; }
  .systasys-identity { min-height: 30rem; }
  .compare-grid { gap: 0; border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
  .compare-card { border: 0; border-radius: 0; border-right: 1px solid var(--rule); }
  .compare-card:last-child { border-right: 0; }
  .project-grid { gap: 1.4rem; }
  .project-card { padding: 1.55rem; }
  .ledger { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem; }
  .foot__in { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr) auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
