/* ==========================================================================
   MEYOS — Theme system (v2)
   Два независимых измерения:
   - data-color    = "green" | "wood" | "sapphire"   (только цвета)
   - data-concept  = "flow" | "craft" | "institute"  (шрифты, формы, блоки, текст)
   3 × 3 = 9 визуальных комбинаций.
   ========================================================================== */

:root {
  /* Базовые (переопределяются через data-color и data-concept) */
  --primary:        22 127 82;
  --primary-dark:   13 90 58;
  --primary-soft:   232 246 239;
  --accent:         201 169 97;
  --accent-soft:    250 244 228;
  --surface:        255 255 255;
  --surface-alt:    248 250 249;
  --surface-deep:   240 246 243;
  --on-surface:     18 32 26;
  --on-surface-mut: 85 102 92;
  --outline:        214 226 221;
  --hero-bg-from:   15 63 43;
  --hero-bg-to:     26 98 70;
  --hero-text:      255 255 255;

  --font-head:    'Manrope', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-display: 'Manrope', system-ui, sans-serif;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.75rem;
  --radius-xl: 2.5rem;
  --btn-radius: 9999px;
  --tag-radius: 9999px;
  --h-weight: 800;
  --h-tracking: -0.025em;
  --card-border-width: 1px;
  --card-shadow: 0 10px 30px -12px rgb(0 0 0 / .1);

  --shadow-sm: 0 1px 2px rgb(0 0 0 / .04), 0 1px 3px rgb(0 0 0 / .06);
  --shadow-md: 0 10px 30px -12px rgb(0 0 0 / .15);
  --shadow-lg: 0 25px 50px -20px rgb(0 0 0 / .25);
}

/* ==========================================================================
   DATA-COLOR — только палитра
   ========================================================================== */

/* A. GREEN — мягкий лесной зелёный */
[data-color="green"] {
  --primary:        22 127 82;
  --primary-dark:   13 90 58;
  --primary-soft:   232 246 239;
  --accent:         201 169 97;
  --accent-soft:    250 244 228;
  --surface:        255 255 255;
  --surface-alt:    248 250 249;
  --surface-deep:   240 246 243;
  --on-surface:     18 32 26;
  --on-surface-mut: 85 102 92;
  --outline:        214 226 221;
  --hero-bg-from:   15 63 43;
  --hero-bg-to:     26 98 70;
}

/* B. WOOD — благородное дерево и медь */
[data-color="wood"] {
  --primary:        78 52 46;
  --primary-dark:   44 26 22;
  --primary-soft:   244 230 224;
  --accent:         140 94 60;
  --accent-soft:    251 220 194;
  --surface:        253 251 249;
  --surface-alt:    247 242 239;
  --surface-deep:   241 235 232;
  --on-surface:     32 26 23;
  --on-surface-mut: 83 67 63;
  --outline:        216 194 187;
  --hero-bg-from:   30 18 15;
  --hero-bg-to:     62 39 35;
}

/* C. SAPPHIRE — глубокий синий и золото */
[data-color="sapphire"] {
  --primary:        30 58 95;
  --primary-dark:   17 36 62;
  --primary-soft:   227 234 246;
  --accent:         184 146 68;
  --accent-soft:    246 238 218;
  --surface:        253 253 255;
  --surface-alt:    246 248 252;
  --surface-deep:   237 241 248;
  --on-surface:     16 24 40;
  --on-surface-mut: 71 84 110;
  --outline:        210 220 235;
  --hero-bg-from:   11 26 48;
  --hero-bg-to:     30 58 95;
}

/* ==========================================================================
   DATA-CONCEPT — формат (шрифты, радиусы, стилистика)
   ========================================================================== */

/* 1. FLOW — Ecosystem Minimal (текущая, по умолчанию) */
[data-concept="flow"] {
  --font-head:    'Manrope', system-ui, sans-serif;
  --font-display: 'Manrope', system-ui, sans-serif;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.75rem;
  --radius-xl: 2.5rem;
  --btn-radius: 9999px;
  --tag-radius: 9999px;
  --h-weight: 800;
  --h-tracking: -0.025em;
  --card-border-width: 1px;
  --card-shadow: 0 10px 30px -12px rgb(0 0 0 / .08);
}

/* 2. CORPORATE — Classic split, asymmetric grids, floating stat card */
[data-concept="corporate"] {
  --font-head:    'Manrope', system-ui, sans-serif;
  --font-display: 'Manrope', system-ui, sans-serif;
  --radius-sm: 0.4rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --btn-radius: 0.5rem;
  --tag-radius: 0.4rem;
  --h-weight: 800;
  --h-tracking: -0.03em;
  --card-border-width: 1px;
  --card-shadow: 0 14px 28px -14px rgb(0 0 0 / .12);
}

