/* =========================================================
   "Can Your Factory Survive 2030?" — game styles
   Scoped to .fs. TDS red, white, charcoal and black.
   ========================================================= */
.fs {
  --fs-bg: #0a0e13;
  --fs-bg-2: #111820;
  --fs-bg-3: #18222c;
  --fs-line: rgba(255, 255, 255, .12);
  --fs-line-2: rgba(255, 255, 255, .22);
  --fs-text: #fff;
  --fs-dim: rgba(255, 255, 255, .78);
  --fs-red: #e2260b;
  --fs-red-2: #ff4401;
  --fs-red-soft: rgba(226, 38, 11, .14);
  --fs-amber: #ffb547;
  --fs-green: #3ccf91;
  --fs-paper: #fff;
  --fs-ink: #0d0f14;
  --fs-ink-2: #3a3f48;
  --fs-rule: #e3e4e8;
  --fs-bn: "Noto Sans Bengali", "Hind Siliguri", Inter, system-ui, sans-serif;
  background: var(--fs-bg);
  color: var(--fs-text);
  position: relative;
  overflow: hidden;
  padding: 20px 0 64px;
  min-height: calc(100svh - var(--header-h, 72px));
}
.fs::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 50% at 85% 0%, rgba(226, 38, 11, .16), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 48px);
}
.fs-app { position: relative; max-width: var(--container, 1240px); margin: 0 auto; padding: 0 var(--gutter, 24px); }
.fs-app[data-lang="bn"] { font-family: var(--fs-bn); }
.fs-app[data-lang="bn"] h1, .fs-app[data-lang="bn"] h2, .fs-app[data-lang="bn"] h3 { font-family: var(--fs-bn); letter-spacing: 0; font-weight: 600; }
.fs-app[data-lang="bn"] * { letter-spacing: 0 !important; }
/* Bangla legibility: larger size, more line height and stronger contrast than the Latin text */
.fs-app[data-lang="bn"] { --fs-dim: rgba(255, 255, 255, .9); font-size: 17px; }
.fs-app[data-lang="bn"] .fs-lead, .fs-app[data-lang="bn"] .fs-story { font-size: 18.5px; line-height: 1.8; }
.fs-app[data-lang="bn"] .fs-small, .fs-app[data-lang="bn"] .fs-card-foot, .fs-app[data-lang="bn"] .fs-assume, .fs-app[data-lang="bn"] .fs-dash-note { font-size: 14px; line-height: 1.7; }
.fs-app[data-lang="bn"] .fs-facts dl div, .fs-app[data-lang="bn"] .fs-mini-dl div { font-size: 15px; padding: 7px 0; }
.fs-app[data-lang="bn"] .fs-cast li { font-size: 14.5px; }
.fs-app[data-lang="bn"] .fs-kicker, .fs-app[data-lang="bn"] .fs-prompt, .fs-app[data-lang="bn"] .fs-facts h2, .fs-app[data-lang="bn"] .fs-card-h, .fs-app[data-lang="bn"] .fs-news-tag { font-size: 14px; text-transform: none; }
.fs-app[data-lang="bn"] .fs-ind-l { font-size: 12.5px; text-transform: none; }
.fs-app[data-lang="bn"] .fs-opt-t b { font-size: 17px; line-height: 1.5; }
.fs-app[data-lang="bn"] .fs-opt-t small { font-size: 14.5px; line-height: 1.6; }
.fs-app[data-lang="bn"] .fs-quote blockquote { font-size: 20px; line-height: 1.6; }
.fs-app[data-lang="bn"] .fs-result > p { font-size: 19px; line-height: 1.65; }
.fs-app[data-lang="bn"] .fs-learn p, .fs-app[data-lang="bn"] .fs-notes, .fs-app[data-lang="bn"] .fs-news-s { line-height: 1.75; }
.fs-app[data-lang="bn"] .fs-deltas li { font-size: 14px; }
.fs-app[data-lang="bn"] .fs-title { line-height: 1.3; }
.fs-app[data-lang="bn"] .fs-btn { font-size: 17px; }
.fs-app [lang="en"] { font-family: Inter, system-ui, sans-serif; }
.fs button { font: inherit; color: inherit; cursor: pointer; }
.fs :focus-visible { outline: 2px solid var(--fs-red-2); outline-offset: 3px; }
.fs [data-focus]:focus { outline: none; }
.fs p { margin: 0; }

