:root {
  --bg: #111318;
  --bg-2: #171a22;
  --panel: rgba(31, 35, 48, 0.78);
  --panel-solid: #1d2029;
  --stroke: rgba(255, 255, 255, 0.11);
  --stroke-strong: rgba(255, 255, 255, 0.18);
  --text: #f7f4ef;
  --muted: #b9bfcc;
  --muted-2: #8e96a8;

  --brand: #ffd84d;
  --brand-2: #ffb703;
  --orange: #ff8a3d;
  --blue: #4b8dff;
  --blue-2: #5c6cff;
  --cyan: #42e8ff;
  --purple: #ab92ff;
  --pink: #ff6fb1;
  --green: #65d39b;
  --lime: #d8ff74;
}

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

body {
  padding-top: 12px;
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at 10% -5%, rgba(255, 216, 77, 0.16), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(75, 141, 255, 0.17), transparent 34%),
    radial-gradient(circle at 50% 42%, rgba(171, 146, 255, 0.10), transparent 34%),
    linear-gradient(180deg, #14161d 0%, #101218 48%, #0d0f14 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -4;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 16%, black, transparent 72%);
}

button, input { font: inherit; }
a { color: inherit; }

.cursor-glow {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 380px;
  height: 380px;
  pointer-events: none;
  border-radius: 999px;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: .65;
  background:
    radial-gradient(circle, rgba(255, 216, 77, .20), rgba(255, 111, 177, .12) 34%, rgba(75, 141, 255, .10) 54%, transparent 72%);
  filter: blur(18px);
  mix-blend-mode: screen;
  transition: opacity .2s ease;
}

.ambient {
  position: fixed;
  z-index: -3;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(34px);
  opacity: .7;
  animation: breathe 9s ease-in-out infinite alternate;
}

.ambient--one {
  width: 360px;
  height: 360px;
  left: -120px;
  top: 120px;
  background: rgba(255, 216, 77, .15);
}

.ambient--two {
  width: 460px;
  height: 460px;
  right: -160px;
  top: 280px;
  background: rgba(75, 141, 255, .15);
  animation-delay: -2s;
}

.ambient--three {
  width: 420px;
  height: 420px;
  left: 35%;
  bottom: -180px;
  background: rgba(171, 146, 255, .14);
  animation-delay: -4s;
}

@keyframes breathe {
  from { transform: translate3d(0, 0, 0) scale(.95); opacity: .45; }
  to { transform: translate3d(28px, -18px, 0) scale(1.12); opacity: .8; }
}

/* Header */


.site-header {
  position: sticky;
  top: 18px;
  z-index: 30;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;

  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 18px;

  border-radius: 32px;

  background: rgba(23, 26, 34, 0.72);
  border: 1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(22px);

  box-shadow:
    0 20px 50px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.05);
}


.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 0 28px rgba(255, 183, 3, .16);
}

.logo__text {
  color: var(--text);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -.055em;
}

.logo__text span { color: var(--brand); }

.header-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.header-nav a,
.profile-button,
.search-button {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}

.header-nav a {
  padding: 11px 13px;
  border-radius: 999px;
}

.header-nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,.055);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.profile-button,
.search-button {
  padding: 12px 16px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(14px);
}

.profile-button {
  color: #15161b;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 32px rgba(255, 183, 3, .18);
}

.search-button:hover {
  color: var(--text);
  border-color: rgba(255,255,255,.22);
}

/* Search */

.search-panel {
  position: fixed;
  inset: 76px 0 auto;
  z-index: 40;
  display: none;
  padding: 0 24px;
}

.search-panel.is-open { display: block; }

.search-panel__inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--stroke);
  border-radius: 26px;
  background: rgba(29, 32, 41, .94);
  box-shadow: 0 28px 80px rgba(0,0,0,.36), 0 0 60px rgba(255, 216, 77, .08);
  backdrop-filter: blur(18px);
}

.search-input {
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 18px;
  padding: 16px 18px;
  color: var(--text);
  background: #12141a;
}

.search-close {
  width: 52px;
  border: 0;
  border-radius: 18px;
  background: var(--brand);
  color: #17181f;
  font-size: 28px;
  cursor: pointer;
}

/* Global */

.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px 24px 110px;
  position: relative;
  z-index: 2;
}

.section { margin-top: 86px; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(52px, 8vw, 104px);
  line-height: .88;
  letter-spacing: -.075em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .96;
  letter-spacing: -.06em;
}

h3 {
  letter-spacing: -.035em;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.section-header a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 900;
}

.section-header a:hover { color: var(--brand); }

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #15161b;
  box-shadow: 0 20px 45px rgba(255, 183, 3, .24);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-3px);
}

