/* MCA Horizon AI 5.0 — Meridian Crest Advisors (eoacllc blue/teal palette, no green) */
:root {
  --blue: #1174a5;        /* primary blue */
  --blue-d: #0e5f88;
  --teal: #27a7c8;        /* cyan/teal accent */
  --navy: #131923;        /* dark section bg */
  --navy-2: #1c2740;      /* slate section */
  --ink: #212121;
  --muted: #6b7280;
  --line: #e6e8ec;
  --bg: #ffffff;
  --gray: #e9ebef;        /* light section bg */
  --maxw: 1180px;
  --font: "Poppins", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.3px; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 80px; }
.brand img { height: 64px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav > a, .nav-trigger {
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.6px; color: var(--ink);
  background: none; border: 0; cursor: pointer; font-family: inherit; padding: 0; text-transform: uppercase;
}
.nav > a:hover, .nav-trigger:hover, .nav > a.active { color: var(--blue); }
.nav-dd { position: relative; }
.nav-menu {
  position: absolute; top: 150%; left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 40px -18px rgba(0,0,0,.3);
  padding: 8px; min-width: 170px; display: grid; gap: 2px; opacity: 0; visibility: hidden; transition: .18s;
}
.nav-dd:hover .nav-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-menu a { padding: 9px 12px; border-radius: 7px; font-size: 13.5px; font-weight: 500; text-transform: none; }
.nav-menu a:hover { background: var(--gray); color: var(--blue); }
.avatar-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); display: grid; place-items: center; flex: none;
}
.avatar-btn span { width: 16px; height: 2px; background: #fff; position: relative; }
.avatar-btn span::before, .avatar-btn span::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: #fff; }
.avatar-btn span::before { top: -5px; } .avatar-btn span::after { top: 5px; }
.menu-toggle { display: none; margin-left: auto; font-size: 24px; background: none; border: 0; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { background: #fff; }
/* hero.png 左/中部是透明的(只右侧有箭头+照片),透出的是 section 灰底 —— 与原站一致 */
/* 高度跟随图片比例(1920×826),避免 cover 把人物/箭头裁掉 */
.hero-bg {
  background: #dee2e4 url("assets/img/hero.png") center center / cover no-repeat;
  /* 高度≈宽度×826/1920,夹在 460–680 之间;不能用 aspect-ratio+max-height(会反向钳住宽度,宽屏下整块偏左) */
  height: clamp(460px, 43.02vw, 680px);
  display: flex;
  align-items: center;
}
.hero-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.hero-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; align-items: center; min-height: 500px; max-width: var(--maxw); margin: 0 auto; padding: 60px 28px; gap: 30px; }
.hero-copy { padding: 0; display: flex; flex-direction: column; justify-content: center; max-width: 52%; }
@media (max-width: 820px) {
  .hero-bg {
    height: auto; align-items: flex-start;
    background:
      linear-gradient(180deg, #dee2e4 58%, rgba(222,226,228,.6) 80%, rgba(222,226,228,0) 100%),
      #dee2e4 url("assets/img/hero.png") center bottom / cover no-repeat;
  }
  .hero-inner { min-height: 480px; padding: 46px 28px 84px; }
  .hero-copy { max-width: 100%; }
}
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2.4px; color: var(--blue); text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 4vw, 50px); line-height: 1.14; margin: 0 0 26px; color: var(--ink); max-width: 540px; }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-whitepaper { display: inline-flex; align-items: center; padding: 13px 24px; border: 1px solid rgba(14,95,136,.45); border-radius: 10px; color: var(--blue-d); font-size: 14px; font-weight: 700; background: rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.hero-whitepaper:hover { border-color: var(--blue); background: rgba(255,255,255,.7); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; max-width: 460px; }
.checks li { position: relative; padding-left: 22px; color: #374151; font-size: 14.5px; line-height: 1.5; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px; border-radius: 50%;
  background: #000;
}
/* hero media: rounded photo */
.hero-media { position: relative; min-height: 470px; border-radius: 16px; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; background: #2a3a4d url("assets/img/stock-market-data.jpg") 62% center/cover no-repeat; }
.photo-tag { display: none; }

/* ---------- Why (dark) ---------- */
.why { background: var(--navy); color: #fff; padding: 84px 0 70px; }
.why-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.why-copy h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 24px; }
.why-copy p { color: #c2c9d6; font-size: 16px; margin: 0 0 16px; max-width: 520px; }
.why-illu { display: grid; place-items: center; }
.dash { width: 320px; background: #1d2638; border: 1px solid #2c3850; border-radius: 18px; padding: 24px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.dash-row { display: flex; align-items: center; gap: 14px; }
.coin { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,#3ea0c9,#1174a5); color:#fff; display:grid; place-items:center; font-weight:800; flex:none; }
.chk { width: 36px; height: 36px; border-radius: 50%; background: #27a7c8; color:#fff; display:grid; place-items:center; font-weight:800; flex:none; }
.dash-bars { display: flex; align-items: flex-end; gap: 8px; height: 60px; flex: 1; }
.dash-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg,#3ea0c9,#1174a5); }
.dash-line { height: 2px; background: linear-gradient(90deg, transparent, #27a7c8, transparent); margin: 22px 0; position: relative; }
.dash-line::after { content:""; position:absolute; right: 20%; top:-4px; width:10px; height:10px; border-radius:50%; background:#27a7c8; }
.dash-pill { height: 12px; border-radius: 6px; background: #324059; flex: 1; }
.dash-pill.short { flex: .5; }
.why-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
.wcard { background: var(--blue); border-radius: 14px; padding: 28px 26px; }
.wcard h3 { font-size: 19px; margin: 0 0 12px; color: #fff; }
.wcard p { margin: 0; color: rgba(255,255,255,.86); font-size: 14.5px; }
.why-caption { text-align: center; color: #d4dae4; font-size: 17px; margin: 44px 0 0; }

/* ---------- Mission ---------- */
.mission { background: var(--navy-2); color: #fff; padding: 0; }
.mission-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; padding: 70px 28px; }
.mission-photo { min-height: 340px; border-radius: 14px; background: #2c3a4f url("assets/img/stock-data-analytics.jpg") center/cover no-repeat; position: relative; }
.mission-copy h2 { font-size: clamp(26px,3vw,36px); margin: 0 0 20px; }
.mission-copy p { color: #c6cdda; font-size: 15.5px; margin: 0 0 16px; }
.flow { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 30px; }
.flow li { position: relative; padding-left: 30px; font-weight: 600; font-size: 15.5px; }
.flow li::before {
  content: "›"; position: absolute; left: 0; top: -2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px;
}

/* ---------- Philosophy ---------- */
.philosophy { background: var(--navy-2); color: #fff; padding: 30px 0 80px; text-align: center; }
.philosophy h2 { font-size: clamp(28px,3.4vw,40px); margin: 0 0 22px; }
.philo-lede { max-width: 760px; margin: 0 auto 40px; color: #c6cdda; font-size: 16px; }
.philo-photo { max-width: 920px; margin: 0 auto; min-height: 360px; border-radius: 16px; background: #222e3d url("assets/img/stock-global-network.jpg") center/cover no-repeat; position: relative; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }

/* ---------- Benefits ---------- */
.benefits { background: var(--gray); padding: 80px 0; text-align: center; }
.benefits h2 { font-size: clamp(26px,3.2vw,38px); margin: 0 0 14px; color: var(--ink); }
.benefits-sub { color: var(--muted); font-size: 16px; margin: 0 0 44px; }
.carousel { position: relative; display: flex; align-items: center; gap: 12px; }
.car-track { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px 6px 30px; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.bcard {
  flex: 0 0 300px; scroll-snap-align: start; background: #fff; border-radius: 14px; padding: 46px 28px 32px;
  position: relative; text-align: left; box-shadow: 0 20px 40px -28px rgba(0,0,0,.3); min-height: 300px;
}
.bcard .tab { position: absolute; top: -16px; left: 28px; width: 56px; height: 34px; border-radius: 0 0 10px 10px; background: var(--blue); }
.bcard h3 { font-size: 21px; line-height: 1.25; margin: 0 0 16px; color: var(--ink); }
.bcard p { margin: 0; color: var(--muted); font-size: 14.5px; }
.car-btn {
  flex: none; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; color: var(--ink);
  font-size: 20px; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); z-index: 2;
}
.car-btn:hover { background: var(--blue); color: #fff; }
.benefits-closing { color: var(--muted); font-size: 16px; margin: 36px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--gray); padding: 30px 0; }
.site-footer p { text-align: center; margin: 0; background: #fff; padding: 22px; border-radius: 6px; color: var(--ink); font-size: 14.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .nav, .avatar-btn { display: none; }
  .menu-toggle { display: block; }
  body.nav-open .nav {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    position: absolute; top: 80px; left: 0; right: 0; background: #fff; padding: 22px 28px; border-bottom: 1px solid var(--line);
  }
  .hero-grid, .why-top, .mission-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 64px 28px 40px; }
  .hero-media { min-height: 320px; }
  .why-cards { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .why-cards { gap: 16px; }
  .bcard { flex-basis: 80vw; }
}

/* ============================================================
   INNER PAGES  (about / our-system / our-team / curriculum /
   research-insights / events)  — added for multi-page replica
   ============================================================ */

/* ---------- Page banner ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 74px 0 66px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(39,167,200,.22), transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--teal); }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; margin: 0 0 18px; max-width: 780px; }
.page-hero p { color: #c6cdda; font-size: 17px; max-width: 680px; margin: 0; }
.crumbs { font-size: 12.5px; letter-spacing: .4px; color: #8b95a8; margin: 0 0 18px; text-transform: uppercase; }
.crumbs a:hover { color: var(--teal); }
.crumbs span { color: #56607a; margin: 0 8px; }

/* article banner: reuse homepage hero photo, title pinned left */
.page-hero.article-banner {
  background: #dee2e4 url("assets/img/hero.png") center center / cover no-repeat;
  color: var(--ink); padding: 92px 0 74px;
}
.page-hero.article-banner::after { content: none; }
.page-hero.article-banner .container { margin-left: max(28px, calc((100% - var(--maxw)) / 2 - 100px)); margin-right: auto; }
.page-hero.article-banner h1 { color: var(--ink); max-width: 560px; margin: 0; }
@media (max-width: 820px) {
  .page-hero.article-banner { padding: 54px 0 46px; }
  .page-hero.article-banner h1 {
    -webkit-text-stroke: 3px #fff;
    paint-order: stroke fill;
    text-shadow: 0 0 3px #fff, 0 0 3px #fff;
  }
}

/* ---------- Generic prose section ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--gray); }
.section.dark { background: var(--navy-2); color: #fff; }
.section-head { max-width: 760px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 16px; }
.section .lede { font-size: 17px; color: var(--muted); margin: 0; }
.section.dark .lede { color: #c6cdda; }
.prose p { font-size: 15.5px; color: #374151; margin: 0 0 16px; max-width: 780px; }
.section.dark .prose p { color: #c6cdda; }
.tag-line { display: inline-block; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; padding: 6px 14px; border-radius: 20px; margin-bottom: 20px; }

/* ---------- Module / capability cards ---------- */
.mod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.mod { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; box-shadow: 0 24px 44px -34px rgba(0,0,0,.35); transition: transform .18s, box-shadow .18s; }
.mod:hover { transform: translateY(-4px); box-shadow: 0 30px 56px -30px rgba(17,116,165,.4); }
.mod .num { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--teal), var(--blue)); color: #fff; font-weight: 800; font-size: 18px; display: grid; place-items: center; margin-bottom: 18px; }
.mod h3 { font-size: 20px; margin: 0 0 12px; color: var(--ink); }
.mod p { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; }
.mod ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mod ul li { position: relative; padding-left: 22px; font-size: 14px; color: #374151; }
.mod ul li::before { content: ""; position: absolute; left: 6px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: #000; }
.section.dark .mod { background: #1d2638; border-color: #2c3850; }
.section.dark .mod h3 { color: #fff; }
.section.dark .mod p { color: #aab3c4; }
.section.dark .mod ul li { color: #c6cdda; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; gap: 20px; box-shadow: 0 24px 44px -34px rgba(0,0,0,.3); }
.member .ava { width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 22px; background: linear-gradient(135deg, var(--blue), var(--navy-2)); }
.member h3 { font-size: 18px; margin: 0 0 2px; }
.member .role { font-size: 12.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }
.member p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- Article / post list ---------- */
.posts { display: grid; gap: 22px; }
.post { display: grid; grid-template-columns: 150px 1fr; gap: 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; transition: box-shadow .18s, transform .18s; }
.post:hover { transform: translateY(-3px); box-shadow: 0 26px 48px -32px rgba(0,0,0,.3); }
.post .date { font-size: 13px; color: var(--muted); font-weight: 600; }
.post .date .badge { display: inline-block; margin-top: 10px; font-size: 11px; letter-spacing: .6px; text-transform: uppercase; color: var(--blue); background: #eaf4f9; padding: 4px 10px; border-radius: 20px; }
.post h3 { font-size: 18px; line-height: 1.35; margin: 0 0 10px; color: var(--ink); }
.post p { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; }
.readmore { font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--blue); }
.readmore:hover { color: var(--teal); }

/* ---------- Events ---------- */
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.event { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; position: relative; box-shadow: 0 24px 44px -34px rgba(0,0,0,.3); }
.event .soon { position: absolute; top: 22px; right: 22px; font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; color: #fff; background: var(--teal); padding: 5px 11px; border-radius: 20px; }
.event .ico { width: 48px; height: 48px; border-radius: 12px; background: #eaf4f9; color: var(--blue); display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }
.event h3 { font-size: 19px; margin: 0 0 10px; padding-right: 90px; }
.event p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Download buttons ---------- */
.dl-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.dl-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 600; padding: 13px 22px; border-radius: 10px; transition: background .16s; }
.dl-btn:hover { background: var(--blue-d); }
.dl-btn .g { opacity: .8; font-size: 12px; }
.dl-note { margin-top: 22px; font-size: 13.5px; color: var(--muted); max-width: 620px; }

/* ---------- Contact form ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-form { display: grid; gap: 14px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form textarea { width: 100%; font-family: inherit; font-size: 14.5px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(17,116,165,.14); }
.btn-primary { justify-self: start; background: var(--blue); color: #fff; border: 0; font-family: inherit; font-weight: 600; font-size: 14.5px; padding: 14px 30px; border-radius: 10px; cursor: pointer; transition: background .16s; }
.btn-primary:hover { background: var(--blue-d); }
.contact-info { display: grid; gap: 18px; align-content: start; }
.contact-info .ci { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .ci .k { width: 42px; height: 42px; border-radius: 10px; background: #eaf4f9; color: var(--blue); display: grid; place-items: center; font-size: 18px; flex: none; }
.contact-info .ci h4 { margin: 0 0 3px; font-size: 15px; }
.contact-info .ci p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Enriched footer ---------- */
.footer-rich { background: var(--navy); color: #fff; padding: 56px 0 0; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-cols .fbrand img { height: 54px; margin-bottom: 16px; }
.footer-cols p { color: #9aa4b6; font-size: 14px; margin: 0 0 10px; max-width: 320px; }
.footer-cols h4 { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.footer-cols a { display: block; color: #9aa4b6; font-size: 14px; margin-bottom: 10px; }
.footer-cols a:hover { color: var(--teal); }
.footer-bar { border-top: 1px solid #263041; padding: 20px 0; }
.footer-bar p { text-align: center; margin: 0; color: #7c8598; font-size: 13.5px; }

@media (max-width: 820px) {
  .post { grid-template-columns: 1fr; gap: 12px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 30px; }
  .contact-form .row { grid-template-columns: 1fr; }
}

/* ---------- Optimizations: active trigger, scroll-reveal, mobile submenu ---------- */
.nav-trigger.active { color: var(--blue); }

/* scroll-reveal (class added by app.js only, so no-JS = fully visible) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* mobile: make the About dropdown submenu reachable inline inside the open drawer */
@media (max-width: 920px) {
  body.nav-open .nav-dd { width: 100%; }
  body.nav-open .nav-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: transparent; border: 0; box-shadow: none; padding: 8px 0 0 16px;
    min-width: 0; display: grid; gap: 4px;
  }
  body.nav-open .nav-menu a { padding: 7px 0; }
}

/* ============================================================
   MCA Horizon AI — brand components (logo, team portrait,
   split image, stats, roadmap, honor tiers, badge)
   ============================================================ */
.brand img { height: 64px; }

/* logo lockup on dark footer: white chip */
.fbrand.chip { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 12px; }
.fbrand.chip img { height: 54px; }

/* pill hero eyebrow on green */
.hero .eyebrow, .page-hero .eyebrow { color: var(--teal); }

/* ---------- Split image + text ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { border-radius: 16px; overflow: hidden; min-height: 320px; box-shadow: 0 30px 60px -34px rgba(0,0,0,.4); background: #e6ebf2 center/cover no-repeat; }
.split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split h2 { font-size: clamp(24px,3vw,34px); margin: 0 0 16px; }
.split .prose p { margin: 0 0 14px; }

/* ---------- Stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 22px; margin-top: 8px; }
.stat { text-align: center; padding: 26px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px -32px rgba(0,0,0,.3); }
.section.dark .stat { background: #0e5f88; border-color: #24365e; }
.stat b { display: block; font-size: clamp(28px,4vw,40px); font-weight: 800; color: var(--teal); letter-spacing: -1px; line-height: 1; }
.stat span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.section.dark .stat span { color: #aeb8c9; }

/* ---------- Team portrait card ---------- */
.people { display: grid; grid-template-columns: 1fr; gap: 40px; }
.person { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.person.rev .person-photo { order: 2; }
.person-photo { min-height: 420px; background: #dfe5ee center top/cover no-repeat; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person-body { padding: 34px 34px 34px 4px; }
.person.rev .person-body { padding: 34px 4px 34px 34px; }
.person-body .kicker { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 700; color: var(--teal); }
.person-body h3 { font-size: 26px; margin: 8px 0 2px; }
.person-body .en { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.person-body .role { display: inline-block; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 13px; border-radius: 20px; margin-bottom: 16px; }
.person-body .quote { border-left: 3px solid var(--teal); padding: 6px 0 6px 16px; margin: 0 0 18px; font-size: 15.5px; color: var(--ink); font-style: italic; }
.facts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.facts li { position: relative; padding-left: 22px; font-size: 14px; color: #374151; }
.facts li::before { content: "▹"; position: absolute; left: 0; color: var(--teal); }
.cvline { display: grid; gap: 10px; }
.cv { display: grid; grid-template-columns: 120px 1fr; gap: 14px; font-size: 13.5px; }
.cv .yr { color: var(--teal); font-weight: 700; }
.cv .desc { color: var(--muted); }
.perf { margin-top: 16px; display: inline-flex; align-items: center; gap: 10px; background: #e6f4f9; color: #0e5f88; font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 10px; }

/* ---------- Roadmap timeline ---------- */
.road { position: relative; display: grid; gap: 26px; margin-top: 10px; }
.road::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg,var(--teal),transparent); }
.road .mile { position: relative; padding-left: 52px; }
.road .mile::before { content: ""; position: absolute; left: 8px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(39,167,200,.18); }
.road .mile .yr { font-weight: 800; color: var(--teal); font-size: 18px; }
.road .mile h3 { margin: 4px 0 6px; font-size: 18px; }
.road .mile p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 720px; }
.section.dark .road .mile h3 { color: #fff; }
.section.dark .road .mile p { color: #b7c0d0; }

/* ---------- Honor tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 20px; }
.tier { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 14px; padding: 26px 22px; box-shadow: 0 22px 44px -34px rgba(0,0,0,.3); }
.tier .lv { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--teal); text-transform: uppercase; }
.tier h3 { font-size: 18px; margin: 8px 0 12px; }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tier ul li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--muted); }
.tier ul li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* ---------- Points table ---------- */
.ptable { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ptable th, .ptable td { text-align: left; padding: 15px 20px; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.ptable th { background: var(--blue); color: #fff; font-weight: 600; }
.ptable td:last-child, .ptable th:last-child { text-align: right; font-weight: 700; color: var(--blue); }
.ptable tr:last-child td { border-bottom: 0; }

/* ---------- Badge callout ---------- */
.badge-call { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center; background: linear-gradient(135deg,var(--navy),var(--navy-2)); color: #fff; border-radius: 18px; padding: 34px; }
.badge-medal { width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #5ec7e0, var(--teal) 55%, #0e5f88); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 28px; box-shadow: 0 20px 40px -16px rgba(39,167,200,.6); border: 4px solid rgba(255,255,255,.25); }
.badge-call h3 { margin: 0 0 10px; font-size: 22px; }
.badge-call p { margin: 0; color: #c6cdda; font-size: 14.5px; }

@media (max-width: 820px) {
  .split, .person { grid-template-columns: 1fr; }
  .split.rev .split-media, .person.rev .person-photo { order: 0; }
  .person-body, .person.rev .person-body { padding: 26px; }
  .cv { grid-template-columns: 90px 1fr; }
  .badge-call { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* ============================================================
   HORIZON AI 5.0 WHITEPAPER
   ============================================================ */
.wp-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(39,167,200,.24), transparent 28%),
    linear-gradient(132deg, #071629 0%, #0b2440 58%, #0e5f88 100%);
  padding: 92px 0 86px;
}
.wp-hero::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 42px 42px; }
.wp-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); align-items: center; gap: 72px; }
.wp-kicker { margin: 0 0 14px; color: #76d8eb; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; }
.wp-status { display: inline-flex; align-items: center; gap: 8px; color: #f8d887; background: rgba(248,216,135,.1); border: 1px solid rgba(248,216,135,.32); border-radius: 999px; padding: 7px 13px; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.wp-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #f8d887; }
.wp-status.issued { color: #90ead3; background: rgba(72,199,165,.12); border-color: rgba(144,234,211,.42); }
.wp-status.issued::before { background: #61d7b8; box-shadow: 0 0 0 4px rgba(97,215,184,.12); }
.wp-hero h1 { margin: 22px 0 18px; font-size: clamp(42px,6.2vw,78px); line-height: .98; max-width: 780px; letter-spacing: -2.5px; }
.wp-subtitle { max-width: 720px; margin: 0; color: #cdd9e8; font-size: clamp(17px,2vw,21px); line-height: 1.65; }
.wp-meta { margin: 22px 0 0; color: #8da2bb; font-size: 13px; letter-spacing: .5px; }
.wp-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.wp-actions .btn-primary { display: inline-flex; align-items: center; }
.wp-btn-secondary { display: inline-flex; align-items: center; padding: 13px 25px; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 10px; font-size: 14px; font-weight: 700; }
.wp-btn-secondary:hover { border-color: #76d8eb; color: #76d8eb; }
.wp-cover-mark { position: relative; width: min(350px,80vw); aspect-ratio: 1; margin: auto; border-radius: 50%; overflow: hidden; background: #07111f; box-shadow: 0 28px 70px rgba(0,0,0,.38), 0 0 0 1px rgba(255,213,112,.42); }
.wp-hat-logo { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.wp-core { position: relative; z-index: 3; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; font-size: 33px; font-weight: 800; letter-spacing: 3px; background: linear-gradient(145deg,#43c4dc,#1174a5); box-shadow: 0 0 0 14px rgba(255,255,255,.06), 0 28px 60px rgba(0,0,0,.35); }
.wp-orbit { position: absolute; inset: 12%; border: 1px solid rgba(118,216,235,.42); border-radius: 50%; transform: rotate(18deg) scaleY(.62); }
.wp-orbit.orbit-two { inset: 4%; transform: rotate(-48deg) scaleY(.58); border-color: rgba(255,255,255,.24); }
.wp-alpha,.wp-omega { position: absolute; z-index: 2; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font: 700 25px Georgia,serif; background: #fff; color: #0e5f88; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.wp-alpha { left: 9%; top: 28%; }.wp-omega { right: 7%; bottom: 25%; }
.wp-facts { background: #fff; border-bottom: 1px solid var(--line); }
.wp-fact-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.wp-fact-grid > div { padding: 26px 28px; border-right: 1px solid var(--line); }.wp-fact-grid > div:last-child { border-right: 0; }
.wp-fact-grid span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .8px; }
.wp-fact-grid strong { display: block; margin-top: 7px; color: var(--ink); font-size: 20px; }
.wp-document { background: #f7f9fc; }
.wp-layout { display: grid; grid-template-columns: 240px minmax(0,860px); gap: 62px; align-items: start; justify-content: center; }
.wp-toc { position: sticky; top: 104px; display: grid; padding: 22px 0; max-height: calc(100vh - 126px); overflow: auto; }
.wp-toc p { margin: 0 0 13px; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; }
.wp-toc a { padding: 7px 0; color: #667085; font-size: 12.5px; line-height: 1.3; border-left: 2px solid #dce4ed; padding-left: 14px; }
.wp-toc a:hover { color: var(--blue); border-color: var(--teal); }
.wp-article { background: #fff; border: 1px solid #e1e7ef; border-radius: 20px; padding: 62px 68px; box-shadow: 0 30px 70px -50px rgba(10,33,60,.45); }
.wp-section { position: relative; padding: 0 0 58px; margin: 0 0 58px; border-bottom: 1px solid #e8edf3; scroll-margin-top: 110px; }
.wp-section-number { display: inline-block; margin-bottom: 12px; color: var(--blue); font-weight: 800; font-size: 12px; letter-spacing: 1.5px; }
.wp-section h2 { margin: 0 0 24px; color: #101828; font-size: clamp(28px,4vw,40px); line-height: 1.12; letter-spacing: -1px; }
.wp-section h3 { margin: 28px 0 10px; color: #16243a; font-size: 19px; }
.wp-section p { margin: 0 0 17px; color: #475467; font-size: 15.5px; line-height: 1.78; max-width: none; }
.wp-three-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 30px 0; }
.wp-three-grid > div { padding: 24px; border: 1px solid #dde6ef; border-radius: 14px; background: #fbfcfe; }
.wp-three-grid h3,.wp-card h3 { margin: 0 0 10px; }.wp-three-grid p,.wp-card p { margin: 0; font-size: 14px; line-height: 1.65; }
.wp-card-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 28px; }
.wp-card { padding: 24px; border-radius: 14px; background: #f6f9fc; border-top: 3px solid var(--blue); }
.wp-flow { display: flex; align-items: stretch; gap: 8px; margin: 30px 0; }
.wp-flow div { min-width: 0; flex: 1; padding: 18px 8px; border: 1px solid #dce6ef; border-radius: 12px; text-align: center; background: #f8fafc; }
.wp-flow b { display: block; color: var(--teal); font-size: 11px; margin-bottom: 6px; }.wp-flow span { color: #16243a; font-size: 12px; font-weight: 700; line-height: 1.3; }.wp-flow i { align-self: center; color: #98a5b5; font-style: normal; }
.wp-module-list { display: grid; gap: 2px; border: 1px solid #e1e7ef; border-radius: 14px; overflow: hidden; }
.wp-module-list > div { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 20px 22px; background: #fff; border-bottom: 1px solid #e8edf3; }.wp-module-list > div:last-child { border-bottom: 0; }
.wp-module-list b { color: #14243b; font-size: 14px; }.wp-module-list p { margin: 0; font-size: 14px; line-height: 1.6; }
.wp-process-grid { counter-reset: process; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 28px; }
.wp-process-grid > div { position: relative; padding: 24px 22px 22px; border: 1px solid #dfe7ef; border-radius: 14px; background: #fbfcfe; }
.wp-process-grid > div > b { position: absolute; top: 18px; right: 18px; color: #c5d3df; font-size: 26px; line-height: 1; }
.wp-process-grid h3 { margin: 0 38px 9px 0; font-size: 16px; }.wp-process-grid p { margin: 0; font-size: 13.5px; line-height: 1.65; }
.wp-validation-steps { display: grid; gap: 0; margin: 28px 0 24px; border: 1px solid #dfe7ef; border-radius: 14px; overflow: hidden; }
.wp-validation-steps > div { display: grid; grid-template-columns: 48px 160px minmax(0,1fr); align-items: center; gap: 16px; padding: 18px 20px; border-bottom: 1px solid #e6ecf2; }.wp-validation-steps > div:last-child { border-bottom: 0; }
.wp-validation-steps > div:nth-child(even) { background: #f8fafc; }.wp-validation-steps span { color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: 1px; }.wp-validation-steps b { color: #162a43; font-size: 13.5px; }.wp-validation-steps p { margin: 0; font-size: 13.5px; line-height: 1.55; }
.wp-dual { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.wp-dual > div { position: relative; overflow: hidden; padding: 30px; border-radius: 16px; color: #fff; }.wp-dual .alpha { background: linear-gradient(145deg,#0b3452,#1174a5); }.wp-dual .omega { background: linear-gradient(145deg,#172338,#354566); }
.wp-dual > div > span { position: absolute; right: 24px; top: 14px; font: 700 72px Georgia,serif; opacity: .12; }.wp-dual h3 { margin: 0 0 12px; color: #fff; }.wp-dual p { color: #d7e5ee; font-size: 14px; line-height: 1.65; }.wp-dual ul { margin: 20px 0 0; padding-left: 18px; color: #e7eff5; font-size: 13.5px; line-height: 1.8; }
.wp-table-wrap { overflow-x: auto; margin-top: 26px; border: 1px solid #dfe6ee; border-radius: 14px; }
.wp-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.wp-table th,.wp-table td { padding: 16px 17px; text-align: left; vertical-align: middle; border-right: 1px solid #e1e7ef; border-bottom: 1px solid #e1e7ef; color: #475467; font-size: 13.5px; line-height: 1.5; }.wp-table th:last-child,.wp-table td:last-child { border-right: 0; }.wp-table tr:last-child td { border-bottom: 0; }
.wp-table th { background: #102d49; color: #fff; font-size: 12px; letter-spacing: .4px; }.wp-table tbody tr:nth-child(even) { background: #f7fafd; }.wp-table .total td { font-weight: 800; color: #182d46; background: #edf5f9; }
.wp-badge { display: inline-flex; white-space: nowrap; border-radius: 999px; padding: 5px 9px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }.wp-badge.live { color: #08715c; background: #e6f7f1; }.wp-badge.testing { color: #8a5a00; background: #fff4d4; }.wp-badge.planned { color: #225ea8; background: #e9f2ff; }.wp-badge.pending { color: #9e3547; background: #fdecef; }
.wp-token-spec { display: grid; grid-template-columns: repeat(2,1fr); border: 1px solid #dfe6ee; border-radius: 14px; overflow: hidden; margin: 28px 0 24px; }
.wp-token-spec > div { padding: 18px 20px; border-right: 1px solid #e1e7ef; border-bottom: 1px solid #e1e7ef; }.wp-token-spec > div:nth-child(2n) { border-right: 0; }.wp-token-spec > div:nth-last-child(-n+2) { border-bottom: 0; }
.wp-token-spec span { display: block; color: #7b8798; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; }.wp-token-spec strong { display: block; margin-top: 6px; color: #152942; font-size: 15px; }
.wp-allocation { display: grid; grid-template-columns: 280px 1fr; align-items: center; gap: 48px; margin: 28px 0 34px; }
.wp-donut { position: relative; width: 260px; height: 260px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#0e5f88 0 25%,#20a7bd 25% 45%,#5c7da5 45% 60%,#9ab5cc 60% 75%,#e0a75c 75% 85%,#715f91 85% 95%,#d77a7a 95% 100%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.wp-donut::before { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; background: #fff; }.wp-donut span { position: relative; z-index: 1; color: #607086; text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }.wp-donut b { display: block; color: #122b45; font-size: 29px; letter-spacing: -1px; }
.wp-legend { display: grid; gap: 11px; }.wp-legend span { display: flex; align-items: center; gap: 10px; color: #475467; font-size: 13.5px; }.wp-legend i { width: 11px; height: 11px; border-radius: 3px; flex: none; }.wp-legend .c1{background:#0e5f88}.wp-legend .c2{background:#20a7bd}.wp-legend .c3{background:#5c7da5}.wp-legend .c4{background:#9ab5cc}.wp-legend .c5{background:#e0a75c}.wp-legend .c6{background:#715f91}.wp-legend .c7{background:#d77a7a}
.wp-principles { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 28px; }.wp-principles > div { padding: 22px; border-left: 3px solid var(--teal); background: #f7fafc; }.wp-principles b { color: #162a43; }.wp-principles p { margin: 7px 0 0; font-size: 13.5px; line-height: 1.65; }
.wp-check-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }.wp-check-list li { position: relative; padding: 14px 16px 14px 44px; color: #475467; background: #f7fafc; border-radius: 10px; font-size: 14px; }.wp-check-list li::before { content: "\2713"; position: absolute; left: 17px; color: var(--blue); font-weight: 800; }
.wp-revenue-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 22px 0 30px; }
.wp-revenue-grid > div { padding: 20px; border: 1px solid #dde6ef; border-radius: 12px; background: #fbfcfe; }.wp-revenue-grid > div:last-child { grid-column: 1/-1; }
.wp-revenue-grid b { color: #162a43; font-size: 14px; }.wp-revenue-grid p { margin: 7px 0 0; font-size: 13.5px; line-height: 1.6; }
.wp-value-loop { display: flex; align-items: center; gap: 8px; margin: 22px 0; padding: 18px; border-radius: 14px; background: #102d49; }
.wp-value-loop span { flex: 1; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.35; text-align: center; }.wp-value-loop i { color: #76d8eb; font-style: normal; }
.wp-roadmap { position: relative; display: grid; gap: 0; margin-top: 28px; }.wp-roadmap::before { content: ""; position: absolute; left: 46px; top: 20px; bottom: 20px; width: 1px; background: #cbd8e5; }.wp-roadmap > div { position: relative; display: grid; grid-template-columns: 92px 1fr; padding: 0 0 28px; }.wp-roadmap b { position: relative; z-index: 1; justify-self: start; background: #fff; color: var(--blue); font-size: 14px; padding: 6px 12px; border: 1px solid #cbd8e5; border-radius: 999px; }.wp-roadmap h3,.wp-roadmap p { grid-column: 2; }.wp-roadmap h3 { margin: 2px 0 7px; }.wp-roadmap p { margin: 0; font-size: 14px; }
.wp-risk { padding: 34px; border: 1px solid #ead8c2; border-radius: 16px; background: #fffaf3; overflow-wrap: anywhere; }.wp-risk .wp-section-number { color: #9b681c; }.wp-risk h2 { font-size: 32px; }.wp-risk h3 { margin: 24px 0 8px; font-size: 16px; color: #34230d; }.wp-risk p:last-child { margin-bottom: 0; }
.wp-risk-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }.wp-risk-heading h2 { margin-bottom: 0; }
.wp-document-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; color: #667085; }.wp-document-footer p { margin: 0; font-size: 12.5px; line-height: 1.65; }.wp-document-footer a { color: var(--blue); }
@media (max-width: 980px) {
  .wp-hero-grid { grid-template-columns: 1fr; }.wp-cover-mark { width: min(280px,70vw); margin-top: 14px; }
  .wp-layout { grid-template-columns: minmax(0,1fr); }.wp-toc,.wp-article { min-width: 0; }.wp-toc { position: static; max-height: none; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }.wp-toc p { grid-column: 1/-1; }
}
@media (max-width: 720px) {
  .wp-hero { padding: 68px 0 62px; }.wp-hero h1 { letter-spacing: -1.5px; }
  .wp-fact-grid { grid-template-columns: repeat(2,1fr); }.wp-fact-grid > div { border-bottom: 1px solid var(--line); }.wp-fact-grid > div:nth-child(2n) { border-right: 0; }
  .wp-article { padding: 38px 24px; border-radius: 14px; }.wp-section { padding-bottom: 42px; margin-bottom: 42px; }
  .wp-three-grid,.wp-card-grid,.wp-dual,.wp-token-spec,.wp-principles,.wp-document-footer,.wp-process-grid,.wp-revenue-grid { grid-template-columns: 1fr; }
  .wp-revenue-grid > div:last-child { grid-column: auto; }
  .wp-token-spec > div { border-right: 0; }.wp-token-spec > div:nth-last-child(-n+2) { border-bottom: 1px solid #e1e7ef; }.wp-token-spec > div:last-child { border-bottom: 0; }
  .wp-flow { display: grid; grid-template-columns: 1fr; }.wp-flow i { transform: rotate(90deg); justify-self: center; }
  .wp-module-list > div { grid-template-columns: 1fr; gap: 7px; }.wp-allocation { grid-template-columns: 1fr; gap: 26px; }.wp-donut { margin: auto; }
  .wp-validation-steps > div { grid-template-columns: 42px 1fr; gap: 8px 12px; }.wp-validation-steps p { grid-column: 2; }
  .wp-value-loop { flex-direction: column; gap: 9px; }.wp-value-loop i { transform: rotate(90deg); }
  .wp-risk { padding: 26px 22px; }.wp-risk-heading { align-items: stretch; flex-direction: column; gap: 14px; }.wp-toc { grid-template-columns: 1fr; }
}
@media print {
  @page { size: Letter; margin: 15mm 14mm 16mm; }
  .site-header,.footer-rich,.wp-actions,.wp-facts,.wp-toc { display: none !important; }
  body,.wp-document { background: #fff !important; }
  .wp-hero { color: #fff !important; padding: 18mm 12mm; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .wp-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) 45mm; gap: 8mm; align-items: center; }
  .wp-cover-mark { display: block; width: 45mm; margin: 0; box-shadow: 0 6mm 14mm rgba(0,0,0,.3), 0 0 0 .25mm rgba(255,213,112,.5); }
  .wp-hero h1 { font-size: 36pt; }.wp-subtitle { font-size: 12pt; }
  .wp-document { padding: 12mm 0 0; }.wp-layout { display: block; }.wp-article { border: 0; box-shadow: none; padding: 0; }
  .wp-section { break-inside: auto; page-break-inside: auto; padding-bottom: 10mm; margin-bottom: 10mm; }
  .wp-section-number { break-after: avoid; page-break-after: avoid; }
  .wp-section h2,.wp-section h3 { break-before: avoid; page-break-before: avoid; break-after: avoid; page-break-after: avoid; }
  .wp-three-grid > div,.wp-card,.wp-dual > div,.wp-flow,.wp-module-list > div,.wp-token-spec > div,.wp-allocation,.wp-principles > div,.wp-roadmap > div,.wp-process-grid > div,.wp-validation-steps > div,.wp-revenue-grid > div,.wp-value-loop { break-inside: avoid; page-break-inside: avoid; }
  .wp-risk { break-before: page; page-break-before: always; break-inside: auto; page-break-inside: auto; padding: 7mm; }.wp-risk-heading { display: block; margin-bottom: 3mm; }.wp-risk h2 { font-size: 22pt; }.wp-risk h3 { margin: 2.6mm 0 .8mm; font-size: 10pt; }.wp-risk p { margin: 0 0 1.6mm; font-size: 8.1pt; line-height: 1.38; }.wp-legal-copy h3 { break-after: avoid; page-break-after: avoid; }.wp-legal-copy p { break-before: avoid; page-break-before: avoid; }
  .wp-document-footer { break-inside: avoid; page-break-inside: avoid; }.wp-document-footer p { font-size: 8.5pt; line-height: 1.4; }
  .wp-table-wrap { overflow: visible; }.wp-table { min-width: 0; }.wp-table th,.wp-table td { padding: 7px 8px; font-size: 8.5pt; }
  .wp-section p { font-size: 10pt; line-height: 1.55; }.wp-section h2 { font-size: 24pt; }.wp-section h3 { font-size: 13pt; }
  .wp-card p,.wp-three-grid p,.wp-module-list p,.wp-principles p,.wp-roadmap p,.wp-process-grid p,.wp-validation-steps p,.wp-revenue-grid p { font-size: 8.5pt; }
  .wp-donut { width: 190px; height: 190px; }.wp-donut::before { width: 100px; height: 100px; }
  a { color: inherit; text-decoration: none; }
}

/* ---------- Offcanvas sidebar (top-right button) ---------- */
.avatar-btn { transition: background .16s; }
.avatar-btn:hover { background: var(--blue); }
body.oc-lock { overflow: hidden; }
.oc-backdrop {
  position: fixed; inset: 0; background: rgba(10,16,28,.55); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 90;
}
.oc-backdrop.open { opacity: 1; visibility: visible; }
.offcanvas {
  position: fixed; top: 0; right: 0; height: 100%; width: 380px; max-width: 88vw;
  background: #fff; z-index: 95; padding: 36px 34px; overflow-y: auto;
  transform: translateX(100%); transition: transform .34s cubic-bezier(.4,0,.2,1);
  box-shadow: -20px 0 60px -30px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 26px;
}
.offcanvas.open { transform: translateX(0); }
.oc-close {
  position: absolute; top: 20px; right: 22px; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 22px; line-height: 1;
  cursor: pointer; display: grid; place-items: center; transition: .16s;
}
.oc-close:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.oc-logo img { height: 46px; width: auto; }
.oc-heading { font-size: 13px; letter-spacing: .6px; text-transform: uppercase; color: var(--blue); margin: 0 0 14px; }
.oc-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.oc-info li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #374151; line-height: 1.5; }
.oc-info b { color: var(--ink); font-weight: 600; }
.oc-info a { color: var(--blue); }
.oc-info a:hover { text-decoration: underline; }
.oc-i { width: 30px; height: 30px; border-radius: 8px; background: var(--gray); color: var(--blue); display: grid; place-items: center; font-size: 14px; flex: none; }
.oc-blurb { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.65; }
.oc-cta { display: block; text-align: center; background: var(--blue); color: #fff; font-size: 14.5px; font-weight: 600; padding: 14px 20px; border-radius: 10px; transition: background .16s; }
.oc-cta:hover { background: var(--blue-d); }
.oc-social { display: flex; gap: 12px; margin-top: auto; padding-top: 10px; }
.oc-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue); font-size: 15px; transition: .16s; }
.oc-social a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- Mobile safety: prevent horizontal overflow on narrow phones ---------- */
html { overflow-x: hidden; }
.dash { max-width: 100%; }
@media (max-width: 600px) {
  /* collapse every card grid to a single column so no min-width forces overflow */
  .mod-grid, .events-grid, .tiers, .stats { grid-template-columns: 1fr !important; }
  .container { padding: 0 20px; }
  .hero-grid { padding: 40px 20px; }
  .hero-copy { padding: 40px 20px 24px !important; }
  .page-hero { padding: 54px 0 46px; }
  .why { padding: 60px 0 52px; }
  .section { padding: 52px 0; }
  .stats { gap: 14px; }
  .road::before { left: 11px; }
  .road .mile { padding-left: 40px; }
  .cv { grid-template-columns: 84px 1fr; }
  .dash { width: 100%; }
}

/* ---------- Download the App (shared: home + about) ---------- */
/* ===== Download the App ===== */
.dl-section { background: linear-gradient(135deg, #0e2233 0%, #12303f 55%, #0e5f88 100%); color: #fff; }
.dl-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.dl-head .tag-line { color: #7fe3f5; }
.dl-head h2 { color: #fff; margin: 8px 0 12px; }
.dl-head p { color: #cfe6f0; margin: 0; }
.dl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.dl-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 18px; border-radius: 14px;
  background: #fff;
  border: 1px solid #fff;
  color: #12303f; text-decoration: none;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .45);
  transition: transform .16s ease, box-shadow .16s ease;
}
.dl-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .55); }
.dl-btn svg { width: 28px; height: 28px; flex: 0 0 auto; fill: #12303f; }
.dl-btn .dl-txt { display: flex; flex-direction: column; line-height: 1.25; }
.dl-btn .dl-lg { font-size: 15.5px; font-weight: 700; }
@media (max-width: 860px) { .dl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .dl-grid { grid-template-columns: 1fr; } }

/* ===== Coming Soon modal ===== */
.cs-mask { position: fixed; inset: 0; background: rgba(8, 20, 30, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 2000; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.cs-mask.show { opacity: 1; pointer-events: auto; }
.cs-card { width: 100%; max-width: 400px; background: #fff; border-radius: 20px; padding: 34px 30px 28px; text-align: center; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); transform: translateY(16px) scale(.96); transition: transform .28s cubic-bezier(.22,1,.36,1); }
.cs-mask.show .cs-card { transform: translateY(0) scale(1); }
.cs-icon { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1174a5, #27a7c8); box-shadow: 0 12px 26px -10px rgba(39,167,200,.7); }
.cs-icon svg { width: 36px; height: 36px; fill: #fff; }
.cs-card h3 { font-size: 21px; margin: 0 0 10px; color: var(--ink); }
.cs-card p { font-size: 14.5px; line-height: 1.7; color: var(--muted); margin: 0 0 22px; }
.cs-btn { display: inline-block; background: var(--blue); color: #fff; border: 0; font-family: inherit; font-weight: 700; font-size: 14.5px; padding: 12px 34px; border-radius: 10px; cursor: pointer; transition: background .16s; }
.cs-btn:hover { background: var(--blue-d); }
