/* 2026 refinement: preserve the navy / azure corridor identity. */
:root { --container-wide: 1400px; --gutter: clamp(1.25rem, 3.9vw, 4rem); --section-y: clamp(4rem, 7vw, 7rem); --text-muted: #96a7c1; --text-faint: #8193b0; }
:root[data-theme="light"] { --text-muted: #53657c; --text-faint: #64728a; }
.grain::after { opacity: .018; }
.eyebrow { text-transform: none; letter-spacing: .025em; color: var(--accent); }
.eyebrow::before { inline-size: 1.2rem; background: var(--accent); }
.header { inset: 16px 24px auto; max-width: 1352px; margin-inline: auto; border: 1px solid var(--hairline); border-radius: 20px; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(20px); }
.header::before { display: none; }
.header.is-stuck { background: color-mix(in srgb, var(--bg) 94%, transparent); border-color: var(--hairline); box-shadow: 0 12px 40px #00000018; }
.header__inner { height: 74px; padding-inline: 24px; gap: 1rem; }
.brand__mark { width: 34px; height: 34px; }
.brand__word { font-size: 1.4rem; }
.nav { gap: .05rem; }
.nav__link { font-size: .84rem; padding-inline: .7rem; }
.nav__link::after { inset-inline-start: .7rem; }
.nav__link[aria-current="page"]::after, .nav__link:hover::after { width: calc(100% - 1.4rem); }
.lang__toggle { border-color: transparent; }
.header__cta { min-height: 42px; }
.btn { font-weight: 500; }
.btn--lg { min-height: 56px; padding-inline: 1.7rem; }
.btn:hover { box-shadow: 0 8px 30px -15px var(--accent); }
.hero { min-height: 800px; min-block-size: 800px; padding-block: 175px 80px; }
.hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; }
.hero__copy { max-width: none; gap: 1.8rem; }
.hero .pill { justify-self: start; text-transform: none; font-size: .8rem; letter-spacing: .015em; padding: .5rem .9rem; background: var(--surface); border-color: var(--hairline-loud); color: var(--text-soft); }
.dot--live { animation: none; background: var(--accent); }
.hero__title { font-size: clamp(3.5rem, 5.25vw, 5rem); line-height: 1.05; }
.hero__title .ln2 { color: var(--text-soft); }
.hero__title em { color: var(--accent); }
.hero__lede { font-size: clamp(1rem, 1.25vw, 1.12rem); max-width: 48ch; line-height: 1.8; }
.hero__meta { margin-top: .3rem; gap: 2.5rem; padding-top: 1.5rem; }
.hero__meta div { display: flex; align-items: baseline; gap: .65rem; }
.hero__meta b { font-size: 2rem; }
.hero__meta span { font-size: .77rem; text-transform: none; letter-spacing: 0; color: var(--text-muted); }
.hero .grid-lines { opacity: .4; background-size: 94px 94px; }
.hero .glow-field::before { opacity: .55; }
.hero .glow-field::after { opacity: .3; }
.scroll-cue { display: none; }
.reveal-line { overflow: visible; }
.reveal-line > span { transform: none; transition: none; }
[data-reveal], [data-reveal="left"], [data-reveal="right"], [data-reveal="scale"] { opacity: 1; transform: none; filter: none; will-change: auto; transition: none; }
.hero__copy { animation: arrival 700ms var(--ease-out) both; }
@keyframes arrival { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.corridor-explorer { min-width: 0; width: 100%; max-width: 590px; justify-self: center; position: relative; }
.corridor { max-width: 540px; margin-top: -30px; }
.corridor .ring { stroke: var(--hairline-soft); }
.corridor .ring--lit { stroke: color-mix(in srgb, var(--accent) 24%, transparent); }
.corridor .node text { font-size: 11px; letter-spacing: .045em; fill: var(--text-soft); }
.corridor .hub text { fill: var(--text); }
.corridor .arc { stroke-opacity: .32; transition: stroke-opacity 250ms, stroke-width 250ms; animation-duration: 1.6s; }
.corridor[data-motion-ready] .arc { animation-play-state: paused; }
.corridor[data-motion-ready].is-visible .arc { animation-play-state: running; }
.corridor .arc.is-selected { stroke-opacity: 1; stroke-width: 2.5; }
.corridor .flow { animation: none; opacity: 0 !important; }
.corridor .node circle.halo { animation: none; opacity: .4; }
.corridor__caption { font-size: .73rem; letter-spacing: .08em; color: var(--text-muted); bottom: 1.2rem; }
.corridor-tools { margin-top: 0; padding: 1rem 1.2rem; border: 1px solid var(--hairline); border-radius: 16px; background: color-mix(in srgb, var(--bg-raised) 88%, transparent); }
.corridor-tools__label { font-size: .73rem; color: var(--text-muted); margin-bottom: .75rem; }
.corridor-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.corridor-choice { padding: .4rem .75rem; font-size: .76rem; color: var(--text-soft); border-radius: 7px; border: 1px solid transparent; min-height: 36px; }
.corridor-choice:hover { background: var(--surface-hover); }
.corridor-choice[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.corridor-tools__foot { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; border-top: 1px solid var(--hairline-soft); margin-top: .85rem; padding-top: .85rem; }
.corridor-selection { font-size: .78rem; color: var(--text-soft); }
.corridor-tools a { font-size: .76rem; color: var(--accent); text-underline-offset: 4px; }
.corridor-tools a:hover { text-decoration: underline; }
.proof { background: var(--bg-raised); }
.proof__grid { padding-block: 2.7rem; }
.stat__value { font-size: clamp(2.8rem, 4vw, 4rem); }
.stat__label { color: var(--text-muted); font-size: .82rem; line-height: 1.6; }
.marquee { display: none; }
.sec-head { margin-bottom: 2.7rem; }
.sec-head--split { gap: 10%; align-items: end; }
.sec-head .lede { font-size: 1.04rem; }
h2 { font-size: clamp(2.5rem, 4.2vw, 4rem); line-height: 1.08; }
.service-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.service-filters { display: flex; flex-wrap: wrap; gap: .35rem; padding: 5px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--surface); }
.service-filter { padding: .6rem 1rem; min-height: 42px; border-radius: 8px; color: var(--text-muted); font-size: .82rem; }
.service-filter[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); }
.service-filter:hover { color: var(--text); }
.service-help { display: inline-flex; align-items: center; gap: .6rem; color: var(--text-soft); font-size: .82rem; }
.service-help svg { width: 18px; height: 18px; color: var(--accent); }
.service-help:hover { color: var(--accent); }
.svc-grid { gap: 16px; }
.svc { border-radius: 18px; padding: 1.9rem; background: linear-gradient(145deg, var(--surface), transparent); border-color: var(--hairline); }
.svc:hover { transform: none; border-color: color-mix(in srgb, var(--accent) 50%, var(--hairline)); }
.svc::before { display: none; }
.svc__no { display: none; }
.card__icon { background: var(--accent-soft); border-color: transparent; border-radius: 12px; width: 46px; height: 46px; }
.svc .card__title { font-family: var(--font-sans); font-size: 1.15rem; font-weight: 500; line-height: 1.4; letter-spacing: -.025em; }
.svc__claim { font-size: 1.75rem; font-style: normal; color: var(--text); }
.svc .card__text { line-height: 1.75; }
.svc .ticks { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--hairline-soft); }
.service-link { color: var(--accent); display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; margin-top: .7rem; width: fit-content; }
.service-link svg { width: 16px; height: 16px; }
.service-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.svc-grid[data-filter="entry"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-grid[data-filter="scale"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-grid[data-filter]:not([data-filter="all"]) > .svc { grid-column: auto; }
[hidden] { display: none !important; }
.path__step { border-radius: 14px; }
.path__step::before { background: var(--accent); }
.path__step p, .principle p { color: var(--text-soft); }
.path__out b, .eng__tag span, .info-item b { text-transform: none; letter-spacing: 0; }
.principle { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 12%; }
.principle > i { display: none; }
.eng__row { border-radius: 12px; }
.eng__row:hover { transform: none; }
.post { background: transparent; border: 0; padding: 0 0 1rem; border-radius: 0; }
.post:hover { transform: none; background: transparent; }
.post:hover h3 { color: var(--accent); }
.post__thumb { border-radius: 12px; }
.post h3 { font-size: 1.9rem; line-height: 1.17; }
.post__meta { text-transform: none; letter-spacing: 0; }
.cta { border-radius: 24px; }
.cta__beam { animation: none; width: 100%; opacity: .65; }
.cta__text { max-width: 57ch; font-size: 1.06rem; }
.footer__col h5 { text-transform: none; letter-spacing: 0; }
.field input, .field textarea, .field select { border-radius: 10px; }
.form-status.is-info { display: block; color: var(--text-soft); background: var(--accent-soft); border-color: var(--accent); }
.choice:has(input[name="consent"]) { display: flex !important; align-items: flex-start; gap: 12px; padding-block: 8px; }
.choice input[name="consent"] { position: static; opacity: 1; pointer-events: auto; width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--accent-strong); }
.choice input[name="consent"] + span { display: block; padding: 0; border: 0; background: transparent; border-radius: 0; color: var(--text-soft); }
:root[dir="rtl"] .hero__title { font-size: clamp(2.8rem, 4vw, 4rem); }
:root[lang="fr"] .hero__title { font-size: clamp(3rem, 4.5vw, 4.4rem); }
@media (max-width: 1180px) { .header__inner { padding-inline: 17px; } .nav__link { padding-inline: .5rem; font-size: .79rem; } .header__cta { padding-inline: 1rem; } .hero__inner { gap: 1.5rem; } .hero__title { font-size: 4.6vw; } }
@media (max-width: 1000px) {
  .header { inset: 12px 16px auto; }
  .hero { min-block-size: auto; padding-top: 145px; padding-bottom: 55px; }
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__copy { max-width: 700px; }
  .hero__title { font-size: clamp(3.5rem, 7.5vw, 5.5rem); }
  :root[lang="fr"] .hero__title { font-size: clamp(3.1rem, 6.3vw, 4.8rem); }
  .hero__lede { max-width: 58ch; }
  .corridor-explorer { max-width: 550px; }
  .corridor { max-width: 480px; margin-top: -35px; }
  .corridor-tools { margin-top: -5px; }
  .svc-grid[data-filter="scale"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .burger { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
  .burger span + span { margin: 0; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .drawer { display: flex; flex-direction: column; height: 100dvh; overflow-y: auto; padding-top: 100px; }
  .drawer__nav { flex: 1; align-content: center; padding-block: 20px; }
  .drawer__link { font-size: clamp(1.8rem, 5vw, 2.8rem); padding-block: 10px; }
  .drawer__link i { display: none; }
  .drawer__foot { flex: none; padding-block: 16px max(28px, env(safe-area-inset-bottom)); }
  .drawer__foot .btn { min-height: 52px; border-radius: 14px; }
}
@media (max-width: 860px) { .sec-head--split { gap: 1.5rem; } .principle { grid-template-columns: 1fr; gap: .85rem; } .principle p { grid-column: 1; } }
@media (max-width: 620px) {
  .header { inset: 8px 10px auto; border-radius: 16px; }
  .header__inner { height: 64px; padding-inline: 12px; gap: .5rem; }
  .brand { gap: 8px; } .brand__mark { width: 29px; height: 29px; } .brand__word { font-size: 1.18rem; }
  .header__actions { gap: 1px; }
  .lang__toggle { padding-inline: .45rem; font-size: .76rem; }
  .hero { padding-top: 116px; }
  .hero__copy { gap: 1.5rem; }
  .hero__title { font-size: clamp(2.7rem, 9.5vw, 3.8rem); }
  :root[lang="fr"] .hero__title { font-size: clamp(2.7rem, 9.3vw, 3.8rem); }
  .hero__lede { font-size: 1rem; line-height: 1.75; }
  .hero__meta { gap: 1.65rem; }
  .hero__meta div { display: grid; gap: 4px; }
  .hero__actions { gap: 12px; }
  .hero__actions .btn { white-space: normal; line-height: 1.3; }
  .hero__actions .btn--lg { padding-inline: 1.5rem; }
  .hero__inner { gap: 1.6rem; }
  .corridor { max-width: 410px; margin-top: 0; }
  .corridor .node text { font-size: 12px; }
  .corridor__caption { bottom: .6rem; font-size: .65rem; }
  .corridor-tools { padding: .9rem; }
  .corridor-choice { padding-inline: .6rem; min-height: 40px; }
  .proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.3rem; }
  .proof__grid > * + *, .proof__grid > :nth-child(even) { padding-inline-start: 0; border: 0; }
  .stat__value { font-size: 2.8rem; }
  .stat__label { font-size: .78rem; }
  .svc-grid[data-filter="entry"], .svc-grid[data-filter="scale"] { grid-template-columns: 1fr; }
  .service-toolbar { gap: 1rem; }
  .service-filter { padding-inline: .7rem; font-size: .76rem; }
  .svc { padding: 1.5rem; }
  .cta { padding-inline: 1.5rem; }
  .cta__actions .btn { white-space: normal; line-height: 1.4; }
  .drawer { padding-top: 90px; }
}
@media (prefers-reduced-motion: reduce) { .hero__copy { animation: none; } }

/* Assistant: a composed workspace with a stable message area. */
.chat-launcher { padding: .55rem 1rem .55rem .55rem; background: var(--bg-elevated); border-color: color-mix(in srgb, var(--accent) 25%, var(--hairline)); box-shadow: 0 12px 40px #00000030; }
.chat-launcher__mark { width: 34px; height: 34px; }
.chat-launcher__ping { background: var(--accent); }
.chat-launcher:hover { box-shadow: 0 10px 35px #00000040; transform: translateY(-2px); }
.chat { z-index: 1000; width: min(420px, calc(100vw - 32px)); inline-size: min(420px, calc(100vw - 32px)); height: min(680px, calc(100dvh - 40px)); max-block-size: none; display: flex; flex-direction: column; border-radius: 24px; background: var(--bg-raised); box-shadow: 0 24px 100px #00000066; border-color: var(--hairline-loud); transition: opacity 220ms ease, transform 350ms cubic-bezier(.2,.8,.2,1), visibility 220ms; }
.chat__head { flex: none; padding: 18px 16px; background: var(--bg-elevated); gap: 9px; }
.chat__avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--surface); }
.chat__id b { font-size: .87rem; }
.chat__id span { font-size: .64rem; color: var(--text-muted); }
.chat__head .icon-btn { width: 32px; height: 36px; }
.chat__head .icon-btn svg { width: 16px; height: 16px; }
.chat__log { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 22px 18px; gap: 14px; }
.chat__progress { flex: none; padding: .55rem 18px; font-size: .73rem; color: var(--accent); background: var(--accent-soft); }
.msg { flex: none; font-size: .85rem; padding: 13px 15px; max-width: 94%; animation: chat-arrive 200ms ease both; overflow-wrap: anywhere; }
.msg--bot { border: 1px solid var(--hairline-soft); background: var(--surface); border-radius: 4px 16px 16px 16px; }
.msg--user { align-self: flex-end; background: var(--accent-strong); border-radius: 16px 16px 4px 16px; }
.msg h3 { font-size: 2rem; margin-bottom: 12px; color: var(--text); line-height: 1.1; }
.msg p + p { margin-top: .8rem; }
.msg > p > a { display: inline-block; margin-top: 8px; padding: .6rem .85rem; border: 1px solid var(--hairline-loud); border-radius: 9px; text-decoration: none; font-weight: 500; }
.msg > p > a:hover { background: var(--accent-soft); }
.msg dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; padding: 16px 0; }
.msg dt { color: var(--text-muted); font-size: .78rem; }
.msg dd { color: var(--text); font-weight: 500; }
.chat[data-welcome="true"] .msg--bot { padding: 6px 2px; border: 0; background: transparent; max-width: 100%; }
.chat[data-welcome="true"] { height: auto; max-height: calc(100dvh - 28px); }
.chat[data-welcome="true"] .chat__log { min-height: 225px; }
.chat[data-welcome="true"] .msg h3 { font-size: 2.55rem; max-width: 18ch; }
:root[dir="rtl"] .chat[data-welcome="true"] .msg h3 { font-size: 1.8rem; max-width: none; font-weight: 500; line-height: 1.55; }
.chat__bottom { flex: none; padding-top: 4px; background: var(--bg-raised); }
.chat__chips { gap: 7px; padding: 0 16px 12px; }
.chip { font-size: .76rem; min-height: 40px; border-radius: 9px; padding: .55rem .75rem; animation: none; transition: background-color 160ms, border-color 160ms; }
.chip:disabled { opacity: .5; cursor: wait; }
.chat[data-welcome="true"] .chat__chips { display: grid; grid-template-columns: 1fr 1fr; }
.chat[data-welcome="true"] .chip { min-height: 60px; padding: 12px; background: var(--bg-elevated); border-color: var(--hairline); }
.chat[data-welcome="true"] .chip:first-child { border-color: color-mix(in srgb, var(--accent) 40%, transparent); color: var(--accent); background: var(--accent-soft); }
.chat__form { margin: 0 14px 10px; padding: 6px; border: 1px solid var(--hairline-loud); border-radius: 14px; background: var(--bg-elevated); }
.chat__form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.chat__form input { min-height: 42px; border: 0; border-radius: 0; background: transparent; padding: 8px 9px; font-size: 16px; }
.chat__form input:focus { box-shadow: none; }
.chat__send { width: 40px; height: 40px; border-radius: 10px; }
.chat__send svg { width: 19px; height: 19px; }
:root[dir="rtl"] .chat__send svg { transform: none; }
.chat__disclaimer { padding: 0 16px 14px; font-size: .65rem; color: var(--text-muted); }
.chat__notice { font-size: .73rem; padding: 0 18px 8px; color: var(--accent); }
.chat__notice:empty { display: none; }
.chat__confirm { position: absolute; inset: 0; background: color-mix(in srgb, var(--bg-raised) 97%, transparent); display: flex; flex-direction: column; justify-content: center; padding: 30px; gap: 16px; backdrop-filter: blur(10px); }
.chat__confirm strong { font-size: 1.2rem; }
.chat__confirm p { color: var(--text-muted); font-size: .9rem; }
.chat__confirm > div { display: flex; gap: 10px; }
.chat__confirm [data-reset-yes] { color: var(--accent); border-color: var(--accent); }
@keyframes chat-arrive { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* Mobile controls: stable alignment and deliberate response to touch. */
.btn:active, .chip:active, .corridor-choice:active, .service-filter:active { transform: scale(.98); }
.icon-btn:active { background: var(--accent-soft); }
.corridor.is-changing .arc.is-selected { animation: connection-focus 550ms ease both; }
@keyframes connection-focus { from { stroke-opacity: .2; stroke-width: 1; } to { stroke-opacity: 1; stroke-width: 2.5; } }
@media (max-width: 620px) {
  .hero__actions { display: grid; grid-template-columns: 1fr; width: 100%; max-width: 420px; gap: 12px; }
  .hero__actions .btn { width: 100%; min-height: 56px; font-size: .94rem; border-radius: 16px; justify-content: center; padding-block: 15px; }
  .hero__actions .btn:not(.btn--ghost) { box-shadow: 0 6px 24px -12px #2d7ff988; }
  .hero__actions .btn--ghost { background: var(--surface); border-color: var(--hairline-loud); }
  .hero__meta { justify-content: space-between; gap: 1rem; margin-top: 0; padding-block: 20px 0; }
  .hero__meta div { gap: 6px; }
  .hero__meta b { font-size: 2.2rem; }
  .hero__copy { animation-duration: 500ms; }
  .icon-btn { min-width: 40px; min-height: 42px; }
  .service-filters { display: grid; grid-template-columns: 1.2fr 1fr 1.15fr; width: 100%; gap: 3px; border-radius: 14px; }
  .service-filter { padding: .6rem .35rem; line-height: 1.35; min-height: 48px; }
  .service-help { padding-block: 8px; min-height: 44px; }
  .service-link { min-height: 44px; width: 100%; justify-content: space-between; margin-top: 0; border-top: 1px solid var(--hairline-soft); padding-top: 12px; }
  .corridor-tools__foot a { min-height: 40px; display: flex; align-items: center; }
  .cta__actions { width: 100%; display: grid; gap: 12px; }
  .cta__actions .btn { min-height: 56px; width: 100%; border-radius: 14px; }
  .chat-launcher { inset-inline-end: 16px; inset-block-end: max(16px, env(safe-area-inset-bottom)); padding: 8px; }
  .chat-launcher__mark { width: 38px; height: 38px; }
  .chat { inset: auto 8px max(8px, env(safe-area-inset-bottom)); width: calc(100% - 16px); inline-size: calc(100% - 16px); height: min(700px, calc(100dvh - 20px)); border: 1px solid var(--hairline-loud); border-radius: 22px; }
  .chat__head { padding: 13px 12px; gap: 7px; }
  .chat__head .icon-btn { min-width: 34px; width: 34px; min-height: 40px; }
  .chat__avatar { width: 34px; height: 34px; border-radius: 10px; }
  .chat__id b { font-size: .82rem; }
  .chat__id span { font-size: .6rem; }
  .chat__log { padding: 18px 14px; }
  .chat__chips { padding-inline: 12px; gap: 6px; }
  .chip { min-height: 42px; padding-inline: .65rem; }
  .chat__disclaimer { padding-bottom: 10px; }
}
@media (max-width: 360px) { .brand__word { font-size: 1.05rem; } .header__inner { padding-inline: 9px; } .header .icon-btn { min-width: 35px; width: 35px; } .header__actions { gap: 0; } .lang__toggle > svg:first-child { display: none; } .chat__avatar { display: none; } }
@media (max-height: 520px) { .chat__chips { max-height: 110px; overflow-y: auto; } .chat__head { padding-block: 8px; } .chat__log, .chat[data-welcome="true"] .chat__log { min-height: 75px; } .drawer__nav { align-content: start; } }
@media (prefers-reduced-motion: reduce) { .msg, .corridor.is-changing .arc.is-selected { animation: none; } .btn:active, .chip:active, .corridor-choice:active, .service-filter:active { transform: none; } }