.ghost-button {
  border: 1px solid var(--stroke);
  color: var(--text);
  background: rgba(255,255,255,.04);
}

.ghost-button:hover {
  border-color: rgba(255,255,255,.26);
  box-shadow: 0 18px 40px rgba(75, 141, 255, .12);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 28px;
}

.hero__content,
.hero-mockup,
.scenario-entry,
.directions,
.roles-section,
.catalog,
.methodology {
  border: 1px solid var(--stroke);
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(35, 39, 52, .78), rgba(22, 24, 31, .92));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(20px);
}

.hero__content {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 64px);
}

.hero__content::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% 25%;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 216, 77, .17), transparent 68%);
  pointer-events: none;
}

.hero__lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.48;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.hero-stats span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.06);
}

/* Mockup */

.hero-mockup {
  position: relative;
  overflow: hidden;
  padding: 26px;
  min-height: 640px;
}

.hero-mockup::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -120px;
  top: -90px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(75, 141, 255, .34), transparent 66%);
  animation: floatOrb 8s ease-in-out infinite alternate;
}

.hero-mockup::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  left: -120px;
  bottom: -120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 216, 77, .30), transparent 66%);
  animation: floatOrb 9s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  to { transform: translate3d(-20px, 24px, 0) scale(1.08); }
}

.mockup-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.mockup-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #161820;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.mockup-top h2 {
  max-width: 360px;
  font-size: 42px;
}

.mockup-badge {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}

.chat-simulation {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin: 34px 0;
}

.chat-line {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  max-width: 92%;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  animation: messageFloat 4.8s ease-in-out infinite alternate;
}

.chat-line:nth-child(2) { animation-delay: -.8s; }
.chat-line:nth-child(3) { animation-delay: -1.6s; }

.chat-line p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.chat-line--you {
  justify-self: end;
  background: linear-gradient(135deg, rgba(255, 216, 77, .22), rgba(255, 183, 3, .10));
  border-color: rgba(255, 216, 77, .25);
}

.chat-line--you p { color: var(--text); }

@keyframes messageFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

.avatar-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: block;
}

.avatar-dot--blue { background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.avatar-dot--purple { background: linear-gradient(135deg, var(--purple), var(--pink)); }
.avatar-dot--yellow { background: linear-gradient(135deg, var(--brand), var(--orange)); }

.choice-panel {
  position: relative;
  z-index: 1;
  padding: 18px;
  border-radius: 26px;
  background: rgba(14, 16, 22, .72);
  border: 1px solid rgba(255,255,255,.08);
}

.choice-panel p {
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 800;
}

.choice-button {
  width: 100%;
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.09);
  color: var(--text);
  text-align: left;
  background: rgba(255,255,255,.045);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.choice-button:hover,
.choice-button.is-active {
  transform: translateX(4px);
  border-color: rgba(255,216,77,.44);
  background: rgba(255,216,77,.12);
}

/* Scenarios */

.scenario-entry,
.directions,
.roles-section,
.catalog,
.methodology {
  padding: 28px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 16px;
}

.scenario-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border-radius: 30px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.10);
  background: #191c24;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.scenario-card::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -90px;
  top: -90px;
  border-radius: 999px;
  opacity: .58;
  filter: blur(2px);
  background: var(--card-color);
}

.scenario-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .7;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.48));
  pointer-events: none;
}

.scenario-card > * {
  position: relative;
  z-index: 1;
}

.scenario-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--card-color), white 22%);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--card-color), transparent 78%);
}

.scenario-card span:not(.scenario-card__icon) {
  margin-bottom: auto;
  color: color-mix(in srgb, var(--card-color), white 36%);
  font-size: 13px;
  font-weight: 900;
}

.scenario-card h3 {
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.02;
}

.scenario-card p {
  margin-bottom: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.42;
}

.scenario-card--yellow { --card-color: var(--brand); }
.scenario-card--blue { --card-color: var(--blue); }
.scenario-card--pink { --card-color: var(--pink); }
.scenario-card--cyan { --card-color: var(--cyan); }
.scenario-card--green { --card-color: var(--green); }

/* Directions */

.direction-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr 1fr;
  grid-template-areas:
    "people self digital"
    "people team meta";
  gap: 16px;
}

.direction-island {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: 32px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at 84% 10%, color-mix(in srgb, var(--island), transparent 60%), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.direction-island:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--island), white 24%);
  box-shadow: 0 22px 58px color-mix(in srgb, var(--island), transparent 78%);
}

