/* BẢO AN — stylesheet
   Nguyên tắc: nền giấy ấm, chữ mực, một màu nhấn terracotta, đường kẻ mảnh 1px,
   nhịp dọc rộng. Không gradient trang trí, không bóng đổ nặng, không bo góc lớn. */

:root {
  --paper:      #f7f4ee;
  --paper-2:    #efeae1;
  --paper-3:    #e7e0d4;
  --ink:        #161a17;
  --ink-2:      #333a35;
  --muted:      #626a63;
  --faint:      #6b726b;
  --rule:       rgba(22, 26, 23, .14);
  --rule-soft:  rgba(22, 26, 23, .08);
  --accent:     #b0461d;
  --accent-ink: #8a3512;
  --amber:      #d99a34;
  --sage:       #4a6a58;
  --night:      #101310;
  --night-2:    #191d19;
  --night-ink:  #ece6db;
  --night-mute: #a8a79c;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Roboto Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gut: clamp(18px, 5vw, 40px);
  --maxw: 744px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 56px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16px, 1.05rem, 17.5px);
  font-weight: 400;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* hạt giấy rất nhẹ, chỉ để nền không phẳng lì */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  background-image: radial-gradient(rgba(22, 26, 23, .055) .5px, transparent .5px);
  background-size: 3px 3px;
}

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }

a {
  color: var(--accent-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(176, 70, 29, .28);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
a:hover { border-bottom-color: var(--accent-ink); }

/* ---------- thanh trên ---------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: var(--gut);
  background: color-mix(in srgb, var(--paper) 97%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transform: translateY(-100%);
  transition: transform .45s var(--ease), border-color .3s var(--ease);
}
.topbar.is-on {
  transform: none;
  border-bottom-color: var(--rule-soft);
}
.topbar .mark {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.topbar .mark b { font-weight: 500; color: var(--accent); }
.topbar .where {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--faint);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 1.5px;
  width: 0;
  background: var(--accent);
  transition: width .1s linear;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(40px, 11vw, 132px) 0 clamp(44px, 8vw, 72px);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  width: min(150vw, 900px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(217, 154, 52, .30), rgba(217, 154, 52, .07) 45%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.hero .wrap { z-index: 1; }

.eyebrow {
  font-family: var(--mono);
  font-size: clamp(9.5px, 2.4vw, 10.5px);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 clamp(20px, 5vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.eyebrow span { color: var(--faint); }

.wordmark {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(62px, 19.5vw, 142px);
  line-height: .86;
  letter-spacing: -.035em;
  margin: 0 0 18px;
  text-transform: uppercase;
  color: var(--ink);
}
.wordmark .dot { color: var(--accent); }

.hero-h1 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(19px, 4.6vw, 26px);
  line-height: 1.34;
  letter-spacing: -.012em;
  margin: 0 0 clamp(14px, 3vw, 20px);
  max-width: 26ch;
  color: var(--ink-2);
  text-wrap: balance;
}

.specs {
  list-style: none;
  margin: 0 0 clamp(26px, 5vw, 34px);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}
@media (min-width: 620px) { .specs { grid-template-columns: repeat(4, 1fr); } }
.specs li { padding-left: 10px; position: relative; }
.specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 4px;
  height: 1px;
  background: var(--accent);
  opacity: .6;
}
.specs b { color: var(--ink-2); font-weight: 600; }


.hero .lede {
  font-size: clamp(16px, 3.9vw, 18px);
  line-height: 1.66;
  color: var(--muted);
  max-width: 54ch;
  margin: 0 0 clamp(30px, 6vw, 44px);
}

/* thiết bị */
.device-stage {
  position: relative;
  margin: 0 0 clamp(26px, 5vw, 36px);
  display: grid;
  place-items: center;
  padding-block: 8px;
}
.device-stage svg { position: relative; z-index: 1; width: min(64%, 300px); height: auto; overflow: visible; }
.device-stage .halo {
  position: absolute;
  inset: -6% 0 -2% 0;
  background: radial-gradient(ellipse at 50% 62%, rgba(217, 154, 52, .20), transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.ring-pulse { transform-origin: 100px 150px; animation: ring 4.6s var(--ease) infinite; }
@keyframes ring {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.035); }
}

/* ba con số neo */
.anchors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.anchors > div {
  padding: 16px 12px 16px 0;
  border-right: 1px solid var(--rule-soft);
}
.anchors > div:last-child { border-right: 0; padding-right: 0; }
.anchors .n {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 7.4vw, 38px);
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 8px;
}
.anchors .n small { font-size: .46em; letter-spacing: 0; color: var(--muted); margin-left: .1em; }
.anchors .l {
  font-size: 11.5px;
  line-height: 1.42;
  color: var(--muted);
  display: block;
  padding-right: 8px;
}

/* ---------- section chung ---------- */

section { position: relative; }
.band {
  padding-block: clamp(56px, 12vw, 104px);
  border-top: 1px solid var(--rule);
}
.band.tight { padding-block: clamp(44px, 9vw, 76px); }

.kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  transform: translateY(-3px);
}