/* 3. FORGE — Dark industrial, BENTO, brutal. Переопределяет surface (dark mode). */
[data-concept="forge"] {
  /* Dark surfaces — независимо от выбранного цвета */
  --surface:          17 19 28;
  --surface-alt:      22 27 40;
  --surface-deep:     28 34 48;
  --on-surface:       230 235 245;
  --on-surface-mut:   155 165 185;
  --outline:          45 55 70;
  --hero-bg-from:     11 13 20;
  --hero-bg-to:       22 27 40;

  --font-head:    'Manrope', system-ui, sans-serif;
  --font-display: 'Manrope', system-ui, sans-serif;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.85rem;
  --radius-xl: 1.25rem;
  --btn-radius: 0.25rem;
  --tag-radius: 9999px;
  --h-weight: 900;
  --h-tracking: -0.035em;
  --card-border-width: 1px;
  --card-shadow: 0 30px 60px -25px rgb(0 0 0 / .7);
}
/* Forge цветовые подтемы */
[data-concept="forge"][data-color="sapphire"] {
  --primary:        130 148 255;
  --primary-dark:   100 118 220;
  --primary-soft:   35 45 85;
  --accent:         255 165 125;
  --accent-soft:    60 45 40;
}
[data-concept="forge"][data-color="wood"] {
  --primary:        200 155 100;
  --primary-dark:   160 115 70;
  --primary-soft:   55 42 28;
  --accent:         230 145 115;
  --accent-soft:    65 42 35;
}
/* green несовместим с forge — виджет его скроет */

/* 4. SOVEREIGN — Institutional Earth, BENTO initiatives, numbered mission */
[data-concept="sovereign"] {
  /* Earth tones background */
  --surface:          247 243 237;
  --surface-alt:      238 230 220;
  --surface-deep:     224 213 200;
  --on-surface:       40 28 20;
  --on-surface-mut:   95 78 68;
  --outline:          200 188 175;
  --hero-bg-from:     28 20 14;
  --hero-bg-to:       68 42 34;

  --font-head:    'Manrope', system-ui, sans-serif;
  --font-display: 'Playfair Display', serif;
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --btn-radius: 0;
  --tag-radius: 0;
  --h-weight: 900;
  --h-tracking: -0.04em;
  --card-border-width: 0;
  --card-shadow: none;
}
/* Sovereign цветовые подтемы */
[data-concept="sovereign"][data-color="wood"] {
  --primary:        68 42 34;
  --primary-dark:   44 22 14;
  --primary-soft:   232 220 208;
  --accent:         28 52 51;
  --accent-soft:    210 220 218;
}
[data-concept="sovereign"][data-color="sapphire"] {
  --primary:        40 54 82;
  --primary-dark:   24 32 54;
  --primary-soft:   222 228 240;
  --accent:         150 117 58;
  --accent-soft:    240 232 216;
}
/* green несовместим с sovereign */

/* ==========================================================================
   Базовые стили
   ========================================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: rgb(var(--on-surface));
  background: rgb(var(--surface));
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  letter-spacing: var(--h-tracking);
  font-weight: var(--h-weight);
}

/* Плавный переход при смене темы */
body, .header, .footer, .hero, section,
.card, .btn, .tag, .chip, .partner-card,
.ps-col, .step, .case, .news-card, .event-row,
input, textarea, select, .form, .tax-table, .tax-table th, .tax-table td,
.modal, .modal__dialog, .filter-chip, .partner-logo, .timeline__year, .timeline__dot {
  transition:
    background-color .6s ease,
    color .6s ease,
    border-color .6s ease,
    border-radius .6s ease,
    box-shadow .6s ease,
    letter-spacing .6s ease;
}

/* Вспышка при смене темы */
body.theme-flash::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgb(var(--primary) / .08);
  pointer-events: none;
  z-index: 95;
  animation: theme-flash .7s ease forwards;
}
@keyframes theme-flash {
  0% { opacity: 0; }
  30% { opacity: 1; }
  100% { opacity: 0; }
}

/* ==========================================================================
   Видимость блоков по концепции
   data-for-concept="flow craft"  — показывать в этих концепциях
   data-for-concept="all"         — везде
   ========================================================================== */
[data-for-concept]:not([data-for-concept~="all"]) { display: none; }
[data-concept="flow"]      [data-for-concept~="flow"],
[data-concept="craft"]     [data-for-concept~="craft"],
[data-concept="institute"] [data-for-concept~="institute"],
[data-for-concept~="all"]  { display: revert; }

/* Текст, зависящий от концепции */
[data-text-for]:not([data-text-for~="all"]) { display: none; }
[data-concept="flow"]      [data-text-for~="flow"],
[data-concept="craft"]     [data-text-for~="craft"],
[data-concept="institute"] [data-text-for~="institute"],
[data-text-for~="all"]     { display: revert; }

/* ==========================================================================
   THEME SWITCHER (виджет внизу)
   Два блока управления: цвет + концепция
   ========================================================================== */