.direction-island span {
  margin-bottom: auto;
  color: color-mix(in srgb, var(--island), white 32%);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.direction-island h3 {
  max-width: 460px;
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.02;
}

.direction-island p {
  max-width: 430px;
  margin-bottom: 0;
  color: rgba(255,255,255,.72);
  font-size: 18px;
  line-height: 1.42;
}

.direction-island--people { grid-area: people; --island: var(--brand); min-height: 536px; }
.direction-island--self { grid-area: self; --island: var(--purple); }
.direction-island--team { grid-area: team; --island: var(--green); }
.direction-island--digital { grid-area: digital; --island: var(--cyan); }
.direction-island--meta { grid-area: meta; --island: var(--pink); }

/* Roles */

.role-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}

.role-tab {
  flex: 1 1 auto;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.role-tab:hover {
  color: var(--text);
}

.role-tab.is-active {
  color: #15161b;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 30px rgba(255,183,3,.18);
}

.role-panel {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 18px;
  align-items: stretch;
  padding: 26px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 6%, rgba(255,216,77,.20), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
  transition: opacity .25s ease, transform .25s ease;
}

.role-panel.is-changing {
  opacity: .35;
  transform: translateY(8px);
}

.role-panel__tag {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.role-panel h3 {
  margin: 12px 0;
  font-size: 42px;
}

.role-panel p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.48;
}

.role-panel__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.role-panel__cards span {
  display: flex;
  align-items: end;
  min-height: 112px;
  padding: 16px;
  border-radius: 22px;
  color: var(--text);
  font-weight: 900;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}

/* Custom */

.custom-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  padding: clamp(26px, 5vw, 44px);
  border-radius: 40px;
  border: 1px solid rgba(255,216,77,.22);
  background:
    radial-gradient(circle at 0% 0%, rgba(255,216,77,.24), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(171,146,255,.20), transparent 38%),
    linear-gradient(135deg, rgba(43, 38, 25, .92), rgba(25, 27, 36, .96));
  box-shadow: 0 34px 90px rgba(0,0,0,.34), 0 0 72px rgba(255,216,77,.10);
}

.custom-card__content p:not(.eyebrow) {
  color: var(--muted);
  font-size: 21px;
  line-height: 1.48;
}

.custom-card__content .primary-button {
  margin-top: 18px;
}

.custom-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.custom-options article {
  min-height: 200px;
  padding: 20px;
  border-radius: 26px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.custom-options article span {
  color: var(--brand);
  font-weight: 900;
}

.custom-options article h3 {
  margin: 34px 0 10px;
  font-size: 24px;
}

.custom-options article p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.custom-options__accent {
  background:
    radial-gradient(circle at 82% 16%, rgba(255,111,177,.35), transparent 38%),
    rgba(255,255,255,.08) !important;
  border-color: rgba(255,111,177,.32) !important;
}

/* Catalog */

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-chip {
  white-space: nowrap;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(255,255,255,.035);
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.filter-chip:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.filter-chip.is-active {
  color: #15161b;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.course-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .25s ease;
}

.course-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 86% 10%, color-mix(in srgb, var(--course), transparent 58%), transparent 36%);
  pointer-events: none;
  opacity: .88;
}

.course-card > * {
  position: relative;
  z-index: 1;
}

.course-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--course), white 26%);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--course), transparent 80%);
}

.course-card.is-hidden {
  display: none;
}

.course-card__cover {
  display: flex;
  align-items: flex-end;
  height: 140px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 24px;
  color: #15161b;
  font-size: 46px;
  font-weight: 900;
  background: linear-gradient(135deg, color-mix(in srgb, var(--course), white 24%), var(--course));
}

.course-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.course-card p {
  color: var(--muted);
  line-height: 1.45;
}

.course-card a {
  margin-top: auto;
  color: color-mix(in srgb, var(--course), white 28%);
  text-decoration: none;
  font-weight: 900;
}

.course-card--yellow { --course: var(--brand); }
.course-card--blue { --course: var(--blue); }
.course-card--pink { --course: var(--pink); }
.course-card--cyan { --course: var(--cyan); }
.course-card--green { --course: var(--green); }
.course-card--purple { --course: var(--purple); }

/* Methodology */

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.method-steps article {
  min-height: 250px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
  transition: transform .25s ease, border-color .25s ease;
}

.method-steps article:hover {
  transform: translateY(-6px);
  border-color: rgba(255,216,77,.28);
}

.method-steps span {
  color: var(--brand);
  font-weight: 900;
}

.method-steps h3 {
  margin: 54px 0 12px;
  font-size: 26px;
}

.method-steps p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.footer {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 24px 58px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted-2);
  border-top: 1px solid rgba(255,255,255,.07);
}

