/* ServerBurn – marketing site. No external resources. */
:root {
  --bg: #0b0a10;
  --bg-2: #110f18;
  --card: #16131f;
  --card-2: #1c1827;
  --line: #2a2536;
  --line-2: #3a3349;
  --text: #f3eff8;
  --muted: #a49cb3;
  --faint: #8a8199;
  --ember-1: #ff4d2e;
  --ember-2: #ff8a4c;
  --ember-3: #ffb341;
  --ok: #46d39a;
  --warn: #ffb341;
  --fail: #ff5a5a;
  --info: #7aa7ff;
  --grad: linear-gradient(100deg, var(--ember-1), var(--ember-2) 45%, var(--ember-3));
  --radius: 16px;
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 30px 80px -30px rgba(255, 77, 46, .35), 0 10px 30px -10px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: 17px; line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(255, 77, 46, .16), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(255, 179, 65, .07), transparent 60%),
    radial-gradient(800px 600px at 50% 120%, rgba(255, 77, 46, .10), transparent 60%);
}
body::after { /* subtle grid */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .9em; }
.muted { color: var(--faint); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 2px solid var(--ember-3); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.embers { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: .98rem; text-decoration: none;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .25s ease, background .25s, border-color .25s, color .25s;
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #1a0b05; box-shadow: 0 10px 30px -10px rgba(255, 106, 61, .7); background-size: 140% 100%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255, 106, 61, .85); background-position: 100% 0; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--ember-2); color: var(--ember-3); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: .9rem; border-radius: 10px; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(11, 10, 16, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-mark { width: 30px; height: 30px; filter: drop-shadow(0 0 10px rgba(255, 106, 61, .55)); }
.brand-sm { font-size: 1.05rem; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .94rem; padding: 8px 12px; border-radius: 9px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, top .25s; }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03); color: var(--muted); font-size: .86rem; font-weight: 600; margin-bottom: 22px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember-2); box-shadow: 0 0 0 0 rgba(255,138,76,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,138,76,.6); } 70% { box-shadow: 0 0 0 10px rgba(255,138,76,0); } 100% { box-shadow: 0 0 0 0 rgba(255,138,76,0); } }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); font-weight: 800; letter-spacing: -.035em; }
.lead { margin-top: 22px; color: var(--muted); font-size: 1.14rem; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .92rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(70, 211, 154, .15) center/10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.2 2.2 4.8-4.8' fill='none' stroke='%2346d39a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* demo card */
.hero-demo { position: relative; }
.demo-card {
  position: relative; background: linear-gradient(180deg, rgba(28,24,39,.92), rgba(18,15,26,.95));
  border: 1px solid var(--line-2); border-radius: 20px; padding: 18px 20px 20px; box-shadow: var(--shadow);
  overflow: hidden;
}
.demo-card::before { /* animated border glow */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--ember-2) 80%, var(--ember-3) 85%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 6s linear infinite;
}
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }
.demo-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.demo-dots i:first-child { background: #ff5f57; } .demo-dots i:nth-child(2) { background: #febc2e; } .demo-dots i:nth-child(3) { background: #28c840; }
.demo-title { font-weight: 700; font-size: .92rem; color: var(--muted); }
.demo-badge { margin-left: auto; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255, 138, 76, .15); color: var(--ember-3); transition: background .3s, color .3s; }
.demo-badge.done { background: rgba(70, 211, 154, .15); color: var(--ok); }
.demo-host { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); margin-bottom: 14px; }
.demo-temp { text-align: right; }
.demo-temp .mono { transition: color .4s; }
.demo-temp.hot .mono { color: var(--ember-2); }
.demo-label { color: var(--faint); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.demo-phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; counter-reset: ph; }
.demo-phases li { position: relative; padding: 6px 0 6px 28px; font-size: .88rem; color: var(--faint); transition: color .35s; }
.demo-phases li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  border: 2px solid var(--line-2); transition: border-color .3s, background .3s;
}
.demo-phases li.active { color: var(--text); }
.demo-phases li.active::before { border-color: var(--ember-2); border-top-color: transparent; animation: rot .8s linear infinite; }
.demo-phases li.done { color: var(--muted); }
.demo-phases li.done::before { border-color: var(--ok); background: var(--ok) center/11px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.2 2.2 4.8-4.8' fill='none' stroke='%230b0a10' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@keyframes rot { to { transform: rotate(360deg); } }
.demo-progress { height: 6px; border-radius: 999px; background: var(--line); margin: 16px 0 10px; overflow: hidden; }
.demo-progress span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width .6s cubic-bezier(.4,.1,.2,1); box-shadow: 0 0 14px rgba(255,138,76,.8); }
.demo-spark { width: 100%; height: 56px; }
.demo-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.demo-verdict { font-weight: 800; font-size: .85rem; color: var(--ok); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.demo-verdict.show { opacity: 1; transform: none; }

.float-chip {
  position: absolute; padding: 9px 14px; border-radius: 12px; font-size: .84rem; color: var(--muted);
  background: rgba(22, 19, 31, .9); border: 1px solid var(--line-2); box-shadow: 0 14px 30px -12px rgba(0,0,0,.7);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; animation: float 6s ease-in-out infinite;
}
.float-chip b { color: var(--text); font-family: var(--mono); }
.chip-a { top: -20px; right: 130px; }
.chip-b { top: -20px; left: 28px; animation-delay: -2s; }
.chip-c { bottom: -18px; right: 40px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- stats ---------- */
.stats { padding: 26px 0 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg-2); padding: 26px 24px; }
.stat b { display: block; font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- sections ---------- */
.section { padding: 88px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.015) 15%, rgba(255,255,255,.015) 85%, transparent); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.kicker { color: var(--ember-2); font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.section h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
.sub { margin-top: 18px; color: var(--muted); font-size: 1.08rem; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  position: relative; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s, background .3s; overflow: hidden; isolation: isolate;
}
.feature::after { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 106, 61, .14), transparent 60%);
}
.feature:hover { transform: translateY(-4px); border-color: var(--line-2); }
.feature:hover::after { opacity: 1; }
.ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, rgba(255,77,46,.18), rgba(255,179,65,.08)); border: 1px solid rgba(255, 138, 76, .25); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--ember-3); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.12rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 23px; left: 24px; right: calc((100% - 72px) / 5 - 24px); height: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; top: 23px; left: 24px; height: 2px; width: 0; background: var(--grad); box-shadow: 0 0 12px rgba(255,138,76,.8); transition: width 2.2s cubic-bezier(.4,.1,.2,1); }
.timeline.run::after { width: calc(100% - (100% - 72px) / 5); }
.step { position: relative; display: flex; flex-direction: column; gap: 18px; }
.step-n { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--card-2); border: 2px solid var(--line-2); color: var(--ember-3); transition: border-color .4s, box-shadow .4s; }
.timeline.run .step-n { border-color: var(--ember-2); box-shadow: 0 0 0 6px rgba(255, 106, 61, .1); }
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .93rem; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: rgba(255, 138, 76, .14) center/12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.2 2.2 4.8-4.8' fill='none' stroke='%23ffb341' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* rollout */
.rollout { padding: 30px; border-radius: 20px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.rollout-row { display: flex; align-items: center; gap: 10px; }
.node { flex: none; padding: 8px 14px; border-radius: 10px; font-weight: 700; font-size: .86rem; border: 1px solid var(--line-2); background: var(--card-2); }
.node-canary { color: var(--ember-3); border-color: rgba(255,179,65,.4); }
.node-ok { color: var(--ok); border-color: rgba(70,211,154,.35); }
.node-fleet { color: var(--text); }
.rollout-line { flex: 1; height: 2px; background: var(--line-2); position: relative; overflow: hidden; border-radius: 2px; }
.rollout-line i { position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: var(--grad); animation: flow 2.2s linear infinite; }
.rollout-line + .node + .rollout-line i { animation-delay: 1.1s; }
@keyframes flow { to { left: 100%; } }
.rollout-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin: 28px 0 22px; }
.rollout-grid i { height: 34px; border-radius: 7px; background: var(--card-2); border: 1px solid var(--line); position: relative; overflow: hidden; }
.rollout-grid i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(70,211,154,.35), rgba(70,211,154,.12)); transform: scaleX(0); transform-origin: left; }
.rollout.in .rollout-grid i::after { animation: fill 5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 0.12s); }
.rollout-grid i:first-child::after { background: linear-gradient(135deg, rgba(255,179,65,.5), rgba(255,138,76,.2)); }
@keyframes fill { 0% { transform: scaleX(0); } 25%, 85% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.rollout-meta { display: flex; gap: 18px; color: var(--muted); font-size: .84rem; flex-wrap: wrap; }
.rollout-meta .ok { color: var(--ok); margin-left: auto; }

/* report mock */
.report-mock { padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.rm-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.pill { font-size: .78rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; }
.pill-warn { background: rgba(255,179,65,.15); color: var(--warn); }
.rm-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.rm-kpis div { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); display: grid; gap: 4px; }
.rm-kpis b { font-size: 1.05rem; }
.rm-findings { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: .9rem; }
.rm-findings li { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.02); border: 1px solid var(--line); }
.sev { flex: none; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; min-width: 64px; text-align: center; }
.sev-warn { background: rgba(255,179,65,.15); color: var(--warn); }
.sev-info { background: rgba(122,167,255,.14); color: var(--info); }
.sev-ok { background: rgba(70,211,154,.14); color: var(--ok); }
.rm-bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-bottom: 8px; }
.rm-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--ember-2), rgba(255,77,46,.35)); height: 8%; transition: height 1s cubic-bezier(.3,.1,.2,1); }
.rm-bars i.slow { background: linear-gradient(180deg, var(--warn), rgba(255,179,65,.3)); }