/* ---------- top bar ---------- */
.fs-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.fs-brand { display: flex; align-items: center; gap: 10px; font: 600 14px/1.2 var(--font-head, Inter); letter-spacing: .02em; }
.fs-app[data-lang="bn"] .fs-brand { font-family: var(--fs-bn); font-size: 15px; }
.fs-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--fs-red); box-shadow: 0 0 0 4px var(--fs-red-soft); animation: fs-pulse 2s infinite; }
.fs-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fs-lang { display: flex; border: 1px solid var(--fs-line-2); border-radius: 999px; overflow: hidden; }
.fs-lang button, .fs-tool { background: none; border: 0; padding: 8px 13px; min-height: 36px; font-size: 13px; font-weight: 600; color: var(--fs-dim); }
.fs-lang button[aria-pressed="true"] { background: #fff; color: var(--fs-ink); }
.fs-tool { border: 1px solid var(--fs-line-2); border-radius: 999px; }
.fs-tool[aria-pressed="true"] { background: #fff; color: var(--fs-ink); }
/* hover only on unselected buttons: selected ones have a white background and must keep dark text */
.fs-tool:not([aria-pressed="true"]):hover, .fs-lang button:not([aria-pressed="true"]):hover { color: #fff; background: rgba(255, 255, 255, .1); }
.fs-lang button[aria-pressed="true"] { cursor: default; }

/* ---------- dashboard ---------- */
.fs-dash { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr 1fr; gap: 8px; }
.fs-ind { background: var(--fs-bg-2); border: 1px solid var(--fs-line); border-radius: 12px; padding: 10px 12px 11px; min-width: 0; position: relative; }
.fs-ind-l { display: block; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--fs-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-short { display: none; }
.fs-ind strong { display: block; font: 600 22px/1.2 var(--font-head, Inter); font-variant-numeric: tabular-nums; margin-top: 3px; white-space: nowrap; }
.fs-app[data-lang="bn"] .fs-ind strong { font-family: var(--fs-bn); }
.fs-ind.warn strong { color: var(--fs-amber); }
.fs-ind.bad strong { color: #ff6a4d; }
.fs-ind.bad { border-color: rgba(226, 38, 11, .55); }
.fs-ind.bump { animation: fs-bump .6s var(--ease, ease); }
.fs-meter { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); margin-top: 7px; overflow: hidden; }
.fs-meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--fs-red-2), var(--fs-red)); border-radius: 4px; transition: width .7s var(--ease, ease); }
.fs-dash-note { font-size: 12px; color: var(--fs-dim); margin: 6px 2px 0 !important; }

/* ---------- progress ---------- */
.fs-steps { list-style: none; display: flex; gap: 6px; margin: 16px 0 22px; padding: 0; }
.fs-steps li { flex: 1; height: 26px; border-radius: 6px; background: var(--fs-bg-2); border: 1px solid var(--fs-line); display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: var(--fs-dim); }
.fs-steps li.done { background: rgba(255, 255, 255, .14); color: #fff; }
.fs-steps li.now { background: var(--fs-red); border-color: var(--fs-red); color: #fff; }

/* ---------- stage ---------- */
.fs-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 32px; align-items: start; }
.fs-stage[data-screen="reveal"], .fs-stage[data-screen="results"] { grid-template-columns: minmax(0, 880px); justify-content: center; }
.fs-visual { position: sticky; top: calc(var(--header-h, 72px) + 16px); }
.fs-panel { min-width: 0; animation: fs-in .45s var(--ease, ease) both; }
.fs-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ff8b6b; margin-bottom: 14px !important; }
.fs-title { font: 600 clamp(36px, 5vw, 64px)/1.03 var(--font-head, Inter); letter-spacing: -.035em; text-transform: uppercase; }
.fs-title span { color: var(--fs-red-2); }
.fs-app[data-lang="bn"] .fs-title { text-transform: none; line-height: 1.2; font-size: clamp(32px, 4.4vw, 54px); }
.fs-lead { font-size: 18px; line-height: 1.6; color: var(--fs-dim); margin-top: 18px !important; }
.fs-small, .fs-card-foot { font-size: 12.5px; line-height: 1.5; color: var(--fs-dim); margin-top: 12px !important; }
.fs-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 24px; }
.fs-when { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--fs-dim); margin-bottom: 10px !important; }
.fs-when span { background: var(--fs-red); color: #fff; border-radius: 6px; padding: 4px 8px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.fs-h { font: 600 clamp(26px, 3vw, 38px)/1.12 var(--font-head, Inter); letter-spacing: -.025em; }
.fs-app[data-lang="bn"] .fs-h { line-height: 1.3; }

/* buttons */
.fs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s; }
.fs-btn:hover { transform: translateY(-1px); }
.fs-btn-brand { background: linear-gradient(135deg, var(--fs-red-2), #c80001); color: #fff; box-shadow: 0 10px 30px rgba(226, 38, 11, .35); }
.fs-btn-ghost { background: transparent; color: #fff; border-color: var(--fs-line-2); }
.fs-btn-ghost:hover { border-color: #fff; }
.fs-btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.fs-btn-dark { background: var(--fs-ink); color: #fff; }
.fs-btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.fs-link { background: none; border: 0; padding: 10px 0; color: var(--fs-dim); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-align: left; }
.fs-link:hover { color: #fff; }

/* intro facts */
.fs-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.fs-facts section { background: var(--fs-bg-2); border: 1px solid var(--fs-line); border-radius: 14px; padding: 14px 16px; }
.fs-facts h2 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff8b6b; margin-bottom: 8px; }
.fs dl { margin: 0; }
.fs-facts dl div, .fs-mini-dl div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--fs-line); font-size: 13.5px; }
.fs-facts dl div:last-child { border-bottom: 0; }
.fs dt { color: var(--fs-dim); }
.fs dd { margin: 0; font-weight: 600; text-align: right; }
.fs-assume { font-size: 12.5px; color: var(--fs-dim); margin-top: 12px !important; line-height: 1.5; }
.fs-cast { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fs-cast li { border: 1px solid var(--fs-line); border-radius: 999px; padding: 6px 12px; font-size: 13px; display: flex; gap: 6px; }
.fs-cast span { color: var(--fs-dim); }

/* intro factory art */
.fs-factory { width: 100%; height: auto; }
.fs-fl-bg { fill: #0f161d; stroke: var(--fs-line-2); }
.fs-ln rect { fill: #17212b; stroke: rgba(255, 255, 255, .15); animation: fs-lineon .5s calc(.25s + var(--i) * .09s) both; }
.fs-ln circle { fill: #2c3a47; animation: fs-dot-on .4s calc(.6s + var(--i) * .09s) both; }
.fs-lamp { fill: #ffe9b0; filter: drop-shadow(0 0 8px #ffd27a); animation: fs-lamp .4s calc(var(--i) * .15s) both; }
.fs-fl-t { fill: rgba(255, 255, 255, .55); font: 600 10px/1 Inter, sans-serif; letter-spacing: .14em; }
.fs-notify { position: absolute; right: 6%; top: 8%; background: #fff; color: var(--fs-ink); border-radius: 14px; padding: 12px 16px 12px 44px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); animation: fs-drop .55s 2.1s var(--ease, ease) both; }
.fs-notify b { display: block; font-size: 14px; }
.fs-notify small { color: var(--fs-ink-2); font-size: 12.5px; }
.fs-notify .fs-ring { position: absolute; left: 14px; top: 50%; margin-top: -9px; }
.fs-ring { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: var(--fs-green); box-shadow: 0 0 0 0 rgba(60, 207, 145, .6); animation: fs-ring 1.4s infinite; vertical-align: middle; }

/* ---------- chapter panel ---------- */
.fs-event { background: var(--fs-red-soft); border: 1px solid rgba(226, 38, 11, .5); border-radius: 12px; padding: 10px 14px; margin-top: 14px !important; font-size: 14px; display: grid; gap: 2px; }
.fs-event b { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: #ff8b6b; }
.fs-quote { margin: 18px 0 0; padding: 0 0 0 16px; border-left: 3px solid var(--fs-red); }
.fs-quote blockquote { margin: 0; font-size: 19px; line-height: 1.45; font-weight: 500; }
.fs-quote figcaption { font-size: 13px; color: var(--fs-dim); margin-top: 6px; }
.fs-story { font-size: 16.5px; line-height: 1.65; color: var(--fs-dim); margin-top: 14px !important; }
.fs-prompt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff8b6b; margin: 22px 0 10px !important; }
.fs-options { display: grid; gap: 10px; }
.fs-opt { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; text-align: left; background: var(--fs-bg-2); border: 1px solid var(--fs-line-2); border-radius: 14px; padding: 14px 16px; min-height: 64px; transition: border-color .2s, background .2s, transform .2s; }
.fs-opt:hover { border-color: var(--fs-red-2); transform: translateX(3px); }
.fs-opt[aria-pressed="true"] { border-color: var(--fs-red); background: var(--fs-red-soft); }
.fs-opt-k { width: 34px; height: 34px; border-radius: 9px; background: #fff; color: var(--fs-ink); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.fs-opt[aria-pressed="true"] .fs-opt-k { background: var(--fs-red); color: #fff; }
.fs-opt-t b { display: block; font-size: 16px; line-height: 1.35; font-weight: 600; }
.fs-opt-t small { display: block; font-size: 13.5px; color: var(--fs-dim); margin-top: 3px; line-height: 1.45; }

/* result */
.fs-choice-made { display: flex; gap: 10px; align-items: center; margin-top: 16px !important; font-weight: 600; font-size: 15px; }
.fs-choice-made span { width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--fs-red); display: grid; place-items: center; font-size: 13px; }
.fs-result { margin-top: 14px; background: var(--fs-paper); color: var(--fs-ink); border-radius: 16px; padding: 18px 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); animation: fs-in .4s .05s var(--ease, ease) both; }
.fs-result > p { font-size: 18px; line-height: 1.5; font-weight: 500; }
.fs-deltas { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fs-deltas li { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #f1f2f4; }
.fs-deltas li.neg { background: #ffe9e4; color: #b11f08; }
.fs-deltas li.pos { background: #e3f6ec; color: #126b45; }
.fs-lines { list-style: none; padding: 10px 0 0; margin: 12px 0 0; border-top: 1px dashed var(--fs-rule); }
.fs-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 3px 0; color: var(--fs-ink-2); }
.fs-lines b { color: var(--fs-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fs-notes { margin-top: 12px; border: 1px solid var(--fs-line-2); border-radius: 12px; padding: 12px 16px; font-size: 14.5px; }
.fs-notes b { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #ff8b6b; }
.fs-notes ul { margin: 6px 0 0; padding-left: 18px; line-height: 1.5; }
.fs-accuracy { margin-top: 12px !important; font-size: 13.5px; line-height: 1.55; border-left: 3px solid var(--fs-amber); padding-left: 12px; color: var(--fs-dim); }
.fs-learn { margin-top: 16px; padding: 14px 0 0; border-top: 1px solid var(--fs-line); }
.fs-learn b { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fs-dim); }
.fs-learn p { font-size: 16px; line-height: 1.55; margin-top: 4px !important; }

/* evidence card: real article with the publisher's preview image */
.fs-news { margin-top: 18px; background: #f6f3ec; color: var(--fs-ink); border-radius: 16px; overflow: hidden; border: 1px solid #e2dccd; border-left: 5px solid var(--fs-red); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); display: grid; grid-template-columns: minmax(0, 1fr); animation: fs-in .45s .1s var(--ease, ease) both; }
.fs-news.has-img { grid-template-columns: minmax(0, 210px) minmax(0, 1fr); }
.fs-news-img { position: relative; display: block; background: #d9d4c7; min-height: 150px; }
.fs-news-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease, ease); }
.fs-news-img:hover img { transform: scale(1.04); }
.fs-news-badge { position: absolute; left: 10px; bottom: 10px; background: var(--fs-ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 4px 8px; border-radius: 6px; }
.fs-news-body { padding: 14px 18px 14px; min-width: 0; }
.fs-news-h a { color: inherit; text-decoration: none; }
.fs-news-h a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fs-news-tag { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a2a12; }
.fs-news-pub { font-size: 12.5px; margin-top: 6px !important; color: var(--fs-ink-2); }
.fs-news-pub b { color: var(--fs-ink); }
.fs-news-h { font: 700 18px/1.3 Georgia, "Times New Roman", serif; margin-top: 4px !important; }
.fs-news-s { font-size: 14px; line-height: 1.5; margin-top: 6px !important; }
.fs-news-c { font-size: 12.5px; color: var(--fs-ink-2); margin-top: 6px !important; }
.fs-news-f { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 10px !important; font-size: 12.5px; color: var(--fs-ink-2); }
.fs-news-f a { color: #b11f08; font-weight: 600; }

/* ---------- cards (visual column) ---------- */
.fs-card { background: var(--fs-paper); color: var(--fs-ink); border-radius: 18px; padding: 20px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); position: relative; animation: fs-card .5s var(--ease, ease) both; }
.fs-card-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fs-ink-2); display: flex; gap: 8px; align-items: center; }
.fs-card .fs-card-foot { color: var(--fs-ink-2); }
.fs-card h3 { font-size: 20px; margin: 10px 0 8px; }
.fs-mini-dl { margin-top: 12px; }
.fs-mini-dl div { border-bottom-color: var(--fs-rule); }
.fs-mini-dl dt { color: var(--fs-ink-2); }
.fs-call-who { font: 600 30px/1.1 var(--font-head, Inter); margin-top: 12px !important; }
.fs-call-who small { display: block; font-size: 13px; font-weight: 500; color: var(--fs-ink-2); margin-top: 4px; }
.fs-ask { margin-top: 16px !important; font-weight: 700; font-size: 18px; color: #b11f08; }
.fs-stamp { display: inline-block; margin-top: 16px !important; border: 3px solid var(--fs-red); color: var(--fs-red); font-weight: 800; font-size: 20px; letter-spacing: .04em; padding: 6px 14px; border-radius: 6px; transform: rotate(-4deg); animation: fs-stamp .35s var(--ease, ease) both; }
.fs-stamp-dark { border-color: var(--fs-ink); color: var(--fs-ink); }

/* floor map */
.fs-floor-q { font-size: 15px; font-weight: 600; margin-top: 8px !important; }
.fs-lines-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 14px; }
.fs-line { background: #f3f4f6; border: 2px solid transparent; border-radius: 10px; min-height: 66px; padding: 6px 4px; display: grid; place-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--fs-ink); }
.fs-line i { width: 14px; height: 14px; border-radius: 50%; background: #c4c8ce; }
.fs-line.s-unknown i { background: transparent; border: 2px dashed #9aa0a8; }
.fs-line.s-unknown { color: #6a707a; }
.fs-line.s-ok i { background: #1c9a63; }
.fs-line.s-materials i { background: #e39400; }
.fs-line.s-maint i, .fs-line.s-delayed i, .fs-line.s-behind i { background: var(--fs-red); }
.fs-line[aria-current="true"] { border-color: var(--fs-ink); }
.fs-floor-out { min-height: 44px; margin-top: 12px !important; font-size: 14.5px; line-height: 1.45; }

/* maintenance timeline */
.fs-tl-list { list-style: none; padding: 0; margin: 14px 0 0; }
.fs-tl-pt { display: grid; grid-template-columns: 62px 1fr; gap: 10px; align-items: center; font-size: 14.5px; }
.fs-tl-pt time { font-weight: 700; font-variant-numeric: tabular-nums; background: var(--fs-ink); color: #fff; border-radius: 6px; padding: 4px 0; text-align: center; font-size: 13px; }
.fs-tl-gap { padding: 4px 0 4px 72px; }
.fs-tl-gap button { width: 100%; display: flex; align-items: center; gap: 10px; background: #f3f4f6; border: 2px solid transparent; border-radius: 10px; padding: 8px 12px; min-height: 44px; font-size: 13.5px; font-weight: 600; }
.fs-tl-gap button i { height: 8px; border-radius: 4px; background: #9aa0a8; width: calc(var(--w) * 4px); max-width: 60%; }
.fs-tl-gap button:hover { border-color: var(--fs-ink); }
.fs-tl-gap button[aria-pressed="true"] { border-color: var(--fs-ink); }
.fs-tl-gap button.is-max i { background: var(--fs-red); }
.fs-tl-gap button.is-max { background: #ffe9e4; }
.fs-tl-out { min-height: 22px; margin-top: 12px !important; font-size: 14.5px; line-height: 1.5; font-weight: 500; }

/* people */
.fs-person { width: 120px; height: 120px; display: block; margin: 0 auto 8px; }
.fs-person .sk { fill: #c98e6b; }
.fs-person .hr { fill: #1b1b1f; }
.fs-person .cl { fill: var(--fs-red); }
.fs-box rect { fill: #f6d68a; stroke: #8a6a1a; stroke-width: 2; }
.fs-box path { stroke: #8a6a1a; stroke-width: 2; }
.fs-box { animation: fs-drop .5s .3s var(--ease, ease) both; }
.fs-people .fs-card-h { justify-content: center; }
.fs-crit { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.fs-crit li { background: #e3f6ec; color: #126b45; border-radius: 999px; padding: 5px 10px; font-size: 13px; font-weight: 600; }
.fs-crit li.contested { background: #fff2dc; color: #8a5a00; }
.fs-q-big { text-align: center; font: 700 64px/1 var(--font-head, Inter); color: #c4c8ce; margin-top: 8px !important; }
.fs-payoff { text-align: center; font: 600 22px/1.3 var(--font-head, Inter); margin-top: 14px !important; }
.fs-app[data-lang="bn"] .fs-payoff { font-family: var(--fs-bn); }
.fs-people .fs-card-foot { text-align: center; }

/* email + trace */
.fs-mail-h { font-size: 13px; line-height: 1.6; color: var(--fs-ink-2); border-bottom: 1px solid var(--fs-rule); padding-bottom: 10px; }
.fs-mail-h b { color: var(--fs-ink); }
.fs-mail-b { font-size: 15.5px; line-height: 1.55; margin-top: 12px !important; }
.fs-silos { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.fs-silos li { background: #f3f4f6; border-radius: 8px; padding: 10px 4px; text-align: center; font-size: 11.5px; font-weight: 600; transform: rotate(calc((var(--i) - 2) * 2deg)); }
.fs-silos small { display: block; color: #1c7a47; font-weight: 700; margin-top: 2px; }
.fs-chain { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 0; }
.fs-node { background: var(--fs-ink); color: #fff; border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: 14.5px; }
.fs-node.warn { background: #3a1610; }
.fs-link-seg { height: 30px; margin-left: 26px; border-left: 3px solid #1c9a63; padding-left: 12px; display: flex; align-items: center; font-size: 12.5px; font-weight: 700; }
.fs-link-seg.broken { border-left: 3px dashed var(--fs-red); color: var(--fs-red); }
.fs-trace.run .fs-link-seg { animation: fs-in .3s calc(var(--i) * .25s) both; }
.fs-trace-out { font-size: 14.5px; line-height: 1.5; font-weight: 500; }

/* ledger */
.fs-power { color: #b11f08; }
.fs-led { list-style: none; padding: 0; margin: 0; }
.fs-led li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--fs-rule); font-size: 14px; animation: fs-in .3s both; }
.fs-led li b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.fs-led li.start b { color: #126b45; }
.fs-led li.total { border-bottom: 0; border-top: 2px solid var(--fs-ink); margin-top: 4px; font-weight: 700; font-size: 16px; }
.fs-led li.total.neg b { color: var(--fs-red); }
.fs-led li.logistics b, .fs-led li.discount b { color: #b11f08; }
.fs-led-pct { margin-top: 10px !important; font-weight: 700; color: #b11f08; }

/* board */
.fs-board-q { margin-top: 10px !important; font-weight: 600; }
.fs-built { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.fs-built li { font-size: 14.5px; }
.fs-built li.yes { color: #126b45; font-weight: 600; }
.fs-built li.no { color: #8a8f98; }
.fs-board-n { margin-top: 18px !important; display: flex; align-items: baseline; gap: 10px; font-weight: 600; }
.fs-board-n span { font: 700 64px/1 var(--font-head, Inter); color: var(--fs-red); }

/* ---------- reveal ---------- */
.fs-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--fs-bg-2); border: 1px solid var(--fs-line-2); border-radius: 999px; padding: 4px; margin-top: 20px; }
.fs-switch button { position: relative; z-index: 1; background: none; border: 0; padding: 10px 12px; min-height: 44px; font-weight: 600; font-size: 14px; color: var(--fs-dim); border-radius: 999px; transition: color .25s; }
.fs-switch button[aria-pressed="true"] { color: #fff; }
.fs-switch-knob { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--fs-red); transition: transform .35s var(--ease, ease); }
.fs-switch button[data-view="now"][aria-pressed="true"] ~ .fs-switch-knob { transform: translateX(100%); }
.fs-compare { position: relative; margin-top: 14px; }
.fs-flow { list-style: none; padding: 0; margin: 0; display: none; }
.v-then .fs-flow.then, .v-now .fs-flow.now { display: block; animation: fs-in .35s both; }
.fs-flow li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: center; padding: 10px 14px; border-left: 3px solid var(--fs-line-2); margin-left: 10px; font-size: 15px; }
.fs-flow li time { font-weight: 700; font-variant-numeric: tabular-nums; }
.fs-flow.then li { border-left-color: rgba(255, 255, 255, .25); color: var(--fs-dim); }
.fs-flow.then li:last-child { border-left-style: dashed; }
.fs-flow.now li { border-left-color: var(--fs-green); }
.fs-flow.now li time { color: var(--fs-green); }
.fs-big-line { font: 700 clamp(26px, 3.6vw, 44px)/1.12 var(--font-head, Inter); letter-spacing: -.02em; text-transform: uppercase; margin-top: 40px !important; }
.fs-big-line span { color: var(--fs-red-2); }
.fs-app[data-lang="bn"] .fs-big-line { text-transform: none; line-height: 1.35; font-family: var(--fs-bn); }
.fs-product { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: center; margin-top: 26px; }
.fs-photo { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--fs-line-2); }
.fs-photo img { width: 100%; height: auto; display: block; }
.fs-product-n { font: 700 26px/1.15 var(--font-head, Inter); }
.fs-product-by { color: #ff8b6b; font-weight: 600; font-size: 14px; margin: 4px 0 8px !important; }
.fs-product-t > p:last-child { color: var(--fs-dim); }
.fs-term { margin-top: 24px; background: #1d2630; border: 1px solid var(--fs-line-2); border-radius: 22px; padding: 14px; box-shadow: inset 0 0 0 6px #121920; }
.fs-term-screen { background: #0c131a; border-radius: 12px; padding: 14px 16px; min-height: 150px; border: 1px solid rgba(60, 207, 145, .25); }
.fs-term-top { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--fs-dim); border-bottom: 1px solid var(--fs-line); padding-bottom: 8px; }
.fs-term-top span { color: var(--fs-green); font-weight: 700; }
.fs-term-body { padding-top: 12px; font-size: 16px; line-height: 1.55; animation: fs-in .3s both; }
.fs-term-body b { color: var(--fs-green); font-size: 1.15em; }
.fs-term-body small { color: var(--fs-dim); font-size: 12.5px; }
.fs-term-idle { color: var(--fs-dim); }
.fs-concept { display: inline-block; font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--fs-amber); color: var(--fs-ink); border-radius: 6px; padding: 3px 8px; margin-bottom: 8px; }
.fs-meter-lg { height: 8px; margin-top: 10px; }
.fs-meter-lg i { background: var(--fs-green); }
.fs-term-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.fs-term-keys button { display: flex; align-items: center; gap: 8px; background: #26313c; border: 1px solid transparent; border-radius: 10px; padding: 10px; min-height: 52px; font-size: 13.5px; font-weight: 600; text-align: left; }
.fs-term-keys button:hover { border-color: var(--fs-line-2); }
.fs-term-keys button[aria-pressed="true"] { background: var(--fs-red); }
.fs-term-keys svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fs-position { font: 600 22px/1.3 var(--font-head, Inter); margin-top: 34px !important; }
.fs-app[data-lang="bn"] .fs-position { font-family: var(--fs-bn); }
.fs-erp { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fs-erp li { background: var(--fs-bg-2); border: 1px solid var(--fs-line-2); border-radius: 999px; padding: 7px 12px; font-size: 13.5px; font-weight: 600; position: relative; animation: fs-in .3s calc(var(--i) * .08s) both; }
.fs-erp li:first-child { background: var(--fs-red); border-color: var(--fs-red); }
.fs-erp li + li::before { content: "→"; position: absolute; left: -9px; top: 50%; transform: translate(-50%, -50%); color: var(--fs-dim); font-size: 12px; }
.fs-erp li + li { margin-left: 12px; }

/* ---------- results ---------- */
.fs-outcome { margin-top: 20px; border-radius: 18px; padding: 22px; border: 1px solid var(--fs-line-2); background: var(--fs-bg-2); }
.fs-outcome.o-highrisk { border-color: rgba(226, 38, 11, .7); background: linear-gradient(135deg, rgba(226, 38, 11, .22), var(--fs-bg-2)); }
.fs-outcome.o-fragmented { border-color: rgba(255, 181, 71, .6); background: linear-gradient(135deg, rgba(255, 181, 71, .14), var(--fs-bg-2)); }
.fs-outcome.o-connected { border-color: rgba(60, 207, 145, .6); background: linear-gradient(135deg, rgba(60, 207, 145, .14), var(--fs-bg-2)); }
.fs-outcome-l { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fs-dim); }
.fs-outcome-h { font: 600 24px/1.25 var(--font-head, Inter); margin: 6px 0 8px !important; }
.fs-app[data-lang="bn"] .fs-outcome-h { font-family: var(--fs-bn); }
.fs-outcome > p:last-child { color: var(--fs-dim); line-height: 1.6; }
.fs-res-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; margin-top: 16px; }
.fs-res-grid .fs-card { box-shadow: none; animation: none; }
.fs-status dl div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--fs-rule); font-size: 14px; }
.fs-status dt { color: var(--fs-ink-2); }
.fs-status dd small { color: var(--fs-ink-2); font-weight: 500; }
.fs-avoid { margin-top: 14px; background: #ffe9e4; border-radius: 12px; padding: 12px 14px; }
.fs-avoid b { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #8a2a12; }
.fs-avoid p { font-size: 14.5px; margin-top: 4px !important; }
.fs-avoid strong { color: #b11f08; white-space: nowrap; }
.fs-avoid small { color: var(--fs-ink-2); font-size: 12.5px; }
.fs-sub { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff8b6b; margin: 28px 0 10px; }
.fs-decisions { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.fs-decisions li { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; background: var(--fs-bg-2); border: 1px solid var(--fs-line); border-radius: 12px; padding: 10px 14px; }
.fs-dec-n { width: 28px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.fs-dec-t { font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.fs-dec-t small { display: block; font-size: 12px; color: var(--fs-dim); font-weight: 500; }
.fs-closing { margin-top: 36px; }
.fs-closing > p:last-child { color: var(--fs-dim); font-size: 17px; line-height: 1.6; margin-top: 12px !important; }
.fs-cta { margin-top: 32px; background: #fff; color: var(--fs-ink); border-radius: 20px; padding: 24px; }
.fs-cta h3 { font-size: 26px; }
.fs-cta > p { color: var(--fs-ink-2); margin-top: 6px !important; }
.fs-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.fs-cta-card { display: grid; gap: 4px; padding: 16px; border-radius: 14px; border: 1px solid var(--fs-rule); text-decoration: none; color: var(--fs-ink); transition: border-color .2s, transform .2s; }
.fs-cta-card:hover { border-color: var(--fs-red); transform: translateY(-2px); }
.fs-cta-card b { font-size: 16px; }
.fs-cta-card span { font-size: 13.5px; color: var(--fs-ink-2); }
.fs-cta-card.primary { background: linear-gradient(135deg, var(--fs-red-2), #c80001); color: #fff; border: 0; }
.fs-cta-card.primary span { color: rgba(255, 255, 255, .9); }
.fs-cta-card.ghost { grid-column: 1 / -1; }
.fs-cta .fs-card-foot { color: var(--fs-ink-2); }
.fs-share { margin-top: 20px; }
.fs-share > b { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--fs-dim); }
.fs-share .fs-row { margin-top: 10px; }
.fs-copied { font-size: 13px; color: var(--fs-green); }
.fs-final { margin-top: 44px; padding: 32px 0 8px; border-top: 1px solid var(--fs-line); }
.fs-final-1 { font: 700 clamp(28px, 4vw, 48px)/1.1 var(--font-head, Inter); text-transform: uppercase; letter-spacing: -.02em; }
.fs-final-2 { font-size: clamp(20px, 2.4vw, 28px); color: var(--fs-red-2); margin-top: 8px !important; font-weight: 600; }
.fs-final-s { margin-top: 16px !important; color: var(--fs-dim); }
.fs-final-s b { color: #fff; margin-right: 6px; }
.fs-app[data-lang="bn"] .fs-final-1 { text-transform: none; font-family: var(--fs-bn); line-height: 1.3; }

/* ---------- text-only mode ---------- */
.fs-textmode .fs-news-img, .fs-textmode .fs-visual svg, .fs-textmode .fs-notify, .fs-textmode .fs-person, .fs-textmode .fs-photo, .fs-textmode .fs-meter, .fs-textmode .fs-silos { display: none; }
.fs-textmode *, .fs-textmode *::before { animation: none !important; transition: none !important; }
.fs-textmode .fs-stage { grid-template-columns: minmax(0, 760px); justify-content: center; }
.fs-textmode .fs-stage[data-screen="ch"] .fs-visual { order: 2; position: static; }
.fs-textmode .fs-stage[data-screen="intro"] .fs-visual { display: none; }
.fs-textmode .fs-card { box-shadow: none; }
.fs-textmode .fs-product { grid-template-columns: 1fr; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .fs-stage { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fs-visual { position: static; }
  .fs-stage[data-screen="intro"] .fs-visual { max-width: 460px; }
  .fs-stage[data-screen="ch"] .fs-visual { order: 2; }
  .fs-dash { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
  .fs-ind { padding: 7px 7px 8px; border-radius: 10px; }
  .fs-long { display: none; }
  .fs-short { display: inline; }
  .fs-app[data-lang="bn"] .fs-ind-l { font-size: 11px; }
  .fs-ind-l { font-size: 10px; letter-spacing: 0; white-space: normal; line-height: 1.15; min-height: 2.3em; overflow-wrap: anywhere; }
  .fs-ind strong { font-size: 14.5px; }
  .fs-meter { margin-top: 5px; height: 3px; }
  .fs-product { grid-template-columns: 1fr; }
  .fs-res-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .fs { padding-top: 14px; }
  .fs-app { padding: 0 16px; }
  .fs-dash { position: sticky; top: calc(var(--header-h, 72px) + 4px); z-index: 5; background: var(--fs-bg); padding: 4px 0; }
  .fs-ind strong { font-size: 13px; }
  .fs-ind-l { font-size: 9.5px; }
  .fs-steps { margin: 12px 0 16px; gap: 4px; }
  .fs-steps li { height: 22px; font-size: 10.5px; }
  .fs-facts { grid-template-columns: 1fr; }
  .fs-lines-grid { grid-template-columns: repeat(4, 1fr); }
  .fs-term-keys { grid-template-columns: repeat(2, 1fr); }
  .fs-cta-grid { grid-template-columns: 1fr; }
  .fs-news.has-img { grid-template-columns: 1fr; }
  .fs-news-img { aspect-ratio: 1.91 / 1; min-height: 0; }
  .fs-silos { grid-template-columns: repeat(3, 1fr); }
  .fs-quote blockquote { font-size: 17px; }
  .fs-tl-gap { padding-left: 0; }
  .fs-card { padding: 16px; }
  .fs-notify { right: 4%; top: 4%; }
  .fs-decisions li { grid-template-columns: 28px 1fr; }
  .fs-decisions li .fs-link { grid-column: 2; padding: 0; }
  .fs-erp li + li { margin-left: 10px; }
  .fs-tools { width: 100%; }
}

/* ---------- motion ---------- */
@keyframes fs-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fs-card { from { opacity: 0; transform: translateY(18px) rotate(-1deg); } to { opacity: 1; transform: none; } }
@keyframes fs-drop { from { opacity: 0; transform: translateY(-16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fs-stamp { from { opacity: 0; transform: scale(1.6) rotate(-4deg); } to { opacity: 1; transform: scale(1) rotate(-4deg); } }
@keyframes fs-bump { 30% { transform: translateY(-3px); border-color: var(--fs-red-2); } }
@keyframes fs-pulse { 50% { box-shadow: 0 0 0 7px rgba(226, 38, 11, 0); } }
@keyframes fs-ring { 70% { box-shadow: 0 0 0 10px rgba(60, 207, 145, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 207, 145, 0); } }
@keyframes fs-lineon { from { fill: #0f161d; stroke: transparent; } }
@keyframes fs-dot-on { from { fill: #0f161d; } }
@keyframes fs-lamp { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .fs *, .fs *::before, .fs *::after { animation: none !important; transition: none !important; }
}

.fs-app[data-lang="bn"] .fs-steps li { font-size: 14px; color: #fff; }