@media (max-width: 1080px) {
  .hero,
  .custom-card,
  .role-panel {
    grid-template-columns: 1fr;
  }

  .hero-mockup { min-height: auto; }

  .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .direction-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "people people"
      "self team"
      "digital meta";
  }

  .direction-island--people { min-height: 320px; }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  
.site-header {
  position: sticky;
  top: 18px;
  z-index: 30;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;

  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 18px;

  border-radius: 32px;

  background: rgba(23, 26, 34, 0.72);
  border: 1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(22px);

  box-shadow:
    0 20px 50px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.05);
}


  .header-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .cursor-glow { display: none; }

  
.site-header {
  position: sticky;
  top: 18px;
  z-index: 30;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;

  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 18px;

  border-radius: 32px;

  background: rgba(23, 26, 34, 0.72);
  border: 1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(22px);

  box-shadow:
    0 20px 50px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.05);
}


  .profile-button { display: none; }

  .page {
    padding: 22px 18px 86px;
  }

  .section {
    margin-top: 54px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .hero__lead {
    font-size: 19px;
  }

  .scenario-grid,
  .direction-layout,
  .catalog-grid,
  .custom-options,
  .method-steps,
  .role-panel__cards {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .direction-island {
    grid-area: auto !important;
    min-height: 260px;
  }

  .scenario-card {
    min-height: 230px;
  }

  .role-switcher {
    border-radius: 28px;
  }

  .role-tab {
    flex: 1 1 44%;
  }

  .footer {
    flex-direction: column;
  }
}


/* === Scenario icons instead of numbers ===
   Иконки для блока "С чего начать".
   Файлы иконок положи в папку images рядом с index.html:
   - images/icon-say-no.svg
   - images/icon-team-conflict.svg
   - images/icon-overload.svg
   - images/icon-ai-start.svg
   - images/icon-position.svg
*/

.scenario-card__icon {
  width: 54px;
  height: 54px;
  margin-bottom: auto;

  display: grid;
  place-items: center;

  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--card-color), white 18%);

  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.18), transparent 58%),
    color-mix(in srgb, var(--card-color), transparent 82%);

  box-shadow:
    0 14px 28px color-mix(in srgb, var(--card-color), transparent 84%),
    inset 0 1px 0 rgba(255,255,255,.07);

  transition:
    transform .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.scenario-card:hover .scenario-card__icon {
  transform: translateY(-3px) scale(1.04);
  border-color: color-mix(in srgb, var(--card-color), white 36%);
  box-shadow:
    0 18px 42px color-mix(in srgb, var(--card-color), transparent 72%),
    inset 0 1px 0 rgba(255,255,255,.10);
}

.scenario-card__icon img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

/* Старое правило для span с цифрой оставляем для совместимости,
   но исключаем новую иконку, чтобы она не наследовала размер и цвет цифр. */
.scenario-card span:not(.scenario-card__icon) {
  margin-bottom: auto;
  color: color-mix(in srgb, var(--card-color), white 36%);
  font-size: 13px;
  font-weight: 900;
}

/* === Catalog cards: PNG icons instead of numbers ===
   Полный аккуратный блок для иконок в разделе "Все сценарии".

   В HTML внутри .course-card__cover должна быть картинка:
   <div class="course-card__cover course-card__cover--icon">
     <img src="images/icon-say-no.png" alt="" aria-hidden="true">
   </div>

   Иконки лежат в:
   images/icon-say-no.png
   images/icon-team-conflict.png
   images/icon-overload.png
   images/icon-ai-start.png
   images/icon-position.png
*/

.course-card__cover--icon {
  align-items: center;
  justify-content: center;

  padding: 18px;
  overflow: hidden;

  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.16), transparent 44%),
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--course), white 22%),
      var(--course)
    );
}

.course-card__cover--icon img {
  width: 58px;
  height: 58px;

  display: block;
  object-fit: contain;
  object-position: center;

  opacity: .9;

  filter:
    drop-shadow(0 7px 15px rgba(0,0,0,.18))
    drop-shadow(0 0 10px rgba(255,255,255,.05));

  transition:
    transform .26s ease,
    opacity .26s ease,
    filter .26s ease;
}

.course-card:hover .course-card__cover--icon img {
  transform: translateY(-2px) scale(1.06);
  opacity: 1;

  filter:
    drop-shadow(0 10px 20px rgba(0,0,0,.22))
    drop-shadow(0 0 14px rgba(255,255,255,.08));
}

@media (max-width: 640px) {
  .course-card__cover--icon img {
    width: 52px;
    height: 52px;
  }
}



/* === Skill Radar module === */

.skill-radar-section {
  position: relative;
}

