/* ============================================================
   IMPAUER STRATEGIES — Website UI Kit styles
   Institutional, light, premium fintech. Built on design tokens.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--eyebrow);
  margin: 0 0 18px;
}
.eyebrow--onnavy { color: var(--brand-300); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: var(--s-24) 0; }
.section--tight { padding: var(--s-16) 0; }
section h2.head {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  margin: 0;
  color: var(--fg);
  max-width: 18ch;
  text-wrap: balance;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 15px;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 17px; height: 17px; }
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-600); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--surface-3); border-color: var(--ink-300); }
.btn--link { background: transparent; color: var(--primary); padding: 13px 4px; }
.btn--link:hover { color: var(--brand-700); }
.btn--onnavy { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.18); }
.btn--onnavy:hover { background: rgba(255,255,255,0.14); }
.btn--white { background:#fff; color: var(--brand-700); }
.btn--white:hover { background: var(--brand-50); }

/* ---------------- Nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__link {
  font-size: 14.5px; font-weight: 500; color: var(--ink-600);
  transition: color .15s ease; position: relative;
}
.nav__link:hover { color: var(--fg); }
.nav__right { display: flex; align-items: center; gap: 18px; }

/* ---------------- Hero ---------------- */
.hero { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; padding: var(--s-20) 0 var(--s-12); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-display);
  line-height: var(--lh-tight);
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--fg);
  text-wrap: balance;
}
.hero p.lead { font-size: 18px; line-height: 1.62; color: var(--fg-body); margin: 0 0 34px; max-width: 46ch; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual — "application layer" funnel descending into the network */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1.02;
  border-radius: var(--r-xl);
  background:
    radial-gradient(125% 100% at 58% 4%, #1a3f86 0%, var(--navy-800) 44%, var(--navy-900) 100%);
  border: 1px solid rgba(143,192,243,0.16);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero__visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(143,192,243,0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(143,192,243,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(85% 85% at 50% 42%, #000 25%, transparent 100%);
}
.hero__mark { position: absolute; top: 24px; left: 24px; width: 42px; opacity: .95; z-index: 3; }

.funnel { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12% 0 0; }
.funnel__layer {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  height: 62px;
  margin-bottom: 16px;
  padding: 0 28px;
  color: #eaf1fc;
  background: linear-gradient(180deg, rgba(120,170,240,0.24), rgba(20,48,110,0.46));
  border: 1px solid rgba(143,192,243,0.32);
  border-top-color: rgba(190,220,255,0.55);
  border-radius: 16px;
  backdrop-filter: blur(3px);
  filter: drop-shadow(0 14px 22px rgba(4,10,28,0.5));
  clip-path: polygon(2% 0, 98% 0, 94% 100%, 6% 100%);
}
.funnel__layer--1 { width: 78%; }
.funnel__layer--2 { width: 64%; }
.funnel__layer--3 { width: 50%; margin-bottom: 6px; }
.funnel__ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(143,192,243,0.16); border: 1px solid rgba(143,192,243,0.3); color: var(--brand-300); flex-shrink: 0; }
.funnel__ico .ico { width: 18px; height: 18px; }
.funnel__lbl { font-family: var(--font-display); font-weight: 600; font-size: 15px; white-space: nowrap; }
.funnel__portal {
  position: relative; width: 58%; height: 76px; margin-top: 2px;
  border-radius: 50%;
  background: radial-gradient(50% 78% at 50% 50%, rgba(125,185,255,0.6), rgba(40,90,180,0.16) 58%, transparent 74%);
}
.funnel__portal::before, .funnel__portal::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  border-radius: 50%; border: 1px solid rgba(143,192,243,0.32);
}
.funnel__portal::before { width: 80%; height: 66%; }
.funnel__portal::after { width: 52%; height: 42%; border-color: rgba(160,205,255,0.55); box-shadow: 0 0 26px rgba(125,185,255,0.45); }

/* ---------------- Stats ---------------- */
.stats-band { background: var(--surface-2); border-bottom: 1px solid var(--border); padding: 20px 0 72px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 20px;
}
.stat__ico { width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-600); }
.stat__ico .ico { width: 24px; height: 24px; }
.stat__val { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1; color: var(--brand-700); letter-spacing: -0.02em; white-space: nowrap; }
.stat__val.sm { font-size: 25px; }
.stat__val.ticker { font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.01em; font-size: 27px; }
.stat__label { margin-top: 9px; font-size: 13.5px; color: var(--fg-muted); font-weight: 500; }
.stat__rule { width: 36px; height: 3px; border-radius: 2px; background: var(--brand-400); margin-top: 12px; }

/* ---------------- Section header ---------------- */
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center h2.head, .sec-head.center .sub { margin-left: auto; margin-right: auto; }
.sec-head p.sub { margin: 16px 0 0; font-size: 17px; color: var(--fg-body); line-height: 1.6; max-width: 58ch; }

/* ---------------- Strategy ---------------- */
.strategy__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; }
.strategy h2.head { max-width: 14ch; }
.strategy p.lead { margin: 20px 0 0; font-size: 17px; line-height: 1.62; color: var(--fg-body); max-width: 52ch; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pillar {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.pillar:hover { border-color: var(--brand-200); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pillar__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-600); }
.pillar__ico .ico { width: 21px; height: 21px; }
.pillar h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin: 0 0 8px; color: var(--fg); }
.pillar p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--fg-body); }