.theme-switcher {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: stretch;
  gap: .5rem;
  padding: .5rem;
  background: rgb(var(--surface) / .95);
  backdrop-filter: blur(14px);
  border: 1px solid rgb(var(--outline));
  border-radius: 9999px;
  box-shadow: 0 20px 50px -12px rgb(0 0 0 / .25);
  max-width: calc(100vw - 2rem);
}
.theme-switcher__group {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: 0 .5rem;
}
.theme-switcher__group + .theme-switcher__group {
  border-left: 1px solid rgb(var(--outline));
  padding-left: .85rem;
  margin-left: .2rem;
}
.theme-switcher__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .6rem;
  color: rgb(var(--on-surface-mut));
  text-transform: uppercase;
  letter-spacing: .15em;
  padding-right: .35rem;
  white-space: nowrap;
}
.theme-color {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  padding: 0;
  outline: none;
  transition: transform .2s ease, border-color .2s ease;
}
.theme-color::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 9999px;
  background: var(--swatch, #167f52);
}
.theme-color:hover { transform: scale(1.1); }
.theme-color.is-active { border-color: rgb(var(--on-surface)); }
.theme-color.is-active::after { inset: 3px; }
.theme-color[data-color-option="green"]    { --swatch: linear-gradient(135deg, #167f52, #0d5a3a); }
.theme-color[data-color-option="wood"]     { --swatch: linear-gradient(135deg, #4e342e, #8c5e3c); }
.theme-color[data-color-option="sapphire"] { --swatch: linear-gradient(135deg, #1e3a5f, #b89244); }

.theme-concept {
  padding: .4rem .85rem;
  border: none;
  background: transparent;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  color: rgb(var(--on-surface-mut));
  border-radius: 9999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}
.theme-concept:hover { color: rgb(var(--primary)); }
.theme-concept.is-active {
  background: rgb(var(--primary));
  color: #fff;
}

@media (max-width: 900px) {
  .theme-switcher {
    flex-direction: column;
    gap: .15rem;
    padding: .5rem .75rem;
    border-radius: 1.25rem;
  }
  .theme-switcher__group + .theme-switcher__group {
    border-left: none;
    border-top: 1px solid rgb(var(--outline));
    padding-left: .5rem;
    padding-top: .35rem;
    margin-left: 0;
    margin-top: .15rem;
  }
  .theme-switcher__label { font-size: .55rem; }
  .theme-concept { font-size: .7rem; padding: .3rem .6rem; }
  .theme-color { width: 1.5rem; height: 1.5rem; }
}

/* ==========================================================================
   Компоненты
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: var(--btn-radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -.01em;
  border: none;
  cursor: pointer;
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease, border-color .25s ease, border-radius .6s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: rgb(var(--primary));
  color: #fff;
  box-shadow: 0 10px 20px -10px rgb(var(--primary) / .5);
}
.btn-primary:hover { background: rgb(var(--primary-dark)); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: rgb(var(--on-surface));
  border: 1px solid rgb(var(--outline));
}
.btn-ghost:hover { background: rgb(var(--surface-alt)); }
.btn-white { background: #fff; color: rgb(var(--primary)); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-white {
  background: rgb(255 255 255 / .1);
  color: #fff;
  border: 1px solid rgb(255 255 255 / .3);
  backdrop-filter: blur(12px);
}
.btn-outline-white:hover { background: rgb(255 255 255 / .2); }
.btn-lg { padding: 1.1rem 2.25rem; font-size: 1.05rem; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .85rem;
  background: rgb(var(--primary-soft));
  color: rgb(var(--primary-dark));
  border-radius: var(--tag-radius);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-family: var(--font-head);
}
.tag-on-dark {
  background: rgb(255 255 255 / .1);
  color: #fff;
  border: 1px solid rgb(255 255 255 / .2);
  backdrop-filter: blur(12px);
}
.tag-dot {
  width: .4rem; height: .4rem; border-radius: 9999px;
  background: rgb(var(--accent));
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

.card {
  background: rgb(var(--surface));
  border: var(--card-border-width) solid rgb(var(--outline));
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, border-radius .6s ease, border-width .6s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgb(var(--primary) / .3); }
.card-filled { background: rgb(var(--primary)); color: #fff; border-color: transparent; }
.card-filled:hover { background: rgb(var(--primary-dark)); }
.card-soft { background: rgb(var(--primary-soft)); border-color: transparent; }

.icon-box {
  width: 3rem; height: 3rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(var(--primary-soft));
  color: rgb(var(--primary));
}
.card-filled .icon-box { background: rgb(255 255 255 / .15); color: #fff; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(var(--surface) / .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgb(var(--outline) / .6);
}
.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.03em;
  color: rgb(var(--on-surface));
  text-decoration: none;
}
.logo__mark {
  width: 2rem; height: 2rem;
  background: rgb(var(--primary));
  color: #fff;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 800;
}
.nav { display: none; gap: 1.75rem; align-items: center; }
.nav a {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: rgb(var(--on-surface-mut));
  text-decoration: none;
  transition: color .2s ease;
}
.nav a:hover, .nav a.is-active { color: rgb(var(--primary)); }
.lang {
  display: none;
  gap: .15rem;
  padding: .25rem;
  background: rgb(var(--surface-deep));
  border-radius: 9999px;
  border: 1px solid rgb(var(--outline));
}
.lang button {
  padding: .35rem .7rem;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: rgb(var(--on-surface-mut));
  cursor: pointer;
}
.lang button.is-active { background: rgb(var(--primary)); color: #fff; }
.burger {
  background: transparent;
  border: 1px solid rgb(var(--outline));
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgb(var(--on-surface));
}
@media (min-width: 1024px) { .nav { display: flex; } .lang { display: inline-flex; } .burger { display: none; } }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgb(var(--surface));
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: rgb(var(--on-surface));
  text-decoration: none;
  border-bottom: 1px solid rgb(var(--outline));
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgb(var(--hero-bg-from)) 0%, rgb(var(--hero-bg-to)) 100%);
  color: rgb(var(--hero-text));
  padding: 5rem 1.5rem 6rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgb(var(--accent) / .2) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgb(var(--primary) / .35) 0%, transparent 50%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero { padding: 6rem 1.5rem 8rem; }
  .hero__inner { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
}
.hero h1 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: var(--h-weight);
  line-height: 1.05;
  margin: 1.5rem 0 1.5rem;
}
.hero p.lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  opacity: .82;
  max-width: 36rem;
  margin: 0 0 2.5rem;
  font-weight: 300;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__stats {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / .12);
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero__stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; line-height: 1; }
.hero__stat-lbl { font-size: .7rem; opacity: .6; text-transform: uppercase; letter-spacing: .15em; margin-top: .5rem; }
.hero__media {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(var(--hero-bg-from) / .5) 0%, transparent 50%);
}
.hero__floater {
  position: absolute;
  bottom: -1.5rem; left: -1.5rem;
  padding: 1.5rem;
  background: rgb(var(--surface) / .95);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 16rem;
  color: rgb(var(--on-surface));
  display: none;
}
@media (min-width: 1280px) { .hero__floater { display: block; } }

/* Sections */
section { padding: 5rem 1.5rem; }
.container { max-width: 1280px; margin: 0 auto; }
.section-head { text-align: center; max-width: 42rem; margin: 0 auto 3.5rem; }
.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: var(--h-weight);
  margin: 1rem 0;
  letter-spacing: var(--h-tracking);
}
.section-head p {
  color: rgb(var(--on-surface-mut));
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}
.section-alt { background: rgb(var(--surface-alt)); }
.section-deep { background: rgb(var(--surface-deep)); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3, 1fr); } }
.bento .span-2 { grid-column: span 1; }
@media (min-width: 768px) { .bento .span-2 { grid-column: span 2; } }

/* PS */
.ps-grid {
  display: grid;
  gap: 1px;
  background: rgb(var(--outline));
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgb(var(--outline));
}
@media (min-width: 768px) { .ps-grid { grid-template-columns: 1fr 1fr; } }
.ps-col { background: rgb(var(--surface)); padding: 2.5rem; }
.ps-col h3 { display: flex; align-items: center; gap: .75rem; font-size: 1.15rem; margin: 0 0 2rem; }
.ps-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.ps-col li { display: flex; gap: 1rem; }
.ps-col li .bullet { flex-shrink: 0; width: .5rem; height: .5rem; border-radius: 9999px; margin-top: .6rem; }
.ps-col--pain .bullet { background: #c43c3c; }
.ps-col--gain { background: rgb(var(--primary-soft)); }
.ps-col--gain .bullet { background: rgb(var(--primary)); }
.ps-col h4 { margin: 0 0 .35rem; font-size: 1rem; font-family: var(--font-body); font-weight: 700; }
.ps-col p { margin: 0; font-size: .9rem; color: rgb(var(--on-surface-mut)); line-height: 1.5; }

/* Steps */
.steps { display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  counter-increment: step;
  position: relative;
  padding: 2rem 1.75rem;
  background: rgb(var(--surface));
  border: var(--card-border-width) solid rgb(var(--outline));
  border-radius: var(--radius-lg);
}
.step::before {
  content: '0' counter(step);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.5rem;
  color: rgb(var(--primary) / .15);
  line-height: 1;
  display: block;
  margin-bottom: .75rem;
}
.step h4 { margin: 0 0 .5rem; font-size: 1.1rem; }
.step p { margin: 0; color: rgb(var(--on-surface-mut)); font-size: .9rem; line-height: 1.55; }

/* Partners logos */
.partners-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .partners-grid { grid-template-columns: repeat(6, 1fr); } }
.partner-logo {
  aspect-ratio: 3/2;
  display: flex; align-items: center; justify-content: center;
  background: rgb(var(--surface));
  border: 1px solid rgb(var(--outline));
  border-radius: var(--radius-md);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -.02em;
  color: rgb(var(--on-surface-mut));
  transition: all .25s ease;
}
.partner-logo:hover { color: rgb(var(--primary)); border-color: rgb(var(--primary)); transform: translateY(-2px); }

/* FAQ */
.faq-item { border-bottom: 1px solid rgb(var(--outline)); padding: 1.25rem 0; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: rgb(var(--on-surface));
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-size: 1.5rem; color: rgb(var(--primary)); transition: transform .2s ease; }
.faq-item[open] .faq-q::after { content: '−'; }
.faq-a { margin-top: 1rem; color: rgb(var(--on-surface-mut)); line-height: 1.6; font-size: .95rem; }

/* Cases */
.case {
  display: grid; gap: 1.5rem;
  padding: 2rem;
  background: rgb(var(--surface));
  border: var(--card-border-width) solid rgb(var(--outline));
  border-radius: var(--radius-lg);
  transition: box-shadow .3s ease;
}
.case:hover { box-shadow: var(--shadow-md); }
@media (min-width: 768px) { .case { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.case__img { aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden; background: rgb(var(--surface-deep)); }
.case__img img { width: 100%; height: 100%; object-fit: cover; }
.case__num { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: .75rem; letter-spacing: .2em; color: rgb(var(--accent)); text-transform: uppercase; }
.case__title { font-size: 1.5rem; margin: .5rem 0 1rem; }
.case__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem;
  background: rgb(var(--primary-soft));
  border-radius: var(--radius-md);
  margin-top: 1.25rem;
}
.case__metric-num { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: rgb(var(--primary-dark)); line-height: 1; }
.case__metric-lbl { font-size: .7rem; color: rgb(var(--on-surface-mut)); margin-top: .35rem; text-transform: uppercase; letter-spacing: .05em; }

/* CTA */
.cta-bar {
  position: relative;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgb(var(--primary)) 0%, rgb(var(--primary-dark)) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-align: center;
}
.cta-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgb(var(--accent) / .25), transparent 60%);
}
.cta-bar > * { position: relative; }
.cta-bar h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 0 0 1rem; }
.cta-bar p { opacity: .85; max-width: 30rem; margin: 0 auto 2rem; font-size: 1rem; }

/* Form */
.form {
  display: grid; gap: 1rem;
  padding: 2rem;
  background: rgb(var(--surface));
  border: 1px solid rgb(var(--outline));
  border-radius: var(--radius-lg);
}
.form label { display: grid; gap: .4rem; font-size: .85rem; font-weight: 600; color: rgb(var(--on-surface-mut)); }
.form input, .form textarea, .form select {
  padding: .85rem 1rem;
  border: 1px solid rgb(var(--outline));
  border-radius: var(--radius-md);
  background: rgb(var(--surface));
  font-family: var(--font-body);
  font-size: .95rem;
  color: rgb(var(--on-surface));
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  border-color: rgb(var(--primary));
  box-shadow: 0 0 0 4px rgb(var(--primary) / .12);
}

/* Footer */
.footer { background: rgb(var(--primary-dark)); color: rgb(255 255 255 / .85); padding: 4rem 1.5rem 6rem; }
.footer__grid { max-width: 1280px; margin: 0 auto; display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr repeat(3, 1fr); } }
.footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .15em; margin: 0 0 1rem; }
.footer a { color: rgb(255 255 255 / .7); text-decoration: none; display: block; padding: .4rem 0; font-size: .9rem; transition: color .2s ease; }
.footer a:hover { color: #fff; }
.footer__bottom {
  max-width: 1280px; margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / .1);
  font-size: .8rem; opacity: .6;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}