h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 7.6vw, 46px);
  line-height: 1.16;
  letter-spacing: -.022em;
  margin: 0 0 18px;
  text-wrap: balance;
}
h2 em { font-style: italic; color: var(--accent-ink); }

.lead {
  font-size: clamp(17px, 4.4vw, 20px);
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 clamp(22px, 5vw, 30px);
  max-width: 46ch;
  text-wrap: pretty;
}

.body { color: var(--ink-2); max-width: 60ch; }
.body p { margin-bottom: 1.1em; }
.body > p:first-child { font-size: 1.02em; }

.pull {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(21px, 5.6vw, 30px);
  line-height: 1.42;
  letter-spacing: -.012em;
  color: var(--ink);
  margin: clamp(30px, 6vw, 44px) 0;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  max-width: 34ch;
  text-wrap: pretty;
}

.note {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--faint);
  margin-top: 14px;
  max-width: 60ch;
}

/* ---------- hình ---------- */

figure {
  margin: clamp(30px, 6vw, 44px) 0;
  position: relative;
}
figure svg { display: block; width: 100%; height: auto; overflow: visible; }
figcaption {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--rule-soft);
  max-width: 62ch;
}
figcaption b { color: var(--ink-2); font-weight: 600; }

.fig-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}

/* ---------- 2: đường ký ức (HTML, không phải SVG, để chữ sắc trên mobile) ---------- */

.mem { margin-top: 4px; }
.mem-flag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding-left: 0;
  width: 75%;
}
.mem-flag span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-top: 1px solid var(--accent);
  padding-top: 6px;
  width: 100%;
}
.mem-band {
  position: relative;
  display: grid;
  grid-template-columns: 3fr 1fr;
  height: 46px;
}
.mem-band .seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  line-height: 1.2;
  text-align: center;
  padding: 0 6px;
}
.mem-band .seg.gap { background: var(--paper-3); color: var(--ink-2); }
.mem-band .seg.first { background: transparent; border: 1px solid var(--rule); border-bottom: 0; color: var(--muted); }
.mem-marker {
  position: absolute;
  left: 75%;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px dashed rgba(176, 70, 29, .6);
}
.mem-marker::after {
  content: "";
  position: absolute;
  left: -3.5px;
  top: -3.5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.mem-axis {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0;
  border-top: 1px solid var(--rule);
  border-right: 1px solid var(--rule-soft);
}
.mem-axis span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
  padding-top: 6px;
  border-left: 1px solid var(--rule-soft);
  padding-left: 5px;
}
.mem-axis span:first-child { border-left: 0; padding-left: 0; }
.mem-axis span.end {
  position: absolute;
  right: 0;
  top: 6px;
  border: 0;
  padding: 0;
  color: var(--muted);
}


/* ---------- 3: lưới 100 chấm ---------- */

.unit-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: clamp(5px, 1.6vw, 9px);
  max-width: 380px;
}
.unit-grid i {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper-3);
  display: block;
  transition: background .45s var(--ease);
}
.unit-grid i.on { background: var(--accent); }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
}
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

.stack {
  display: flex;
  height: 44px;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
  background: var(--paper-3);
}
.stack > div {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .02em;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  transition: flex-grow .8s var(--ease);
}
.stack .s1 { background: var(--sage); }
.stack .s2 { background: var(--accent); }
.stack .s3 { background: var(--paper-3); color: var(--muted); }

