/* Phố Chứng Khoán AI — Design system (Apple / Google inspired, dark navy + gold) */
:root {
  --bg: #031526;
  --bg-2: #061e34;
  --bg-3: #0a2742;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-2: rgba(255, 255, 255, 0.16);
  --text: #f4f7fb;
  --muted: #a3b4c7;
  --dim: #73879c;
  --gold: #f2c94c;
  --gold-2: #d4af37;
  --gold-3: #e8b923;
  --gold-soft: rgba(242, 201, 76, 0.12);
  --up: #16c784;
  --down: #ef4444;
  --flat: #e5b93c;
  --cyan: #4fd1e8;
  --r-s: 8px;
  --r-m: 12px;
  --r-l: 16px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --maxw: 1200px;
  --header-h: 64px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  background-image: radial-gradient(1100px 520px at 50% -140px, rgba(79, 209, 232, 0.10), transparent 70%), radial-gradient(900px 480px at 85% 8%, rgba(242, 201, 76, 0.06), transparent 70%);
  background-repeat: no-repeat;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: #ffe08a; }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 700; color: var(--text); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(242, 201, 76, 0.3); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--gold); color: #1a1405; padding: 10px 16px; border-radius: 8px; z-index: 200; font-weight: 600; transition: top 0.2s; }
.skip-link:focus { top: 12px; color: #1a1405; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: 780px; margin: 0 auto; padding: 0 24px; }
.mono, .num { font-family: var(--mono); font-feature-settings: 'tnum'; }
.up { color: var(--up); } .down { color: var(--down); } .flat { color: var(--flat); }
.muted { color: var(--muted); } .dim { color: var(--dim); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(3, 21, 38, 0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--border); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand span { font-size: 17px; }
.brand b { color: var(--gold); font-weight: 700; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 4px; padding: 8px 12px; color: var(--muted); font-size: 14px; font-weight: 500; border-radius: 8px; white-space: nowrap; background: none; border: 0; font-family: inherit; cursor: pointer; transition: color 0.2s var(--ease), background 0.2s var(--ease); }
.nav-link:hover, .nav-item:focus-within > .nav-link, .nav-link[aria-current='page'] { color: var(--text); background: var(--surface); }
.nav-link[aria-current='page'] { color: var(--gold); }
.nav-link svg { width: 10px; height: 10px; opacity: 0.6; }
.dropdown { position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, 8px); min-width: 320px; padding: 8px; background: rgba(6, 30, 52, 0.96); backdrop-filter: blur(24px); border: 1px solid var(--border-2); border-radius: var(--r-l); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--text); font-size: 14px; font-weight: 500; }
.dropdown a small { display: block; color: var(--dim); font-weight: 400; font-size: 12.5px; margin-top: 1px; }
.dropdown a:hover { background: var(--surface-2); color: var(--gold); }
.header-cta { margin-left: auto; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); width: 40px; height: 40px; border-radius: 10px; cursor: pointer; }
.nav-toggle:hover { background: var(--surface); }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: 0.01em; border: 1px solid transparent; cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s; white-space: nowrap; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #ffe08a); color: #1b1503; box-shadow: 0 6px 24px rgba(242, 201, 76, 0.22); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 32px rgba(242, 201, 76, 0.34); color: #1b1503; }
.btn-gold:active { transform: translateY(0) scale(0.99); }
.btn-ghost { background: var(--surface); border-color: var(--border-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.28); color: var(--text); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 15px 28px; font-size: 15px; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; }
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.h-xl { font-size: clamp(2.5rem, 6.2vw, 4.6rem); letter-spacing: -0.035em; line-height: 1.04; font-weight: 800; }
.h-lg { font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -0.03em; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.55; max-width: 680px; }
.grad-text { background: linear-gradient(120deg, #fff 10%, #ffe08a 55%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 64px; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; left: 50%; top: -40px; width: 780px; max-width: 120vw; transform: translateX(-50%); opacity: 0.16; filter: blur(2px); pointer-events: none; mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); }
.hero .container { position: relative; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-2); color: var(--muted); font-size: 13px; font-weight: 500; margin-bottom: 26px; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 4px rgba(22, 199, 132, 0.18); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(22, 199, 132, 0); } }
.hero h1 { margin: 0 auto 20px; max-width: 900px; }
.hero .lead { margin: 0 auto 36px; }
.checker { max-width: 640px; margin: 0 auto; position: relative; }
.search-box { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 22px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-2); border-radius: 999px; backdrop-filter: blur(16px); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.search-box:focus-within { border-color: rgba(242, 201, 76, 0.65); box-shadow: 0 0 0 5px rgba(242, 201, 76, 0.12), 0 20px 60px rgba(0, 0, 0, 0.35); }
.search-box svg { width: 20px; height: 20px; color: var(--dim); flex: none; }
.search-box input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font-family: inherit; font-size: 17px; padding: 12px 4px; text-transform: uppercase; letter-spacing: 0.02em; }
.search-box input::placeholder { text-transform: none; letter-spacing: 0; color: var(--dim); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; background: rgba(6, 30, 52, 0.98); border: 1px solid var(--border-2); border-radius: var(--r-l); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); padding: 6px; text-align: left; max-height: 340px; overflow: auto; }
.suggest[hidden] { display: none; }
.suggest button { display: flex; width: 100%; align-items: center; gap: 12px; padding: 10px 12px; background: none; border: 0; border-radius: 10px; color: var(--text); font-family: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.suggest button:hover, .suggest button[aria-selected='true'] { background: var(--surface-2); }
.suggest .tk { font-family: var(--mono); font-weight: 700; color: var(--gold); min-width: 46px; }
.suggest .nm { color: var(--muted); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest .px { font-family: var(--mono); font-size: 13px; }
.trending { margin: 18px auto 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; font-size: 13.5px; color: var(--dim); }
.chip { padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-family: var(--mono); font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s var(--ease); }
.chip:hover { border-color: rgba(242, 201, 76, 0.55); color: var(--gold); background: var(--gold-soft); }
.hero-note { margin-top: 14px; font-size: 12.5px; color: var(--dim); }

/* Result card */
.result { max-width: 760px; margin: 36px auto 0; text-align: left; }
.card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)); border: 1px solid var(--border); border-radius: 20px; padding: 28px; }
.result-top { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.gauge { position: relative; width: 112px; height: 112px; flex: none; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .trk { stroke: rgba(255, 255, 255, 0.09); }
.gauge .val { transition: stroke-dashoffset 1s var(--ease); stroke-linecap: round; }
.gauge .gnum { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--mono); line-height: 1; }
.gauge .gnum b { font-size: 30px; font-weight: 700; }
.gauge .gnum small { display: block; font-size: 11px; color: var(--dim); margin-top: 4px; font-family: var(--font); }
.gauge.pos .val { stroke: var(--up); } .gauge.neu .val { stroke: var(--flat); } .gauge.neg .val { stroke: var(--down); }
.result-id h3 { font-size: 28px; margin: 0; letter-spacing: -0.02em; }
.result-id h3 span { font-family: var(--mono); color: var(--gold); margin-right: 10px; }
.result-id p { color: var(--muted); margin: 4px 0 10px; font-size: 14.5px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; border: 1px solid transparent; }
.badge.pos { color: var(--up); background: rgba(22, 199, 132, 0.12); border-color: rgba(22, 199, 132, 0.3); }
.badge.neu { color: var(--flat); background: rgba(229, 185, 60, 0.12); border-color: rgba(229, 185, 60, 0.3); }
.badge.neg { color: var(--down); background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.3); }
.badge.gold { color: var(--gold); background: var(--gold-soft); border-color: rgba(242, 201, 76, 0.3); }
.price-block { margin-left: auto; text-align: right; }
.price-block .px { font-family: var(--mono); font-size: 32px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.price-block .ch { font-family: var(--mono); font-size: 15px; font-weight: 600; }
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; padding-top: 8px; }
.metric { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.metric dt { color: var(--muted); } .metric dd { margin: 0; font-weight: 600; text-align: right; }
.metric dd small { display: block; font-weight: 400; color: var(--dim); font-size: 12px; font-family: var(--font); }
.verdict { margin-top: 20px; padding: 18px 20px; border-radius: var(--r-m); background: var(--gold-soft); border: 1px solid rgba(242, 201, 76, 0.22); font-size: 15px; line-height: 1.6; }
.verdict b { color: var(--gold); display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
.result-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.fine { font-size: 12.5px; color: var(--dim); line-height: 1.55; }
.skeleton { position: relative; overflow: hidden; background: rgba(255, 255, 255, 0.06); border-radius: 10px; }
.skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.alert { padding: 16px 18px; border-radius: var(--r-m); background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #ffb4b4; font-size: 14.5px; }
.alert.ok { background: rgba(22, 199, 132, 0.1); border-color: rgba(22, 199, 132, 0.3); color: #9cf0cb; }
.fade-in { animation: fadeIn 0.4s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Market strip ---------- */
.market-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.market-head h2 { margin: 0; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.market-head time { font-size: 13px; color: var(--dim); }
.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 22px 22px 20px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.stat:hover { border-color: var(--border-2); transform: translateY(-2px); }
.stat .lbl { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.stat .big { font-family: var(--mono); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 8px 0 2px; line-height: 1.15; }
.stat .sub { font-size: 13.5px; color: var(--muted); }
.breadth-bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; margin: 12px 0 8px; background: var(--surface-2); gap: 2px; }
.breadth-bar i { display: block; height: 100%; }
.ticker-tape { margin-top: 18px; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.ticker-tape-inner { display: flex; gap: 36px; padding: 11px 0; width: max-content; animation: tape 60s linear infinite; font-family: var(--mono); font-size: 13px; }
.ticker-tape:hover .ticker-tape-inner { animation-play-state: paused; }
.ticker-tape a { color: var(--text); display: inline-flex; gap: 8px; }
.ticker-tape a b { color: var(--gold); }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- Cards grid ---------- */
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)); border: 1px solid var(--border); color: var(--text); min-height: 220px; overflow: hidden; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.tile::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px 200px at 100% 0, rgba(242, 201, 76, 0.1), transparent 70%); opacity: 0; transition: opacity 0.3s var(--ease); }
.tile:hover { transform: translateY(-4px); border-color: rgba(242, 201, 76, 0.4); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35); color: var(--text); }
.tile:hover::before { opacity: 1; }
.tile .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(242, 201, 76, 0.2); position: relative; }
.tile .ico svg { width: 24px; height: 24px; }
.tile h3 { font-size: 21px; margin: 6px 0 0; position: relative; }
.tile p { color: var(--muted); margin: 0; font-size: 15px; position: relative; flex: 1; }
.tile .go { color: var(--gold); font-weight: 600; font-size: 14px; position: relative; display: inline-flex; gap: 6px; align-items: center; }
.tile .go svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.tile:hover .go svg { transform: translateX(4px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-card { display: block; padding: 22px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: all 0.25s var(--ease); }
.mini-card:hover { border-color: rgba(242, 201, 76, 0.4); transform: translateY(-3px); color: var(--text); background: var(--surface-2); }
.mini-card h3 { font-size: 17px; margin: 0 0 6px; letter-spacing: -0.01em; }
.mini-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.mini-card .meta { font-size: 12.5px; color: var(--dim); margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.step-num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font-family: var(--mono); font-weight: 700; font-size: 14px; border: 1px solid rgba(242, 201, 76, 0.25); margin-bottom: 12px; }

/* ---------- Newsletter band ---------- */
.band { position: relative; padding: 64px 40px; border-radius: 28px; text-align: center; overflow: hidden; background: radial-gradient(700px 300px at 50% 0, rgba(242, 201, 76, 0.14), transparent 70%), linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--border-2); }
.band h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; }
.band p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }
.sub-form { display: flex; gap: 8px; max-width: 520px; margin: 0 auto; padding: 6px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-2); border-radius: 999px; }
.sub-form input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font-family: inherit; font-size: 15px; padding: 10px 16px; }
.sub-form:focus-within { border-color: rgba(242, 201, 76, 0.6); box-shadow: 0 0 0 4px rgba(242, 201, 76, 0.1); }
.form-msg { min-height: 24px; margin-top: 14px; font-size: 14px; }
.form-msg.ok { color: var(--up); } .form-msg.err { color: #ff9b9b; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; border-top: 1px solid var(--border); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.22)); padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-brand img { width: 132px; height: 132px; border-radius: 22px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 340px; }
.footer-brand p a { color: var(--gold); }
.footer-contact { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.footer-contact span { color: var(--dim); min-width: 108px; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-contact a { color: var(--gold); font-weight: 600; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--muted); font-size: 14.5px; } .footer-col a:hover { color: var(--gold); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-bottom .disclaimer { font-size: 13px; color: var(--dim); line-height: 1.7; max-width: 920px; }
.footer-bottom .copy { margin-top: 14px; font-size: 13px; color: var(--dim); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Page hero / breadcrumbs ---------- */
.page-hero { padding: 56px 0 32px; }
.breadcrumb { font-size: 13.5px; color: var(--dim); margin-bottom: 20px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; color: var(--border-2); }
.breadcrumb a { color: var(--muted); } .breadcrumb a:hover { color: var(--gold); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -0.035em; line-height: 1.08; font-weight: 800; margin-bottom: 18px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--dim); margin-top: 18px; }
.meta-line span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Prose ---------- */
.answer-box { padding: 22px 24px; border-radius: var(--r-l); background: var(--gold-soft); border: 1px solid rgba(242, 201, 76, 0.25); margin-bottom: 40px; }
.answer-box b { display: block; color: var(--gold); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.answer-box p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text); }
.prose { font-size: 17px; line-height: 1.8; color: #d6e0ec; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2.2em 0 0.6em; letter-spacing: -0.025em; color: var(--text); }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 0.5em; color: var(--text); }
.prose p { margin-bottom: 1.15em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: 0.55em; padding-left: 0.2em; }
.prose li::marker { color: var(--gold); }
.prose a { border-bottom: 1px solid rgba(242, 201, 76, 0.35); } .prose a:hover { border-color: var(--gold); }
.callout { margin: 1.6em 0; padding: 18px 20px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--border-2); border-left: 3px solid var(--gold); }
.callout b { display: block; color: var(--text); margin-bottom: 4px; }
.callout p { margin: 0; font-size: 16px; color: var(--muted); }
.callout.warn { border-left-color: var(--down); }
.steps { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 20px 22px 20px 70px !important; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--border); margin: 0 !important; }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font-family: var(--mono); font-weight: 700; font-size: 14px; border: 1px solid rgba(242, 201, 76, 0.25); }
.steps li strong { display: block; margin-bottom: 2px; }
.edu-note { margin: 56px 0 0; padding: 16px 0 0; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--dim); font-style: italic; }
.updated { font-size: 13px; color: var(--dim); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-l); background: var(--surface); -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.data th { text-align: left; padding: 13px 16px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); font-weight: 600; background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid var(--border); white-space: nowrap; position: sticky; top: 0; }
table.data td { padding: 13px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background 0.15s; } table.data tbody tr:hover { background: rgba(255, 255, 255, 0.035); }
table.data .r { text-align: right; } table.data td.num, table.data th.num { text-align: right; font-family: var(--mono); }
table.data td a.tk { font-family: var(--mono); font-weight: 700; }
table.data td.wrap { white-space: normal; min-width: 220px; }
table.mock td, table.mock th { text-align: center; }
.c-ceil { color: #d78cff; } .c-floor { color: var(--cyan); }

/* ---------- Stock page ---------- */
.stock-head { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.stock-head .gauge { width: 132px; height: 132px; }
.stock-head h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 6px; }
.stock-head h1 span { font-family: var(--mono); color: var(--gold); }
.chart-card { padding: 22px 22px 14px; }
.chart-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.seg { display: inline-flex; padding: 3px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.seg button { background: none; border: 0; color: var(--muted); font-family: inherit; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; cursor: pointer; transition: all 0.2s var(--ease); }
.seg button[aria-pressed='true'] { background: var(--gold); color: #1b1503; }
.chart { position: relative; width: 100%; height: 320px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .tip { position: absolute; pointer-events: none; padding: 8px 12px; border-radius: 10px; background: rgba(6, 30, 52, 0.97); border: 1px solid var(--border-2); font-size: 12.5px; line-height: 1.5; transform: translate(-50%, -110%); white-space: nowrap; opacity: 0; transition: opacity 0.15s; z-index: 5; }
.chart .tip b { font-family: var(--mono); display: block; font-size: 14px; }
.bars { width: 100%; height: auto; }
.legend { display: flex; gap: 18px; font-size: 13px; color: var(--muted); margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.side-card { position: sticky; top: 88px; padding: 22px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--border); }
.side-card h3 { font-size: 15px; margin-bottom: 12px; }
.range-bar { position: relative; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--down), var(--flat), var(--up)); margin: 12px 0 6px; }
.range-bar i { position: absolute; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--bg); transform: translateX(-50%); box-shadow: 0 0 0 1px var(--border-2); }
.vs { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; margin-bottom: 14px; }
.vs-bar { height: 8px; border-radius: 4px; background: var(--surface-2); position: relative; overflow: hidden; }
.vs-bar i { position: absolute; top: 0; bottom: 0; border-radius: 4px; }

/* ---------- Tools / forms ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs button { padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s var(--ease); }
.tabs button[aria-selected='true'] { background: var(--gold); color: #1b1503; border-color: var(--gold); }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.input, .field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-2); color: var(--text); font-family: inherit; font-size: 15px; outline: 0; transition: border-color 0.2s, box-shadow 0.2s; }
.field select option { background: var(--bg-2); }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: rgba(242, 201, 76, 0.6); box-shadow: 0 0 0 4px rgba(242, 201, 76, 0.1); }
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: 12.5px; color: var(--dim); }
.out-card { padding: 26px; border-radius: var(--r-l); background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--border-2); }
.out-big { font-family: var(--mono); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; color: var(--gold); letter-spacing: -0.02em; line-height: 1.15; }
.out-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.out-row:last-child { border: 0; }
.out-row span:first-child { color: var(--muted); } .out-row span:last-child { font-family: var(--mono); font-weight: 600; text-align: right; }
.checklist { display: grid; gap: 10px; }
.check-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--border); cursor: pointer; transition: all 0.2s var(--ease); }
.check-item:hover { border-color: var(--border-2); }
.check-item input { appearance: none; width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 7px; border: 2px solid var(--border-2); display: grid; place-items: center; cursor: pointer; transition: all 0.2s; }
.check-item input:checked { background: var(--gold); border-color: var(--gold); }
.check-item input:checked::after { content: ''; width: 5px; height: 10px; border: solid #1b1503; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check-item.on { border-color: rgba(242, 201, 76, 0.4); background: var(--gold-soft); }
.check-item b { display: block; font-weight: 600; margin-bottom: 2px; } .check-item small { color: var(--dim); font-size: 13.5px; }
.progress { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-2), var(--gold)); border-radius: 4px; transition: width 0.4s var(--ease); }
.pf-row { display: grid; grid-template-columns: 1.1fr 1fr 40px; gap: 8px; margin-bottom: 8px; }
.icon-btn { background: var(--surface); border: 1px solid var(--border); color: var(--muted); border-radius: 10px; cursor: pointer; font-size: 18px; }
.icon-btn:hover { color: var(--down); border-color: rgba(239, 68, 68, 0.4); }
.bar-row { display: grid; grid-template-columns: 140px 1fr 60px; gap: 12px; align-items: center; font-size: 14px; margin-bottom: 10px; }
.bar-row .bar { height: 10px; border-radius: 5px; background: var(--surface-2); overflow: hidden; } .bar-row .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold)); border-radius: 5px; }
.cmp-pick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border-radius: 999px; background: var(--gold-soft); border: 1px solid rgba(242, 201, 76, 0.3); font-family: var(--mono); font-weight: 700; font-size: 13.5px; color: var(--gold); }
.tag button { background: none; border: 0; color: inherit; cursor: pointer; font-size: 16px; line-height: 1; padding: 0 4px; opacity: 0.7; } .tag button:hover { opacity: 1; }
.dl-card { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--border); }
.dl-card .ico { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
.dl-card .ico svg { width: 26px; height: 26px; }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.2s; }
.faq details[open] { border-color: rgba(242, 201, 76, 0.35); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--gold); transition: transform 0.25s var(--ease); flex: none; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 22px 20px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.faq .ans p { margin: 0 0 0.8em; }

/* ---------- Industry & misc ---------- */
.kv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kv .stat .big { font-size: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13.5px; color: var(--muted); }
.empty { padding: 40px 24px; text-align: center; border: 1px dashed var(--border-2); border-radius: var(--r-l); color: var(--muted); }
.glossary-az { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.related { margin-top: 56px; }
.related h2 { font-size: 1.3rem; margin-bottom: 16px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; }
.pager a { flex: 1; padding: 18px 20px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: all 0.2s var(--ease); }
.pager a:hover { border-color: rgba(242, 201, 76, 0.4); } .pager small { display: block; color: var(--dim); font-size: 12.5px; } .pager .next { text-align: right; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; align-items: center; }
.toolbar .input { max-width: 320px; }
.hide { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-toggle { display: grid; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: rgba(3, 21, 38, 0.98); backdrop-filter: blur(24px); padding: 16px 24px 40px; overflow: auto; display: none; justify-content: flex-start; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--border); }
  .nav-link { width: 100%; padding: 16px 4px; font-size: 17px; color: var(--text); justify-content: space-between; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: none; min-width: 0; padding: 0 0 12px 8px; display: none; }
  .nav-item.open .dropdown { display: block; transform: none; }
  .nav-item:hover .dropdown { transform: none; }
  .header-cta { display: none; }
  .grid-6, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .kv { grid-template-columns: repeat(2, 1fr); }
  .layout-2 { grid-template-columns: 1fr; } .side-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .container, .container-narrow { padding: 0 18px; }
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 40px; }
  .market-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat { padding: 16px; } .stat .big { font-size: 21px; }
  .grid-6, .grid-3, .grid-2, .tool-grid { grid-template-columns: 1fr; }
  .tile { min-height: 0; padding: 24px; }
  .metrics { grid-template-columns: 1fr; }
  .price-block { margin-left: 0; text-align: left; width: 100%; }
  .card { padding: 20px; }
  .band { padding: 44px 22px; border-radius: 22px; }
  .sub-form { flex-direction: column; border-radius: 20px; padding: 10px; } .sub-form input { padding: 12px; }
  .search-box { padding-left: 16px; } .search-box input { font-size: 16px; } .search-box .btn { padding: 12px 16px; font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .chart { height: 240px; }
  .bar-row { grid-template-columns: 96px 1fr 48px; }
  .stock-head { gap: 18px; }
  .pager { flex-direction: column; }
  .prose { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .band, .no-print { display: none !important; }
  body { background: #fff; color: #000; } .prose { color: #000; }
}

/* ---------- Mobile nav sub-toggle ---------- */
.nav-row { display: flex; align-items: center; }
.nav-sub-toggle { display: none; background: none; border: 0; color: var(--muted); width: 44px; height: 44px; cursor: pointer; border-radius: 10px; }
.nav-sub-toggle svg { width: 14px; height: 14px; margin: auto; transition: transform 0.2s var(--ease); }
.nav-item.open .nav-sub-toggle svg { transform: rotate(180deg); }
@media (max-width: 1020px) {
  .nav-sub-toggle { display: grid; }
  .nav-row .nav-link { flex: 1; }
  .nav-link svg { display: none; }
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text small { font-size: 10.5px; font-weight: 500; color: var(--dim); letter-spacing: 0.01em; }
@media (max-width: 420px) { .brand-text small { display: none; } .brand span { font-size: 15px; } }

/* ---------- Trạng thái nạp dữ liệu ---------- */
.loading-box { padding: 22px; border-radius: var(--r-m); background: var(--gold-soft); border: 1px solid rgba(242, 201, 76, 0.3); color: var(--text); text-align: left; }
.loading-box b { display: block; margin-bottom: 12px; color: var(--gold); }
.loading-box .progress { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; margin-bottom: 10px; }
.loading-box .progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold)); border-radius: 3px; transition: width 0.6s var(--ease); }

/* ---------- Hero H1: 2 dòng cân đối, không tách "cổ phiếu" ---------- */
.nowrap { white-space: nowrap; }
.hero-title { max-width: none !important; font-size: clamp(1.7rem, 6.4vw, 4.2rem); text-wrap: balance; }
.hero-title .ht-line { display: block; white-space: nowrap; }
@media (max-width: 380px) { .hero-title { font-size: 1.55rem; } }

/* ---------- Bài viết kiểu blog (post) ---------- */
.post { padding-top: 40px; padding-bottom: 72px; }
.post h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -0.03em; line-height: 1.12; font-weight: 800; margin: 12px 0 18px; text-wrap: balance; }
.post-hero { margin: 0 0 24px; display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--r-l); background: linear-gradient(135deg, rgba(242,201,76,.10), rgba(79,209,232,.07)); border: 1px solid var(--border); }
.post-hero img { width: 72px; height: 72px; object-fit: contain; flex: none; }
.post-hero figcaption { display: flex; flex-direction: column; gap: 2px; }
.post-hero b { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.post-hero span { font-size: 13.5px; color: var(--muted); }
.post-cat { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.post-min { font-size: 13px; color: var(--dim); }
.post-byline { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; padding: 14px 0; margin-bottom: 20px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.byline-author { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.byline-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold-2); }
.byline-author span { display: flex; flex-direction: column; line-height: 1.25; }
.byline-author small { color: var(--muted); font-size: 12.5px; }
.byline-dates { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.post-lead { font-size: 19px; line-height: 1.65; color: #cfdbe9; margin: 0 0 24px; }
.post-body { margin-top: 8px; }
.post-body img { border-radius: var(--r-m); }
.post-back { margin: 32px 0 0; }

.rf-method { padding: 20px 22px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--border); margin: 0 0 14px; }
.rf-method h2 { font-size: 15px; margin: 0 0 12px; color: var(--cyan); letter-spacing: .02em; }
.rf-method dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 0; }
.rf-method dl > div { min-width: 0; }
.rf-method dt { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 2px; }
.rf-method dd { margin: 0; font-size: 14px; line-height: 1.55; color: #cfdbe9; }
.rf-by { margin: 14px 0 0; font-size: 12.5px; color: var(--dim); }
.rf-log { margin: 0 0 24px; font-size: 14px; color: var(--muted); }
.rf-log summary { cursor: pointer; padding: 6px 0; color: var(--muted); }
.rf-log summary:hover { color: var(--gold); }
.rf-log ul { margin: 6px 0 0; padding-left: 1.2em; }

.key-takeaways { position: relative; padding: 22px 24px; margin: 0 0 24px; border-radius: var(--r-l); background: var(--bg-2); border: 1px solid transparent; background-clip: padding-box; }
.key-takeaways::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, var(--gold), var(--cyan)); }
.key-takeaways h2 { font-size: 17px; margin: 0 0 10px; color: var(--gold); }
.key-takeaways ul { margin: 0; padding-left: 1.2em; }
.key-takeaways li { margin-bottom: 6px; color: #dbe5f0; line-height: 1.6; }

.toc-box { padding: 20px 24px; margin: 0 0 32px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--border); }
.toc-box h2 { font-size: 15px; margin: 0 0 10px; color: var(--text); }
.toc-box ol { margin: 0; padding-left: 1.4em; columns: 1; }
.toc-box li { margin-bottom: 6px; font-size: 15px; }
.toc-box a { color: var(--muted); }
.toc-box a:hover { color: var(--gold); }
@media (min-width: 900px) { .toc-box ol { columns: 2; column-gap: 32px; } .toc-box li { break-inside: avoid; } }

.post-faq { margin-top: 48px; }
.post-faq h2, .post-sources h2, .cite-box h2, .helpful-box h2, .related h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -.02em; margin: 0 0 14px; }
.post-sources { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
.post-sources ol { padding-left: 1.3em; margin: 0; }
.post-sources li { margin-bottom: 8px; font-size: 14.5px; color: var(--muted); }
.cite-box { margin-top: 32px; padding: 20px 22px; border-radius: var(--r-m); background: var(--surface); border: 1px dashed var(--border-2); }
.cite-box h2 { font-size: 15px; margin-bottom: 8px; }
.cite-box p { margin: 0 0 6px; font-size: 14px; color: var(--muted); word-break: break-word; }
.helpful-box { margin-top: 24px; padding: 20px 22px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--border); text-align: center; }
.helpful-box h2 { font-size: 16px; margin-bottom: 12px; }
.helpful-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.helpful-btns .btn.is-on { background: var(--gold-soft); border-color: var(--gold); color: var(--gold); }
.helpful-msg { margin: 12px 0 0; }

