/* ============================================================
   PTNL Rating — Главная страница
   clean luxury tech · liquid glass · data clusters
   ============================================================ */

/* Заголовочный шрифт айдентики — Cygre Bold (локальный файл) */
@font-face {
  font-family: "Cygre";
  src: url("fonts/Cygre-Bold.ttf") format("truetype");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand core (logobook, exact) */
  --mist: #e8ebf7;
  --accent: #ef4e35;
  --slate: #9aaac4;
  --navy: #1a4669;

  /* Ink ramp */
  --ink-950: #08161f;
  --ink-900: #0b1b2b;
  --ink-800: #102a40;
  --ink-700: #16395a;
  --ink-600: #1a4669;
  --ink-500: #27567e;
  /* Slate ramp */
  --slate-600: #5e7396;
  --slate-500: #7c8fb0;
  --slate-400: #9aaac4;
  --slate-300: #b9c5d9;
  --slate-200: #d4dce9;
  --slate-100: #e8ebf7;
  /* Mist */
  --mist-50: #fbfcff;
  --mist-100: #f4f5fb;
  --mist-200: #e8ebf7;
  /* Accent ramp */
  --accent-700: #c2351f;
  --accent-600: #d63e27;
  --accent-500: #ef4e35;
  --accent-400: #f57862;
  --accent-200: #fab9ad;
  /* Data hues */
  --d-navy: #1a4669;
  --d-blue: #2f7fb5;
  --d-cyan: #4fc3d0;
  --d-slate: #9aaac4;
  --d-amber: #e8b14a;
  --d-accent: #ef4e35;
  /* Semantic */
  --ok: #2e9e6b;
  --warn: #e8b14a;
  --err: #d63e27;
  --info: #2f7fb5;

  /* Dark surface system */
  --bg: #08161f;
  --surface: rgba(232, 235, 247, 0.035);
  --surface-2: rgba(232, 235, 247, 0.06);
  --glass: rgba(232, 235, 247, 0.05);
  --glass-2: rgba(232, 235, 247, 0.08);
  --stroke: rgba(154, 170, 196, 0.16);
  --stroke-2: rgba(154, 170, 196, 0.3);
  --text: #eaf0fa;
  --text-soft: #aebcd4;
  --text-mute: #aebcd4 /*#6e7f9b*/;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;
  --s10: 128px;

  --sh-1: 0 1px 2px rgba(0, 0, 0, 0.3);
  --sh-2: 0 10px 30px rgba(0, 0, 0, 0.35);
  --sh-3: 0 30px 70px rgba(0, 0, 0, 0.5);
  --glow-accent:
    0 0 0 1px rgba(239, 78, 53, 0.4), 0 10px 44px rgba(239, 78, 53, 0.3);

  --blur: 18px;
  --blur-strong: 34px;

  --d-micro: 120ms;
  --d-base: 240ms;
  --d-enter: 520ms;
  --d-hero: 820ms;
  --e-std: cubic-bezier(0.4, 0, 0.2, 1);
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);

  --f-display:
    "Cygre", "Manrope", system-ui, sans-serif; /* заголовки — Cygre Bold */
  --f-text: "Manrope", system-ui, sans-serif; /* тело */
  --f-mono:
    "Manrope", system-ui, sans-serif; /* техинфо/метки — Manrope (IBM Plex Mono убран) */

  --maxw: 1240px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: auto;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection {
  background: rgba(239, 78, 53, 0.32);
  color: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

/* ambient bg */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      1200px 820px at 80% -10%,
      rgba(26, 70, 105, 0.55),
      transparent 60%
    ),
    radial-gradient(
      900px 700px at -5% 12%,
      rgba(16, 42, 64, 0.6),
      transparent 55%
    ),
    linear-gradient(180deg, #08161f, #0b1b2b 45%, #08161f);
}

