/* Investor presentation · /pitch
   Standalone stylesheet: one dark canvas, white type, one warm accent for the numbers that matter.
   Display: Urbanist (self-hosted). Reading text: Inter. */

:root {
  --bg: #060607;
  --bg-edge: #030304;
  --card: #111114;
  --card-2: #18181c;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, .74);
  --ink-3: rgba(255, 255, 255, .56);
  --acc: #fe881b;
  --acc-2: #ffb340;
  --acc-soft: rgba(254, 136, 27, .12);
  --vio: #b997ff;
  --pos: #ffb340;
  --grad: linear-gradient(100deg, #ca45ff 0%, #fe881b 58%, #ffb340 100%);

  --f-display: 'Urbanist', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-text: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --fs-h1: clamp(46px, 6.2vw, 104px);
  --fs-h2: clamp(34px, 3.8vw, 62px);
  --fs-sub: clamp(18px, 1.35vw, 22px);
  --fs-body: clamp(17px, 1.18vw, 19px);
  --fs-card: clamp(22px, 1.65vw, 27px);
  --fs-big: clamp(76px, 10.5vw, 172px);
  --fs-num: clamp(26px, 2.2vw, 36px);
  --fs-small: 14.5px;

  --r: 22px;
  --r-sm: 14px;
  --pad-x: clamp(20px, 5vw, 88px);
  --bar-h: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.num, b, .big-n, .rev-n { font-variant-numeric: tabular-nums lining-nums; }

/* ---------------------------------------------------------------- top bar */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 40;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 20px;
  padding: 0 var(--pad-x);
  background: rgba(6, 6, 7, .78);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.bar-brand svg { width: 30px; height: 30px; }
.bar-brand span { font-family: var(--f-display); font-weight: 700; font-size: 16px; line-height: 1.15; letter-spacing: -.005em; white-space: nowrap; }
.bar-brand small { display: block; font-family: var(--f-text); font-weight: 500; font-size: 12.5px; color: var(--ink-3); letter-spacing: .01em; }
.bar-now { flex: 1; display: flex; justify-content: center; align-items: baseline; gap: 10px; font-size: 15px; color: var(--ink-2); min-width: 0; }
.bar-now b { font-family: var(--f-display); font-weight: 700; color: var(--acc); font-size: 15px; }
.bar-now span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-act { display: flex; gap: 8px; }
.bar-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--line-2); font-size: 15px; font-weight: 500;
  transition: background .2s, border-color .2s;
}
.bar-btn svg { width: 18px; height: 18px; }
.bar-btn:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); }
.bar-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.bar-prog i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--acc); transition: transform .35s var(--ease); }

/* ---------------------------------------------------------------- slides */
.sl {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: calc(var(--bar-h) + clamp(20px, 3.4vh, 44px)) var(--pad-x) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 0;
  overflow: hidden;
}
.sl-in { flex: 1; width: 100%; max-width: 1320px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; gap: clamp(22px, 3.4vh, 40px); padding-bottom: clamp(20px, 3.2vh, 40px); position: relative; z-index: 1; }
.sl-ft {
  position: relative; z-index: 1;
  width: 100%; max-width: 1320px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding: 16px 0 18px; border-top: 1px solid var(--line);
  font-size: var(--fs-small); line-height: 1.45; color: var(--ink-3);
}
.sl-ft .src { max-width: 860px; }
.sl-ft .url { white-space: nowrap; font-weight: 600; color: var(--ink-2); display: inline-flex; gap: 14px; }
.sl-ft .url::before { content: attr(data-n); color: var(--acc); font-variant-numeric: tabular-nums; }