.author-box { display: flex; gap: 22px; align-items: flex-start; margin-top: 40px; padding: 26px; border-radius: var(--r-l); background: linear-gradient(135deg, rgba(242,201,76,.09), rgba(79,209,232,.05)); border: 1px solid rgba(242,201,76,.28); }
.author-box > img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-2); flex: none; }
.author-box > div { min-width: 0; }
.author-kicker { margin: 0 0 4px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.author-box h2 { font-size: 20px; margin: 0 0 8px; letter-spacing: -.01em; }
.author-box h2 span { font-weight: 500; font-size: 14px; color: var(--muted); }
.author-box p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; color: #cfdbe9; }
.author-review { display: flex; align-items: center; gap: 8px; color: var(--up) !important; }
.author-review svg { flex: none; }
.author-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 0 !important; }

.related { margin-top: 48px; }

/* ---------- Về chúng tôi: tab, hồ sơ, liên hệ ---------- */
.about-tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 24px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.about-tabs a { padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); }
.about-tabs a:hover { color: var(--text); }
.about-tabs a[aria-current='page'] { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1503; }
.profile-hero { padding-bottom: 24px; }
.profile-grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.profile-photo { margin: 0; }
.profile-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 24px; border: 2px solid rgba(242,201,76,.5); box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 0 8px rgba(242,201,76,.06); }
.profile-kicker { margin: 0 0 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.profile-main h1 { margin: 0 0 16px; }
.profile-role { display: block; margin-top: 10px; font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 600; letter-spacing: 0; color: var(--cyan); line-height: 1.35; }
.profile-main .lead { font-size: 18px; color: #cfdbe9; margin-bottom: 20px; max-width: 60ch; }
.profile-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; }
.facts-box { padding: 22px 24px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--border); margin-bottom: 24px; }
.facts-box h2 { font-size: 17px; margin: 0 0 14px; color: var(--gold); }
.facts-box dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin: 0; }
.facts-box dt { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 2px; }
.facts-box dd { margin: 0; font-size: 15px; color: var(--text); word-break: break-word; }
.contact-cta { margin-top: 48px; padding: 28px; text-align: center; border-radius: var(--r-l); background: var(--gold-soft); border: 1px solid rgba(242,201,76,.28); }
.contact-cta h2 { font-size: 1.5rem; margin: 0 0 8px; }
.contact-cta .profile-cta { justify-content: center; margin: 16px 0 0; }
.contact-grid { margin-bottom: 28px; }
.contact-card { padding: 26px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--border); }
.contact-card h2 { font-size: 1.35rem; margin: 0 0 4px; }
.contact-card > p { margin: 0 0 18px; font-size: 14.5px; }
.contact-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-card li { display: flex; align-items: center; gap: 14px; }
.contact-card li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.contact-card small { font-size: 12px; color: var(--dim); }
.contact-card a { font-weight: 600; word-break: break-all; }
.ci { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--gold-soft); color: var(--gold); font-weight: 800; font-size: 18px; }
.contact-form-wrap { padding: 26px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--border); }
.contact-form-wrap h2 { font-size: 1.35rem; margin: 0 0 4px; }
.contact-form-wrap form { position: relative; margin-top: 18px; display: grid; gap: 14px; max-width: 640px; }
.lookup-box { padding: 24px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--border); margin-bottom: 32px; }

@media (max-width: 760px) {
  .rf-method dl, .facts-box dl { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .profile-photo { max-width: 240px; }
  .author-box { flex-direction: column; padding: 20px; }
  .post-hero { padding: 14px 16px; } .post-hero img { width: 56px; height: 56px; }
  .post-lead { font-size: 17px; }
  .about-tabs a { padding: 8px 14px; }
}