/* platforms */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.platform { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; transition: transform .3s, border-color .3s; }
.platform:hover { transform: translateY(-4px); border-color: var(--line-2); }
.platform h3 { font-size: 1.1rem; }
.platform p { color: var(--muted); font-size: .93rem; flex: 1; }
.tag { align-self: flex-start; font-size: .74rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); }
.tag-ok { background: rgba(70,211,154,.13); color: var(--ok); }
.tag-soon { background: rgba(255,179,65,.13); color: var(--warn); }

/* cta */
.cta { padding: 24px 0 96px; }
.cta-inner {
  text-align: center; padding: 70px 30px; border-radius: 28px; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 50% 0%, rgba(255, 106, 61, .28), transparent 70%), var(--card);
  border: 1px solid var(--line-2);
}
.cta-inner h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; }
.cta-inner p { color: var(--muted); margin: 14px 0 30px; font-size: 1.08rem; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 20px; margin-left: auto; }
.footer nav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.footer nav a:hover { color: var(--text); }
.footer p { font-size: .88rem; }

/* legal pages */
.legal { padding: 70px 0 110px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 10px; }
.legal a { color: var(--ember-3); }
.notice { padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,179,65,.4); background: rgba(255,179,65,.08); color: var(--warn); margin-bottom: 26px; }

