/* Centrul de Excelență în Inteligență Artificială
   Layout: centred, all-white page; colour lives only in the moving network, the logo and small accents.
   Contrast on #FFFFFF (WCAG 2.x): ink 16.2:1 · ink-2 6.7:1 · link 5.8:1 · status 5.3:1 */

:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --tint: #F6F7F9;
  --tint-2: #EEF0F3;
  --ink: #1C2128;
  --ink-2: #545D6B;
  --line: #E6E8EC;
  --link: #00707F;
  --status: #0B7A55;
  --btn-bg: #1C2128;
  --btn-ink: #FFFFFF;

  --c-cyan: #03C5DB;
  --c-coral: #FD6860;
  --c-amber: #FDA854;
  --c-violet: #C37FE1;
  --c-green: #15C08B;
  --spectrum: linear-gradient(90deg, var(--c-cyan), var(--c-violet), var(--c-coral), var(--c-amber), var(--c-green));

  --display: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --text: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: 20px;
  --max: 1160px;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-contrast: more) { :root { --ink-2: #2F3540; --line: #9AA1AC; } }
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@media (min-width: 720px) { body { font-size: 1.125rem; } }
img, svg, canvas { display: block; max-width: 100%; }
img, svg { height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 8px; }
button { font: inherit; color: inherit; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--btn-bg); color: var(--btn-ink); padding: 12px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.wrap {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.center { text-align: center; margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-weight: 700; font-size: clamp(2.375rem, 1.3rem + 4.6vw, 4.75rem); line-height: 1.03; letter-spacing: -0.035em; }
h2 { font-weight: 700; font-size: clamp(1.875rem, 1.25rem + 2.6vw, 3.25rem); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-weight: 600; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.012em; }
p { margin: 0; text-wrap: pretty; }
.eyebrow { font: 600 0.8125rem/1.2 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.lead { font-size: 1.1875rem; color: var(--ink-2); max-width: 38em; }
@media (min-width: 720px) { .lead { font-size: 1.3125rem; } }

/* Announcement bar */
.announce { display: block; background: var(--bg); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; font-size: 0.875rem; font-weight: 500; text-align: center; }
.announce b { font-weight: 600; }
.announce .bar { width: 28px; height: 6px; border-radius: 3px; background: var(--spectrum); flex: none; }
.announce .short { display: none; }
@media (max-width: 640px) { .announce .long { display: none; } .announce .short { display: inline; } }
.announce:hover b { text-decoration: underline; text-underline-offset: 0.2em; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: rgba(255, 255, 255, 0.85); -webkit-backdrop-filter: saturate(170%) blur(18px); backdrop-filter: saturate(170%) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
@media (prefers-reduced-transparency: reduce) { .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-height: 44px; margin-right: auto; }
.brand img { width: 54px; flex: none; }
.brand span { font-family: var(--display); font-weight: 600; font-size: 0.8125rem; line-height: 1.25; }
.nav { display: none; gap: 2px; align-items: center; }
.nav a, .lang a, .menu summary, .menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.nav a:hover, .menu a:hover, .lang a:hover { background: var(--tint); }
.lang { display: flex; align-items: center; }
.lang a { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.05em; color: var(--ink-2); padding: 0 10px; }
.lang a[aria-current="true"] { color: var(--ink); }
.site-header .header-cta { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; border: 1px solid var(--line); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 250px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 8px; display: grid; box-shadow: 0 18px 40px rgba(28, 33, 40, 0.12); }
.menu-panel a { width: 100%; border-radius: 10px; }
.menu-lang { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.menu-lang .lang a { width: auto; }
.site-header .wrap > .lang { display: none; }
@media (min-width: 560px) { .site-header .wrap > .lang { display: flex; } .menu-lang { display: none; } }
@media (min-width: 1060px) { .nav { display: flex; } .menu { display: none; } .site-header .header-cta { display: inline-flex; } .brand span { font-size: 0.875rem; } }

/* Buttons and chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 600 1rem/1 var(--text); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s ease, background-color .25s ease; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 6px 18px rgba(28, 33, 40, 0.16); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(28, 33, 40, 0.2); }
.btn-secondary { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: var(--tint); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font: 500 0.9375rem/1.2 var(--text); color: var(--ink); cursor: pointer; transition: border-color .2s ease, background-color .2s ease, transform .2s var(--ease); }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--tint); }
.chip i { width: 8px; height: 8px; border-radius: 50%; flex: none; }

/* Hero */
.hero { position: relative; padding-block: 56px 40px; isolation: isolate; }
@media (min-width: 940px) { .hero { padding-block: 96px 56px; } }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-copy { display: grid; justify-items: center; gap: 24px; text-align: center; max-width: 920px; }
.hero .lead { margin-inline: auto; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; text-align: left; line-height: 1.35; max-width: 100%; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.9); font-size: 0.875rem; font-weight: 600; color: var(--status); }
.status-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--status); flex: none; }
.status-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--status); }
.h1-word { display: inline-block; }

/* Prompt box */
.prompt { margin: 48px auto 0; max-width: 760px; text-align: left; }
.prompt-box { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 20px 20px 16px; box-shadow: 0 1px 0 rgba(28,33,40,.04), 0 24px 60px rgba(28, 33, 40, 0.10); position: relative; }
.prompt-box::before { content: ""; position: absolute; inset: -1px; border-radius: 25px; padding: 1px; background: var(--spectrum); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; pointer-events: none; }
.prompt-label { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); display: flex; justify-content: space-between; gap: 12px; }
.prompt-text { min-height: 3.4em; margin-top: 10px; font: 500 clamp(1.125rem, 1rem + .6vw, 1.375rem)/1.45 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--ink); vertical-align: -0.18em; margin-left: 2px; }
.prompt-foot { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prompt-foot small { color: var(--ink-2); font-size: 0.8125rem; }
.send { width: 44px; height: 44px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-ink); display: grid; place-items: center; flex: none; }
.send svg { width: 18px; height: 18px; }
.prompt-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; margin-top: 56px; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 48px; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; font: 600 clamp(1.125rem, 1rem + .8vw, 1.5rem)/1 var(--display); letter-spacing: -0.015em; white-space: nowrap; color: var(--ink); }
.marquee-track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--c-cyan)); }