/* ---------------- Ecosystem architecture ---------------- */
.eco-band { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eco-stack { display: flex; flex-direction: column; gap: 14px; max-width: 880px; margin: 0 auto; }
.eco-row {
  display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 24px 28px; position: relative;
}
.eco-row__tier { display: flex; align-items: center; gap: 14px; }
.eco-row__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-600); flex-shrink: 0; }
.eco-row__ico .ico { width: 22px; height: 22px; }
.eco-row__tier b { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--fg); display: block; }
.eco-row__tier span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--brand-500); }
.eco-row p { margin: 0; font-size: 15px; line-height: 1.58; color: var(--fg-body); }
.eco-row.is-network { background: linear-gradient(180deg, var(--surface), var(--brand-50)); border-color: var(--brand-200); }
.eco-connector { display: flex; justify-content: center; }
.eco-connector .ico { width: 22px; height: 22px; color: var(--brand-300); }

/* ---------------- Feature rows (Network / ADE / Consensus) ---------------- */
.feat-band { border-top: 1px solid var(--border); }
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: var(--s-20) 0; border-bottom: 1px solid var(--border); }
.feat-row:last-child { border-bottom: 0; }
.feat-row.flip .feat-row__media { order: -1; }
.feat-row__num { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--brand-400); }
.feat-row h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -0.02em; margin: 14px 0 16px; color: var(--fg); max-width: 16ch; }
.feat-row p { margin: 0; font-size: 16px; line-height: 1.62; color: var(--fg-body); max-width: 48ch; }
.feat-row__tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.feat-tag { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); padding: 7px 13px; border-radius: var(--r-pill); }
.feat-row__media {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(120% 100% at 70% 8%, #1a3f86 0%, var(--navy-800) 46%, var(--navy-900) 100%);
  border: 1px solid rgba(143,192,243,0.16); box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.feat-row__media::before { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(143,192,243,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(143,192,243,0.06) 1px, transparent 1px); background-size: 38px 38px; mask-image: radial-gradient(80% 80% at 50% 45%, #000 28%, transparent 100%); }
.feat-glyph { position: relative; width: 96px; height: 96px; border-radius: 24px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(120,170,240,0.28), rgba(20,48,110,0.5)); border: 1px solid rgba(143,192,243,0.4); border-top-color: rgba(190,220,255,0.6); box-shadow: 0 18px 36px rgba(4,10,28,0.5); }
.feat-glyph .ico { width: 44px; height: 44px; color: #dce8fb; }
.feat-orbit { position: absolute; border: 1px solid rgba(143,192,243,0.22); border-radius: 50%; }
.feat-orbit.o1 { width: 200px; height: 200px; }
.feat-orbit.o2 { width: 290px; height: 290px; border-color: rgba(143,192,243,0.13); }

/* ---------------- Foundation cards ---------------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 30px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.fcard:hover { border-color: var(--brand-200); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.fcard__ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-600);
}
.fcard__ico .ico { width: 22px; height: 22px; }
.fcard h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 0 0 10px; color: var(--fg); }
.fcard p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fg-body); }

/* ---------------- Category grid ---------------- */
.cat-band { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  position: relative; min-height: 188px;
}
.cat:hover { border-color: var(--brand-200); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cat__num { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--brand-400); letter-spacing: 0.05em; }
.cat__ico { position: absolute; top: 26px; right: 26px; color: var(--brand-300); }
.cat__ico .ico { width: 20px; height: 20px; }
.cat h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 16px 0 9px; color: var(--fg); max-width: 16ch; }
.cat p { margin: 0; font-size: 14.5px; line-height: 1.58; color: var(--fg-body); }

/* ---------------- Vision (dark band) ---------------- */
.vision { background: radial-gradient(120% 120% at 80% 0%, var(--navy-700) 0%, var(--navy-900) 60%); color: #fff; position: relative; overflow: hidden; }
.vision::before {
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(143,192,243,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(143,192,243,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 70% at 85% 10%, #000, transparent 75%);
}
.vision__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.vision h2 { font-family: var(--font-display); font-weight: 800; font-size: var(--t-h2); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 22px; color: #fff; max-width: 16ch; }
.vision p { font-size: 16px; line-height: 1.65; color: #c4d2ea; margin: 0 0 24px; max-width: 52ch; }
.vision__pull { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.45; color: #fff; border-left: 3px solid var(--brand-400); padding-left: 20px; margin: 0; }
/* flow */
.flow { display: flex; flex-direction: column; gap: 14px; }
.flow__node {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(143,192,243,0.18);
}
.flow__node .ico { width: 22px; height: 22px; color: var(--brand-300); flex-shrink: 0; }
.flow__node .lbl { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #eaf1fc; }
.flow__node .sub { font-size: 12.5px; color: #93a6c6; margin-top: 2px; }
.flow__arrow { width: 1px; height: 14px; background: rgba(143,192,243,0.4); margin-left: 39px; }
.flow__node.is-primary { background: linear-gradient(180deg, rgba(34,87,196,0.32), rgba(16,42,92,0.4)); border-color: rgba(143,192,243,0.4); }

/* ---------------- Investor ---------------- */
.inv__panel {
  background: radial-gradient(130% 130% at 90% 0%, var(--navy-700), var(--navy-900));
  border-radius: var(--r-xl); padding: 56px; color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.inv__panel::before { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(143,192,243,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(143,192,243,0.05) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(60% 100% at 90% 50%, #000, transparent); }
.inv__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; position: relative; }
.inv__chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-weight: 600; font-size: 13px; letter-spacing: 0.04em; color: var(--brand-300); background: rgba(143,192,243,0.10); border: 1px solid rgba(143,192,243,0.28); padding: 7px 14px; border-radius: var(--r-pill); margin-bottom: 24px; }
.inv h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px,2.8vw,40px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 20px; color:#fff; max-width: 17ch; }
.inv p { font-size: 16px; line-height: 1.62; color: #c4d2ea; margin: 0 0 30px; max-width: 50ch; }
.inv__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.inv__tags { display: flex; flex-direction: column; gap: 12px; }
.inv__tag { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255,255,255,0.05); border: 1px solid rgba(143,192,243,0.18); }
.inv__tag .ico { width: 20px; height: 20px; color: var(--brand-300); }
.inv__tag span { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: #eaf1fc; }

/* ---------------- Footer ---------------- */
.footer { background: var(--navy-900); color: #aebed8; padding: 72px 0 36px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(143,192,243,0.14); }
.footer__brand img { height: 34px; margin-bottom: 20px; }
.footer__brand p { font-size: 14px; line-height: 1.6; color: #8295b4; max-width: 38ch; margin: 0; }
.footer__col h4 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #6b7e9e; margin: 0 0 18px; font-weight: 500; }
.footer__col a { display: block; font-size: 14px; color: #b8c6de; margin-bottom: 12px; transition: color .15s ease; }
.footer__col a:hover { color: #fff; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,0.05); border: 1px solid rgba(143,192,243,0.16); color: #c4d2ea; transition: background .15s ease, color .15s ease; }
.footer__social a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.footer__social .ico { width: 18px; height: 18px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; font-size: 13px; color: #6b7e9e; }
.footer__bottom .tk { font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ---------------- Responsive ---------------- */
@media (max-width: 940px) {
  .hero__grid, .vision__grid, .inv__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 460px; }
  .stats, .cards-3, .cats, .pillars { grid-template-columns: 1fr; }
  .strategy__grid, .feat-row { grid-template-columns: 1fr; gap: 36px; }
  .feat-row.flip .feat-row__media { order: 0; }
  .feat-row__media { max-width: 460px; }
  .eco-row { grid-template-columns: 1fr; gap: 14px; }
  .nav__links { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