/* ---------- reveal ---------- */
/* reveal uses the separate `translate` property so `transform` stays free for hover effects */
.js .reveal { opacity: 0; translate: 0 26px; }
.js .reveal.in { opacity: 1; translate: none; }
.reveal { transition-property: opacity, translate, transform, border-color, background, box-shadow; transition-duration: .8s, .8s, .3s, .3s, .3s, .3s; transition-timing-function: cubic-bezier(.2,.7,.2,1), cubic-bezier(.2,.7,.2,1), ease, ease, ease, ease; transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s, 0s, 0s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before, .timeline::after { top: 24px; bottom: 60px; left: 23px; right: auto; width: 2px; height: auto; }
  .timeline::after { height: 0; bottom: auto; transition: height 2.2s cubic-bezier(.4,.1,.2,1); }
  .timeline.run::after { width: 2px; height: calc(100% - 84px); }
  .step { flex-direction: row; }
  .step-n { flex: none; }
}
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 56px; }
  .split-rev .report-mock { order: 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 2px; padding: 12px 20px 18px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -12px rgba(0,0,0,.8);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 12px; }
  .nav-login { margin-left: auto; }
  .nav-toggle { display: block; }
  .chip-b { left: 16px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .features, .platforms { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .demo-phases { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .rm-kpis { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .rm-kpis div { padding: 10px 8px; }
  .rm-kpis b { font-size: .92rem; }
  .footer nav { margin-left: 0; }
  .stat { padding: 20px 16px; }
  .stat b { font-size: 1.9rem; }
  .rollout { padding: 20px; }
  .node { padding: 6px 9px; font-size: .78rem; }
}

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