/* layout */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 680px) {
  .wrap {
    padding: 0 22px;
  }
}
section {
  position: relative;
}
.sec {
  padding: var(--s9) 0;
}
@media (max-width: 900px) {
  .sec {
    padding: 72px 0;
  }
}

/* type */
h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-500);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent-500);
  opacity: 0.8;
}
.eyebrow.c-cyan {
  color: var(--d-cyan);
}
.eyebrow.c-cyan::before {
  background: var(--d-cyan);
}
.eyebrow.c-slate {
  color: var(--slate-400);
}
.eyebrow.c-slate::before {
  background: var(--slate-400);
}
.h-display {
  font-size: clamp(40px, 6.4vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  letter-spacing: -0.035em;
}
.h3 {
  font-size: clamp(20px, 2.3vw, 27px);
  letter-spacing: -0.02em;
  font-weight: 700;
}
.lede {
  font-size: clamp(16px, 1.55vw, 20px);
  color: var(--text-soft);
  line-height: 1.62;
  max-width: 80%;
  font-weight: 400;
}
.muted {
  color: var(--text-mute);
}
.soft {
  color: var(--text-soft);
}
.accent {
  color: var(--accent-500);
}
.mono {
  font-family: var(--f-mono);
}
.sec-head {
  max-width: 90%;
  margin: 0 auto var(--s8);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
}
.sec-head.left {
  margin-left: 0;
  text-align: left;
  align-items: flex-start;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-text);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform var(--d-micro) var(--e-out),
    box-shadow var(--d-base),
    background var(--d-base),
    border-color var(--d-base);
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent-500);
  color: #fff;
  box-shadow: 0 8px 30px rgba(239, 78, 53, 0.32);
}
.btn-primary:hover {
  background: var(--accent-600);
  box-shadow: var(--glow-accent);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(232, 235, 247, 0.04);
  color: var(--text);
  border-color: var(--stroke-2);
}
.btn-ghost:hover {
  background: rgba(232, 235, 247, 0.08);
  border-color: var(--slate-400);
  transform: translateY(-2px);
}
.btn-arrow svg {
  transition: transform var(--d-base) var(--e-out);
}
.btn-arrow:hover svg {
  transform: translateX(4px);
}

/* chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--stroke);
  color: var(--text-soft);
  background: rgba(232, 235, 247, 0.025);
}
.chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: 0 0 auto;
}

/* glass + cards */
.glass {
  background: var(--glass);
  backdrop-filter: blur(var(--blur)) saturate(1.2);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.2);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
}
.card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  padding: var(--s6);
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--d-base) var(--e-std),
    transform var(--d-base) var(--e-out),
    background var(--d-base);
}
.card:hover {
  border-color: var(--stroke-2);
  transform: translateY(-4px);
  background: var(--surface-2);
}
.kk {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--slate-500);
  text-transform: uppercase;
}