.kicker { font-family: var(--f-text); font-size: 14.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.sl-hd { display: grid; gap: 16px; max-width: 1080px; }
.sl-hd h2 { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.028em; text-wrap: balance; }
.sub { font-size: var(--fs-sub); line-height: 1.5; color: var(--ink-2); max-width: 780px; text-wrap: pretty; }
.hl { color: var(--acc); white-space: nowrap; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.punch { font-family: var(--f-display); font-size: clamp(22px, 1.9vw, 30px); font-weight: 600; line-height: 1.3; letter-spacing: -.012em; color: var(--ink); padding-left: 22px; border-left: 3px solid var(--acc); max-width: 900px; }
.note { font-size: var(--fs-body); color: var(--ink-3); max-width: 900px; }
.mt { margin-top: 4px; }
.lnk { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; font-weight: 500; }
.lnk:hover { text-decoration-color: var(--acc); }
kbd { display: inline-grid; place-items: center; min-width: 30px; height: 28px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 8px; font-family: var(--f-text); font-size: 14px; }

/* ---------------------------------------------------------------- cards */
.grid { display: grid; gap: clamp(14px, 1.4vw, 22px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(24px, 2.2vw, 36px);
  display: flex; flex-direction: column; gap: 14px;
}
.card h3, .stk h3, .rk h3, .road h3, .flow h3, .shot h3 { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-card); line-height: 1.15; letter-spacing: -.015em; }
.card p, .stk p, .rk p, .road p, .flow p, .shot p, .steps p { color: var(--ink-2); text-wrap: pretty; }
.card.flat { background: transparent; border-color: var(--line); }
.card.accent { border-color: rgba(254, 136, 27, .5); background: linear-gradient(180deg, rgba(254, 136, 27, .07), rgba(254, 136, 27, 0) 60%), var(--card); }
.ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); }
.ico svg { width: 26px; height: 26px; }
.ico.sm { width: 44px; height: 44px; border-radius: 12px; }
.ico.sm svg { width: 22px; height: 22px; }

/* ---------------------------------------------------------------- title */
.sl-title { justify-content: center; }
.ttl-ph { position: absolute; inset: 0; z-index: 0; }
.ttl-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: grayscale(.35) contrast(1.05); opacity: .42; }
.ttl-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 18%, rgba(6, 6, 7, .82) 52%, rgba(6, 6, 7, .45) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(6, 6, 7, 0) 40%); }
.ttl-h { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-h1); line-height: 1.0; letter-spacing: -.035em; max-width: 1100px; }
.ttl-lead { font-size: clamp(19px, 1.5vw, 24px); line-height: 1.5; color: var(--ink-2); max-width: 760px; }
.ttl-facts { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 72px); padding-top: 8px; }
.ttl-facts li { display: grid; gap: 4px; }
.ttl-facts b { font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 4vw, 64px); line-height: 1; letter-spacing: -.03em; }
.ttl-facts span { font-size: 16px; color: var(--ink-3); }
.ttl-hint { font-size: 16px; color: var(--ink-3); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- split layouts */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 3vw, 56px); align-items: start; }
.split.wide { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.big { display: grid; gap: 14px; align-content: center; min-height: 100%; }
.big-n { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-big); line-height: .92; letter-spacing: -.045em; color: var(--acc); }
.big-l { font-size: var(--fs-sub); color: var(--ink-2); max-width: 520px; }

.sum, .calc, .tbl, .pl, .vs { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(10px, 1vw, 16px) clamp(22px, 2vw, 34px); }
.sum-row, .calc-row, .tbl-row, .pl-row, .kpi {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: clamp(12px, 1.7vh, 17px) 0; border-bottom: 1px solid var(--line);
}
.sum-row span, .calc-row > span, .tbl-row span, .pl-row span { color: var(--ink-2); }
.sum-row b, .calc-row b, .tbl-row b, .pl-row b { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 1.7vw, 28px); letter-spacing: -.015em; white-space: nowrap; }
.calc-row small { display: block; font-size: 15px; color: var(--ink-3); margin-top: 2px; }
.sum-row.tot, .calc-row.tot, .tbl-row.tot, .pl-row.tot { border-bottom-color: var(--line-2); }
.sum-row.tot span, .calc-row.tot span, .tbl-row.tot span, .pl-row.tot span { color: var(--ink); font-weight: 600; }
.sum-row.tot b, .calc-row.tot b { color: var(--acc); font-size: clamp(28px, 2.4vw, 40px); }
.calc-row.sub2 b { font-size: clamp(20px, 1.5vw, 24px); }
.calc-row.sub2:last-child, .tbl-row:last-child, .pl-row:last-child { border-bottom: 0; }
.sum-note { padding: 16px 0 12px; font-size: 16px; color: var(--ink-3); }
b.pos { color: var(--ink); }
b.neg { color: var(--ink-3); }
.acc { color: var(--acc); }