/* ---------- 4: hai con số ---------- */

.pair {
  display: grid;
  gap: clamp(22px, 5vw, 34px);
  grid-template-columns: 1fr;
  margin: clamp(26px, 5vw, 36px) 0 0;
}
@media (min-width: 620px) { .pair { grid-template-columns: 1fr 1fr; } }
.pair .cell { border-top: 1px solid var(--rule); padding-top: 16px; }
.pair .big {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 12vw, 62px);
  line-height: .95;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 10px;
}
.pair .big small { font-size: .34em; letter-spacing: .02em; color: var(--muted); }
.pair p { font-size: 14px; line-height: 1.58; color: var(--muted); margin: 0; }
.pair p b { color: var(--ink-2); }

/* ---------- 5: ba năng lực ---------- */

.caps { display: grid; gap: 0; margin-top: clamp(26px, 5vw, 36px); }
.cap {
  border-top: 1px solid var(--rule);
  padding: clamp(20px, 4vw, 28px) 0;
  display: grid;
  gap: 14px 24px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 680px) {
  .cap { grid-template-columns: 128px 1fr; }
}
.cap .idx {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--accent);
  text-transform: uppercase;
  padding-top: 3px;
}
.cap h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(17px, 4.2vw, 19px);
  letter-spacing: -.01em;
  margin: 0 0 8px;
}
.cap p { font-size: 14.5px; line-height: 1.62; color: var(--muted); margin: 0 0 10px; }
.cap p:last-child { margin-bottom: 0; }
.cap .mini { margin: 14px 0 0; }
.cap .mini svg { width: 100%; height: auto; color: var(--ink); display: block; }

.mini-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 380px;
}
.mini-row > div { display: grid; gap: 7px; }
.mini-row span {
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--muted);
}
.mini-row.wave svg { height: 40px; }

.voice { max-width: 380px; display: grid; gap: 8px; }
.voice .bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 44px;
}
.voice .bars i {
  flex: 1;
  height: calc(var(--h) * 1px);
  background: var(--accent);
  opacity: .8;
  border-radius: 1px;
  transform-origin: center;
  animation: voice 2.6s var(--ease) infinite alternate;
  animation-delay: calc(var(--h) * -0.06s);
}
@keyframes voice {
  from { transform: scaleY(.55); }
  to   { transform: scaleY(1); }
}
.voice-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-2);
  margin: 0;
}
.voice-note { font-size: 10.5px; color: var(--faint); margin: 0; line-height: 1.4; }


