/* =========================================================
   OPSL — Brain-Computer Interface Value Network
   Sober dark enterprise theme (monochrome neutral accent,
   hairline borders, no neon glow, no cartoon styling)
   ========================================================= */

:root {
  --bg: #0a0e15;
  --bg-2: #0d121c;
  --surface: #10161f;
  --surface-2: #141b26;
  --surface-glass: rgba(16, 22, 31, 0.62);
  --border: rgba(150, 165, 190, 0.10);
  --border-strong: rgba(150, 165, 190, 0.20);
  --text: #eceff5;
  --text-dim: #9aa6b8;
  --text-mute: #5e6a7e;
  --accent: #c2cad6;          /* neutral light gray — single monochrome accent */
  --accent-strong: #dde3ec;
  --accent-soft: rgba(255, 255, 255, 0.05);
  --accent-2: #c2cad6;
  --accent-2soft: rgba(255, 255, 255, 0.04);
  --grad: linear-gradient(120deg, #dde3ec 0%, #aab3c2 100%);
  --grad-soft: linear-gradient(120deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  --shadow: 0 14px 34px -26px rgba(0, 0, 0, 0.8);
  --radius: 12px;
  --maxw: 1200px;
  --font: "Inter", "Space Grotesk", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* faint engineering grid — adds a credible, structured backdrop (no glow) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 182, 205, 0.020) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 182, 205, 0.020) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; z-index: 1; padding: 108px 0; }