/* grid */
.grid {
  display: grid;
  gap: var(--s5);
}
.g2 {
  grid-template-columns: repeat(2, 1fr);
}
.g3 {
  grid-template-columns: repeat(3, 1fr);
}
.g4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px) {
  .g4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .g3 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .g2 {
    grid-template-columns: 1fr;
  }
  .g4 {
    grid-template-columns: 1fr;
  }
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity var(--d-enter) var(--e-out),
    transform var(--d-enter) var(--e-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============ HEADER ============ */
.hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  transition:
    background var(--d-base),
    border-color var(--d-base),
    backdrop-filter var(--d-base);
}
.hdr-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hdr.scrolled {
  background: rgba(8, 22, 31, 0.72);
  backdrop-filter: blur(var(--blur-strong));
  border-bottom: 1px solid var(--stroke);
}
.logotype {
  max-height: 38px;
}
.logotype-image {
  max-height: 38px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--mist);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.logo .ic img {
  width: 30px;
  height: auto;
}
.logo .wm {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: #fff;
}
.logo .wm b {
  color: var(--accent-500);
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  font-size: 14.5px;
  color: var(--text-soft);
  padding: 9px 14px;
  border-radius: var(--r-sm);
  transition:
    color var(--d-base),
    background var(--d-base);
}
.nav a:hover {
  color: var(--text);
  background: rgba(232, 235, 247, 0.05);
}
.hdr-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--stroke-2);
  background: rgba(232, 235, 247, 0.04);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.burger span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.25s;
}
@media (max-width: 1080px) {
  .nav {
    display: none;
  }
  .hdr-cta .btn-ghost {
    display: none;
  }
}
@media (max-width: 1080px) {
  .burger {
    display: flex;
  }
}
/* mobile menu */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: rgba(8, 22, 31, 0.96);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 40px;
  transform: translateY(-100%);
  transition: transform var(--d-base) var(--e-out);
  pointer-events: none;
}
.mmenu.open {
  transform: none;
  pointer-events: auto;
}
.mmenu a {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--stroke);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding-top: 150px;
  padding-bottom: 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.85fr 0.15fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0px 7px 0px;
  /*border: 1px solid var(--stroke);*/
  border-radius: var(--r-pill);
  background: rgba(232, 235, 247, 0.03);
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 26px;
}
.hero-badge .tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--accent-500);
  color: #fff;
  white-space: nowrap;
  flex: 0 0 auto;
}
.hero-badge .bt {
  white-space: nowrap;
}
.hero-badge {
  white-space: nowrap;
  max-width: none;
  width: max-content;
}
.hero h1 {
  margin-bottom: 24px;
}
.hero .lede {
  margin-bottom: 34px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hstat .n {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.03em;
  color: #fff;
}
.hstat .n .u {
  color: var(--accent-500);
}
.hstat .l {
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 2px;
}
.hero-stage {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}
#heroCanvas {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-stage .glass-readout {
  position: absolute;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(11, 27, 43, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid var(--stroke-2);
  box-shadow: var(--sh-2);
  font-family: var(--f-mono);
  font-size: 11px;
}
.hero-stage .ro1 {
  top: 8%;
  left: -2%;
}
.hero-stage .ro2 {
  bottom: 10%;
  right: -4%;
}
.glass-readout .lab {
  color: var(--text-mute);
  letter-spacing: 0.06em;
}
.glass-readout .val {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  font-family: var(--f-display);
  margin-top: 3px;
}
.glass-readout .val .up {
  color: var(--ok);
  font-size: 12px;
  margin-left: 6px;
}
@media (max-width: 520px) {
  .hero-stage .glass-readout {
    display: none;
  }
}

/* marquee trust */
.trust {
  padding: 30px 0;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  background: rgba(232, 235, 247, 0.015);
}
.trust-row {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-row .t-lab {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.trust-row .t-item {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--slate-400);
  opacity: 0.8;
  letter-spacing: -0.01em;
}

/* ============ PROBLEM / SOLUTION ============ */
.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 840px) {
  .ps-grid {
    grid-template-columns: 1fr;
  }
}
.ps-card {
  border-radius: var(--r-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.ps-before {
  background: var(--surface);
  border: 1px solid var(--stroke);
}
.ps-after {
  background: linear-gradient(
    160deg,
    rgba(26, 70, 105, 0.4),
    rgba(8, 22, 31, 0.2)
  );
  border: 1px solid var(--stroke-2);
  box-shadow: var(--sh-2);
  font-weight:600;
}
.ps-tag {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ps-before .ps-tag {
  color: var(--text-mute);
}
.ps-after .ps-tag {
  color: var(--accent-500);
}
.ps-card h3 {
  margin-bottom: 14px;
}
.ps-card p {
  color: var(--text-soft);
  font-size: 15px;
  margin-bottom: 24px;
  max-width: 42ch;
}
.ps-li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
  font-size: 14.5px;
}
.ps-li .x {
  color: var(--text-mute);
  flex: 0 0 auto;
  margin-top: 2px;
}
.ps-li .v {
  color: var(--accent-500);
  flex: 0 0 auto;
  margin-top: 2px;
}
.ps-visual {
  margin-top: auto;
  height: 120px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.ps-before .ps-visual {
  background: repeating-linear-gradient(
    46deg,
    rgba(154, 170, 196, 0.05) 0 8px,
    transparent 8px 22px
  );
  border: 1px solid var(--stroke);
}
.scatter {
  position: absolute;
  width: 46px;
  height: 58px;
  border-radius: 4px;
  background: rgba(232, 235, 247, 0.06);
  border: 1px solid var(--stroke-2);
}
.ps-after .ps-visual {
  background: rgba(8, 22, 31, 0.4);
  border: 1px solid var(--stroke-2);
}

/* ============ STEPS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: st;
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--stroke);
  border-right: 0;
  background: var(--surface);
  transition: background var(--d-base);
}
.step:first-child {
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}
.step:last-child {
  border-right: 1px solid var(--stroke);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.step:hover {
  background: var(--surface-2);
}
.step .sn {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--accent-500);
  letter-spacing: 0.1em;
}
.step .si {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(232, 235, 247, 0.05);
  border: 1px solid var(--stroke-2);
  display: grid;
  place-items: center;
  margin: 18px 0 16px;
  color: var(--d-cyan);
}
.step h4 {
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 13.5px;
  color: var(--text-mute);
  line-height: 1.5;
}
.step .conn {
  position: absolute;
  right: -1px;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--accent-500);
  z-index: 2;
  opacity: 0.55;
}
.step:last-child .conn {
  display: none;
}
@media (max-width: 900px) {
  .step {
    border-right: 1px solid var(--stroke);
    border-bottom: 0;
    border-radius: 0;
  }
  .step:first-child {
    border-radius: var(--r-lg) var(--r-lg) 0 0;
  }
  .step:last-child {
    border-radius: 0 0 var(--r-lg) var(--r-lg);
  }
  .step .conn {
    display: none;
  }
}

/* ============ FEATURES ============ */
.feat {
  position: relative;
}
.feat .ic {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: rgba(232, 235, 247, 0.05);
  border: 1px solid var(--stroke);
  display: grid;
  place-items: center;
  color: var(--accent-500);
  margin-bottom: 20px;
  transition: 0.24s;
}
.feat:hover .ic {
  background: rgba(239, 78, 53, 0.12);
  border-color: rgba(239, 78, 53, 0.4);
}
.feat h4 {
  font-size: 18px;
  margin-bottom: 9px;
  letter-spacing: -0.015em;
}
.feat p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
}
.feat .corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  opacity: 0.5;
  -webkit-mask: linear-gradient(225deg, #000, transparent 70%);
  mask: linear-gradient(225deg, #000, transparent 70%);
}

/* ============ ANALYTICS DASHBOARD ============ */
.dash-wrap {
  position: relative;
}
.dash {
  border-radius: var(--r-xl);
  padding: 26px;
  background: linear-gradient(
    165deg,
    rgba(16, 42, 64, 0.6),
    rgba(8, 22, 31, 0.55)
  );
  border: 1px solid var(--stroke-2);
  box-shadow: var(--sh-3);
  backdrop-filter: blur(var(--blur));
}
.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 14px;
}
.dash-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-title .dt {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 17px;
}
.dash-title .ds {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--text-mute);
}
.dash-tabs {
  display: flex;
  gap: 4px;
  background: rgba(8, 22, 31, 0.5);
  padding: 4px;
  border-radius: var(--r-pill);
  border: 1px solid var(--stroke);
}
.dash-tabs button {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  background: transparent;
  border: 0;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: 0.2s;
}
.dash-tabs button.on {
  background: var(--accent-500);
  color: #fff;
}
.dash-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
@media (max-width: 820px) {
  .dash-grid {
    grid-template-columns: 1fr;
  }
}
.dpanel {
  background: rgba(8, 22, 31, 0.45);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  padding: 20px;
}
.dpanel .ph {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.dpanel .ph .t {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 600;
}
.dpanel .ph .b {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--text-mute);
}
/* bar chart */
.bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 160px;
}
.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
}
.bar-col .track {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
}
.bar-col .fill {
  width: 100%;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--d-cyan), var(--d-blue));
  transition: height var(--d-hero) var(--e-out);
  min-height: 4px;
}
.bar-col:nth-child(2) .fill {
  background: linear-gradient(180deg, var(--accent-400), var(--accent-600));
}
.bar-col .lab {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--text-mute);
}
.bar-col .pct {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
/* radar / profile */
.metrics {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.metric .ml {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  margin-bottom: 7px;
}
.metric .ml .name {
  color: var(--text-soft);
}
.metric .ml .v {
  font-family: var(--f-mono);
  color: #fff;
}
.metric .track {
  height: 7px;
  border-radius: 4px;
  background: rgba(232, 235, 247, 0.07);
  overflow: hidden;
}
.metric .fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--d-blue), var(--d-cyan));
  transition: width var(--d-hero) var(--e-out);
}
.metric:nth-child(odd) .fill {
  background: linear-gradient(90deg, var(--accent-600), var(--accent-400));
}
.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.kpi {
  background: rgba(8, 22, 31, 0.45);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  padding: 16px;
}
.kpi .v {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: #fff;
}
.kpi .v .u {
  font-size: 14px;
  color: var(--accent-500);
}
.kpi .l {
  font-size: 11.5px;
  color: var(--text-mute);
  margin-top: 3px;
}
.kpi .spark {
  margin-top: 10px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--d-cyan), transparent);
}