.chip {
  display: inline-flex;
  padding: .25rem .7rem;
  background: rgb(var(--accent-soft));
  color: rgb(var(--accent));
  border-radius: var(--tag-radius);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* Tax table */
.tax-table {
  width: 100%; border-collapse: collapse;
  background: rgb(var(--surface));
  border: 1px solid rgb(var(--outline));
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tax-table th, .tax-table td {
  padding: 1.15rem 1.5rem; text-align: left;
  border-bottom: 1px solid rgb(var(--outline));
  font-size: .95rem;
}
.tax-table th {
  background: rgb(var(--surface-deep));
  font-family: var(--font-head);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgb(var(--on-surface-mut));
}
.tax-table tr:last-child td { border-bottom: none; }
.tax-table .big { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: rgb(var(--primary)); }

/* Utility */
.text-mut { color: rgb(var(--on-surface-mut)); }
.text-primary { color: rgb(var(--primary)); }
.text-accent { color: rgb(var(--accent)); }
.mt-3 { margin-top: .75rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.mb-3 { margin-bottom: .75rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; } .items-center { align-items: center; } .gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; } .gap-4 { gap: 1rem; }

/* Timeline */
.timeline { position: relative; max-width: 920px; margin: 0 auto; padding: 1rem 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgb(var(--primary) / .4), rgb(var(--accent) / .4));
}
.timeline__item { position: relative; padding: .5rem 0 2.5rem 60px; }
.timeline__dot {
  position: absolute;
  left: 16px; top: 1.5rem;
  width: 18px; height: 18px;
  border-radius: 9999px;
  background: rgb(var(--surface));
  border: 3px solid rgb(var(--primary));
  box-shadow: 0 0 0 5px rgb(var(--primary) / .12);
}
.timeline__year {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: rgb(var(--primary));
  letter-spacing: .1em;
  background: rgb(var(--primary-soft));
  padding: .25rem .85rem;
  border-radius: var(--tag-radius);
  margin-bottom: .75rem;
}
.timeline__title { font-size: 1.4rem; margin: 0 0 .5rem; }
.timeline__text { color: rgb(var(--on-surface-mut)); line-height: 1.6; margin: 0; max-width: 34rem; }
@media (min-width: 900px) {
  .timeline::before { left: 50%; transform: translateX(-1px); }
  .timeline__item { width: 50%; padding: 0 2rem 3rem; min-height: 8rem; }
  .timeline__item:nth-child(odd) { margin-left: 0; text-align: right; }
  .timeline__item:nth-child(even) { margin-left: 50%; text-align: left; }
  .timeline__item:nth-child(odd) .timeline__text { margin-left: auto; }
  .timeline__dot { left: auto; right: -9px; top: .75rem; }
  .timeline__item:nth-child(even) .timeline__dot { left: -9px; right: auto; }
  .timeline__item:nth-child(odd) .timeline__year { background: rgb(var(--primary)); color: #fff; }
}

/* Modal */
.modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  background: rgb(8 14 22 / .55);
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__dialog {
  position: relative;
  max-width: 720px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  background: rgb(var(--surface));
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 80px -20px rgb(0 0 0 / .4);
  padding: 2.5rem;
  transform: translateY(24px) scale(.96);
  opacity: 0;
  transition: transform .4s cubic-bezier(.2,.9,.3,1.2), opacity .3s ease;
}
.modal.is-open .modal__dialog { transform: translateY(0) scale(1); opacity: 1; }
.modal__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px; border: none;
  background: rgb(var(--surface-deep));
  color: rgb(var(--on-surface));
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.modal__close:hover { background: rgb(var(--primary-soft)); transform: rotate(90deg); }
.modal__hero {
  margin: -2.5rem -2.5rem 1.5rem;
  aspect-ratio: 16/7;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: rgb(var(--surface-deep));
}
.modal__hero img { width: 100%; height: 100%; object-fit: cover; }
.modal__meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: .8rem; color: rgb(var(--on-surface-mut));
  margin-bottom: 1rem;
  letter-spacing: .08em; text-transform: uppercase;
}
.modal h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 1rem; line-height: 1.15; }
.modal__body { font-size: 1rem; line-height: 1.7; color: rgb(var(--on-surface)); }
.modal__body p { margin: 0 0 1rem; }
.modal__body h3 { font-size: 1.25rem; margin: 1.75rem 0 .75rem; }
.modal__body ul { padding-left: 1.25rem; }
.modal__body li { margin-bottom: .5rem; }
.modal__body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: rgb(var(--primary-soft));
  border-left: 4px solid rgb(var(--primary));
  border-radius: var(--radius-md);
  font-style: italic;
  color: rgb(var(--primary-dark));
}
.modal--success .modal__dialog { max-width: 480px; text-align: center; padding: 3rem 2.5rem; }
.modal__success-icon {
  width: 88px; height: 88px;
  border-radius: 9999px;
  background: rgb(var(--primary-soft));
  color: rgb(var(--primary));
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  animation: success-pop .5s cubic-bezier(.2,.9,.3,1.4) .1s both;
}
.modal__success-icon .material-symbols-outlined { font-size: 3rem; }
@keyframes success-pop { 0% { transform: scale(0); opacity: 0; } 80% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }

/* Filter chips (партнёры, новости) */
.filter-chip {
  padding: .5rem 1.1rem;
  background: rgb(var(--surface));
  border: 1px solid rgb(var(--outline));
  border-radius: var(--tag-radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  color: rgb(var(--on-surface-mut));
  cursor: pointer;
  transition: all .2s ease;
}
.filter-chip:hover { color: rgb(var(--primary)); border-color: rgb(var(--primary)); }
.filter-chip.is-active {
  background: rgb(var(--primary));
  color: #fff;
  border-color: rgb(var(--primary));
}
.partner-card.is-hidden, .news-card.is-hidden, [data-news-card].is-hidden { display: none !important; }

/* ==========================================================================
   CONCEPT-СПЕЦИФИЧНЫЕ OVERRIDES
   ========================================================================== */

/* ============ CORPORATE: классический split ============ */
[data-concept="corporate"] .card { border-color: rgb(var(--outline)); }
[data-concept="corporate"] .card:hover { box-shadow: 0 20px 40px -20px rgb(var(--primary) / .25); }
[data-concept="corporate"] .btn { letter-spacing: 0; }

/* Hero с floating stat card */
.hero-floating-stat {
  position: absolute;
  right: -1.5rem; bottom: -1.5rem;
  padding: 1.25rem 1.5rem;
  background: rgb(var(--surface));
  color: rgb(var(--on-surface));
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -20px rgb(0 0 0 / .35);
  display: none;
  min-width: 220px;
}
@media (min-width: 1024px) { .hero-floating-stat { display: block; } }
.hero-floating-stat__num { font-family: var(--font-head); font-weight: 900; font-size: 2.25rem; color: rgb(var(--primary)); line-height: 1; }
.hero-floating-stat__label { font-size: .75rem; color: rgb(var(--on-surface-mut)); text-transform: uppercase; letter-spacing: .1em; margin-top: .35rem; }
.hero-floating-stat__trend { font-size: .85rem; color: rgb(var(--primary)); font-weight: 700; margin-top: .5rem; display: flex; align-items: center; gap: .25rem; }

/* Numbered process (corporate) */
.numbered-process {
  display: grid;
  gap: 2rem;
  counter-reset: np;
  position: relative;
}
@media (min-width: 900px) {
  .numbered-process { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .numbered-process::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 12.5%; right: 12.5%;
    height: 2px;
    background: linear-gradient(to right, rgb(var(--primary) / .15), rgb(var(--primary) / .5), rgb(var(--primary) / .15));
  }
}
.np-step {
  counter-increment: np;
  padding: 1rem 1.5rem;
  text-align: center;
  position: relative;
}
.np-step__num {
  width: 4rem; height: 4rem;
  border-radius: 9999px;
  background: rgb(var(--surface));
  border: 2px solid rgb(var(--primary));
  color: rgb(var(--primary));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.25rem;
  position: relative;
  z-index: 1;
}
.np-step__num::before { content: counter(np, decimal-leading-zero); }
.np-step h4 { margin: 1.25rem 0 .5rem; font-size: 1.1rem; }
.np-step p { color: rgb(var(--on-surface-mut)); font-size: .9rem; line-height: 1.55; margin: 0; }

/* ============ FORGE: Dark industrial, BENTO ============ */
[data-concept="forge"] body { background: rgb(var(--surface)); color: rgb(var(--on-surface)); }
[data-concept="forge"] .header {
  background: rgb(var(--surface) / .85);
  border-bottom: 1px solid rgb(var(--outline));
}
[data-concept="forge"] .section-alt { background: rgb(var(--surface-alt)); }
[data-concept="forge"] .section-deep { background: rgb(var(--surface-deep)); }
[data-concept="forge"] .card { background: rgb(var(--surface-alt)); border-color: rgb(var(--outline)); color: rgb(var(--on-surface)); }
[data-concept="forge"] .card:hover {
  border-color: rgb(var(--accent));
  box-shadow: 0 30px 70px -30px rgb(var(--accent) / .5);
}
[data-concept="forge"] .hero h1,
[data-concept="forge"] .section-head h2 {
  text-transform: uppercase;
  letter-spacing: -.04em;
  font-weight: 900;
}
[data-concept="forge"] .btn { text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; }
[data-concept="forge"] .btn-lg { font-size: .85rem; padding: 1.1rem 2rem; }
[data-concept="forge"] .lang { background: rgb(var(--surface-alt)); border-color: rgb(var(--outline)); }
[data-concept="forge"] .footer { background: rgb(8 10 16); }
[data-concept="forge"] .form {
  background: rgb(var(--surface-alt));
  border-color: rgb(var(--outline));
}
[data-concept="forge"] .form input,
[data-concept="forge"] .form textarea,
[data-concept="forge"] .form select {
  background: rgb(var(--surface-deep));
  border-color: rgb(var(--outline));
  color: rgb(var(--on-surface));
}
[data-concept="forge"] .tax-table,
[data-concept="forge"] .ps-grid { background: rgb(var(--outline)); }
[data-concept="forge"] .tax-table { border-color: rgb(var(--outline)); }
[data-concept="forge"] .tax-table th { background: rgb(var(--surface-deep)); color: rgb(var(--on-surface-mut)); }
[data-concept="forge"] .ps-col { background: rgb(var(--surface-alt)); }
[data-concept="forge"] .partner-logo,
[data-concept="forge"] .partner-card { background: rgb(var(--surface-alt)); border-color: rgb(var(--outline)); color: rgb(var(--on-surface-mut)); }
[data-concept="forge"] .filter-chip { background: rgb(var(--surface-alt)); border-color: rgb(var(--outline)); color: rgb(var(--on-surface-mut)); }
[data-concept="forge"] .filter-chip.is-active { background: rgb(var(--primary)); color: rgb(11 13 20); }
[data-concept="forge"] .event-row,
[data-concept="forge"] .news-card,
[data-concept="forge"] .step { background: rgb(var(--surface-alt)); border-color: rgb(var(--outline)); color: rgb(var(--on-surface)); }
[data-concept="forge"] .contact-card { background: rgb(var(--surface-alt)); border-color: rgb(var(--outline)); }
[data-concept="forge"] .modal__dialog { background: rgb(var(--surface-alt)); color: rgb(var(--on-surface)); }
[data-concept="forge"] .modal__close { background: rgb(var(--surface-deep)); color: rgb(var(--on-surface)); }
[data-concept="forge"] .burger { border-color: rgb(var(--outline)); color: rgb(var(--on-surface)); }
[data-concept="forge"] .mobile-menu { background: rgb(var(--surface)); color: rgb(var(--on-surface)); }

/* BENTO Ecosystem (forge) */
.bento-ecosystem {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .bento-ecosystem {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(200px, auto);
  }
  .be-1 { grid-column: span 7; grid-row: span 1; }
  .be-2 { grid-column: span 5; grid-row: span 1; }
  .be-3 { grid-column: span 5; grid-row: span 1; }
  .be-4 { grid-column: span 7; grid-row: span 1; }
}
.bento-cell {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgb(var(--surface-alt));
  border: 1px solid rgb(var(--outline));
  overflow: hidden;
  transition: all .3s ease;
  color: rgb(var(--on-surface));
}
.bento-cell:hover {
  border-color: rgb(var(--accent));
  box-shadow: 0 20px 60px -20px rgb(var(--accent) / .3);
}
.bento-cell__icon { font-size: 2.5rem; color: rgb(var(--primary)); display: block; margin-bottom: 1rem; }
.bento-cell h3 { font-size: 1.5rem; margin: 0 0 .75rem; font-weight: 800; }
.bento-cell p { color: rgb(var(--on-surface-mut)); line-height: 1.6; margin: 0; }
.bento-cell--primary {
  background: rgb(var(--primary-soft));
  border-color: rgb(var(--primary) / .3);
}
.bento-cell__watermark {
  position: absolute;
  bottom: -2rem; right: -2rem;
  font-size: 12rem;
  opacity: .06;
  pointer-events: none;
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1;
}

/* Pain-Solution rows (forge) */
.pain-rows { display: grid; gap: 1rem; }
.pain-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 2rem;
  background: rgb(var(--surface-alt));
  border: 1px solid rgb(var(--outline));
  border-radius: var(--radius-lg);
  transition: all .3s ease;
}
@media (min-width: 768px) { .pain-row { grid-template-columns: 1fr 60px 1fr; align-items: center; } }
.pain-row:hover { border-color: rgb(var(--accent)); box-shadow: 0 15px 40px -15px rgb(var(--accent) / .3); }
.pain-row__side h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .2em; color: rgb(var(--on-surface-mut)); margin: 0 0 .75rem; }
.pain-row__title { font-size: 1.15rem; font-weight: 700; margin: 0; line-height: 1.35; }
.pain-row__arrow {
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px;
  border-radius: 9999px;
  background: rgb(var(--primary-soft));
  color: rgb(var(--primary));
  margin: 0 auto;
}