.muted { color: var(--text-dim); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 9px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: .22s ease; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #0a0e15; box-shadow: 0 6px 18px -12px rgba(0,0,0,0.5); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ---------- Nav ---------- */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 32px; transition: .3s ease;
  border-bottom: 1px solid transparent;
}
header.nav.scrolled {
  background: rgba(10, 14, 21, 0.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.logo { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 19px; letter-spacing: .4px; }
.logo .mark { width: 36px; height: 36px; }
.logo .mark text { font: 700 17px var(--font); fill: #06101e; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-dim); font-size: 15px; font-weight: 500; transition: .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 120px; padding-bottom: 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center right;
  opacity: .6; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 90%);
          mask-image: linear-gradient(90deg, #000 30%, transparent 90%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 8%, rgba(10,14,21,0.74) 52%, rgba(10,14,21,0.28) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border-radius: 7px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-strong); color: var(--text-dim);
  font-size: 13px; font-weight: 600; letter-spacing: .4px; margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(38px, 5.2vw, 64px); line-height: 1.08; font-weight: 800; letter-spacing: -1.5px;
  margin-bottom: 22px;
}
.hero h1 .grad { color: var(--text); box-shadow: inset 0 -0.14em 0 rgba(255,255,255,0.04); }
.hero p.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-dim); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .stat .n { font-size: 21px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -0.3px; }
.hero-stats .stat .l { font-size: 13px; color: var(--text-mute); }

/* hero visual panel — clean instrument look */
.hero-visual {
  position: relative; border-radius: 14px; padding: 1px;
  background: linear-gradient(140deg, rgba(83,129,189,0.26), rgba(83,129,189,0.07), transparent);
}
.hero-visual .inner {
  border-radius: 13px; background: var(--surface); padding: 22px; box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero-visual .ring { aspect-ratio: 1; border-radius: 12px; background: #0c121c;
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
  border: 1px solid var(--border); }
.hero-visual .ring::after { content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(150,165,190,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(150,165,190,0.05) 1px, transparent 1px);
  background-size: 22px 22px; }
.hero-visual .ring svg { width: 70%; position: relative; }
.viz-rows { display: flex; flex-direction: column; gap: 11px; margin-top: 16px; }
.viz-row { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 12px 20px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 9px; font-size: 13px; }
.viz-row::before { content: ""; position: absolute; left: 6px; top: 50%; transform: translateY(-50%);
  width: 2px; height: 14px; background: #c2cad6; border-radius: 1px; opacity: 0.55; }
.viz-row:first-child::before { background: #dde3ec; opacity: 1; height: 18px; }
.viz-row .tag { color: var(--text); font-weight: 600; }
.viz-row .val { color: var(--text-dim); font-variant-numeric: tabular-nums; }
.viz-row .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: var(--w, 0);
  background: linear-gradient(90deg, #dde3ec, rgba(221,227,236,0.25)); border-radius: 0 0 0 9px; opacity: 0.7; }
.viz-row:first-child .bar { background: linear-gradient(90deg, #dde3ec, #c2cad6); opacity: 1; }

/* ring status pill */
.hero-visual .ring-status { position: absolute; top: 12px; left: 14px; display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid var(--border-strong);
  font-size: 11px; font-weight: 600; color: var(--text-dim); letter-spacing: .4px; z-index: 2; backdrop-filter: blur(2px); }
.hero-visual .ring-status .live-dot { width: 6px; height: 6px; border-radius: 50%; background: #dde3ec; flex: 0 0 auto;
  animation: livepulse 2.2s infinite; }
.hero-visual .ring-status .live-sep { opacity: 0.4; }
.hero-visual .ring-status .live-sub { color: var(--text); font-weight: 600; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(221,227,236,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(221,227,236,0); }
  100% { box-shadow: 0 0 0 0 rgba(221,227,236,0); } }

/* tech HUD enhancements — radar sweep + active node pulse */
.hero-visual .ring-sweep { transform-box: fill-box; transform-origin: center; animation: ringsweep 7s linear infinite; }
@keyframes ringsweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.hero-visual .node-pulse { transform-box: fill-box; transform-origin: center; animation: nodepulse 2.6s ease-out infinite; }
@keyframes nodepulse { 0% { transform: scale(1); opacity: 0.85; } 85% { opacity: 0; } 100% { transform: scale(2.6); opacity: 0; } }

/* top-right mono coordinate readout */
.hero-visual .ring-coord { position: absolute; top: 12px; right: 14px; z-index: 2; text-align: right;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; line-height: 1.15; }
.hero-visual .ring-coord .rc-num { font-size: 14px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.hero-visual .ring-coord .rc-lbl { font-size: 9.5px; color: var(--text-mute); letter-spacing: 1.2px; text-transform: uppercase; margin-top: 2px; }

/* corner viewfinder brackets */
.hero-visual .bracket { position: absolute; width: 22px; height: 22px; pointer-events: none; opacity: 0.5; }
.hero-visual .bracket.tl { top: 10px; left: 10px; border-top: 1.5px solid #d6dde8; border-left: 1.5px solid #d6dde8; border-top-left-radius: 4px; }
.hero-visual .bracket.tr { top: 10px; right: 10px; border-top: 1.5px solid #d6dde8; border-right: 1.5px solid #d6dde8; border-top-right-radius: 4px; }
.hero-visual .bracket.bl { bottom: 10px; left: 10px; border-bottom: 1.5px solid #d6dde8; border-left: 1.5px solid #d6dde8; border-bottom-left-radius: 4px; }
.hero-visual .bracket.br { bottom: 10px; right: 10px; border-bottom: 1.5px solid #d6dde8; border-right: 1.5px solid #d6dde8; border-bottom-right-radius: 4px; }

/* viz-row metric + sparkline */
.viz-row .row-l { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.viz-row .row-r { display: flex; align-items: center; gap: 10px; }
.viz-row .val { font-size: 11.5px; color: var(--text-mute); }
.viz-row .num { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.viz-row .spark { width: 58px; height: 18px; opacity: 0.8; display: block; }

/* ---------- Section heading ---------- */
.sec-head { max-width: 720px; margin-bottom: 54px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { color: var(--text); font-weight: 600; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 13px; display: inline-flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--accent); opacity: .85; border-radius: 2px; }
.sec-head h2 { font-size: clamp(28px, 3.3vw, 41px); font-weight: 800; letter-spacing: -0.5px; line-height: 1.18; margin-bottom: 16px; }
.sec-head p { color: var(--text-dim); font-size: 17px; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: .25s ease; position: relative; overflow: hidden;
}
.card:hover { border-color: var(--border-strong); box-shadow: 0 12px 34px -26px rgba(0,0,0,0.9); }
.card .ic { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-strong); margin-bottom: 18px; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 15px; }

/* ---------- Vision split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .media { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.split .media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.vision-list { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.vision-list li { display: flex; gap: 14px; align-items: flex-start; list-style: none; }
.vision-list .tick { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 7px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong); display: grid; place-items: center; margin-top: 2px; }
.vision-list .tick svg { width: 14px; height: 14px; }
.vision-list b { color: var(--text); }
.vision-list span { color: var(--text-dim); font-size: 15px; }

/* ---------- Architecture ---------- */
.arch { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.arch-diagram { display: flex; flex-direction: column; gap: 12px; }
.layer { border: 1px solid var(--border); border-radius: 11px; padding: 18px 22px; background: var(--surface);
  position: relative; transition: .25s; }
.layer:hover { border-color: var(--border-strong); background: var(--surface-2); }
.layer .lt { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.layer .lt .num { font-size: 13px; font-weight: 700; color: var(--text); width: 26px; height: 26px;
  border-radius: 7px; background: rgba(255,255,255,0.04); display: grid; place-items: center; }
.layer .lt h4 { font-size: 17px; font-weight: 700; }
.layer p { color: var(--text-dim); font-size: 14px; }
.layer .arrow { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--text-mute); }

/* ---------- Token utility ---------- */
.token-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.token-card { background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; position: relative; }
.token-card .ic { color: var(--accent); margin-bottom: 15px; }
.token-card h3 { font-size: 18px; margin-bottom: 10px; }
.token-card p { color: var(--text-dim); font-size: 14.5px; }
.token-feature { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--text-mute); }

/* ---------- Ecosystem / use cases ---------- */
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.use-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: .25s; position: relative; overflow: hidden; }
.use-card::after { content:""; position:absolute; left:0; top:0; height:2px; width:100%;
  background: var(--accent); opacity: 0; transition: .3s; }
.use-card:hover::after { opacity: 1; }
.use-card:hover { border-color: var(--border-strong); box-shadow: 0 12px 34px -26px rgba(0,0,0,0.9); }
.use-card .ic { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong); display: grid; place-items: center; margin-bottom: 18px; }
.use-card .ic svg { width: 22px; height: 22px; }
.use-card h3 { font-size: 18px; margin-bottom: 8px; }
.use-card p { color: var(--text-dim); font-size: 14.5px; }

/* ---------- Roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.phase { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.phase .pn { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--text-dim); text-transform: uppercase; margin-bottom: 8px; }
.phase h3 { font-size: 21px; margin-bottom: 14px; }
.phase ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.phase ul li { font-size: 14px; color: var(--text-dim); padding-left: 20px; position: relative; }
.phase ul li::before { content:""; position:absolute; left:0; top:9px; width:6px; height:6px; border-radius:50%;
  background: var(--accent); }
.phase .connector { position: absolute; top: 38px; right: -18px; width: 18px; height: 1px; background: var(--border-strong); }

/* ---------- Governance & Security rows ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.panel h3 { font-size: 22px; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.panel h3 .ic { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,0.04); display: grid; place-items: center; border: 1px solid var(--border-strong); }
.panel p { color: var(--text-dim); margin-bottom: 14px; }
.panel ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.panel ul li { display: flex; gap: 12px; font-size: 15px; color: var(--text-dim); }
.panel ul li .tick { flex: 0 0 auto; }

/* ---------- Stats band ---------- */
.band { border: 1px solid var(--border); border-radius: 18px; padding: 46px 40px; background: var(--surface); }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.band .bign { font-size: 32px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -0.5px; }
.band .bigl { color: var(--text-dim); font-size: 14px; margin-top: 6px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; transition: .25s; }
.member:hover { border-color: var(--border-strong); box-shadow: 0 12px 34px -26px rgba(0,0,0,0.9); }
.member .avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong); display: grid; place-items: center; overflow: hidden; }
.member .avatar svg { width: 36px; height: 36px; }
.member h4 { font-size: 17px; }
.member .role { color: var(--text-dim); font-size: 13.5px; margin: 4px 0 12px; }
.member p { color: var(--text-mute); font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 11px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 26px; font-weight: 600; font-size: 16.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .q-icon { transition: .3s; color: var(--accent); flex: 0 0 auto; }
.faq-item[open] .q-icon { transform: rotate(45deg); }
.faq-item .a { padding: 0 26px 22px; color: var(--text-dim); font-size: 15px; }

/* ---------- CTA ---------- */
.cta-card { border-radius: 20px; padding: 60px 48px; text-align: center; position: relative; overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--border-strong); }
.cta-card h2 { font-size: clamp(28px, 3.5vw, 43px); font-weight: 800; margin-bottom: 16px; }
.cta-card p { color: var(--text-dim); max-width: 560px; margin: 0 auto 30px; font-size: 17px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--border); padding: 62px 0 30px; position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.foot-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-mute); margin-bottom: 18px; }
.foot-col a { display: block; color: var(--text-dim); font-size: 14.5px; margin-bottom: 11px; transition: .2s; }
.foot-col a:hover { color: var(--text); }
.foot-about p { color: var(--text-dim); font-size: 14.5px; max-width: 320px; margin-top: 16px; }
.foot-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 14px; color: var(--text-mute); font-size: 13.5px; }
.foot-social { display: flex; gap: 12px; }
.foot-social a { width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--border); display: grid; place-items: center; transition: .25s; }
.foot-social a:hover { border-color: var(--accent); background: var(--accent-soft); }
.foot-social svg { width: 18px; height: 18px; }

/* ---------- Reveal animation (subtle) ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   Whitepaper page
   ========================================================= */
.wp-wrap { display: grid; grid-template-columns: 290px 1fr; gap: 0; min-height: 100vh; padding-top: 66px; }
.wp-side { position: sticky; top: 66px; align-self: start; height: calc(100vh - 66px); overflow-y: auto;
  border-right: 1px solid var(--border); padding: 34px 24px; background: rgba(10,14,21,0.5); }
.wp-side .wp-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; margin-bottom: 24px; }
.wp-side .wp-brand .mark { width: 30px; height: 30px; }
.wp-toc { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.wp-toc a { display: flex; gap: 12px; align-items: center; padding: 11px 13px; border-radius: 9px;
  color: var(--text-dim); font-size: 14.5px; transition: .2s; border-left: 2px solid transparent; }
.wp-toc a .idx { font-size: 12px; color: var(--text-mute); width: 22px; flex: 0 0 auto; }
.wp-toc a:hover { color: var(--text); background: rgba(255,255,255,0.03); }
.wp-toc a.active { color: var(--text); background: rgba(255,255,255,0.04); border-left-color: var(--accent); }
.wp-main { padding: 46px 56px 110px; max-width: 920px; }
.wp-cover { border-radius: 14px; overflow: hidden; position: relative; margin-bottom: 48px; border: 1px solid var(--border); }
.wp-cover img { width: 100%; height: 280px; object-fit: cover; opacity: .82; }
.wp-cover .ov { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 38px; background: linear-gradient(0deg, rgba(10,14,21,0.94), transparent 72%); }
.wp-cover .ov .tag { color: var(--text-dim); font-weight: 600; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }
.wp-cover .ov h1 { font-size: 38px; font-weight: 800; margin-top: 8px; }
.wp-cover .ov p { color: var(--text-dim); max-width: 560px; }
.wp-chapter { scroll-margin-top: 90px; padding-bottom: 22px; margin-bottom: 22px; }
.wp-chapter h2 { font-size: 29px; font-weight: 800; margin: 18px 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.wp-chapter h3 { font-size: 19px; font-weight: 700; margin: 26px 0 12px; color: var(--text); }
.wp-chapter p { color: var(--text-dim); margin-bottom: 16px; font-size: 15.5px; }
.wp-chapter ul, .wp-chapter ol { color: var(--text-dim); margin: 0 0 16px 22px; font-size: 15.5px; }
.wp-chapter li { margin-bottom: 9px; }
.wp-chapter .callout { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: 11px; padding: 18px 22px; color: var(--text-dim); font-size: 15px; margin: 18px 0; }
.wp-chapter .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0; }
.wp-chapter .kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 13px; padding: 20px; }
.wp-chapter .kpi .n { font-size: 20px; font-weight: 700; color: var(--text); }
.wp-chapter .kpi .l { font-size: 13.5px; color: var(--text-mute); margin-top: 4px; }
.wp-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); }
.wp-nav a { flex: 1; border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; transition: .25s; }
.wp-nav a:hover { border-color: var(--border-strong); background: var(--surface); }
.wp-nav .lbl { font-size: 12.5px; color: var(--text-mute); }
.wp-nav .ttl { font-size: 15.5px; font-weight: 600; margin-top: 4px; }
.wp-nav .next { text-align: right; }
.wp-backtop { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; color: var(--text-dim); font-size: 14px; }
.wp-progress { position: fixed; top: 66px; left: 290px; right: 0; height: 2px; background: transparent; z-index: 50; }
.wp-progress .bar { height: 100%; width: 0; background: var(--grad); }

/* section media banner — realistic photography band */
.sec-media { margin: 8px 0 44px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); }
.sec-media img { display: block; width: 100%; height: clamp(230px, 34vw, 400px); object-fit: cover; filter: saturate(0.88) contrast(1.02); }
.sec-media .cap { padding: 11px 16px; font-size: 12.5px; color: var(--text-mute); border-top: 1px solid var(--border); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid, .split, .arch, .duo { grid-template-columns: 1fr; }
  .grid-4, .token-grid, .use-grid, .team-grid, .roadmap, .band-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap .connector { display: none; }
  .wp-wrap { grid-template-columns: 1fr; }
  .wp-side { display: none; }
  .wp-main { padding: 36px 22px 90px; }
  .wp-progress { left: 0; }
}
@media (max-width: 720px) {
  section { padding: 74px 0; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .grid-2, .grid-3, .grid-4, .token-grid, .use-grid, .team-grid, .roadmap, .band-grid, .foot-grid { grid-template-columns: 1fr; }
  .wp-chapter .kpis { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
}

.logo .mark, .wp-side .wp-brand .mark, img.mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
}
.wp-side .wp-brand .mark { width: 30px; height: 30px; }