/* ============ CATEGORIES ============ */
.cat-switch {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.cat-switch button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--text-soft);
  background: rgba(232, 235, 247, 0.03);
  border: 1px solid var(--stroke);
  padding: 11px 18px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: 0.24s;
}
.cat-switch button:hover {
  border-color: var(--stroke-2);
  color: var(--text);
}
.cat-switch button.on {
  background: var(--accent-500);
  border-color: var(--accent-500);
  color: #fff;
  box-shadow: 0 8px 24px rgba(239, 78, 53, 0.3);
}
.cat-switch button .e {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}
.cat-panel {
  display: grid;
  grid-template-columns: 1fr /*1.1fr*/;
  gap: 40px;
  align-items: center;
}
@media (max-width: 880px) {
  .cat-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.cat-info .kk {
  margin-bottom: 16px;
}
.cat-info h3 {
  margin-bottom: 14px;
}
.cat-info p {
  color: var(--text-soft);
  font-size: 15.5px;
  margin-bottom: 24px;
  max-width: 46ch;
}
.cat-scales {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width:70%;
  margin:0px auto;
  text-align:left;
}


@media (max-width: 880px) {
  .cat-scales {
    max-width:95%;
  }
}

.cat-scales .sc {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
}
.cat-scales .sc:nth-child(odd) .fill {
  background: linear-gradient(90deg, var(--accent-600), var(--accent-400));
}
.cat-scales .sc .nm {
  font-size: 13.5px;
  color: var(--text-soft);
  min-width: 130px;
}
.cat-scales .sc .track {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(232, 235, 247, 0.07);
  overflow: hidden;
}
.cat-scales .sc .fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--d-blue), var(--d-cyan));
}
.cat-scales .sc .vv {
  font-family: var(--f-mono);
  font-size: 12px;
  color: #fff;
  min-width: 36px;
  text-align: right;
}
.cat-visual {
  aspect-ratio: 4/3;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--stroke-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-visual .patbg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  transition: opacity 0.5s;
}
.cat-visual .glasslbl {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 30px;
}
.cat-visual .glasslbl {
  position: relative;
  z-index: 2;
}
.cat-badge {
  position: relative;
  z-index: 2;
  padding: 20px 26px;
  border-radius: var(--r-lg);
  background: rgba(8, 22, 31, 0.55);
  backdrop-filter: blur(14px);
  border: 1px solid var(--stroke-2);
  text-align: center;
}
.cat-badge .big {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 38px;
  color: #fff;
  letter-spacing: -0.03em;
}
.cat-badge .sm {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ============ AUDIENCES ============ */
.aud {
  padding: 28px;
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: 0.24s;
  position: relative;
  overflow: hidden;
}
.aud:hover {
  border-color: var(--stroke-2);
  background: var(--surface-2);
  transform: translateY(-4px);
}
.aud .tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent-500);
}
.aud h4 {
  font-size: 18px;
  margin: 12px 0 8px;
  letter-spacing: -0.015em;
}
.aud p {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ============ GOVERNANCE ============ */
.gov-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  text-align:center;
}