/* editors */
.edit { display: grid; gap: 10px; align-content: start; }
.edit-h { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; margin-bottom: 4px; }
.fld { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 8px 8px 8px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); transition: border-color .2s; }
.fld:focus-within { border-color: rgba(254, 136, 27, .65); }
.fld > span:first-child { font-size: 16px; color: var(--ink-2); line-height: 1.3; }
.fld-v { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 14px; border-radius: 10px; background: var(--card-2); }
.fld-v i { font-style: normal; color: var(--ink-3); font-size: 17px; }
.fld input { width: 7.2ch; min-width: 0; border: 0; outline: 0; background: transparent; text-align: right; font-family: var(--f-display); font-weight: 700; font-size: 21px; font-variant-numeric: tabular-nums; }
.fld.big-in { padding: 0; background: none; border: 0; }
.fld.big-in .fld-v { width: 100%; height: 58px; border: 1px solid var(--line-2); justify-content: flex-start; padding: 0 18px; }
.fld.big-in .fld-v:focus-within { border-color: rgba(254, 136, 27, .65); }
.fld.big-in input { flex: 1; width: 0; text-align: left; font-size: 26px; }
.fld-lab { font-size: 16px; color: var(--ink-2); margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { height: 42px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 15.5px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.chips button:hover { border-color: rgba(255, 255, 255, .32); color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.also { font-size: 16.5px; color: var(--ink-3); padding-top: 6px; }
.also b { color: var(--ink); }
.kpi { padding: 14px 4px; }
.kpi span { color: var(--ink-3); font-size: 16px; }
.kpi b { font-family: var(--f-display); font-weight: 700; font-size: 26px; }

/* ---------------------------------------------------------------- why now */
.cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cal li { padding: clamp(20px, 2vw, 30px); display: grid; gap: 6px; align-content: start; border-right: 1px solid var(--line); background: var(--card); }
.cal li:last-child { border-right: 0; }
.cal b { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 2.6vw, 44px); letter-spacing: -.03em; line-height: 1; }
.cal .cal-n { font-weight: 600; font-size: 17px; color: var(--ink); margin-top: 6px; }
.cal .cal-s { font-size: 15.5px; color: var(--ink-3); line-height: 1.45; }
.cal li.on { background: linear-gradient(180deg, rgba(254, 136, 27, .12), rgba(254, 136, 27, .02)), var(--card); }
.cal li.on b { color: var(--acc); }

/* ---------------------------------------------------------------- solution */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 clamp(14px, 1.6vw, 28px) 0 0; display: grid; gap: 14px; align-content: start; }
.steps li::after { content: ""; position: absolute; top: 26px; left: 64px; right: 12px; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.steps li:last-child::after { display: none; }
.steps b { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 2.6vw, 42px); letter-spacing: -.025em; line-height: 1; margin-top: 8px; }
.steps .ico { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- how it works */
.how { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(20px, 3vw, 48px); align-items: stretch; }
.how-ph { position: relative; border-radius: var(--r); overflow: hidden; min-height: 320px; }
.how-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.how-ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; font-size: 16px; line-height: 1.4; background: linear-gradient(0deg, rgba(0, 0, 0, .82), transparent); }
.flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.flow li { display: flex; gap: 18px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); }
.flow li > b { font-family: var(--f-display); font-weight: 700; font-size: 18px; color: var(--acc); padding-top: 4px; }
.flow li div { display: grid; gap: 6px; }
.flow h3 { font-size: clamp(21px, 1.5vw, 24px); }
.flow p { font-size: 16.5px; }