/* dải tối cho mốc 8s/30s */
.night {
  background: var(--night);
  color: var(--night-ink);
  border-top: 1px solid #000;
}
.night .kicker { color: #e0a45a; }
.night h2 { color: var(--night-ink); }
.night .lead, .night .body { color: #c9c5ba; }
.night .lead { color: #ded9cd; }
.night .note, .night figcaption { color: var(--night-mute); }
.night figcaption { border-top-color: rgba(236, 230, 219, .14); }
.night figcaption b { color: var(--night-ink); }
.night .fig-label { color: #8f8e83; }

.escalate { margin-top: clamp(26px, 5vw, 38px); }

.esc-legend {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.esc-legend li {
  display: block;
  position: relative;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--night-mute);
}
.esc-legend i {
  position: absolute;
  left: 0;
  top: .5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid #e0a45a;
  display: block;
}
.esc-legend b { color: var(--night-ink); font-weight: 600; margin-right: 5px; }
.esc-rail {
  position: relative;
  height: 3px;
  background: rgba(236, 230, 219, .18);
  border-radius: 2px;
}
.esc-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: #e0a45a;
  border-radius: 2px;
}
.esc-dot {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: #101310;
  border: 2px solid #e0a45a;
  opacity: .35;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.esc-dot.on { opacity: 1; transform: scale(1.18); }
#escDot8 { left: 26.67%; }
#escDot30 { left: 100%; }
.esc-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  color: #8f8e83;
}
.esc-status {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: #c9c5ba;
  min-height: 1.5em;
}

.btn {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--night);
  background: #e9e2d4;
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  min-height: 44px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.btn:hover { background: #fff; }
.btn:active { transform: scale(.975); }
.btn .ico { font-family: var(--mono); font-size: 11px; opacity: .6; }

/* ---------- 6: trước / sau ---------- */

.toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper-2);
  margin-bottom: 18px;
}
.toggle button {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  min-height: 44px;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.speech {
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: #fffdf8;
  padding: clamp(18px, 4vw, 26px);
  display: grid;
  gap: 12px;
  grid-template-columns: 34px 1fr;
  align-items: start;
  min-height: 132px;
}
.speech .who {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  padding-top: 5px;
}
.speech .what { display: grid; gap: 8px; }
.speech .line {
  font-family: var(--sans);
  font-size: clamp(15px, 3.9vw, 17px);
  line-height: 1.5;
  color: var(--ink);
  transition: opacity .3s var(--ease);
}
.speech .line.dim { color: var(--faint); }
.speech .line.quote::before { content: "“"; color: var(--faint); }
.speech .line.quote::after { content: "”"; color: var(--faint); }
.speech .meta { font-size: 12px; color: var(--faint); line-height: 1.5; }

/* ---------- 7: giá ---------- */

.price-chart { margin-top: clamp(22px, 5vw, 30px); }
.price-chart .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.price-chart .row:first-child { border-top: 1px solid var(--rule-soft); }
.price-chart .top {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.price-chart .name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -.005em;
}
.price-chart .val {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-chart .track {
  height: 7px;
  background: var(--paper-2);
  border-radius: 1px;
  overflow: hidden;
  margin-top: 7px;
}
.price-chart .bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--paper-3);
  border-radius: 1px;
  transition: width 1s var(--ease), background .4s var(--ease);
}
.price-chart .row.ours .name { color: var(--accent-ink); font-weight: 600; }
.price-chart .row.ours .bar { background: var(--accent); }
.price-chart .row.ours .val { color: var(--accent-ink); font-weight: 500; }
.price-chart .sub {
  font-size: 11.5px;
  color: var(--faint);
  margin-top: 5px;
  line-height: 1.45;
}

.scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--faint);
  letter-spacing: .04em;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--rule-soft);
}

/* ---------- 8: lean canvas ---------- */

.canvas {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: clamp(26px, 5vw, 34px);
}
@media (min-width: 700px) {
  .canvas { grid-template-columns: repeat(3, 1fr); }
}
.canvas .box {
  background: var(--paper);
  padding: 16px 16px 18px;
  min-height: 112px;
}
.canvas .box h4 {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
  margin: 0 0 9px;
}
.canvas .box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.canvas .box li {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
  padding-left: 11px;
  position: relative;
  margin-bottom: 5px;
}
.canvas .box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 3px;
  height: 1px;
  background: var(--faint);
}

.econ {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-top: 0;
  margin-top: 0;
}
@media (min-width: 700px) { .econ { grid-template-columns: repeat(4, 1fr); } }
.econ div { background: var(--paper-2); padding: 14px 14px 16px; }
.econ .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 7px; }
.econ .v { font-family: var(--serif); font-size: clamp(19px, 5vw, 24px); font-weight: 300; line-height: 1.1; letter-spacing: -.015em; display: block; }
.econ .v small { font-size: .52em; color: var(--muted); }

/* ---------- 9: lộ trình ---------- */

.road { margin-top: clamp(26px, 5vw, 36px); }
.road .step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  padding: clamp(16px, 3.4vw, 22px) 0;
  border-top: 1px solid var(--rule);
  position: relative;
}
.road .step:last-child { border-bottom: 1px solid var(--rule); }
.road .when {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--accent);
  line-height: 1.5;
  padding-top: 2px;
}
.road .when b { display: inline; margin-right: 8px; color: var(--ink); font-weight: 500; letter-spacing: .1em; }
.road h3 {
  font-family: var(--sans);
  font-size: clamp(15.5px, 4vw, 17px);
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -.008em;
}
.road p { font-size: 13.5px; line-height: 1.58; color: var(--muted); margin: 0 0 8px; }
.road .gate {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
  border-left: 2px solid var(--sage);
  padding-left: 10px;
}
.road .gate b { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); display: block; margin-bottom: 3px; }

/* ---------- 10: đội ---------- */