/* ============ SOVEREIGN: Earth formal, numbered mission ============ */
[data-concept="sovereign"] .section-alt { background: rgb(var(--surface-alt)); }
[data-concept="sovereign"] .section-deep { background: rgb(var(--surface-deep)); }
[data-concept="sovereign"] .hero h1,
[data-concept="sovereign"] .section-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
[data-concept="sovereign"] .tag {
  background: transparent;
  border: 1px solid rgb(var(--primary) / .25);
  color: rgb(var(--primary));
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: .65rem;
  padding: .4rem .85rem;
}
[data-concept="sovereign"] .tag-on-dark {
  background: transparent;
  border: 1px solid rgb(255 255 255 / .4);
  color: #fff;
}
[data-concept="sovereign"] .btn {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  font-weight: 800;
  padding: 1rem 1.75rem;
}
[data-concept="sovereign"] .btn-lg { padding: 1.2rem 2.25rem; font-size: .78rem; }
[data-concept="sovereign"] .chip {
  background: transparent;
  border: 1px solid rgb(var(--accent));
  color: rgb(var(--accent));
  text-transform: uppercase;
  letter-spacing: .18em;
}
[data-concept="sovereign"] .card {
  background: rgb(var(--surface));
  border: 1px solid rgb(var(--outline));
}
[data-concept="sovereign"] .card:hover {
  border-color: rgb(var(--primary));
  box-shadow: 0 20px 40px -25px rgb(var(--primary) / .35);
}
[data-concept="sovereign"] .logo { font-family: var(--font-display); font-weight: 900; }
[data-concept="sovereign"] .logo__mark { border-radius: 0; }
[data-concept="sovereign"] .footer {
  background: rgb(var(--accent));
  color: rgb(255 255 255 / .85);
}
[data-concept="sovereign"] .footer h4 { font-family: var(--font-display); }
[data-concept="sovereign"] .cta-bar { border-radius: 0; }
[data-concept="sovereign"] .partner-logo,
[data-concept="sovereign"] .partner-card { background: rgb(var(--surface)); border-color: rgb(var(--outline)); }
[data-concept="sovereign"] .event-row,
[data-concept="sovereign"] .news-card,
[data-concept="sovereign"] .step,
[data-concept="sovereign"] .contact-card { background: rgb(var(--surface)); border-color: rgb(var(--outline)); }