/* ---------------------------------------------------------------- product */
.shot { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.shot-img { aspect-ratio: 16 / 10; overflow: hidden; background: #0b0b0d; border-bottom: 1px solid var(--line); }
.shot-img img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; transition: transform .6s var(--ease); }
.shot:hover .shot-img img { transform: scale(1.03); }
.shot figcaption { display: grid; gap: 10px; padding: clamp(20px, 1.8vw, 28px); }
.cta-line { display: flex; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 24px; border-radius: 14px;
  background: var(--ink); color: var(--bg); font-weight: 600; font-size: 17px; text-decoration: none;
  transition: transform .2s var(--ease), background .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { background: #f1eee9; }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn.ghost:hover { background: rgba(255, 255, 255, .06); }
.btn.full { width: 100%; justify-content: center; }

/* ---------------------------------------------------------------- buyers */
.beyond { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 22px 26px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.beyond-h { font-weight: 600; }
.beyond ul { display: flex; flex-wrap: wrap; gap: 10px; }
.beyond li { padding: 8px 14px; border-radius: 999px; background: var(--card-2); color: var(--ink-2); font-size: 16px; }

/* ---------------------------------------------------------------- market staircase */
.stairs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); align-items: end; min-height: 380px; }
.stairs li { display: grid; gap: 6px; align-content: end; }
.st-bar { height: calc(var(--h, .1) * 260px); min-height: 34px; border-radius: 14px 14px 4px 4px; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); border: 1px solid var(--line-2); margin-bottom: 12px; transition: height .6s var(--ease); }
.stairs li:first-child .st-bar { background: linear-gradient(180deg, var(--acc), rgba(254, 136, 27, .35)); border-color: transparent; }
.stairs b { font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 3vw, 52px); letter-spacing: -.03em; line-height: 1; }
.st-name { font-size: 16px; color: var(--ink-2); line-height: 1.35; }
.st-v { font-family: var(--f-display); font-weight: 700; font-size: clamp(18px, 1.35vw, 22px); color: var(--acc); }

/* ---------------------------------------------------------------- business model */
.rev .card { gap: 16px; }
.rev-n { font-size: 14.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.rev .card p:not(.rev-n) { flex: 1; }

/* ---------------------------------------------------------------- P&L */
.pl-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 16px; padding: 16px 0 10px; font-size: 14.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line-2); }
.pl-cols span:not(:first-child) { text-align: right; }
.pl-row { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 16px; padding: clamp(10px, 1.5vh, 15px) 0; }
.pl-row b { text-align: right; font-size: clamp(20px, 1.5vw, 25px); }
.pl-row.cost b { color: var(--ink-3); }
.pl-row.hl2 b { color: var(--acc); font-size: clamp(26px, 2.2vw, 36px); }
.pl-row.mg b { font-size: clamp(20px, 1.5vw, 24px); }

/* ---------------------------------------------------------------- cost compare */
.vs { padding-top: clamp(18px, 1.8vw, 26px); padding-bottom: clamp(18px, 1.8vw, 26px); display: grid; gap: clamp(14px, 2vh, 22px); }
.vs-row { display: grid; gap: 10px; }
.vs-lab { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.vs-lab span { color: var(--ink-2); }
.vs-lab b { white-space: nowrap; font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 2.2vw, 38px); letter-spacing: -.02em; }
.vs-track { height: 18px; border-radius: 999px; background: var(--card-2); overflow: hidden; }
.vs-bar { display: block; height: 100%; width: 100%; border-radius: inherit; transform-origin: 0 50%; transition: transform .6s var(--ease); }
.vs-bar.old { background: rgba(255, 255, 255, .34); }
.vs-bar.new { background: var(--acc); }
.vs-row small { font-size: 15px; color: var(--ink-3); }
.vs-save { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0 4px; border-top: 1px solid var(--line-2); }
.vs-save span { font-weight: 600; }
.vs-save b { white-space: nowrap; font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 2.4vw, 40px); color: var(--acc); }
.how3 { display: grid; gap: 10px; padding-top: 6px; }
.how3 li { font-size: 16px; color: var(--ink-2); padding-left: 18px; position: relative; }
.how3 li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
.how3 b { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- tech stack */
.stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); }
.stk { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 2vw, 32px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }

/* ---------------------------------------------------------------- maintenance */
.tbl-row.inc b { color: var(--ink); }
.tbl-row.cover span { color: var(--ink); font-weight: 600; }
.tbl-row.cover b { color: var(--acc); font-size: clamp(28px, 2.4vw, 40px); }
.ticks { display: grid; gap: 12px; margin-bottom: 8px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-size: 17px; color: var(--ink-2); }
.ticks svg { width: 22px; height: 22px; color: var(--acc); }

/* ---------------------------------------------------------------- comparison */
.cmp { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); }
.cmp-r { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.cmp-r:last-child { border-bottom: 0; }
.cmp-r > span { padding: 16px 20px; display: flex; align-items: center; font-size: 16.5px; color: var(--ink-3); }
.cmp-r > span:not(:first-child) { justify-content: center; text-align: center; }
.cmp-r > span[role="rowheader"] { color: var(--ink); font-weight: 500; }
.cmp-h > span { font-size: 14.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.cmp .us { background: var(--acc-soft); }
.cmp-h .us { color: var(--acc); }
.cmp svg { width: 24px; height: 24px; }
.cmp svg.yes { color: var(--acc); }
.cmp svg.no { color: rgba(255, 255, 255, .3); }

/* ---------------------------------------------------------------- risks */
.risks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); }
.rk { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 2vw, 30px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.rk p { display: flex; gap: 10px; }
.rk p svg { width: 20px; height: 20px; color: var(--acc); margin-top: 3px; }

/* ---------------------------------------------------------------- roadmap */
.road { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: linear-gradient(90deg, var(--acc) 0%, var(--acc) 58%, var(--line-2) 58%); }
.road li { position: relative; display: grid; gap: 10px; align-content: start; padding: 40px clamp(12px, 1.4vw, 24px) 0 0; }
.road li::before { content: ""; position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--acc); }
.road li:nth-child(n+4)::before { border-color: var(--line-2); }
.road b { font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.road li:nth-child(n+4) b { color: var(--ink-3); }

/* ---------------------------------------------------------------- sources */
.srcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.srcs h3 { font-family: var(--f-display); font-weight: 700; font-size: 21px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.srcs ul { display: grid; gap: 12px; }
.srcs li { font-size: 16px; color: var(--ink-2); line-height: 1.45; }

/* ---------------------------------------------------------------- close */
.sl-close .sl-in { align-items: flex-start; }
.cls-ph { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 0; }
.cls-ph img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: grayscale(.4); }
.cls-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(6, 6, 7, .55) 55%, var(--bg) 100%); }
.cls-h { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-h1); line-height: 1.0; letter-spacing: -.035em; }
.cls-lead { font-size: var(--fs-sub); color: var(--ink-2); }
.cls-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cls-url { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 42px); letter-spacing: -.02em; text-decoration: none; border-bottom: 2px solid var(--acc); padding-bottom: 6px; }
.cls-url svg { width: 30px; height: 30px; color: var(--acc); }
.cls-by { font-size: 16px; color: var(--ink-3); }

/* keep the floating slide controls clear of each slide's footer */
@media (min-width: 761px) { .sl-ft { padding-right: 190px; } }

/* ---------------------------------------------------------------- slide controls */
.ctl { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 3vh, 28px); z-index: 30; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 16px; background: rgba(17, 17, 20, .86); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ctl button { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; transition: background .2s; }
.ctl button:hover { background: rgba(255, 255, 255, .08); }
.ctl button:disabled { opacity: .3; cursor: default; background: none; }
.ctl svg { width: 22px; height: 22px; }
.ctl span { min-width: 62px; text-align: center; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-2); }