/* Sections */
section { padding-block: 88px; }
@media (min-width: 940px) { section { padding-block: 136px; } }
.section-head { display: grid; gap: 18px; max-width: 48em; margin-bottom: 56px; }
.section-head.center { justify-items: center; text-align: center; }
.section-head .lead { margin-inline: inherit; }

/* Focus cards with live glyphs */
.grid-3 { display: grid; gap: 16px; }
@media (min-width: 880px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 0; display: grid; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(28, 33, 40, 0.09); }
.card-visual { height: 200px; background: var(--tint); border-bottom: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.card-visual svg { width: 100%; height: 100%; }
.card-body { padding: 26px 26px 30px; display: grid; gap: 12px; }
.card-body p { color: var(--ink-2); }

/* Walkthrough */
.walk { display: grid; gap: 28px; }
@media (min-width: 960px) { .walk { grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; } }
.steps-nav { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.step-btn { width: 100%; text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; position: relative; overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease; }
.step-btn .num { font: 600 0.8125rem/1.6 var(--mono); color: var(--ink-2); grid-row: span 2; padding-top: 2px; }
.step-btn strong { font: 600 1.0625rem/1.35 var(--display); }
.step-btn span.d { color: var(--ink-2); font-size: 0.9375rem; display: none; }
.step-btn[aria-selected="true"] { border-color: var(--ink); box-shadow: 0 10px 28px rgba(28,33,40,.08); }
.step-btn[aria-selected="true"] span.d { display: block; }
.step-btn .prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--spectrum); transform-origin: left; transform: scaleX(0); }
.step-btn[aria-selected="true"] .prog.run { animation: prog var(--dur, 5s) linear forwards; }
@keyframes prog { to { transform: scaleX(1); } }
.walk-hint { font-size: 0.875rem; color: var(--ink-2); margin-top: 6px; }