/* Numbered mission list (sovereign) */
.mission-numbered { display: grid; gap: 2.5rem; }
.mission-item { display: flex; gap: 2rem; align-items: flex-start; }
.mission-item__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3rem;
  color: rgb(var(--on-surface-mut) / .35);
  line-height: 1;
  min-width: 4.5rem;
}
.mission-item h4 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin: 0 0 .75rem;
  font-weight: 900;
  color: rgb(var(--primary));
}
.mission-item p { color: rgb(var(--on-surface-mut)); line-height: 1.65; margin: 0; }

/* BENTO Strategic Initiatives (sovereign) */
.bento-strategic {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .bento-strategic {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(260px, 1fr);
  }
  .bs-1 { grid-column: span 2; }
  .bs-4 { grid-column: span 2; }
}
.bs-cell {
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: background .3s ease;
}
.bs-cell h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  margin: 0 0 1rem;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.bs-cell p { line-height: 1.6; margin: 0; }
.bs-cell--primary { background: rgb(var(--primary)); color: #fff; }
.bs-cell--accent  { background: rgb(var(--accent)); color: #fff; }
.bs-cell--light   { background: rgb(var(--surface)); color: rgb(var(--on-surface)); border: 1px solid rgb(var(--outline)); }
.bs-cell--soft    { background: rgb(var(--primary-soft)); color: rgb(var(--primary-dark)); }
.bs-cell__watermark {
  position: absolute;
  bottom: -3rem; right: -3rem;
  font-size: 10rem;
  opacity: .08;
  pointer-events: none;
  line-height: 1;
}

/* Registry grid (sovereign) */
.registry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgb(var(--outline));
  border: 1px solid rgb(var(--outline));
}
@media (min-width: 1024px) { .registry-grid { grid-template-columns: repeat(4, 1fr); } }
.registry-cell {
  background: rgb(var(--surface));
  padding: 2rem;
  transition: background .3s ease;
  cursor: pointer;
}
.registry-cell:hover { background: rgb(var(--surface-alt)); }
.registry-cell__icon {
  width: 3rem; height: 3rem;
  background: rgb(var(--primary-soft));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgb(var(--primary));
  margin-bottom: 1.5rem;
}
.registry-cell h5 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 0 .5rem;
}
.registry-cell__id {
  font-size: .7rem;
  color: rgb(var(--on-surface-mut));
  text-transform: uppercase;
  letter-spacing: .2em;
}

/* Legal docs list (sovereign) */
.legal-list { display: grid; gap: .5rem; }
.legal-doc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: rgb(255 255 255 / .05);
  border-left: 4px solid rgb(var(--accent));
  cursor: pointer;
  transition: background .2s ease;
  color: inherit;
  text-decoration: none;
}
.legal-doc:hover { background: rgb(255 255 255 / .12); }
.legal-doc span:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: .85rem;
}