.skill-radar-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: stretch;
  padding: clamp(26px, 5vw, 44px);
  border-radius: 40px;
  border: 1px solid rgba(66, 232, 255, .22);
  background:
    radial-gradient(circle at 0% 0%, rgba(66, 232, 255, .20), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(171, 146, 255, .18), transparent 38%),
    linear-gradient(135deg, rgba(23, 35, 48, .94), rgba(22, 24, 31, .96));
  box-shadow:
    0 34px 90px rgba(0,0,0,.34),
    0 0 72px rgba(66, 232, 255, .08);
}

.skill-radar-card::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  top: -180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(66, 232, 255, .22), transparent 68%);
  pointer-events: none;
  animation: floatOrb 9s ease-in-out infinite alternate;
}

.skill-radar-card::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  left: -130px;
  bottom: -150px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(171, 146, 255, .18), transparent 68%);
  pointer-events: none;
  animation: floatOrb 10s ease-in-out infinite alternate-reverse;
}

.skill-radar-card > * {
  position: relative;
  z-index: 1;
}

.skill-radar-card__content p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.48;
}

.skill-radar-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.skill-radar-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(66, 232, 255, .08);
  border: 1px solid rgba(66, 232, 255, .16);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: lowercase;
}

.skill-radar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.skill-radar-actions .primary-button {
  background: linear-gradient(135deg, var(--cyan), #bdf7ff);
  box-shadow: 0 20px 45px rgba(66, 232, 255, .18);
}

.skill-radar-visual {
  min-height: 460px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 22px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.09);
  background:
    radial-gradient(circle at 50% 44%, rgba(66,232,255,.13), transparent 42%),
    rgba(14, 16, 22, .72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 22px 60px rgba(0,0,0,.22);
}

.skill-radar-visual__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.skill-radar-visual__top span,
.skill-radar-visual__top strong {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  background: rgba(255,255,255,.045);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.skill-radar-visual__top strong {
  color: #12141a;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), #bdf7ff);
}

#home-skill-radar {
  width: min(100%, 390px);
  height: auto;
  align-self: center;
  justify-self: center;
}

.skill-radar-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.skill-radar-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  font-size: 12px;
  font-weight: 800;
}

.skill-radar-legend i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--dot);
}

@media (max-width: 1080px) {
  .skill-radar-card {
    grid-template-columns: 1fr;
  }

  .skill-radar-visual {
    min-height: 390px;
  }
}

@media (max-width: 640px) {
  .skill-radar-card {
    padding: 24px;
    border-radius: 34px;
  }

  .skill-radar-actions {
    flex-direction: column;
  }

  .skill-radar-visual {
    min-height: 340px;
    padding: 18px;
  }

  .skill-radar-legend {
    grid-template-columns: 1fr;
  }
}


/* === Final mobile header + role chips / VERSION: final-switchers-20260518 === */
.role-switcher {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-bottom: 18px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.role-tab {
  flex: 0 0 auto !important;
  min-height: 48px !important;
  padding: 0 18px !important;
  border: 1px solid var(--stroke) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.035) !important;
  color: var(--muted) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

.role-tab.is-active {
  color: #15161b !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)) !important;
  box-shadow: 0 14px 30px rgba(255,183,3,.18) !important;
}

@media (max-width: 860px) {
  .site-header {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: calc(100% - 20px) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 12px !important;
    border-radius: 22px !important;
  }

  .logo { justify-content: flex-start !important; }

  .header-nav {
    display: flex !important;
    visibility: visible !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 2px 2px 6px !important;
    margin: 0 -2px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .header-nav::-webkit-scrollbar { display: none !important; }

  .header-nav a {
    flex: 0 0 auto !important;
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 12px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.045) !important;
    border: 1px solid rgba(255,255,255,.07) !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  .header-actions { display: none !important; }

  .role-switcher,
  .catalog-filters {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    gap: 10px !important;
    padding: 0 !important;
  }

  .role-tab,
  .filter-chip {
    flex: 0 0 auto !important;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 20px) !important;
    top: 10px !important;
  }

  .logo__text { font-size: 24px !important; }

  .role-switcher,
  .catalog-filters {
    flex-wrap: wrap !important;
    overflow: visible !important;
  }
}


/* Course progress status on main page */
.course-status-pill {
  align-self: flex-start;
  display: inline-flex;
  width: fit-content;
  margin: 14px 0 4px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.055);
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.course-status-pill.is-in-progress {
  color: #15161b;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.course-status-pill.is-completed {
  color: #111318;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--lime));
}

.course-card[data-course-card] {
  display: flex;
  flex-direction: column;
}