.stage { border: 1px solid var(--line); border-radius: 24px; background: var(--bg); box-shadow: 0 24px 60px rgba(28, 33, 40, 0.08); overflow: hidden; }
.stage-top { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--tint); }
.stage-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--tint-2); border: 1px solid var(--line); }
.stage-top small { margin-left: 8px; font-size: 0.8125rem; color: var(--ink-2); font-weight: 600; }
.stage-top .tag { margin-left: auto; font-size: 0.75rem; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); background: var(--bg); padding: 4px 10px; border-radius: 999px; }
.panes { position: relative; min-height: 360px; }
.pane { position: absolute; inset: 0; padding: 26px; display: grid; gap: 14px; align-content: start; opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .55s var(--ease); pointer-events: none; }
.pane.on { opacity: 1; transform: none; pointer-events: auto; }
.pane h4 { margin: 0; font: 600 0.8125rem/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.bubble { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: var(--bg); }
.bubble.me { background: var(--tint); border-color: transparent; }
.bubble small { display: block; font-size: 0.8125rem; color: var(--ink-2); margin-bottom: 4px; font-weight: 600; }
.meter { display: grid; gap: 8px; }
.meter-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; font-size: 0.9375rem; font-weight: 500; }
.meter-row em { font-style: normal; font-size: 0.8125rem; color: var(--status); font-weight: 600; }
.meter-bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--tint-2); overflow: hidden; }
.meter-bar b { display: block; height: 100%; border-radius: 4px; background: var(--c); width: 0; transition: width 1.1s var(--ease); }
.pane.on .meter-bar b { width: var(--w); }
.timeline { display: grid; gap: 10px; }
.tl-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; font-size: 0.875rem; color: var(--ink-2); }
.tl-track { height: 26px; border-radius: 8px; background: var(--tint); position: relative; overflow: hidden; }
.tl-track b { position: absolute; top: 4px; bottom: 4px; left: var(--x); width: 0; border-radius: 6px; background: var(--c); transition: width 1s var(--ease) var(--dl, 0s); }
.pane.on .tl-track b { width: var(--w); }
.checks { display: grid; gap: 10px; }
.check-row { display: flex; align-items: center; gap: 12px; font-weight: 500; opacity: 0; transform: translateX(-8px); transition: opacity .4s ease var(--dl), transform .5s var(--ease) var(--dl); }
.pane.on .check-row { opacity: 1; transform: none; }
.check-row svg { width: 22px; height: 22px; color: var(--status); flex: none; }
.decide { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.decide .who { font-size: 0.875rem; color: var(--ink-2); margin-right: auto; }
.fake-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 0.9375rem; border: 1px solid var(--line); }
.fake-btn.go { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }
.pane.on .fake-btn.go { animation: nudge 2.4s ease-in-out infinite 1s; }
@keyframes nudge { 0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(28,33,40,.25); } 85% { box-shadow: 0 0 0 8px rgba(28,33,40,0); } }

/* Principles */
.principles { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
.principles li { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); font: 600 1rem/1.2 var(--display); transition: border-color .4s ease, background-color .4s ease; }
.principles li svg { width: 20px; height: 20px; color: var(--status); }
.principles li.lit { border-color: var(--status); background: #F1FAF6; }
.big-line { font: 700 clamp(2.5rem, 1.4rem + 5.6vw, 6rem)/1 var(--display); letter-spacing: -0.04em; text-align: center; margin: 0 0 40px; }
.big-line .s2 { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Ambition + quote */
.quote { margin: 0 auto; max-width: 900px; display: grid; gap: 28px; text-align: center; }
.quote blockquote { margin: 0; font: 500 clamp(1.25rem, 1rem + 1.2vw, 2rem)/1.4 var(--display); letter-spacing: -0.015em; }
.quote figcaption { color: var(--ink-2); }
.quote figcaption strong { color: var(--ink); font-weight: 600; }
.js .qw { opacity: .18; transition: opacity .35s ease; }
.js .qw.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .qw { opacity: 1; } }

/* Roadmap */
.road { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 900px) { .road { grid-template-columns: repeat(5, 1fr); } }
.road li { counter-increment: s; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 24px; display: grid; gap: 10px; align-content: start; position: relative; background: var(--bg); }
.road li::before { content: "0" counter(s); font: 600 0.875rem/1 var(--mono); color: var(--ink-2); }
.road li.done { border-color: var(--status); }
.road li.done::before { color: var(--status); }
.road h3 { font-size: 1.0625rem; }
.road p { color: var(--ink-2); font-size: 0.9375rem; }
.road .here { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600; color: var(--status); }
.road-bar { height: 4px; border-radius: 2px; background: var(--tint-2); margin-top: 28px; overflow: hidden; }
.road-bar b { display: block; height: 100%; width: 20%; background: var(--status); border-radius: 2px; transform-origin: left; }

/* Roles */
.roles { display: grid; gap: 12px; }
@media (min-width: 720px) { .roles { grid-template-columns: repeat(2, 1fr); } }
.role { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 88px; padding: 20px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); color: var(--ink); text-decoration: none; transition: border-color .3s ease, transform .3s var(--ease), box-shadow .3s ease; }
.role:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(28, 33, 40, 0.08); }
.role strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.125rem; }
.role small { display: block; color: var(--ink-2); font-size: 0.9375rem; margin-top: 2px; }
.role svg { flex: none; width: 22px; height: 22px; transition: transform .3s var(--ease); }
.role:hover svg { transform: translateX(4px); }
.contact-line { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.contact-line a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.note { font-size: 0.9375rem; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; padding: 16px 0; font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); }