/* ---------------------------------------------------------------- sheets */
.sheet { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; }
.sheet[hidden] { display: none; }
.sheet-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .66); animation: fade .25s ease; }
.sheet-in { position: relative; width: min(1100px, 100%); max-height: calc(100vh - 40px); max-height: calc(100svh - 40px); overflow: auto; overscroll-behavior: contain; background: #0d0d10; border: 1px solid var(--line-2); border-radius: 24px; padding: clamp(22px, 3vw, 36px); animation: rise .35s var(--ease); }
.sheet-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.sheet-hd h2 { font-family: var(--f-display); font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.x { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); }
.x svg { width: 20px; height: 20px; }
.idx-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.idx-list a { display: grid; gap: 4px; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s; height: 100%; }
.idx-list a:hover { border-color: var(--line-2); }
.idx-list a[aria-current="true"] { border-color: var(--acc); }
.idx-list small { font-size: 14px; font-weight: 600; color: var(--acc); }
.idx-list span { font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.2; }
.sheet.side { place-items: stretch end; padding: 0; }
.sheet.side .sheet-in { width: min(500px, 100%); max-height: none; height: 100%; border-radius: 0; border-width: 0 0 0 1px; animation: slide .35s var(--ease); }
.asm-lead { color: var(--ink-2); font-size: 16.5px; margin-bottom: 20px; }
.asm-g { display: grid; gap: 10px; margin-bottom: 26px; }
.asm-g h3 { font-size: 14.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); margin-bottom: 2px; }
.asm-g .fld > span:first-child small { display: block; font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.asm-g .chips { margin: -2px 0 4px; }
.asm-g input { width: 9.5ch; }
.flash { animation: flash .9s ease; }

@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.985); } }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
@keyframes flash { 0% { color: var(--acc-2); } 100% { } }

/* ---------------------------------------------------------------- reveal */
.js .sl-in > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .sl.in .sl-in > * { opacity: 1; transform: none; }
.js .sl.in .sl-in > *:nth-child(2) { transition-delay: .08s; }
.js .sl.in .sl-in > *:nth-child(3) { transition-delay: .16s; }
.js .sl.in .sl-in > *:nth-child(4) { transition-delay: .22s; }
.js .sl.in .sl-in > *:nth-child(5) { transition-delay: .28s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .sl-in > * { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- desktop: snap to slides */
@media (min-width: 1100px) and (min-height: 700px) {
  html { scroll-snap-type: y proximity; }
  .sl { scroll-snap-align: start; }
}

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1099px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split.wide { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .how-ph { min-height: 0; height: clamp(220px, 42vw, 360px); }
  .how-ph img { object-position: 50% 60%; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .steps li::after { display: none; }
  .stack, .risks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .srcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .idx-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bar-now { display: none; }
  .bar-act { margin-left: auto; }
  .edit { max-width: 640px; }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 760px) {
  :root { --bar-h: 60px; --pad-x: 16px; --r: 18px; }
  body { font-size: 17px; }
  .bar { gap: 10px; }
  .bar-brand svg { width: 26px; height: 26px; }
  .bar-brand span { font-size: 15px; }
  .bar-brand small { font-size: 12px; }
  .bar-btn { width: 42px; padding: 0; justify-content: center; }
  .bar-btn span { display: none; }
  .sl { min-height: 0; padding-top: calc(var(--bar-h) + 36px); }
  .sl-in { gap: 26px; padding-bottom: 32px; justify-content: flex-start; }
  .sl-title, .sl-close { min-height: 100svh; }
  .sl-title .sl-in { justify-content: center; }
  .sl-ft { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 14px; }
  .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 22px; }
  .ttl-facts { gap: 22px 32px; }
  .ttl-ph::after { background: linear-gradient(0deg, var(--bg) 8%, rgba(6, 6, 7, .78) 60%, rgba(6, 6, 7, .55) 100%); }
  .cal { grid-template-columns: 1fr; }
  .cal li { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: 76px 1fr; column-gap: 14px; padding: 16px 18px; }
  .cal li:last-child { border-bottom: 0; }
  .cal b { font-size: 26px; grid-row: span 2; align-self: center; }
  .cal .cal-n { margin: 0; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps li { grid-template-columns: 52px 1fr; column-gap: 16px; padding: 0; }
  .steps li .ico { grid-row: span 2; }
  .steps b { margin: 0; font-size: 26px; align-self: end; }
  .flow { grid-template-columns: 1fr; }
  .flow li { padding: 18px; }
  .stairs { grid-template-columns: 1fr; min-height: 0; gap: 10px; }
  .stairs li { grid-template-columns: 1fr auto; align-items: center; gap: 2px 14px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; position: relative; overflow: hidden; }
  .st-bar { position: absolute; left: 0; top: 0; bottom: 0; height: auto !important; min-height: 0; width: calc(var(--h, .1) * 100%); margin: 0; border-radius: 0; border: 0; opacity: .5; }
  .stairs b { position: relative; font-size: 30px; }
  .st-name { position: relative; grid-column: 1; }
  .st-v { position: relative; grid-column: 2; grid-row: 1 / span 2; text-align: right; font-size: 18px; }
  .stack, .risks, .srcs { grid-template-columns: minmax(0, 1fr); }
  .sum, .calc, .tbl, .pl, .vs { padding-left: 18px; padding-right: 18px; }
  .sum-row, .calc-row, .tbl-row { padding: 15px 0; }
  .pl-cols, .pl-row { grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pl-cols { font-size: 12.5px; letter-spacing: .04em; }
  .pl-row span { font-size: 15.5px; }
  .pl-row b { font-size: 18px; }
  .pl-row.hl2 b { font-size: 19px; }
  .pl-row b { white-space: nowrap; }
  .cmp { overflow-x: auto; }
  .cmp-r { grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, .8fr)); }
  .cmp-r > span { padding: 12px 8px; font-size: 14.5px; }
  .cmp-r > span[role="rowheader"] { padding-left: 14px; }
  .cmp-h > span { font-size: 12px; letter-spacing: .03em; }
  .road { grid-template-columns: 1fr; }
  .road::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--acc) 0%, var(--acc) 58%, var(--line-2) 58%); }
  .road li { padding: 0 0 26px 42px; }
  .road li:last-child { padding-bottom: 0; }
  .fld { padding-left: 14px; }
  .fld > span:first-child { font-size: 15.5px; }
  .ctl { display: none; }
  .idx-list { grid-template-columns: 1fr 1fr; }
  .sheet { padding: 10px; }
  .cls-url { font-size: 24px; }
  .btn { height: 52px; }
}