.gov-grid h2{
  max-width:60%;
	margin:0px auto;  
}

@media (max-width: 880px) {
  .gov-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    }

.gov-grid h2{
    max-width:100%;
    }	
}
.gov-li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  margin:0px auto;
  max-width:60%;
  border-bottom: 1px solid var(--stroke);
  text-align:left;  
}


@media (max-width: 880px) {
.gov-li{
    max-width:95%;
    }	
}


.gov-li:last-child {
  border-bottom: 0;
}
.gov-li .gi {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(232, 235, 247, 0.05);
  border: 1px solid var(--stroke);
  display: grid;
  place-items: center;
  color: var(--d-cyan);
  flex: 0 0 auto;
}
.gov-li h4 {
  font-size: 16px;
  margin-bottom: 5px;
}
.gov-li p {
  font-size: 13.5px;
  color: var(--text-mute);
}
.gov-visual {
  aspect-ratio: 1/1;
  border-radius: var(--r-xl);
  border: 1px solid var(--stroke-2);
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    rgba(16, 42, 64, 0.5),
    rgba(8, 22, 31, 0.4)
  );
}

/* ============ FINAL CTA ============ */
.cta {
  position: relative;
  border-radius: 32px;
  padding: 80px 56px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(
    160deg,
    rgba(26, 70, 105, 0.5),
    rgba(8, 22, 31, 0.6)
  );
  border: 1px solid var(--stroke-2);
  box-shadow: var(--sh-3);
}
@media (max-width: 680px) {
  .cta {
    padding: 56px 24px;
  }
}
.cta .patbg {
  position: absolute;
  inset: 0;
  background-size: cover;
  opacity: 0.07;
  -webkit-mask: radial-gradient(circle at 50% 40%, #000, transparent 75%);
  mask: radial-gradient(circle at 50% 40%, #000, transparent 75%);
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}
.cta h2 {
  margin-bottom: 18px;
}
.cta p {
  color: var(--text-soft);
  font-size: 18px;
  margin-bottom: 34px;
}
.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-form input {
  flex: 1;
  min-width: 220px;
  padding: 15px 20px;
  border-radius: var(--r-pill);
  background: rgba(8, 22, 31, 0.5);
  border: 1px solid var(--stroke-2);
  color: #fff;
  font-family: var(--f-text);
  font-size: 15px;
  outline: none;
  transition: 0.2s;
}
.cta-form input::placeholder {
  color: var(--text-mute);
}
.cta-form input:focus {
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(239, 78, 53, 0.18);
}
.cta-note {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--text-mute);
  margin-top: 18px;
  letter-spacing: 0.04em;
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--stroke);
  padding: 72px 0 40px;
  margin-top: var(--s9);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 880px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}
.foot-col h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 18px;
}
.foot-col a {
  display: block;
  font-size: 14px;
  color: var(--text-soft);
  padding: 6px 0;
  transition: color 0.2s;
}
.foot-col a:hover {
  color: var(--text);
}
.foot-brand p {
  font-size: 13.5px;
  color: var(--text-mute);
  max-width: 34ch;
  margin-top: 16px;
  line-height: 1.6;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--stroke);
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}

/* section label tag */
.slab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 14px;
  font-weight:600 !important;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}