/* Closing */
.closing { position: relative; isolation: isolate; overflow: hidden; text-align: center; border-top: 1px solid var(--line); }
.closing canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.closing .chips-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px auto 36px; max-width: 760px; }
.closing .chips-row span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.9); font-weight: 600; font-size: 0.9375rem; }
.closing .chips-row i { width: 8px; height: 8px; border-radius: 50%; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 44px; font-size: 0.9375rem; color: var(--ink-2); }
.site-footer .wrap { display: grid; gap: 32px; }
.footer-logo { width: 220px; }
.footer-cols { display: grid; gap: 22px; }
@media (min-width: 860px) { .footer-cols { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer a { color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer li a { display: inline-flex; min-height: 40px; align-items: center; }
.fine { font-size: 0.875rem; }

/* Motion — everything below is skipped when people ask for less motion */
.js [data-reveal]:not(.in) { opacity: 0; transform: translateY(26px); }
.js [data-reveal] { transition: opacity .8s ease var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
@media (prefers-reduced-motion: no-preference) {
  .h1-word { animation: rise .9s var(--ease) both; animation-delay: calc(150ms + var(--i) * 65ms); }
  .hero .status, .hero .lead, .hero .actions, .prompt { animation: fade-up .9s var(--ease) both; }
  .hero .lead { animation-delay: 600ms; } .hero .actions { animation-delay: 760ms; } .prompt { animation-delay: 950ms; }
  .status-dot::after { animation: ping 2.4s var(--ease) infinite; }
  .caret { animation: blink 1s steps(1) infinite; }
  .marquee-track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes rise { from { opacity: 0; transform: translateY(0.5em); } to { opacity: 1; transform: none; } }
  @keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  @keyframes ping { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(3); opacity: 0; } }
  @keyframes blink { 50% { opacity: 0; } }
  @keyframes marquee { to { transform: translateX(-50%); } }
  .glyph-scan { animation: scan 4s var(--ease) infinite; }
  .glyph-float { animation: float 5s ease-in-out infinite; }
  .glyph-float.b { animation-delay: -1.6s; } .glyph-float.c { animation-delay: -3.2s; }
  .glyph-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawloop 4.5s var(--ease) infinite; }
  @keyframes scan { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(70px, 18px); } 50% { transform: translate(30px, 52px); } 75% { transform: translate(-40px, 26px); } }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  @keyframes drawloop { 0% { stroke-dashoffset: 1; } 40%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal]:not(.in) { opacity: 1; transform: none; }
  .js [data-reveal], .pane, .meter-bar b, .tl-track b, .check-row { transition: none; }
  .marquee { -webkit-mask: none; mask: none; }
  .marquee-track { width: auto; justify-content: center; }
  .marquee-track > div { flex-wrap: wrap; justify-content: center; row-gap: 14px; column-gap: 28px !important; padding-inline: var(--gutter); }
  .marquee-track span { gap: 28px; }
  .marquee-track [aria-hidden="true"] { display: none !important; }
}

@media print { .site-header, .announce, .actions, canvas, .marquee { display: none; } .js [data-reveal]:not(.in) { opacity: 1; transform: none; } }