.team { margin-top: clamp(22px, 5vw, 30px); }
.team .who {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 16px;
  padding: 15px 0;
  border-top: 1px solid var(--rule-soft);
}
.team .who:first-child { border-top: 1px solid var(--rule); }
@media (min-width: 600px) { .team .who { grid-template-columns: 1fr 1.3fr; } }
.team .nm { font-size: 14.5px; font-weight: 500; letter-spacing: -.005em; }
.team .nm span { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--faint); margin-top: 3px; text-transform: uppercase; }
.team .rl { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ---------- 11: rủi ro ---------- */

.risks { margin-top: clamp(22px, 5vw, 30px); }
.risk {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid var(--rule-soft);
}
.risk:first-child { border-top: 1px solid var(--rule); }
@media (min-width: 620px) { .risk { grid-template-columns: 1fr 1.25fr; gap: 6px 26px; } }
.risk .r {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  display: flex;
  gap: 9px;
  align-items: baseline;
}
.risk .r i {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex: 0 0 auto;
  transform: translateY(-1px);
  background: var(--amber);
}
.risk .r i.hi { background: var(--accent); }
.risk .r i.mid { background: var(--amber); }
.risk .fix { font-size: 13.5px; color: var(--muted); line-height: 1.56; }

/* ---------- 12: kết ---------- */

.closing {
  padding-block: clamp(60px, 13vw, 110px);
  border-top: 1px solid var(--rule);
}
.closing .big {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 6.8vw, 42px);
  line-height: 1.26;
  letter-spacing: -.022em;
  max-width: 22ch;
  margin: 0 0 26px;
  text-wrap: balance;
}
.closing .big em { font-style: italic; color: var(--accent-ink); }

/* ---------- nguồn + footer ---------- */

.sources { margin-top: clamp(28px, 6vw, 40px); }
.sources h3 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 400;
  margin: 0 0 14px;
}
.sources ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
  columns: 1;
}
@media (min-width: 640px) { .sources ol { columns: 2; column-gap: 34px; } }
.sources li {
  counter-increment: s;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 11px;
  padding-left: 22px;
  position: relative;
  break-inside: avoid;
}
.sources li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
}

footer {
  border-top: 1px solid var(--rule);
  padding: 26px 0 40px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--faint);
  line-height: 1.7;
}
footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
}
footer b { color: var(--ink-2); font-weight: 500; }

/* ---------- reveal ---------- */

.js .rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .ring-pulse { animation: none; }
  .price-chart .bar, .stack > div, .unit-grid i { transition: none; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- desktop chỉnh nhẹ ---------- */

@media (min-width: 900px) {
  :root { --maxw: 780px; }
  .anchors .n { font-size: 42px; }
  .cap { grid-template-columns: 150px 1fr; }
  .road .step { grid-template-columns: 112px 1fr; gap: 16px; }
  .road .when b { display: block; margin-right: 0; }
}

::selection { background: rgba(176, 70, 29, .16); }

/* ---------- in ra PDF để nộp kèm ---------- */

@media print {
  @page { margin: 16mm 14mm; }
  body { background: #fff; font-size: 10.5pt; line-height: 1.5; }
  body::before, .topbar, .device-stage .halo, .hero::after { display: none; }
  .wrap { max-width: none; padding: 0; }
  .band, .closing { padding-block: 18pt; }
  .band { break-inside: auto; }
  section { break-before: page; }
  #top { break-before: avoid; }
  figure, .cap, .step, .risk, .canvas .box { break-inside: avoid; }
  h2 { font-size: 20pt; }
  .night { background: #fff; color: #000; border-top: 1px solid #ccc; }
  .night h2, .night .lead, .night .body, .night figcaption { color: #000; }
  .night .kicker, .night .fig-label { color: #8a3512; }
  .esc-rail { background: #ddd; }
  .esc-fill { background: #b0461d; }
  .esc-legend li, .esc-status { color: #333; }
  .esc-legend b { color: #000; }
  .esc-dot { background: #fff; border-color: #b0461d; opacity: 1; }
  .rv { opacity: 1 !important; transform: none !important; }
  .voice .bars i { animation: none; }
  .sources ol { columns: 2; }
  footer { break-before: avoid; }
}