/* ---------------------------------------------------------------- print / save as PDF */
@media print {
  @page { size: A4 landscape; margin: 12mm 14mm; }
  :root { --bg: #fff; --card: #f6f5f3; --card-2: #eeece8; --line: #e3e0da; --line-2: #cfcac2; --ink: #111; --ink-2: #333; --ink-3: #666; --acc: #c2560a; --acc-soft: #fbeadb; }
  html { scroll-snap-type: none; }
  body { background: #fff; color: #111; font-size: 13pt; }
  .bar, .ctl, .sheet, .skip, .ttl-hint, .cls-cta, .ttl-ph, .cls-ph, .chips, .lnk[data-open-asm], .sum-note .lnk { display: none !important; }
  .js .sl-in > * { opacity: 1 !important; transform: none !important; }
  .sl { min-height: 0; height: auto; padding: 0; border: 0; break-after: page; page-break-after: always; overflow: visible; }
  .sl:last-child { break-after: auto; }
  .sl-in { gap: 18px; padding-bottom: 10px; }
  .sl-hd h2 { font-size: 28pt; }
  .ttl-h, .cls-h { font-size: 44pt; }
  .big-n { font-size: 80pt; }
  .grad { color: #c2560a; background: none; -webkit-text-fill-color: #c2560a; }
  .card, .stk, .rk, .shot, .flow li, .sum, .calc, .tbl, .pl, .vs, .cmp, .fld { break-inside: avoid; }
  .fld-v { background: none; }
  .vs-bar.old { background: #999; }
  .stairs li:first-child .st-bar { background: #c2560a; }
  .st-bar { background: #ddd; }
  .sl-ft { padding: 8px 0 0; }
  a { text-decoration: none; }
}
