/* Exhibition ecosystem layer. Loaded after cinematic-v2.css. */

* {
  box-sizing: border-box;
}

:root {
  --app-bg: #020306;
  --app-text: #f7f8fb;
  --app-muted: rgba(247, 248, 251, .64);
  --glass-surface: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  --glass-surface-strong: linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08));
  --glass-border: rgba(255, 255, 255, .22);
  --glass-border-strong: rgba(255, 255, 255, .48);
  --glass-shadow: 0 20px 54px rgba(0, 0, 0, .34);
  --glass-blur: 20px;
  --app-radius-card: 28px;
  --app-radius-control: 999px;
  --app-dock-height: 82px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: 'TildaSans', 'Manrope', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
}

body.has-launch-screen {
  overflow: hidden;
}

.launch-screen {
  --launch-text: #f7f8fb;
  --launch-muted: rgba(247, 248, 251, .65);
  --launch-glass: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .008));
  --launch-glass-active: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .025));
  --launch-border: rgba(255, 255, 255, .24);
  position: fixed;
  z-index: 1200;
  inset: 0;
  overflow: hidden;
  min-width: 320px;
  color: var(--launch-text);
  background: #010204;
  isolation: isolate;
  opacity: 1;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.launch-screen.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.launch-screen__background,
.launch-screen__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.launch-screen__background {
  z-index: -3;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: .94;
}

.launch-screen__veil {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 48%, rgba(112, 92, 226, .18), transparent 42%),
    linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .9) 15%, rgba(4, 8, 18, .5) 54%, rgba(1, 3, 7, .94) 100%);
}

.launch-screen__content {
  position: relative;
  width: min(100%, 720px);
  height: 100%;
  min-height: 620px;
  margin-inline: auto;
  padding: max(22px, env(safe-area-inset-top)) clamp(20px, 5vw, 44px) max(28px, env(safe-area-inset-bottom));
}

.launch-screen__brand {
  display: block;
  width: clamp(64px, 10vh, 88px);
  height: clamp(64px, 10vh, 88px);
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(255, 255, 255, .18));
}

.launch-screen__heading {
  position: relative;
  z-index: 2;
  margin-top: clamp(12px, 2.3vh, 24px);
  text-align: center;
}

.launch-screen__heading h1 {
  max-width: 620px;
  margin: 0 auto;
  color: var(--launch-text);
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 650;
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.launch-screen__heading p {
  margin: 12px 0 0;
  color: var(--launch-muted);
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.4;
}

.launch-screen__tools {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(18px, 3vh, 30px);
}

.launch-tool,
.launch-screen__action {
  border: 1px solid var(--launch-border);
  color: var(--launch-text);
  background: var(--launch-glass);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  backdrop-filter: blur(8px) saturate(1.1);
  box-shadow: inset 0 1px rgba(255, 255, 255, .16), 0 16px 34px rgba(0, 0, 0, .28);
  transition: transform 140ms cubic-bezier(.23, 1, .32, 1), border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.launch-tool {
  min-height: 148px;
  padding: 18px;
  border-radius: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.launch-tool__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px rgba(255, 255, 255, .12);
}

.launch-tool__icon img,
.launch-tool__icon svg {
  width: 28px;
  height: 28px;
  color: currentColor;
  filter: brightness(0) invert(1);
}

.launch-tool strong {
  margin-top: 16px;
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .52);
}

.launch-tool > span:last-child {
  margin-top: 8px;
  color: var(--launch-muted);
  font-size: clamp(11px, 1.5vw, 14px);
  line-height: 1.35;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .48);
}

.launch-tool[aria-pressed='true'] {
  border-color: rgba(255, 255, 255, .52);
  background: var(--launch-glass-active);
  box-shadow: inset 0 1px rgba(255, 255, 255, .23), 0 19px 42px rgba(0, 0, 0, .32);
}

.launch-tool:focus-visible,
.launch-screen__action:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .92);
  outline-offset: 3px;
}

.launch-tool:active,
.launch-screen__action:active {
  transform: scale(.98);
}

.launch-screen__visual {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: clamp(74px, 8vh, 96px);
  width: min(88%, 620px);
  height: min(49%, 600px);
  transform: translateX(-50%);
  object-fit: contain;
  filter: drop-shadow(0 34px 42px rgba(0, 0, 0, .58));
  pointer-events: none;
}

.launch-sponsors {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: max(116px, calc(env(safe-area-inset-bottom) + 98px));
  width: min(78%, 520px);
  min-height: 62px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  color: var(--launch-muted);
  background: var(--glass-surface);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.25);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.25);
  box-shadow: inset 0 1px rgba(255, 255, 255, .15), var(--glass-shadow);
  transform: translateX(-50%);
}

.launch-sponsors > span {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.launch-sponsor__logo {
  width: 100%;
  height: 35px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: .84;
}

.launch-screen__action {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: max(28px, env(safe-area-inset-bottom));
  width: min(78%, 520px);
  min-height: clamp(68px, 8vh, 82px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 999px;
  transform: translateX(-50%);
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 650;
}

.launch-screen__action:active {
  transform: translateX(-50%) scale(.98);
}

.launch-screen__action img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.launch-touch {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 50%;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.88);
  pointer-events: none;
}

.launch-touch.is-visible {
  animation: launch-touch-prompt 1.4s cubic-bezier(.23, 1, .32, 1) both;
}

.launch-touch__core {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px rgba(255, 255, 255, .24), 0 20px 50px rgba(0, 0, 0, .4);
}

.launch-touch__core img {
  width: 38px;
  height: 38px;
  filter: brightness(0) invert(1) drop-shadow(0 4px 9px rgba(0, 0, 0, .32));
  animation: launch-touch-finger 1.4s cubic-bezier(.23, 1, .32, 1) both;
}

.launch-touch__wave {
  position: absolute;
  z-index: 1;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  opacity: 0;
  animation: launch-touch-wave 1.4s cubic-bezier(.23, 1, .32, 1) both;
}

@keyframes launch-touch-prompt {
  0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.88); }
  16%, 74% { opacity: 1; }
  40% { transform: translate(-50%, -50%) scale(1); }
  78% { opacity: 0; transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes launch-touch-finger {
  0%, 25% { transform: translateY(-5px) scale(1.03); }
  48%, 64% { transform: translateY(3px) scale(.92); }
  85%, 100% { transform: translateY(-2px) scale(1); }
}

@keyframes launch-touch-wave {
  0%, 38% { opacity: 0; transform: scale(.55); }
  50% { opacity: .82; }
  86%, 100% { opacity: 0; transform: scale(1.85); }
}

@media (hover: hover) and (pointer: fine) {
  .launch-tool:hover,
  .launch-screen__action:hover {
    border-color: rgba(255, 255, 255, .52);
    background: var(--launch-glass-active);
  }
}

@media (max-width: 520px) {
  .launch-screen__content {
    padding-inline: 18px;
  }

  .launch-screen__tools {
    gap: 9px;
  }

  .launch-tool {
    min-height: 138px;
    padding: 14px;
    border-radius: 22px;
  }

  .launch-tool__icon {
    width: 43px;
    height: 43px;
    border-radius: 14px;
  }

  .launch-screen__visual {
    width: 94%;
    height: 46%;
  }
}

@media (max-height: 760px) {
  .launch-screen__content {
    padding-top: 14px;
  }

  .launch-screen__brand {
    width: 56px;
    height: 56px;
  }

  .launch-screen__heading {
    margin-top: 8px;
  }

  .launch-screen__heading h1 {
    font-size: clamp(30px, 6vw, 42px);
  }

  .launch-screen__tools {
    margin-top: 14px;
  }

  .launch-tool {
    min-height: 124px;
  }

  .launch-screen__visual {
    bottom: 58px;
    height: 42%;
  }

  .launch-screen__action {
    min-height: 60px;
    bottom: 18px;
  }

  .launch-sponsors {
    bottom: 88px;
    min-height: 52px;
    padding-block: 7px;
  }

  .launch-sponsor__logo {
    height: 28px;
  }
}

.app-dock {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  width: min(calc(100% - 28px), 620px);
  min-height: var(--app-dock-height);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  background: rgba(10, 12, 18, .72);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  box-shadow: inset 0 1px rgba(255, 255, 255, .15), var(--glass-shadow);
  transform: translateX(-50%);
}

.app-dock :is(button, a) {
  min-width: 0;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 5px;
  border: 1px solid transparent;
  border-radius: 22px;
  color: var(--app-muted);
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.app-dock :is(button, a) img {
  width: 23px;
  height: 23px;
  filter: brightness(0) invert(1);
  opacity: .68;
}

.app-dock :is(button, a)[aria-current='page'] {
  border-color: var(--glass-border-strong);
  color: var(--app-text);
  background: var(--glass-surface-strong);
  box-shadow: inset 0 1px rgba(255, 255, 255, .18);
}

.app-dock :is(button, a)[aria-current='page'] img {
  opacity: 1;
}

.app-dock :is(button, a):focus-visible {
  outline: 2px solid rgba(255, 255, 255, .92);
  outline-offset: 2px;
}

body:not(.has-launch-screen) main,
body:not(.has-launch-screen) .footer {
  padding-bottom: calc(var(--app-dock-height) + env(safe-area-inset-bottom) + 34px);
}

body.has-launch-screen .app-dock {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .launch-screen,
  .launch-tool,
  .launch-screen__action {
    transition-duration: .01ms;
  }

  .launch-touch.is-visible {
    animation: none;
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  .launch-touch__core img,
  .launch-touch__wave {
    animation: none;
  }

  .launch-touch__wave {
    display: none;
  }
}

html[data-theme='cyber'] {
  --surface-secondary: #1D2830;
}

body,
button,
a {
  font-family: 'TildaSans', 'Manrope', system-ui, sans-serif;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 18px;
  top: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--text-primary);
  background: var(--surface);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(1360px, calc(100% - 48px));
  margin-inline: auto;
}

.sec,
.sec-w {
  position: relative;
  z-index: 2;
  padding: clamp(88px, 9vw, 140px) 0;
  color: var(--text-primary);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
}

.sec-w {
  background: color-mix(in srgb, var(--surface-secondary) 92%, transparent);
}

main > section:not(.hero) > .wrap,
.footer > .wrap {
  position: relative;
  z-index: 4;
}

.sec-hd-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 66px);
}

.sec-tag {
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sec-title,
.partners-title {
  max-width: 880px;
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(42px, 5.1vw, 76px);
  font-weight: 650;
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.hero-title,
.sec-title,
.partners-title,
.games-focus .app-t,
.data-card h3,
.anonymize-callout h3,
.privacy-document h1,
.privacy-document h2 {
  font-family: 'TildaSans', Arial, sans-serif;
}

.nav,
.hero-badge,
.hero-sub,
.hero-note,
.btn-p,
.btn-s,
.sec-desc,
.trainer-filter,
.games-focus .app-d,
.checker-panel,
.partner-desc,
.footer {
  font-family: 'TildaSans', Arial, sans-serif;
}

.sec-desc {
  max-width: 520px;
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(18px, 1.65vw, 24px);
  line-height: 1.5;
}

.calculator-promise p {
  margin: 0 0 10px;
}

.calculator-promise ul {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--gold);
  font-weight: 560;
}

.calculator-promise li {
  position: relative;
  padding-left: 18px;
}

.calculator-promise li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* Header */
.nav {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 82px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 64px);
  border: 0;
  color: #f3efe6;
  background: color-mix(in srgb, #10171c 86%, transparent);
  backdrop-filter: blur(22px) saturate(1.2);
}

html:not([data-theme='cyber']) .nav {
  color: var(--text-primary);
  background: color-mix(in srgb, var(--surface) 91%, transparent);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
}

.nav-logo-text {
  color: inherit;
  font-family: 'Russo One Local', 'TildaSans', sans-serif;
  font-size: 14px;
  letter-spacing: .12em;
  white-space: nowrap;
}

.nav-links {
  grid-column: 2;
  justify-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  color: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  opacity: .78;
  transition: opacity 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
  opacity: 1;
}

.nav-actions {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.theme-toggle {
  width: 190px;
  min-width: 190px;
  height: 54px;
  min-height: 54px;
  cursor: pointer;
}

.theme-toggle__label {
  font-size: 12px;
}

.theme-toggle__icon {
  width: 15px;
  height: 15px;
}

.nav-burger {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  border-radius: 50%;
  color: inherit;
  background: color-mix(in srgb, var(--surface) 12%, transparent);
  cursor: pointer;
}

.nav-burger span {
  width: 22px;
  height: 2px;
  display: block;
  border-radius: 10px;
  background: currentColor;
}

.nav-mobile-menu {
  position: fixed;
  z-index: 99;
  top: 90px;
  right: clamp(18px, 4vw, 64px);
  width: min(390px, calc(100vw - 36px));
  display: grid;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: 0 28px 80px rgba(5, 16, 23, .24);
  backdrop-filter: blur(24px);
}

.nav-mobile-menu a {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid var(--divider);
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.nav-mobile-menu a:last-child {
  border-bottom: 0;
}

/* Hero */
.hero {
  position: relative;
  z-index: 5;
  isolation: isolate;
  min-height: max(760px, 100svh);
  display: flex;
  align-items: center;
  padding: 130px 0 92px;
  overflow: hidden;
  color: var(--text-primary);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 99%, transparent) 0%, color-mix(in srgb, var(--bg) 94%, transparent) 43%, color-mix(in srgb, var(--bg) 44%, transparent) 70%, transparent 100%),
    radial-gradient(circle at 78% 36%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 34%),
    var(--bg);
}

.hero-ecosystem-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #071116;
}

.hero-ecosystem-picture,
.hero-ecosystem-image {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-ecosystem-image {
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(1.03);
}

.hero-ecosystem-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  height: max(100%, 56.25vw);
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  animation: hero-orbit-drift 14s ease-in-out infinite alternate;
}

.hero-core-logo {
  position: absolute;
  left: 74.2%;
  top: 52.3%;
  z-index: 2;
  width: clamp(82px, 8.6vw, 132px);
  height: auto;
  transform: translate(-50%, -50%);
  filter: brightness(1.08) drop-shadow(0 0 12px rgba(208, 174, 114, .56)) drop-shadow(0 0 34px rgba(208, 174, 114, .25));
  animation: hero-logo-breathe 4.8s ease-in-out infinite;
}

.hero-orbit-label {
  --label-x: -50%;
  --label-y: -50%;
  position: absolute;
  z-index: 2;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid rgba(102, 169, 164, .38);
  border-radius: 999px;
  color: #b7c0c5;
  background: rgba(7, 17, 22, .76);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
  font-size: 12px;
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
  transform: translate(var(--label-x), var(--label-y));
  transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.hero-orbit-label b {
  color: #66a9a4;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .08em;
}

.hero-orbit-label--attention { left: 52.6%; top: 44.4%; --label-x: 12%; }
.hero-orbit-label--data { left: 92.3%; top: 20.5%; --label-x: -112%; }
.hero-orbit-label--check { left: 82.8%; top: 85%; --label-y: -115%; }

.hero-orbit-label:hover,
.hero-orbit-label:focus-visible {
  border-color: #d0ae72;
  color: #f3efe6;
  background: rgba(7, 17, 22, .9);
  box-shadow: 0 0 0 4px rgba(208, 174, 114, .09), 0 16px 42px rgba(208, 174, 114, .22);
  outline: none;
  transform: translate(var(--label-x), var(--label-y)) scale(1.04);
}

@keyframes hero-orbit-drift {
  from { transform: translate(-50%, -50%) scale(1.006); filter: saturate(.9) contrast(1.02); }
  to { transform: translate(-50%, -50%) scale(1.022); filter: saturate(.98) contrast(1.06); }
}

@keyframes hero-logo-breathe {
  0%, 100% { opacity: .88; transform: translate(-50%, -50%) scale(.98); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.035); }
}

html[data-theme='cyber'] .hero {
  color: var(--text-primary);
  background:
    linear-gradient(90deg, rgba(16, 23, 28, .99) 0%, rgba(16, 23, 28, .95) 43%, rgba(16, 23, 28, .42) 72%, rgba(16, 23, 28, .08) 100%),
    radial-gradient(circle at 76% 40%, rgba(102, 169, 164, .13), transparent 35%),
    #10171c;
}

.hero::before {
  display: none;
}

.hero::after {
  content: '';
  position: absolute;
  z-index: 3;
  inset: 0 auto 0 0;
  width: 62%;
  pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 96%, transparent) 67%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 4;
  width: min(1240px, calc(100% - 64px));
  min-height: auto;
  display: block;
  margin: 0 auto;
  padding: 0;
  pointer-events: none;
}

.hero-content {
  width: min(660px, 49vw);
  max-width: none;
}

.hero-badge {
  min-height: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  width: min(100%, 430px);
  margin-bottom: 30px;
  padding: 0 0 0 16px;
  border-left: 2px solid var(--gold);
  color: var(--text-secondary);
  background: transparent;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .19em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-badge-index {
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .08em;
}

.hero-title {
  margin: 0;
  color: var(--text-primary);
  max-width: 660px;
  font-size: clamp(64px, 6.8vw, 108px);
  font-weight: 600;
  line-height: .91;
  letter-spacing: -.07em;
}

.hero-title > span {
  display: block;
}

html:not([data-theme='cyber']) .hero-title > span {
  color: transparent;
  background-image: linear-gradient(90deg, var(--text-primary), var(--primary) 58%, var(--gold-dark));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-title-accent {
  color: var(--gold);
}

.hero-lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--text-primary);
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -.025em;
}

.hero-sub {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: clamp(19px, 1.65vw, 25px);
  line-height: 1.5;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero-btns a {
  pointer-events: auto;
}

.btn-p,
.btn-s {
  min-width: 220px;
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.btn-p {
  color: #10201f;
  background: var(--primary);
}

.btn-s {
  color: var(--text-primary);
  background: color-mix(in srgb, var(--surface) 52%, transparent);
}

.btn-p:hover,
.btn-s:hover {
  transform: translateY(-2px);
}

.hero-note {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.hero-scroll {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 28px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-scroll__line {
  width: 52px;
  height: 1px;
  overflow: hidden;
  background: var(--border);
}

.hero-scroll__line::after {
  content: '';
  width: 50%;
  height: 100%;
  display: block;
  background: var(--primary);
  animation: hero-scroll-line 2s ease-in-out infinite;
}

.hero-signal {
  position: absolute;
  z-index: 1;
  right: 7vw;
  top: 20%;
  width: min(42vw, 630px);
  aspect-ratio: 1;
  pointer-events: none;
}

.hero-signal span {
  position: absolute;
  inset: calc(var(--ring, 0) * 11%);
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
  border-radius: 50%;
}

.hero-signal span:nth-child(2) { --ring: 1; }
.hero-signal span:nth-child(3) { --ring: 2; }

/* Human — preserve the original exhibition composition from the base layer. */
.metal-human {
  position: fixed;
  right: clamp(-210px, -9vw, -90px);
  top: auto;
  bottom: -2vh;
  width: min(54vw, 820px);
  height: min(84vh, 880px);
  z-index: -1;
  opacity: 0;
  transform: translate3d(calc(var(--pointer-x, 0) * 8px), calc(var(--pointer-y, 0) * 5px), 0) scale(.985);
  -webkit-mask-image: radial-gradient(ellipse 54% 52% at 52% 54%, #000 0%, #000 60%, rgba(0, 0, 0, .88) 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 54% 52% at 52% 54%, #000 0%, #000 60%, rgba(0, 0, 0, .88) 70%, transparent 100%);
}

.metal-human-active .metal-human {
  z-index: 0;
  opacity: .74;
  transform: translate3d(calc(var(--pointer-x, 0) * 8px), calc(var(--pointer-y, 0) * 5px), 0) scale(1);
  mix-blend-mode: normal;
}

html[data-theme='cyber'].metal-human-active .metal-human {
  opacity: .78;
  mix-blend-mode: normal;
}

.metal-human video {
  object-position: center bottom;
  filter: saturate(.96) contrast(1.34) brightness(.92);
}

html[data-theme='cyber'] .metal-human video {
  filter: saturate(1.02) contrast(1.32) brightness(1.16);
}

@media (pointer: coarse), (max-width: 900px) {
  .metal-human {
    right: -28vw;
    top: auto;
    bottom: -4vh;
    width: 112vw;
    height: 78vh;
    opacity: 0;
    transform: none;
    -webkit-mask-image: radial-gradient(ellipse 54% 52% at 56% 54%, #000 0%, #000 58%, rgba(0, 0, 0, .86) 69%, transparent 100%);
    mask-image: radial-gradient(ellipse 54% 52% at 56% 54%, #000 0%, #000 58%, rgba(0, 0, 0, .86) 69%, transparent 100%);
  }

  .metal-human video {
    object-position: center bottom;
  }

  .metal-human-active .metal-human,
  html[data-theme='cyber'].metal-human-active .metal-human {
    z-index: 0;
    opacity: .78;
    transform: none;
    mix-blend-mode: normal;
  }
}

/* Ecosystem meaning map */
.ecosystem-map {
  overflow: hidden;
  color: #f3efe6;
  background: #071116;
}

.ecosystem-map__layout {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(560px, 1.28fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.ecosystem-map__copy .sec-title {
  color: #f3efe6;
}

.ecosystem-map__copy .sec-desc {
  margin-top: 28px;
  color: #b7c0c5;
}

.ecosystem-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  isolation: isolate;
}

.ecosystem-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse 72% 76% at 58% 52%, #000 0%, #000 58%, rgba(0, 0, 0, .82) 74%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 76% at 58% 52%, #000 0%, #000 58%, rgba(0, 0, 0, .82) 74%, transparent 100%);
  animation: ecosystem-orbit-breathe 9s ease-in-out infinite alternate;
}

.ecosystem-node,
.ecosystem-core {
  position: absolute;
  z-index: 2;
  color: #b7c0c5;
  font-size: clamp(12px, 1vw, 15px);
  letter-spacing: .02em;
  pointer-events: none;
}

.ecosystem-node {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(102, 169, 164, .45);
  border-radius: 999px;
  background: rgba(7, 17, 22, .78);
  backdrop-filter: blur(12px);
  animation: ecosystem-node-pulse 6s ease-in-out infinite;
}

.ecosystem-node b {
  color: #66a9a4;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .08em;
}

.ecosystem-node--attention { top: 19%; right: 4%; animation-delay: 0s; }
.ecosystem-node--data { right: 8%; bottom: 17%; animation-delay: 2s; }
.ecosystem-node--check { left: 7%; bottom: 21%; animation-delay: 4s; }

.ecosystem-core {
  left: 58.6%;
  top: 51%;
  color: #d0ae72;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  transform: translate(-50%, -50%);
}

@keyframes ecosystem-orbit-breathe {
  from { opacity: .82; transform: scale(.992); }
  to { opacity: 1; transform: scale(1.008); }
}

@keyframes ecosystem-node-pulse {
  0%, 25%, 100% { border-color: rgba(102, 169, 164, .34); box-shadow: none; transform: translateY(0); }
  10% { border-color: rgba(208, 174, 114, .78); box-shadow: 0 0 30px rgba(102, 169, 164, .16); transform: translateY(-3px); }
}

html:not([data-theme='cyber']) #site-atmosphere {
  display: none;
}

html:not([data-theme='cyber']) body::before {
  animation: none;
  opacity: .28;
}

html[data-theme='cyber'] #site-atmosphere {
  opacity: .55;
}

/* Trainers */
html[data-theme='cyber'] .tests-section {
  background: var(--bg);
}

.games-focus {
  overflow: hidden;
}

.games-focus::before {
  background: none;
  opacity: 0;
}

.ecosystem-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: clamp(54px, 7vw, 92px);
}

.tests-section .ecosystem-tools {
  margin-bottom: 0;
}

.ecosystem-tools--single {
  grid-template-columns: minmax(0, 980px);
}

.ecosystem-tool-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--border);
  border-radius: 30px;
  color: var(--text-primary);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 20px 60px rgba(4, 14, 20, .12);
  transition: border-color 180ms ease, transform 220ms ease, background-color 180ms ease;
}

.ecosystem-tool-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  border-color: color-mix(in srgb, var(--primary) 54%, var(--border));
  background: linear-gradient(145deg, color-mix(in srgb, var(--primary-soft) 56%, var(--surface)), var(--surface) 72%);
}

.ecosystem-tool-copy {
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.ecosystem-tool-copy .ecosystem-tool-meta {
  margin-top: 0;
  padding-top: 0;
}

.ecosystem-tool-card:hover {
  border-color: color-mix(in srgb, var(--primary) 72%, var(--border));
  transform: translateY(-4px);
}

.ecosystem-tool-number {
  color: var(--primary);
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 350;
  line-height: 1;
  letter-spacing: -.05em;
}

.ecosystem-tool-meta {
  margin-top: auto;
  padding-top: 46px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ecosystem-tool-card h3 {
  margin: 12px 0 14px;
  color: var(--text-primary);
  font-size: clamp(25px, 2.25vw, 34px);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -.035em;
}

.ecosystem-tool-card p {
  min-height: 70px;
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.5;
}

.ecosystem-tool-action {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-top: auto;
  padding: 12px 14px 12px 20px;
  border: 1px solid color-mix(in srgb, var(--primary) 62%, var(--border));
  border-radius: 999px;
  color: var(--text-primary);
  background: color-mix(in srgb, var(--primary) 11%, transparent);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--primary) 12%, transparent);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ecosystem-tool-action span:last-child {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 18%, transparent);
  font-size: 32px;
  line-height: 1;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.ecosystem-tool-action:hover,
.ecosystem-tool-action:focus-visible {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 18%, transparent);
  box-shadow: 0 16px 42px color-mix(in srgb, var(--primary) 20%, transparent);
  outline: none;
  transform: translateY(-2px);
}

.ecosystem-tool-action:hover span:last-child,
.ecosystem-tool-action:focus-visible span:last-child {
  color: var(--bg);
  background: var(--primary);
  transform: translateX(5px);
}

.tool-calculator-media {
  width: min(100%, 470px);
  aspect-ratio: 5 / 3;
  justify-self: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--primary) 34%, var(--border));
  border-radius: 26px;
  background: #0b1217;
  box-shadow: 0 24px 70px rgba(4, 14, 20, .2);
}

.tool-calculator-gif,
.tool-calculator-static {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.tool-calculator-static {
  display: none;
}

.tool-rhomb {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 5 / 3;
  justify-self: center;
  isolation: isolate;
}

.tool-rhomb::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 12% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 18%, transparent), transparent 68%);
  filter: blur(14px);
}

.tool-rhomb-lines {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.tool-rhomb-lines path,
.tool-rhomb-lines ellipse {
  fill: none;
  stroke: color-mix(in srgb, var(--primary) 42%, var(--border));
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.tool-rhomb-lines path:nth-child(2) {
  stroke: color-mix(in srgb, var(--gold) 28%, var(--border));
  stroke-dasharray: 4 8;
}

.tool-rhomb-lines ellipse {
  stroke: color-mix(in srgb, var(--gold) 52%, var(--border));
}

.tool-rhomb-node {
  position: absolute;
  min-width: 72px;
  min-height: 42px;
  display: grid;
  place-content: center;
  gap: 1px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--primary) 38%, var(--border));
  border-radius: 999px;
  color: var(--text-secondary);
  background: color-mix(in srgb, var(--surface-elevated, var(--surface)) 94%, transparent);
  box-shadow: 0 12px 30px rgba(4, 14, 20, .14);
  text-align: center;
  transform: translate(-50%, -50%);
}

.tool-rhomb-node b {
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  line-height: 1;
}

.tool-rhomb-node small {
  font-size: 8px;
  line-height: 1.15;
  white-space: nowrap;
}

.tool-rhomb-node--m { left: 7%; top: 50%; }
.tool-rhomb-node--k { left: 50%; top: 7%; }
.tool-rhomb-node--i { left: 50%; top: 93%; }
.tool-rhomb-node--v { left: 93%; top: 50%; }
.trainer-catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.trainer-catalog-heading span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.trainer-catalog-heading h3 {
  margin: 8px 0 0;
  color: var(--text-primary);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.trainer-catalog-heading p {
  max-width: 390px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.45;
}

/* Assessment dialogs */
body.is-dialog-open {
  overflow: hidden;
}

.ecosystem-dialog {
  width: min(800px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--primary) 48%, var(--border));
  border-radius: 34px;
  color: var(--text-primary);
  background: linear-gradient(145deg, color-mix(in srgb, var(--primary-soft) 28%, var(--surface)), var(--surface) 72%);
  box-shadow: 0 36px 130px rgba(0, 0, 0, .52);
}

.ecosystem-dialog[open] {
  animation: ecosystem-dialog-in 240ms cubic-bezier(.2, .8, .2, 1) both;
}

.ecosystem-dialog::backdrop {
  background: rgba(3, 10, 14, .82);
  backdrop-filter: blur(12px);
}

.ecosystem-dialog-shell {
  position: relative;
  min-height: 560px;
  padding: clamp(30px, 5vw, 54px);
}

.ecosystem-dialog-close {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  background: var(--surface-elevated);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.ecosystem-dialog :focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 70%, transparent);
  outline-offset: 3px;
}

.cognitive-dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-right: 100px;
}

.cognitive-dialog-kicker,
.cognitive-dialog-header > span:last-child,
.cognitive-section-row {
  color: var(--primary);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cognitive-progress {
  height: 3px;
  margin: 26px 0 18px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--divider);
}

.cognitive-progress span {
  width: 6%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--primary);
  transition: width 280ms ease;
}

.cognitive-section-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--gold);
}

.cognitive-question h2,
.screen-time-dialog h2,
.cognitive-result h2 {
  max-width: 690px;
  margin: 26px 0 0;
  color: var(--text-primary);
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.cognitive-prompt,
.screen-time-lead,
.cognitive-result > p {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.5;
}

.cognitive-answers,
.screen-time-options {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.cognitive-answer,
.screen-time-option {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--text-primary);
  background: var(--surface-elevated);
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.cognitive-answer:hover,
.screen-time-option:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.cognitive-answer span:last-child {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.cognitive-footer {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 13px;
}

.cognitive-back,
.cognitive-restart {
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-primary);
  background: transparent;
  font-weight: 650;
  cursor: pointer;
}

.cognitive-back:disabled {
  opacity: .35;
  cursor: default;
}

.cognitive-result[hidden],
.cognitive-question[hidden],
.screen-time-result[hidden] {
  display: none;
}

.cognitive-result-score {
  display: flex;
  align-items: end;
  gap: 18px;
  margin-top: 26px;
}

.cognitive-result-score strong {
  color: var(--gold);
  font-size: clamp(72px, 12vw, 124px);
  font-weight: 400;
  line-height: .8;
  letter-spacing: -.075em;
}

.cognitive-result-score span {
  padding-bottom: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.cognitive-formula-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.cognitive-formula-metric {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-elevated) 86%, transparent);
}

.cognitive-formula-metric span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cognitive-formula-metric strong {
  color: var(--text-primary);
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 520;
  line-height: 1;
}

.cognitive-weakest {
  margin-top: 20px !important;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: color-mix(in srgb, var(--gold-soft, #3b3226) 46%, transparent);
  color: var(--text-primary) !important;
}

.cognitive-zones {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.cognitive-zone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: center;
}

.cognitive-zone span,
.cognitive-zone strong {
  color: var(--text-secondary);
  font-size: 14px;
}

.cognitive-zone-track {
  grid-column: 1 / -1;
  height: 8px;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 4px;
}

.cognitive-zone-track i {
  height: 100%;
  display: block;
  border-radius: 999px;
  background: var(--divider);
}

.cognitive-zone-track i.is-filled {
  background: var(--primary);
  box-shadow: 0 0 12px color-mix(in srgb, var(--primary) 44%, transparent);
}

.cognitive-formula-note {
  padding-top: 22px;
  border-top: 1px solid var(--divider);
  font-size: 14px !important;
}

.cognitive-restart {
  margin-top: 24px;
  border-color: var(--primary);
  color: #10201f;
  background: var(--primary);
}

.screen-time-dialog .cognitive-dialog-kicker {
  display: block;
  padding-right: 100px;
}

.screen-time-option[aria-pressed='true'] {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.screen-time-result {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--gold) 52%, var(--border));
  border-radius: 22px;
  background: color-mix(in srgb, var(--gold-soft, #3b3226) 58%, var(--surface));
}

.screen-time-result span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.screen-time-result strong {
  display: block;
  margin-top: 8px;
  color: var(--text-primary);
  font-size: clamp(30px, 5vw, 48px);
}

.screen-time-result p {
  margin: 6px 0 0;
  color: var(--text-secondary);
}

@keyframes ecosystem-dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.games-focus .apps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.games-focus .app-card {
  min-height: 238px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 30px;
  color: var(--text-primary);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 18px 55px rgba(8, 27, 39, .08);
  text-decoration: none;
}

.trainer-filter {
  min-height: 76px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 26px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
}

.trainer-filter__button {
  min-height: 56px;
  border: 0;
  border-radius: 19px;
  color: var(--text-secondary);
  background: transparent;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}

.trainer-filter__button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--primary);
  fill: none;
  stroke: currentColor;
}

.trainer-filter__button[aria-selected='true'] {
  color: #10201f;
  background: var(--primary);
}

.trainer-filter__button[aria-selected='true'] svg {
  color: var(--text-primary);
}

.trainer-course-visual {
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.trainer-course-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.games-focus .app-n {
  margin-bottom: 9px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.games-focus .app-t {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-size: clamp(23px, 2vw, 31px);
  line-height: 1.05;
}

.games-focus .app-d {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.trainer-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin-top: 17px;
  color: var(--text-muted);
  font-size: 12px;
}

.trainer-course-meta span {
  display: inline-flex;
  align-items: center;
}

.trainer-course-arrow {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--primary);
  border-radius: 50%;
  color: var(--primary);
  transition: transform 180ms ease, color 180ms ease, background-color 180ms ease;
}

.trainer-course-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.trainer-course-card:hover .trainer-course-arrow,
.trainer-course-card:focus-visible .trainer-course-arrow {
  color: #10201f;
  background: var(--primary);
  transform: translateX(4px);
}

/* Data and checker */
.data-safety {
  overflow: hidden;
  font-family: Arial, "Helvetica Neue", sans-serif;
  background: #071116;
}

.data-safety .sec-hd-row {
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 56px;
}

.data-safety .sec-title {
  max-width: 800px;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: clamp(48px, 5.2vw, 62px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.data-safety .sec-desc {
  max-width: 800px;
  color: #99a9ac;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(137, 219, 211, .15);
  border-radius: 26px;
  background: rgba(137, 219, 211, .15);
}

.data-card {
  min-height: 190px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 32px;
  border: 0;
  border-radius: 0;
  background: rgba(10, 23, 29, .95);
}

.data-card > span {
  color: #65d6ce;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}

.data-card h3,
.anonymize-callout h3 {
  margin: 0 0 12px;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.data-card p,
.anonymize-callout p {
  margin: 0;
  color: #99a9ac;
  font-size: 14px;
  line-height: 1.65;
}

.anonymize-callout {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 28px 32px;
  border: 1px solid color-mix(in srgb, var(--gold) 48%, var(--border));
  border-radius: 28px;
  background: color-mix(in srgb, var(--gold-soft, #ede2ce) 48%, var(--surface));
}

.anonymize-callout img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.checker-layout {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(520px, 1.22fr);
  gap: clamp(46px, 7vw, 100px);
  align-items: start;
}

.checker-copy {
  position: sticky;
  top: 120px;
}

.checker-copy .sec-desc {
  margin-top: 26px;
}

.checker-panel {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 24px 72px rgba(8, 27, 39, .08);
}

.checker-progress {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  padding: 4px 4px 22px;
  border-bottom: 1px solid var(--divider);
}

.checker-progress strong {
  color: var(--primary);
  font-size: 30px;
}

.checker-progress span {
  color: var(--text-muted);
  font-size: 14px;
}

.checker-list {
  display: grid;
  gap: 10px;
  padding-top: 18px;
}

.checker-list button {
  min-height: 64px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--text-primary);
  background: var(--surface-secondary);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.checker-list button > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--text-muted);
  border-radius: 50%;
}

.checker-list button[aria-pressed='true'] {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.checker-list button[aria-pressed='true'] > span {
  border-color: var(--primary);
  background: var(--primary);
}

.checker-list button[aria-pressed='true'] > span::after {
  content: '';
  width: 8px;
  height: 4px;
  border-left: 2px solid #10201f;
  border-bottom: 2px solid #10201f;
  transform: translateY(-1px) rotate(-45deg);
}

.checker-complete {
  margin: 18px 0 0;
  padding: 20px;
  border-radius: 18px;
  color: var(--text-primary);
  background: var(--primary-soft);
  line-height: 1.5;
}

.checker-complete[hidden] {
  display: none;
}

/* Partners */
.partners-sec {
  overflow: hidden;
}

.partners-title {
  margin: 18px 0 54px;
}

.partners-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

.partner-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
  padding: clamp(30px, 4vw, 54px);
  border: 1px solid var(--border);
  border-radius: 34px;
  background: var(--surface);
}

.partner-logo {
  min-width: 0;
  height: 170px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  border-radius: 24px;
  background: #f5f1e8;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  max-width: 470px;
  max-height: 122px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.partner-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
}

/* Footer */
.footer {
  position: relative;
  z-index: 4;
  padding: 70px 0 30px;
  color: #f3efe6;
  background: #0d151a;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 70px;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(243, 239, 230, .12);
}

.footer-brand {
  max-width: 360px;
}

.footer-logo-t {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #f3efe6;
  font-family: 'Russo One Local', sans-serif;
  font-size: 15px;
  letter-spacing: .12em;
  text-decoration: none;
}

.footer-logo-t img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.footer-tagline {
  max-width: 340px;
  margin: 18px 0 0;
  color: #b7c0c5;
  font-size: 16px;
  line-height: 1.55;
}

.footer-cols {
  display: flex;
  gap: clamp(46px, 8vw, 110px);
}

.footer-col-t {
  margin-bottom: 15px;
  color: #879199;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-col-links {
  display: grid;
  gap: 4px;
}

.footer-col-links a,
.footer-up {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: #b7c0c5;
  font-size: 15px;
  text-decoration: none;
}

.footer-col-links a:hover,
.footer-up:hover {
  color: var(--primary);
}

.footer-bot {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.footer-copy {
  color: #879199;
  font-size: 13px;
}

/* Privacy */
.privacy-page {
  background: var(--bg);
}

.privacy-nav {
  grid-template-columns: 1fr auto;
}

.privacy-back {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 999px;
  color: inherit;
  font-weight: 650;
  text-decoration: none;
}

.privacy-main {
  position: relative;
  z-index: 2;
  padding: 150px 24px 100px;
}

.privacy-document {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 6vw, 76px);
  border: 1px solid var(--border);
  border-radius: 36px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: 0 28px 90px rgba(8, 27, 39, .09);
}

.privacy-document h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 650;
  line-height: .98;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}

.privacy-lead {
  margin: 28px 0 54px;
  color: var(--text-secondary);
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.5;
}

.privacy-document section {
  padding: 28px 0;
  border-top: 1px solid var(--divider);
}

.privacy-document h2 {
  margin: 0 0 12px;
  color: var(--text-primary);
  font-size: clamp(22px, 2.4vw, 30px);
}

.privacy-document section p,
.privacy-document section li,
.privacy-date {
  margin: 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.65;
}

.privacy-document section p + p,
.privacy-document section ul + p {
  margin-top: 14px;
}

.privacy-document section ul {
  margin: 0;
  padding-left: 24px;
  color: var(--text-secondary);
}

.privacy-document section li + li {
  margin-top: 8px;
}

.privacy-document a {
  color: var(--primary);
  text-underline-offset: 3px;
}

.privacy-date {
  margin-top: 28px;
  color: var(--text-muted);
}

.privacy-footer {
  padding-top: 20px;
}

/* Cookie decision */
.cookie-consent[hidden] {
  display: none;
}

.cookie-consent {
  position: fixed;
  z-index: 1200;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 20px;
  color: var(--text-primary);
}

.cookie-consent__content {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  margin-inline: auto;
  padding: 20px 22px;
  border: 1px solid color-mix(in srgb, var(--primary) 42%, var(--border));
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: 0 26px 80px rgba(3, 14, 20, .34);
  backdrop-filter: blur(22px) saturate(1.15);
}

.cookie-consent__copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

.cookie-consent__copy p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-consent__copy a {
  display: inline-flex;
  margin-top: 7px;
  color: var(--primary);
  font-size: 13px;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  gap: 10px;
}

.cookie-consent__actions button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-primary);
  background: transparent;
  font-weight: 650;
  cursor: pointer;
}

.cookie-consent__actions .cookie-consent__accept {
  border-color: var(--primary);
  color: var(--bg);
  background: var(--primary);
}

/* Text motion */
.reveal-text {
  opacity: 1;
  transform: none;
}

.js .reveal-text {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 680ms ease, transform 820ms cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal-text.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-title .reveal-text:nth-child(2) {
  --reveal-delay: 110ms;
}

.hero-lead {
  --reveal-delay: 190ms;
}

.hero-sub {
  --reveal-delay: 250ms;
}

.hero-btns {
  --reveal-delay: 320ms;
}

.hero-note {
  --reveal-delay: 390ms;
}

@keyframes hero-scroll-line {
  0% { transform: translateX(-110%); }
  50%, 100% { transform: translateX(210%); }
}

/* Exhibition landscape tablets */
@media (min-width: 900px) and (max-width: 1400px) {
  .wrap,
  .hero-inner {
    width: min(1180px, calc(100% - 48px));
  }

  .nav {
    grid-template-columns: minmax(160px, 1fr) minmax(0, 1fr);
    gap: 16px;
    padding-inline: 24px;
  }

  .nav-links {
    gap: 24px;
  }

  .hero {
    min-height: max(700px, 100svh);
  }

  .hero-content {
    width: min(600px, 47vw);
  }

  .hero-title {
    font-size: clamp(58px, 6vw, 82px);
  }

  .hero-badge {
    margin-bottom: 20px;
  }

  .hero-sub {
    margin-top: 24px;
    font-size: 20px;
    line-height: 1.42;
  }

  .hero-btns {
    margin-top: 28px;
  }

  .metal-human {
    right: -17vw;
    width: 58vw;
  }

  .games-focus .app-card {
    grid-template-columns: 118px minmax(0, 1fr) 52px;
    min-height: 210px;
    gap: 17px;
    padding: 20px;
  }

  .trainer-course-visual {
    width: 118px;
    height: 118px;
  }

  .games-focus .app-t {
    font-size: 24px;
  }
}

@media (max-width: 1040px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .games-focus .apps-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-tools {
    grid-template-columns: 1fr;
  }

  .ecosystem-tool-card {
    min-height: 310px;
  }

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

  .checker-layout {
    grid-template-columns: 1fr;
  }

  .checker-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  .wrap,
  .hero-inner {
    width: min(100% - 32px, 620px);
  }

  .sec,
  .sec-w {
    padding: 74px 0;
  }

  .nav {
    height: 72px;
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding-inline: 14px;
  }

  .nav-actions {
    position: static;
    grid-column: 2;
    justify-self: end;
  }

  .nav-logo-text {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-links {
    display: none;
  }

  .theme-toggle {
    width: 160px;
    min-width: 160px;
    height: 52px;
  }

  .nav-burger {
    display: inline-flex;
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
  }

  .nav-mobile-menu {
    top: 80px;
    right: 12px;
    width: calc(100vw - 24px);
  }

  .privacy-nav .nav-logo {
    display: none;
  }

  .privacy-nav {
    grid-template-columns: 1fr;
  }

  .privacy-nav .nav-actions {
    justify-content: space-between;
  }

  .privacy-back {
    min-height: 52px;
    padding-inline: 18px;
  }

  .privacy-main {
    padding: 104px 14px 70px;
  }

  .privacy-document {
    border-radius: 26px;
  }

  .cookie-consent {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
  }

  .cookie-consent__content {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 900px;
    align-items: flex-start;
    padding: 118px 0 330px;
    background:
      linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 95%, transparent) 58%, color-mix(in srgb, var(--bg) 56%, transparent) 100%),
      var(--bg);
  }

  html[data-theme='cyber'] .hero {
    background:
      linear-gradient(180deg, #10171c 0%, rgba(16, 23, 28, .95) 58%, rgba(16, 23, 28, .5) 100%),
      #10171c;
  }

  .hero::after {
    z-index: 3;
    width: 100%;
    background: linear-gradient(180deg, #071116 0%, rgba(7, 17, 22, .98) 50%, rgba(7, 17, 22, .72) 66%, transparent 82%);
  }

  .hero-ecosystem-art {
    inset: auto -15vw auto;
    bottom: -54px;
    height: 520px;
    background: transparent;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 60%, transparent 84%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 60%, transparent 84%);
  }

  .hero-ecosystem-picture,
  .hero-ecosystem-image {
    position: static;
    width: 100%;
    height: 100%;
  }

  .hero-ecosystem-image {
    object-fit: cover;
    object-position: center center;
  }

  .hero-ecosystem-frame {
    left: -45vw;
    top: auto;
    bottom: 0;
    width: 185vw;
    height: auto;
    transform: none;
    animation: none;
  }

  .hero-core-logo {
    left: 71%;
    top: 59%;
    width: clamp(76px, 22vw, 96px);
  }

  .hero-orbit-label {
    display: none;
  }

  .hero-content {
    width: 100%;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(46px, 13.2vw, 60px);
    line-height: .9;
    letter-spacing: -.06em;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 21px;
    line-height: 1.24;
  }

  .hero-sub {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.48;
  }

  .hero-btns {
    display: grid;
    margin-top: 24px;
  }

  .btn-p,
  .btn-s {
    width: 100%;
    min-height: 58px;
  }

  .hero-scroll,
  .hero-signal {
    display: none;
  }

  .ecosystem-map__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ecosystem-node {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 11px;
  }

  .ecosystem-node--attention { top: 16%; right: 0; }
  .ecosystem-node--data { right: 2%; bottom: 12%; }
  .ecosystem-node--check { left: 0; bottom: 16%; }

  .ecosystem-core {
    font-size: 8px;
  }

  .sec-hd-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sec-title,
  .partners-title {
    font-size: clamp(40px, 12vw, 58px);
  }

  .ecosystem-tool-card {
    min-height: 300px;
    padding: 24px;
    border-radius: 24px;
  }

  .ecosystem-tool-card--featured {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ecosystem-tool-copy {
    grid-row: 2;
  }

  .tool-rhomb {
    grid-row: 1;
    width: min(100%, 330px);
  }

  .ecosystem-tool-meta {
    padding-top: 34px;
  }

  .ecosystem-tool-copy .ecosystem-tool-meta {
    padding-top: 0;
  }

  .trainer-catalog-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .ecosystem-dialog {
    width: calc(100% - 18px);
    max-height: calc(100dvh - 18px);
    border-radius: 24px;
  }

  .ecosystem-dialog-shell {
    min-height: 0;
    padding: 76px 20px 24px;
  }

  .ecosystem-dialog-close {
    top: 16px;
    right: 16px;
  }

  .cognitive-dialog-header {
    padding-right: 0;
  }

  .cognitive-question h2,
  .screen-time-dialog h2,
  .cognitive-result h2 {
    font-size: clamp(29px, 8.6vw, 40px);
  }

  .cognitive-answer,
  .screen-time-option {
    min-height: 64px;
    padding-inline: 16px;
  }

  .cognitive-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .cognitive-result-score {
    align-items: flex-start;
    flex-direction: column;
  }

  .cognitive-formula-grid {
    grid-template-columns: 1fr;
  }

  .cognitive-formula-metric {
    min-height: 88px;
  }

  .trainer-filter {
    grid-template-columns: repeat(5, minmax(86px, 1fr));
    gap: 14px;
    padding: 10px 18px 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .trainer-filter__button {
    padding: 10px 16px;
    scroll-snap-align: start;
  }

  .games-focus .app-card {
    grid-template-columns: 96px minmax(0, 1fr) 50px;
    min-height: 184px;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
  }

  .trainer-course-visual {
    width: 96px;
    height: 96px;
  }

  .games-focus .app-t {
    font-size: 22px;
  }

  .games-focus .app-d {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }

  .trainer-course-meta {
    display: none;
  }

  .trainer-course-arrow {
    width: 50px;
    height: 50px;
  }

  .data-grid {
    grid-template-columns: 1fr;
  }

  .data-safety .sec-title {
    font-size: clamp(38px, 11vw, 48px);
    line-height: 1.02;
  }

  .data-safety .sec-hd-row {
    margin-bottom: 38px;
  }

  .data-card {
    min-height: 0;
  }

  .anonymize-callout {
    grid-template-columns: 1fr;
  }

  .checker-panel {
    padding: 16px;
  }

  .checker-progress {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .partner-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .partner-logo {
    height: 150px;
  }

  .footer-top,
  .footer-bot {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-cols {
    width: 100%;
    gap: 42px;
  }
}

@media (max-width: 480px) {
  .privacy-document h1 {
    font-size: clamp(36px, 10.5vw, 46px);
    letter-spacing: -.045em;
  }

  .theme-toggle {
    width: 148px;
    min-width: 148px;
  }

  .theme-toggle__label {
    font-size: 10px;
  }

  .theme-toggle__icon {
    width: 13px;
    height: 13px;
  }

  .games-focus .app-card {
    grid-template-columns: 78px minmax(0, 1fr) 44px;
    gap: 11px;
    padding: 14px;
  }

  .trainer-course-visual {
    width: 78px;
    height: 78px;
  }

  .games-focus .app-t {
    font-size: 19px;
  }

  .trainer-course-arrow {
    width: 44px;
    height: 44px;
  }

  .data-card {
    grid-template-columns: 34px 1fr;
    padding: 22px;
  }

  .footer-cols {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js .reveal-text {
    opacity: 1;
    transform: none;
  }

  .ecosystem-dialog,
  .ecosystem-dialog[open] {
    animation: none;
  }
}

/* Nikishov calculator · full-screen Rhomb experience */
.cognitive-dialog {
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #f3efe6;
  background:
    radial-gradient(circle at 22% 38%, rgba(102, 169, 164, .13), transparent 30%),
    radial-gradient(circle at 78% 72%, rgba(208, 174, 114, .08), transparent 32%),
    #10171c;
  overflow: hidden;
  overscroll-behavior: contain;
}

.cognitive-dialog::backdrop {
  background: rgba(4, 10, 14, .84);
  backdrop-filter: blur(12px);
}

.cognitive-dialog-shell {
  width: min(1600px, 100%);
  height: 100dvh;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  margin-inline: auto;
  padding: 0 clamp(22px, 4vw, 72px);
  overflow: hidden;
}

.cognitive-topbar {
  position: relative;
  z-index: 20;
  top: 0;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: calc(clamp(22px, 4vw, 72px) * -1);
  padding: 14px clamp(22px, 4vw, 72px);
  border-bottom: 1px solid rgba(183, 192, 197, .12);
  background: rgba(16, 23, 28, .86);
  backdrop-filter: blur(22px) saturate(1.15);
}

.cognitive-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f3efe6;
  text-decoration: none;
}

.cognitive-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.cognitive-brand span {
  display: grid;
  gap: 3px;
}

.cognitive-brand b {
  font-family: 'Russo One Local', 'TildaSans', sans-serif;
  font-size: 13px;
  letter-spacing: .12em;
}

.cognitive-brand small {
  color: #879199;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cognitive-dialog .ecosystem-dialog-close {
  position: static;
  min-width: 110px;
  min-height: 52px;
  padding: 0 22px;
  border-color: rgba(183, 192, 197, .2);
  color: #f3efe6;
  background: rgba(29, 40, 48, .72);
}

.cognitive-workspace {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  padding-block: clamp(18px, 3vh, 34px);
  overflow: hidden;
}

.cognitive-map {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.cognitive-map-copy {
  width: min(520px, 100%);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  color: #879199;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cognitive-map-copy strong {
  color: #66a9a4;
  font-size: 12px;
  text-align: right;
}

.cognitive-rhomb {
  position: relative;
  width: clamp(390px, 41vw, 620px);
  aspect-ratio: 5 / 3;
  isolation: isolate;
}

.cognitive-rhomb::before,
.cognitive-rhomb::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 169, 164, .13), transparent 66%);
  filter: blur(12px);
}

.cognitive-rhomb::after {
  inset: 29%;
  background: radial-gradient(circle, rgba(208, 174, 114, .15), transparent 70%);
}

.cognitive-rhomb-lines {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.cognitive-rhomb-lines path,
.cognitive-rhomb-lines ellipse {
  fill: none;
  stroke: rgba(102, 169, 164, .28);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.cognitive-rhomb-lines path:nth-child(2) {
  stroke: rgba(208, 174, 114, .18);
  stroke-dasharray: 4 8;
}

.cognitive-rhomb-lines ellipse {
  stroke: rgba(208, 174, 114, .34);
}

.cognitive-rhomb-node {
  position: absolute;
  z-index: 2;
  min-width: 108px;
  min-height: 60px;
  display: grid;
  place-content: center;
  gap: 2px;
  padding: 9px 14px;
  border: 1px solid rgba(183, 192, 197, .2);
  border-radius: 999px;
  color: #879199;
  background: rgba(23, 32, 39, .94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
  text-align: center;
  transform: translate(-50%, -50%);
  transition: color 240ms ease, border-color 240ms ease, background-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.cognitive-rhomb-node b {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 18px;
  line-height: 1;
}

.cognitive-rhomb-node small {
  font-size: 10px;
  letter-spacing: .04em;
}

.cognitive-rhomb-node--m { left: 7%; top: 50%; }
.cognitive-rhomb-node--k { left: 50%; top: 7%; }
.cognitive-rhomb-node--i { left: 50%; top: 93%; }
.cognitive-rhomb-node--v { left: 93%; top: 50%; }
.cognitive-rhomb-node.is-complete {
  color: #b7c0c5;
  border-color: rgba(102, 169, 164, .58);
  background: rgba(32, 61, 61, .82);
  box-shadow: 0 0 28px rgba(102, 169, 164, .14);
}

.cognitive-rhomb-node.is-active {
  color: #10171c;
  border-color: #66a9a4;
  background: #66a9a4;
  box-shadow: 0 0 0 8px rgba(102, 169, 164, .1), 0 0 38px rgba(102, 169, 164, .38);
  animation: cognitive-node-pulse 650ms cubic-bezier(.2, .8, .2, 1) 1;
}

.privacy-page {
  min-height: 100svh;
  color: var(--ng-text);
  background:
    radial-gradient(circle at 12% 8%, rgba(104, 92, 224, .15), transparent 34rem),
    radial-gradient(circle at 90% 52%, rgba(42, 135, 204, .12), transparent 36rem),
    #05070b !important;
}

.privacy-nav {
  position: sticky !important;
  top: max(12px, env(safe-area-inset-top)) !important;
  width: min(calc(100% - 28px), 1120px) !important;
  margin: 12px auto 0 !important;
  border: 1px solid var(--ng-border) !important;
  border-radius: 24px !important;
  color: var(--ng-text) !important;
  background: rgba(15, 20, 28, .72) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
  backdrop-filter: blur(22px) saturate(1.18);
  box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 18px 54px rgba(0, 0, 0, .28) !important;
}

.privacy-document {
  border: 1px solid var(--ng-border) !important;
  border-radius: clamp(24px, 4vw, 38px) !important;
  color: var(--ng-text) !important;
  background: var(--ng-surface) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .12), var(--ng-shadow) !important;
}

.privacy-document h1,
.privacy-document h2 {
  color: var(--ng-text) !important;
}

.privacy-document p,
.privacy-document li,
.privacy-date {
  color: var(--ng-muted) !important;
}

.privacy-document section {
  border-color: rgba(255, 255, 255, .10) !important;
}

.privacy-document a,
.privacy-back {
  color: #fff !important;
}

.cognitive-map-note {
  max-width: 430px;
  margin: 0;
  color: #879199;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

@keyframes cognitive-node-pulse {
  0% { opacity: .58; transform: translate(-50%, -50%) scale(.88); }
  58% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

.cognitive-stage {
  min-width: 0;
  width: 100%;
  max-height: 100%;
  max-width: 760px;
  justify-self: center;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.cognitive-panel {
  min-width: 0;
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(183, 192, 197, .15);
  border-radius: clamp(28px, 3vw, 44px);
  background:
    linear-gradient(145deg, rgba(29, 40, 48, .94), rgba(23, 32, 39, .96)),
    #172027;
  box-shadow: 0 38px 100px rgba(0, 0, 0, .28);
}

.cognitive-panel[hidden] {
  display: none !important;
}

.cognitive-dialog-kicker {
  color: #66a9a4;
}

.cognitive-panel h2 {
  max-width: 660px;
  margin: 16px 0 0;
  color: #f3efe6;
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.cognitive-lead,
.cognitive-disclaimer {
  color: #b7c0c5;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.52;
}

.cognitive-lead {
  margin: 22px 0 0;
}

.cognitive-disclaimer {
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(183, 192, 197, .12);
  color: #879199;
  font-size: 13px;
}

.cognitive-mode-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.cognitive-mode-grid button,
.cognitive-experience-option {
  width: 100%;
  min-height: 72px;
  border: 1px solid rgba(102, 169, 164, .34);
  border-radius: 22px;
  color: #f3efe6;
  background: rgba(16, 23, 28, .54);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.cognitive-mode-grid button {
  display: grid;
  gap: 5px;
  padding: 22px 24px;
  text-align: left;
}

.cognitive-mode-grid button > span {
  color: #66a9a4;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cognitive-mode-grid button > strong {
  font-size: clamp(19px, 2vw, 25px);
}

.cognitive-mode-grid button > small {
  color: #b7c0c5;
  font-size: 14px;
  line-height: 1.45;
}

.cognitive-mode-grid button:hover,
.cognitive-mode-grid button:focus-visible,
.cognitive-experience-option:hover,
.cognitive-experience-option:focus-visible {
  border-color: #66a9a4;
  background: rgba(32, 61, 61, .74);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
  transform: translateY(-2px);
}

.cognitive-text-action {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(208, 174, 114, .32);
  border-radius: 999px;
  color: #f3efe6;
  background: transparent;
  cursor: pointer;
}

.cognitive-experience-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.cognitive-experience-option {
  padding: 16px 20px;
  font-size: 17px;
  font-weight: 650;
  text-align: left;
}

.cognitive-experience-option:last-child {
  grid-column: 1 / -1;
}

.cognitive-text-action {
  margin-top: 24px;
  border-color: transparent;
  color: #b7c0c5;
}

.cognitive-dialog-header {
  padding: 0;
}

.cognitive-progress {
  margin-top: 16px;
  background: rgba(135, 145, 153, .16);
}

.cognitive-section-row {
  color: #879199;
}

.cognitive-section-row strong {
  color: #66a9a4;
}

.cognitive-question h2 {
  margin-top: 22px;
  font-size: clamp(30px, 3.8vw, 48px);
}

.cognitive-prompt {
  margin-top: 15px;
  color: #b7c0c5;
}

.cognitive-answers {
  gap: 10px;
  margin-top: 24px;
}

.cognitive-answer {
  min-height: 64px;
  display: block;
  padding: 17px 20px;
  border-color: rgba(183, 192, 197, .16);
  border-radius: 18px;
  color: #f3efe6;
  background: rgba(16, 23, 28, .52);
  font-size: 16px;
  line-height: 1.38;
  text-align: left;
}

.cognitive-answer:hover,
.cognitive-answer:focus-visible,
.cognitive-answer[aria-pressed='true'] {
  border-color: #66a9a4;
  color: #f3efe6;
  background: rgba(32, 61, 61, .76);
}

.cognitive-footer {
  margin-top: 22px;
}

.cognitive-footer > span {
  color: #879199;
  font-size: 12px;
}

.cognitive-back,
.cognitive-restart,
.cognitive-close-result {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(102, 169, 164, .38);
  border-radius: 999px;
  color: #f3efe6;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.cognitive-result {
  max-width: none;
  text-align: left;
}

.cognitive-dialog[data-cognitive-view='result'] .cognitive-map {
  display: none;
}

.cognitive-dialog[data-cognitive-view='explanation'] .cognitive-map {
  display: none;
}

.cognitive-dialog[data-cognitive-view='result'] .cognitive-workspace,
.cognitive-dialog[data-cognitive-view='explanation'] .cognitive-workspace {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
}

.cognitive-dialog[data-cognitive-view='result'] .cognitive-stage,
.cognitive-dialog[data-cognitive-view='explanation'] .cognitive-stage {
  max-width: 900px;
}

.cognitive-result > h2 {
  max-width: none;
  margin-bottom: 24px;
  text-align: center;
}

.cognitive-result-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  margin-top: 22px;
}

.cognitive-result-score {
  width: clamp(230px, 24vw, 310px);
  min-height: 160px;
  display: grid;
  place-content: center;
  gap: 7px;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(208, 174, 114, .44);
  border-radius: 32px;
  background: radial-gradient(circle, rgba(208, 174, 114, .16), rgba(59, 50, 38, .34) 58%, transparent 70%);
  text-align: center;
}

.cognitive-result-score strong {
  color: #d0ae72;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  white-space: nowrap;
}

.cognitive-result-score span {
  color: #b7c0c5;
  font-size: 15px;
  line-height: 1.35;
}

.cognitive-result-score small {
  color: #879199;
  font-size: 13px;
  letter-spacing: .04em;
}

.cognitive-result-score--summary {
  width: 100%;
  min-height: clamp(230px, 34vh, 340px);
  gap: 14px;
  border-radius: clamp(28px, 4vw, 46px);
}

.cognitive-result-score--summary span {
  color: #f3efe6;
  font-size: clamp(24px, 3.2vw, 40px);
}

.cognitive-result-score--summary strong {
  font-size: clamp(72px, 12vw, 142px);
  letter-spacing: -.065em;
}

.cognitive-explanation-open {
  width: min(520px, 100%);
  min-height: 66px;
  display: block;
  margin: 22px auto 0;
  padding: 0 28px;
  border: 1px solid #66a9a4;
  border-radius: 999px;
  color: #10171c;
  background: #66a9a4;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 750;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.cognitive-explanation-open:focus-visible {
  outline: 3px solid rgba(208, 174, 114, .72);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .cognitive-explanation-open:hover {
    border-color: #7dbab5;
    background: #7dbab5;
    transform: translateY(-2px);
  }
}

.cognitive-result > .cognitive-result-actions {
  justify-content: center;
  margin-top: 18px;
}

.cognitive-explanation .cognitive-result-actions {
  margin-top: 18px;
}

.cognitive-result-heading h2 {
  margin-top: 0;
  font-size: clamp(31px, 3.8vw, 48px);
}

.cognitive-result-heading p {
  margin: 12px 0 0;
  color: #b7c0c5;
  line-height: 1.5;
}

.cognitive-preliminary {
  margin: 22px 0 0;
  padding: 15px 18px;
  border: 1px solid rgba(208, 174, 114, .28);
  border-radius: 16px;
  color: #d0ae72;
  background: rgba(59, 50, 38, .46);
}

.cognitive-formula-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.cognitive-formula-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.cognitive-formula-metric {
  min-height: 104px;
  border-color: rgba(183, 192, 197, .14);
  background: rgba(16, 23, 28, .48);
}

.cognitive-formula-metric[hidden] {
  display: none;
}

.cognitive-zones {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.cognitive-zone {
  display: grid;
  gap: 12px;
  padding: 17px;
  border: 1px solid rgba(183, 192, 197, .13);
  border-radius: 18px;
  background: rgba(16, 23, 28, .44);
}

.cognitive-zone > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.cognitive-zone-track {
  grid-column: 1 / -1;
}

.cognitive-scale-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(208, 174, 114, .28);
  border-radius: 16px;
  color: #f3efe6;
  background: rgba(59, 50, 38, .34);
  font-size: 17px;
  line-height: 1.45;
}

.cognitive-result-insight {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(102, 169, 164, .32);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(32, 61, 61, .62), rgba(16, 23, 28, .52));
}

.cognitive-result-insight > span {
  color: #66a9a4;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cognitive-result-insight > strong {
  color: #f3efe6;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.25;
}

.cognitive-result-insight > p {
  max-width: 72ch;
  margin: 0;
  color: #b7c0c5;
  font-size: 15px;
  line-height: 1.48;
}

.cognitive-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

@media (min-width: 900px) {
  .cognitive-workspace {
    grid-template-columns: minmax(430px, .96fr) minmax(480px, 1.04fr);
  }

  .cognitive-result {
    padding: 28px 32px;
  }

  .cognitive-result-heading {
    margin-top: 16px;
  }

  .cognitive-result-score {
    min-height: 140px;
  }

  .cognitive-formula-grid {
    margin-top: 18px;
  }

  .cognitive-formula-metric {
    min-height: 92px;
  }

  .cognitive-scale-legend {
    margin-top: 12px;
    padding-block: 12px;
  }

  .cognitive-result-insight {
    padding: 14px 16px;
  }

  .cognitive-zones {
    margin-top: 16px;
  }

  .cognitive-zone {
    gap: 9px;
    padding: 14px 16px;
  }

  .cognitive-result-actions {
    margin-top: 8px;
  }
}

@media (max-width: 899px) {
  .cognitive-workspace {
    grid-template-rows: minmax(190px, .44fr) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
  }

  .cognitive-rhomb {
    width: min(560px, 78vw);
  }

  .cognitive-map-note {
    display: none;
  }
}

@media (max-width: 720px) {
  .cognitive-dialog-shell {
    padding: 0 14px;
  }

  .cognitive-topbar {
    min-height: 70px;
    margin-inline: -14px;
    padding: 9px 14px;
  }

  .cognitive-brand img {
    width: 38px;
    height: 38px;
  }

  .cognitive-brand small {
    display: none;
  }

  .cognitive-dialog .ecosystem-dialog-close {
    min-width: 48px;
    min-height: 48px;
    padding: 0 14px;
    font-size: 0;
  }

  .cognitive-dialog .ecosystem-dialog-close::before {
    content: '×';
    font-size: 28px;
    font-weight: 400;
  }

  .cognitive-workspace {
    grid-template-rows: 224px minmax(0, 1fr);
    min-height: 0;
    gap: 8px;
    padding-block: 8px max(12px, env(safe-area-inset-bottom));
  }

  .cognitive-map {
    gap: 8px;
  }

  .cognitive-map-copy {
    display: none;
  }

  .cognitive-rhomb {
    width: min(320px, 86vw);
  }

  .cognitive-rhomb-node {
    min-width: 68px;
    min-height: 40px;
    padding: 6px 8px;
  }

  .cognitive-rhomb-node b {
    font-size: 15px;
  }

  .cognitive-rhomb-node small {
    font-size: 7.5px;
  }

  .cognitive-dialog[data-cognitive-view='question'] .cognitive-workspace {
    grid-template-rows: 104px minmax(0, 1fr);
    gap: 4px;
    padding-block: 4px max(8px, env(safe-area-inset-bottom));
  }

  .cognitive-dialog[data-cognitive-view='question'] .cognitive-rhomb {
    width: min(168px, 46vw);
  }

  .cognitive-dialog[data-cognitive-view='question'] .cognitive-rhomb-node {
    min-width: 56px;
    min-height: 34px;
    padding: 4px 6px;
  }

  .cognitive-dialog[data-cognitive-view='question'] .cognitive-rhomb-node b {
    font-size: 13px;
  }

  .cognitive-dialog[data-cognitive-view='question'] .cognitive-rhomb-node small {
    font-size: 6.5px;
  }

  .cognitive-panel {
    padding: 18px 15px;
    border-radius: 22px;
  }

  .cognitive-panel h2,
  .cognitive-question h2,
  .cognitive-result-heading h2 {
    font-size: clamp(25px, 7.4vw, 34px);
  }

  .cognitive-lead {
    font-size: 16px;
  }

  .cognitive-mode-grid button {
    min-height: 78px;
    padding: 15px;
  }

  .cognitive-experience-options {
    grid-template-columns: 1fr;
  }

  .cognitive-formula-grid,
  .cognitive-zones {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cognitive-formula-metric,
  .cognitive-zone {
    min-height: 88px;
    padding: 14px;
  }

  .cognitive-zone > div:first-child {
    display: grid;
    gap: 7px;
  }

  .cognitive-experience-option:last-child {
    grid-column: auto;
  }

  .cognitive-answer {
    min-height: 52px;
    padding: 12px 14px;
    font-size: 15px;
  }

  .cognitive-footer {
    align-items: flex-start;
  }

  .cognitive-dialog[data-cognitive-view='question'] .cognitive-footer {
    margin-top: 12px;
  }

  .cognitive-result-heading {
    grid-template-columns: 1fr;
  }

  .cognitive-result-score {
    width: 100%;
    min-height: 132px;
    border-radius: 24px;
  }

  .cognitive-result-score--summary {
    min-height: clamp(210px, 34vh, 280px);
  }

  .cognitive-result-score--summary strong {
    font-size: clamp(66px, 22vw, 104px);
  }

  .cognitive-result-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cognitive-result-actions button {
    width: 100%;
    min-height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-calculator-gif {
    display: none;
  }

  .tool-calculator-static {
    display: block;
  }

  .cognitive-explanation-open {
    transition: background-color 180ms ease, border-color 180ms ease;
  }
}

@media (max-width: 720px) and (max-height: 760px) {
  .cognitive-dialog[data-cognitive-view='question'] .cognitive-topbar {
    min-height: 60px;
    padding-block: 6px;
  }

  .cognitive-dialog[data-cognitive-view='question'] .cognitive-brand img {
    width: 34px;
    height: 34px;
  }

  .cognitive-dialog[data-cognitive-view='question'] .ecosystem-dialog-close {
    min-width: 44px;
    min-height: 44px;
  }

  .cognitive-dialog[data-cognitive-view='question'] .cognitive-workspace {
    grid-template-rows: 88px minmax(0, 1fr);
    gap: 2px;
    padding-block: 2px max(6px, env(safe-area-inset-bottom));
  }

  .cognitive-dialog[data-cognitive-view='question'] .cognitive-rhomb {
    width: min(140px, 40vw);
  }

  .cognitive-dialog[data-cognitive-view='question'] .cognitive-rhomb-node {
    min-width: 50px;
    min-height: 30px;
    padding: 3px 5px;
  }

  .cognitive-dialog[data-cognitive-view='question'] .cognitive-rhomb-node b {
    font-size: 12px;
  }

  .cognitive-dialog[data-cognitive-view='question'] .cognitive-rhomb-node small {
    font-size: 6px;
  }

  .cognitive-dialog[data-cognitive-view='question'] .cognitive-panel {
    padding: 12px 14px;
  }

  .cognitive-dialog[data-cognitive-view='question'] .cognitive-progress {
    margin: 8px 0 10px;
  }

  .cognitive-dialog[data-cognitive-view='question'] .cognitive-question h2 {
    margin-top: 10px;
    font-size: clamp(22px, 6.2vw, 24px);
  }

  .cognitive-dialog[data-cognitive-view='question'] .cognitive-answers {
    gap: 8px;
    margin-top: 12px;
  }

  .cognitive-dialog[data-cognitive-view='question'] .cognitive-answer {
    min-height: 44px;
    padding: 9px 12px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.25;
  }

  .cognitive-dialog[data-cognitive-view='question'] .cognitive-footer {
    margin-top: 8px;
  }

  .cognitive-dialog[data-cognitive-view='question'] .cognitive-back {
    min-height: 44px;
    padding-inline: 18px;
  }
}

@media (min-width: 721px) and (max-width: 899px) and (max-height: 650px) {
  .cognitive-topbar {
    min-height: 70px;
    padding-block: 9px;
  }

  .cognitive-workspace {
    grid-template-columns: minmax(250px, .9fr) minmax(340px, 1.1fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: center;
    gap: clamp(16px, 3vw, 28px);
    padding-block: 12px;
  }

  .cognitive-map-copy {
    display: none;
  }

  .cognitive-rhomb {
    width: min(44vw, 440px);
  }
}

@media (min-width: 900px) and (max-height: 800px) {
  .cognitive-topbar {
    min-height: 70px;
    padding-block: 9px;
  }

  .cognitive-workspace {
    padding-block: 12px;
  }

  .cognitive-rhomb {
    width: min(510px, 38vw);
  }

  .cognitive-panel {
    padding: 24px 30px;
  }

  .cognitive-question h2 {
    margin-top: 16px;
    font-size: clamp(28px, 3vw, 40px);
  }

  .cognitive-answers {
    margin-top: 16px;
  }

  .cognitive-answer {
    min-height: 54px;
    padding: 13px 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cognitive-rhomb-node,
  .cognitive-rhomb-node.is-active {
    animation: none;
    transition: none;
  }
}

/* Neutral glass application layer */
html,
body {
  background: #05070b;
}

body {
  --ng-surface: rgba(18, 23, 31, .68);
  --ng-surface-strong: rgba(28, 34, 44, .82);
  --ng-border: rgba(255, 255, 255, .16);
  --ng-border-hover: rgba(255, 255, 255, .32);
  --ng-text: #f6f7f9;
  --ng-muted: rgba(236, 240, 246, .66);
  --ng-shadow: 0 24px 70px rgba(0, 0, 0, .38);
  padding-bottom: calc(var(--app-dock-height) + env(safe-area-inset-bottom) + 28px);
  color: var(--ng-text);
  background:
    radial-gradient(circle at 12% 9%, rgba(104, 92, 224, .17), transparent 32rem),
    radial-gradient(circle at 88% 30%, rgba(42, 135, 204, .14), transparent 34rem),
    radial-gradient(circle at 50% 100%, rgba(203, 82, 159, .10), transparent 38rem),
    #05070b;
}

main {
  overflow: clip;
}

.sec,
.sec-w,
.games-focus,
.data-safety,
.checker-section,
.partners-sec,
.footer {
  color: var(--ng-text);
  background: transparent !important;
}

.sec::before,
.sec-w::before,
.games-focus::before {
  opacity: .18;
  filter: grayscale(1);
}

.tests-section {
  min-height: 100svh;
  padding-top: clamp(56px, 8vh, 104px);
}

.sec-tag,
.ecosystem-tool-meta,
.games-focus .app-n,
.cognitive-dialog-kicker {
  color: rgba(255, 255, 255, .72) !important;
  letter-spacing: .12em;
}

.sec-title,
.partners-title,
.ecosystem-tool-card h3,
.games-focus .app-t,
.data-card h3,
.checker-copy .sec-title {
  color: var(--ng-text) !important;
}

.sec-desc,
.ecosystem-tool-card p,
.games-focus .app-d,
.data-card p,
.partner-desc,
.footer,
.footer a {
  color: var(--ng-muted) !important;
}

.ecosystem-tool-card,
.trainer-filter,
.games-focus .app-card,
.data-card,
.checker-panel,
.partners-list,
.cookie-consent__content,
.cognitive-dialog__surface,
.anonymize-callout {
  border: 1px solid var(--ng-border) !important;
  color: var(--ng-text);
  background: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035)) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
  backdrop-filter: blur(22px) saturate(1.18);
  box-shadow: inset 0 1px rgba(255, 255, 255, .14), var(--ng-shadow) !important;
}

.ecosystem-tool-card,
.checker-panel,
.partners-list,
.cognitive-dialog__surface {
  border-radius: clamp(24px, 4vw, 36px) !important;
}

.games-focus .app-card,
.data-card,
.anonymize-callout {
  border-radius: 24px !important;
}

.games-focus .app-card:hover,
.ecosystem-tool-card:hover,
.data-card:hover {
  border-color: var(--ng-border-hover) !important;
  transform: translateY(-2px);
}

.ecosystem-tool-card--featured {
  isolation: isolate;
}

.tool-calculator-media,
.trainer-course-visual {
  border-color: rgba(255, 255, 255, .12) !important;
  background: rgba(255, 255, 255, .045) !important;
}

.ecosystem-tool-action,
.trainer-filter__button,
.checker-list button,
.cognitive-answer,
.cognitive-back,
.cognitive-next,
.cognitive-restart,
.cognitive-result-explain,
.screen-time-options button,
.cookie-consent__actions button {
  border: 1px solid rgba(255, 255, 255, .18) !important;
  color: var(--ng-text) !important;
  background: rgba(255, 255, 255, .07) !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px rgba(255, 255, 255, .12) !important;
}

.ecosystem-tool-action:hover,
.trainer-filter__button:hover,
.trainer-filter__button[aria-selected='true'],
.checker-list button:hover,
.cognitive-answer:hover,
.cognitive-answer[aria-pressed='true'] {
  border-color: rgba(255, 255, 255, .42) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .15) !important;
}

.trainer-course-illustration,
.trainer-filter__button svg,
.trainer-course-arrow {
  filter: none;
}

.data-card > span,
.checker-progress strong,
.cognitive-result-index,
.cognitive-rhomb-node strong {
  color: #fff !important;
}

.partner-logo img,
.launch-sponsor__logo {
  filter: none;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.cognitive-dialog,
.screen-time-dialog {
  background: rgba(2, 4, 8, .82) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.cognitive-topbar,
.cognitive-panel,
.cognitive-result-card,
.cognitive-explanation-card {
  border-color: rgba(255, 255, 255, .14) !important;
  background: rgba(13, 18, 25, .76) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .10) !important;
}

.cognitive-rhomb-line,
.cognitive-rhomb-axis {
  stroke: rgba(255, 255, 255, .22) !important;
}

.cognitive-rhomb-node {
  fill: rgba(22, 28, 37, .9) !important;
  stroke: rgba(255, 255, 255, .24) !important;
}

.cognitive-rhomb-node.is-active {
  fill: rgba(255, 255, 255, .18) !important;
  stroke: rgba(255, 255, 255, .78) !important;
}

@media (max-width: 720px) {
  .sec,
  .sec-w {
    padding-inline: 10px;
  }

  .wrap {
    width: 100%;
  }

  .tests-section {
    min-height: auto;
    padding-top: 42px;
  }

  .app-dock {
    width: calc(100% - 20px);
    bottom: max(10px, env(safe-area-inset-bottom));
  }

  .app-dock :is(button, a) {
    min-width: 0;
    padding-inline: 4px;
  }

  .app-dock span {
    font-size: 10px;
  }
}

/* Telegram-style mobile navigation and colored cyber accents */
.launch-touch {
  width: 172px;
  height: 142px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  pointer-events: none;
}

.launch-touch.is-visible {
  pointer-events: auto;
  animation-duration: 1.6s;
}

.launch-touch__label {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: max-content;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 999px;
  color: rgba(255, 255, 255, .94);
  background: rgba(10, 13, 23, .54);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 1px rgba(255, 255, 255, .14), 0 12px 34px rgba(0, 0, 0, .32);
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}

.launch-sponsors {
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px));
  border-color: rgba(255, 255, 255, .62);
  color: rgba(12, 20, 30, .78);
  background: linear-gradient(145deg, rgba(250, 252, 255, .86), rgba(231, 239, 247, .64));
  box-shadow: inset 0 1px rgba(255, 255, 255, .88), 0 18px 52px rgba(0, 0, 0, .34);
}

.launch-sponsor__logo {
  filter: none !important;
  opacity: 1;
}

.cookie-consent__privacy {
  display: inline-flex;
  margin-top: 7px;
  color: rgba(217, 235, 250, .82);
  text-underline-offset: 3px;
}

.launch-screen__visual {
  bottom: clamp(40px, 5vh, 68px);
}

.app-dock {
  width: min(calc(100% - 20px), 510px);
  min-height: 78px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 7px;
  border-color: rgba(255, 255, 255, .18);
  border-radius: 34px;
  background: rgba(12, 14, 22, .76);
  -webkit-backdrop-filter: blur(30px) saturate(1.34);
  backdrop-filter: blur(30px) saturate(1.34);
  box-shadow: inset 0 1px rgba(255, 255, 255, .14), 0 20px 60px rgba(0, 0, 0, .42);
}

.app-dock :is(button, a) {
  min-height: 62px;
  gap: 4px;
  border-radius: 27px;
  color: rgba(236, 240, 248, .58);
  transition: color 160ms ease, background 160ms ease, transform 140ms ease;
}

.app-dock :is(button, a) img {
  width: 24px;
  height: 24px;
  opacity: .72;
}

.app-dock :is(button, a)[aria-current='page'] {
  border-color: rgba(126, 210, 255, .28);
  color: #eefaff;
  background: linear-gradient(145deg, rgba(93, 198, 242, .22), rgba(157, 132, 255, .12));
  box-shadow: inset 0 1px rgba(255, 255, 255, .20), 0 8px 24px rgba(43, 132, 190, .16);
}

.app-dock :is(button, a)[aria-current='page'] img {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(91%) sepia(23%) saturate(899%) hue-rotate(167deg) brightness(106%);
}

.app-dock :is(button, a):active {
  transform: scale(.96);
}

.trainer-filter {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 8px !important;
  padding: 7px !important;
  overflow-x: clip;
  scrollbar-width: none;
  border-radius: 30px !important;
  background: rgba(14, 18, 27, .76) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.28);
  backdrop-filter: blur(28px) saturate(1.28);
}

.trainer-filter::-webkit-scrollbar {
  display: none;
}

.trainer-filter__button {
  --filter-accent: #dce6f2;
  min-width: 0;
  width: 100%;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px !important;
  border-color: rgba(255, 255, 255, .11) !important;
  color: rgba(240, 244, 251, .72) !important;
  background: rgba(255, 255, 255, .045) !important;
}

.trainer-filter__button svg {
  color: var(--filter-accent) !important;
  filter: none !important;
}

.trainer-filter__button[data-trainer-filter='memory'] { --filter-accent: #56d8ed; }
.trainer-filter__button[data-trainer-filter='reaction'] { --filter-accent: #f1ca72; }
.trainer-filter__button[data-trainer-filter='thinking'] { --filter-accent: #a693ff; }
.trainer-filter__button[data-trainer-filter='attention'] { --filter-accent: #63dfb4; }

.trainer-filter__button[aria-selected='true'] {
  border-color: color-mix(in srgb, var(--filter-accent) 48%, transparent) !important;
  color: #fff !important;
  background: color-mix(in srgb, var(--filter-accent) 16%, rgba(255, 255, 255, .06)) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .18), 0 9px 26px color-mix(in srgb, var(--filter-accent) 13%, transparent) !important;
}

.trainer-course-illustration,
.trainer-course-arrow {
  filter: none !important;
}

.tool-calculator-media {
  width: min(100%, 430px);
  min-height: 0;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none;
  isolation: isolate;
}

.tool-calculator-visual {
  width: min(100%, 470px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .45));
  animation: ecosystem-asset-float 6.5s ease-in-out infinite;
}

.training-brain-visual {
  width: clamp(126px, 18vw, 220px);
  height: auto;
  margin-left: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, .44));
  animation: ecosystem-asset-float 7s ease-in-out infinite reverse;
}

.games-focus .sec-hd-row {
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, .65fr) minmax(150px, .34fr);
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
}

@keyframes ecosystem-asset-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-9px) rotate(1deg); }
}

@media (max-width: 720px) {
  .launch-screen__visual {
    bottom: 42px;
  }

  .launch-sponsors {
    width: calc(100% - 28px);
    gap: 9px;
    padding: 8px 11px;
  }

  .launch-sponsors > span {
    font-size: 9px;
  }

  .launch-sponsor__logo {
    height: 27px;
  }

  .launch-touch {
    top: 52%;
  }

  .sec-hd-row {
    position: relative;
  }

  .games-focus .sec-hd-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .training-brain-visual {
    width: 132px;
    margin: 8px auto -8px;
  }

  .tool-calculator-media {
    min-height: 0;
  }

  .tool-calculator-visual {
    width: min(94%, 380px);
  }

  .app-dock span {
    font-size: 11px;
  }
}

@media (max-height: 760px) {
  .launch-sponsors {
    bottom: max(10px, calc(env(safe-area-inset-bottom) + 6px));
  }

  .launch-touch {
    top: 54%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-calculator-visual,
  .training-brain-visual {
    animation: none;
  }
}

/* Calculator result interpretation from the approved value matrix. */
.cognitive-result-summary {
  max-width: 64ch;
  margin: 22px auto 0;
  color: rgba(247, 248, 251, .76);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
  text-align: center;
}

.cognitive-explanation > h2 {
  margin: 10px 0 12px;
  color: #f7f8fb;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -.035em;
}

.cognitive-explanation > .cognitive-lead {
  max-width: 68ch;
  margin: 0;
  color: rgba(247, 248, 251, .72);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
}

.cognitive-practical-answers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.cognitive-practical-answers article,
.cognitive-guidance-card,
.cognitive-calculation-details {
  border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 18px 44px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.cognitive-practical-answers article {
  min-height: 245px;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: 24px;
}

.cognitive-practical-answers article > span,
.cognitive-guidance-action > span {
  color: #9fc8ef;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cognitive-practical-answers h3 {
  margin: 14px 0 12px;
  color: #f7f8fb;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.2;
}

.cognitive-practical-answers p,
.cognitive-guidance-card p,
.cognitive-calculation-body > p {
  margin: 0;
  color: rgba(247, 248, 251, .7);
  font-size: 16px;
  line-height: 1.52;
}

.cognitive-high-level-caution {
  margin: 18px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(169, 151, 232, .34);
  border-radius: 20px;
  color: rgba(247, 248, 251, .82);
  background: linear-gradient(145deg, rgba(123, 103, 198, .16), rgba(255, 255, 255, .035));
  line-height: 1.5;
}

.cognitive-high-level-caution[hidden] {
  display: none;
}

.cognitive-guidance {
  margin-top: 30px;
}

.cognitive-guidance > h3 {
  margin: 8px 0 16px;
  color: #f7f8fb;
  font-size: clamp(25px, 3vw, 34px);
}

.cognitive-guidance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cognitive-guidance-card {
  padding: 22px;
  border-radius: 24px;
}

.cognitive-guidance-card > strong {
  display: block;
  margin-bottom: 10px;
  color: #f7f8fb;
  font-size: 20px;
}

.cognitive-guidance-action {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.cognitive-guidance-action p {
  margin-top: 7px;
  color: rgba(247, 248, 251, .88);
}

.cognitive-calculation-details {
  margin-top: 28px;
  overflow: clip;
  border-radius: 26px;
}

.cognitive-calculation-details summary {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  color: #f7f8fb;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.cognitive-calculation-details summary::-webkit-details-marker {
  display: none;
}

.cognitive-calculation-details summary::after {
  content: '+';
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  font-size: 25px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.cognitive-calculation-details[open] summary::after {
  transform: rotate(45deg);
}

.cognitive-calculation-details summary:focus-visible {
  outline: 3px solid rgba(159, 200, 239, .7);
  outline-offset: -5px;
}

.cognitive-calculation-body {
  padding: 0 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.cognitive-calculation-body > p {
  max-width: 72ch;
  padding-top: 20px;
}

@media (max-width: 820px) {
  .cognitive-practical-answers {
    grid-template-columns: 1fr;
  }

  .cognitive-practical-answers article {
    min-height: 0;
  }

  .cognitive-guidance-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .cognitive-practical-answers article,
  .cognitive-guidance-card {
    padding: 18px;
    border-radius: 20px;
  }

  .cognitive-calculation-details {
    border-radius: 22px;
  }

  .cognitive-calculation-details summary {
    min-height: 64px;
    padding: 15px 17px;
  }

  .cognitive-calculation-body {
    padding: 0 16px 18px;
  }
}

/* Launch screen v3: distant-view kiosk scale, direct routes and explanatory particles. */
.launch-screen {
  --particle-travel: clamp(250px, 30vh, 560px);
  cursor: pointer;
}

.launch-screen__content {
  width: min(100%, 900px);
  padding-inline: clamp(24px, 5vw, 56px);
}

.launch-screen__brand {
  width: clamp(78px, 8vh, 112px);
  height: clamp(78px, 8vh, 112px);
}

.launch-screen__heading {
  margin-top: clamp(14px, 2.2vh, 30px);
}

.launch-screen__heading h1 {
  max-width: 790px;
  font-size: clamp(44px, 6.4vw, 80px);
  line-height: .94;
}

.launch-screen__heading p {
  margin-top: 18px;
  font-size: clamp(18px, 2.2vw, 26px);
}

.launch-screen__tools {
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(24px, 3.2vh, 42px);
}

.launch-tool {
  min-height: clamp(182px, 13vh, 232px);
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: clamp(28px, 3vw, 38px);
}

.launch-tool__icon {
  width: clamp(58px, 5vw, 72px);
  height: clamp(58px, 5vw, 72px);
  border-radius: 20px;
}

.launch-tool__icon img,
.launch-tool__icon svg {
  width: clamp(32px, 3.2vw, 42px);
  height: clamp(32px, 3.2vw, 42px);
}

.launch-tool strong {
  margin-top: 20px;
  font-size: clamp(22px, 2.6vw, 31px);
}

.launch-tool > span:last-child {
  margin-top: 11px;
  font-size: clamp(15px, 1.65vw, 20px);
}

.launch-screen__visual {
  bottom: clamp(28px, 3.2vh, 58px);
  width: min(96%, 820px);
  height: min(62%, 1040px);
}

.launch-particles {
  position: absolute;
  z-index: 4;
  top: 24%;
  width: 48%;
  height: 42%;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 88%, transparent 100%);
}

.launch-particles--calculator { left: 1%; }
.launch-particles--brain { right: 1%; }

.launch-particles i {
  --drift: 0px;
  position: absolute;
  bottom: 2%;
  left: 50%;
  width: clamp(3px, .45vw, 6px);
  height: clamp(3px, .45vw, 6px);
  border-radius: 50%;
  background: #b7f5ff;
  box-shadow: 0 0 10px #4ed9ff, 0 0 22px rgba(82, 208, 255, .82);
  opacity: 0;
  animation: launch-particle-rise 3.2s linear infinite;
}

.launch-particles i:nth-child(2n) {
  width: clamp(2px, .32vw, 4px);
  height: clamp(2px, .32vw, 4px);
  background: #ffe0a0;
  box-shadow: 0 0 9px #ffc662, 0 0 20px rgba(255, 185, 82, .72);
}

.launch-particles i:nth-child(1) { left: 20%; --drift: 28px; animation-delay: -2.9s; }
.launch-particles i:nth-child(2) { left: 32%; --drift: -18px; animation-delay: -2.5s; }
.launch-particles i:nth-child(3) { left: 43%; --drift: 12px; animation-delay: -2.1s; }
.launch-particles i:nth-child(4) { left: 55%; --drift: -26px; animation-delay: -1.7s; }
.launch-particles i:nth-child(5) { left: 66%; --drift: 20px; animation-delay: -1.3s; }
.launch-particles i:nth-child(6) { left: 77%; --drift: -12px; animation-delay: -.9s; }
.launch-particles i:nth-child(7) { left: 38%; --drift: 34px; animation-delay: -.5s; }
.launch-particles i:nth-child(8) { left: 61%; --drift: -32px; animation-delay: -.1s; }

@keyframes launch-particle-rise {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(.72); }
  16% { opacity: .9; }
  72% { opacity: .72; }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift), calc(-1 * var(--particle-travel)), 0) scale(1.18);
  }
}

.launch-touch {
  width: clamp(206px, 24vw, 270px);
  height: clamp(176px, 18vh, 224px);
}

.launch-touch__core {
  width: clamp(88px, 9vw, 112px);
  height: clamp(88px, 9vw, 112px);
}

.launch-touch__core img {
  width: clamp(48px, 5vw, 64px);
  height: clamp(48px, 5vw, 64px);
}

.launch-touch__label {
  padding: 11px 19px;
  font-size: clamp(18px, 2vw, 24px);
}

.launch-sponsors {
  width: min(82%, 690px);
  min-height: 82px;
  grid-template-columns: auto minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 18px;
  padding: 12px 20px;
}

.launch-sponsors > span { font-size: 12px; }
.launch-sponsor__logo { height: 40px; }
.launch-sponsor__logo--asi { height: 68px; }

.tool-calculator-media {
  width: min(100%, 520px);
  aspect-ratio: 5 / 3 !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 28px;
  background: rgba(3, 8, 13, .72) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .44) !important;
}

.tool-calculator-gif,
.tool-calculator-static {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (hover: hover) and (pointer: fine) {
  .launch-tool:hover { transform: translateY(-3px); }
}

@media (max-width: 520px) {
  .launch-screen { --particle-travel: clamp(190px, 28vh, 250px); }
  .launch-screen__brand { width: 68px; height: 68px; }
  .launch-screen__heading h1 { font-size: clamp(38px, 11vw, 50px); }
  .launch-screen__heading p { margin-top: 12px; font-size: 16px; }
  .launch-screen__tools { margin-top: 18px; }
  .launch-tool { min-height: 150px; padding: 16px; }
  .launch-tool__icon { width: 48px; height: 48px; border-radius: 15px; }
  .launch-tool strong { margin-top: 14px; font-size: 18px; }
  .launch-tool > span:last-child { margin-top: 7px; font-size: 12px; }
  .launch-screen__visual { bottom: 34px; width: 100%; height: 50%; }
  .launch-particles { top: 31%; height: 34%; }
  .launch-touch { top: 53%; width: 190px; height: 160px; }
  .launch-touch__core { width: 82px; height: 82px; }
  .launch-touch__label { padding: 9px 14px; font-size: 16px; }
  .launch-sponsors {
    width: calc(100% - 24px);
    min-height: 64px;
    grid-template-columns: auto minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 8px;
    padding: 7px 10px;
  }
  .launch-sponsors > span { font-size: 9px; }
  .launch-sponsor__logo { height: 27px; }
  .launch-sponsor__logo--asi { height: 48px; }
}

@media (max-height: 760px) {
  .launch-screen__heading h1 { font-size: clamp(32px, 8vw, 44px); }
  .launch-screen__heading p { font-size: 14px; }
  .launch-tool { min-height: 126px; padding: 13px; }
  .launch-tool__icon { width: 42px; height: 42px; }
  .launch-tool strong { margin-top: 10px; font-size: 17px; }
  .launch-tool > span:last-child { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .launch-particles { display: none; }
  .launch-tool:hover { transform: none; }
}

/* Launch screen v4: one vertical human-and-neural-hands composition. */
.launch-screen--hands .launch-screen__background {
  object-position: 50% 50%;
  opacity: 1;
  filter: saturate(.92) contrast(1.04);
}

.launch-screen--hands .launch-screen__veil {
  background:
    radial-gradient(circle at 50% 54%, rgba(248, 238, 216, .08), transparent 24%),
    linear-gradient(180deg,
      rgba(0, 0, 0, .64) 0%,
      rgba(0, 0, 0, .38) 31%,
      rgba(0, 0, 0, .02) 53%,
      rgba(0, 0, 0, .22) 72%,
      rgba(0, 0, 0, .66) 100%);
}

.launch-screen--hands .launch-touch {
  top: 54%;
}

@media (max-width: 520px) {
  .launch-screen--hands .launch-touch {
    top: 54%;
  }
}

/* Calculator glass stage: full-height content with only a floating close control. */
.cognitive-dialog--glass {
  background:
    radial-gradient(circle at 18% 34%, rgba(112, 132, 255, .13), transparent 34%),
    radial-gradient(circle at 82% 68%, rgba(104, 192, 226, .09), transparent 38%),
    rgba(3, 6, 11, .88) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.12);
  backdrop-filter: blur(24px) saturate(1.12);
}

.cognitive-dialog--glass .cognitive-dialog-shell {
  position: relative;
  grid-template-rows: minmax(0, 1fr);
}

.cognitive-dialog--glass .cognitive-topbar {
  position: absolute;
  z-index: 40;
  inset: 0 0 auto auto;
  width: 0;
  height: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  pointer-events: none;
}

.cognitive-dialog--glass .ecosystem-dialog-close {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .20) !important;
  border-radius: 50%;
  color: rgba(255, 255, 255, .92);
  background: linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .045)) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: inset 0 1px rgba(255, 255, 255, .18), 0 16px 42px rgba(0, 0, 0, .28);
  pointer-events: auto;
  transition: transform 120ms ease-out, background-color 180ms ease, border-color 180ms ease;
}

.cognitive-dialog--glass .ecosystem-dialog-close span {
  display: block;
  font-family: ui-rounded, system-ui, sans-serif;
  font-size: 34px;
  font-weight: 300;
  line-height: .82;
  transform: translateY(-1px);
}

.cognitive-dialog--glass .ecosystem-dialog-close::before {
  content: none;
  display: none;
}

.cognitive-dialog--glass .ecosystem-dialog-close:hover,
.cognitive-dialog--glass .ecosystem-dialog-close:focus-visible {
  border-color: rgba(255, 255, 255, .42) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, .08)) !important;
}

.cognitive-dialog--glass .ecosystem-dialog-close:active {
  transform: scale(.94);
}

.cognitive-dialog--glass :focus-visible {
  outline: 3px solid rgba(255, 255, 255, .5);
  outline-offset: 3px;
}

.cognitive-dialog--glass .cognitive-workspace {
  grid-template-columns: minmax(580px, 1.22fr) minmax(450px, .78fr);
  gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(24px, 4vh, 52px);
}

.cognitive-dialog--glass .cognitive-map {
  gap: 20px;
}

.cognitive-dialog--glass .cognitive-map-copy {
  width: min(660px, 92%);
}

.cognitive-dialog--glass .cognitive-rhomb {
  width: clamp(480px, 48vw, 760px);
  max-width: 100%;
}

.cognitive-dialog--glass .cognitive-rhomb-node {
  min-width: 116px;
  min-height: 64px;
  border-color: rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .72);
  background: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035));
  -webkit-backdrop-filter: blur(14px) saturate(1.16);
  backdrop-filter: blur(14px) saturate(1.16);
  box-shadow: inset 0 1px rgba(255, 255, 255, .13), 0 16px 42px rgba(0, 0, 0, .24);
}

.cognitive-dialog--glass .cognitive-rhomb-node--m { left: 10%; top: 50%; }
.cognitive-dialog--glass .cognitive-rhomb-node--k { left: 50%; top: 11.67%; }
.cognitive-dialog--glass .cognitive-rhomb-node--i { left: 50%; top: 88.33%; }
.cognitive-dialog--glass .cognitive-rhomb-node--v { left: 90%; top: 50%; }

.cognitive-dialog--glass .cognitive-rhomb-node.is-complete {
  border-color: rgba(255, 255, 255, .34);
  color: rgba(255, 255, 255, .88);
  background: linear-gradient(145deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .07));
  box-shadow: inset 0 1px rgba(255, 255, 255, .16), 0 0 34px rgba(139, 169, 255, .10);
}

.cognitive-dialog--glass .cognitive-rhomb-node.is-active {
  border-color: rgba(255, 255, 255, .80);
  color: #071018;
  background: rgba(242, 247, 255, .90);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .07), 0 0 42px rgba(139, 169, 255, .22);
}

.cognitive-dialog--glass .cognitive-rhomb-lines path {
  stroke: rgba(225, 234, 255, .24);
}

.cognitive-dialog--glass .cognitive-rhomb-lines path:nth-child(2) {
  stroke: rgba(225, 234, 255, .16);
}

.cognitive-dialog--glass .cognitive-stage {
  max-width: 720px;
  scrollbar-gutter: auto;
}

.cognitive-dialog--glass .cognitive-panel {
  border-color: rgba(255, 255, 255, .16) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .032)) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.18);
  backdrop-filter: blur(28px) saturate(1.18);
  box-shadow: inset 0 1px rgba(255, 255, 255, .15), 0 30px 90px rgba(0, 0, 0, .30) !important;
}

.cognitive-dialog--glass .cognitive-progress {
  background: rgba(255, 255, 255, .10);
}

.cognitive-dialog--glass .cognitive-progress span {
  background: linear-gradient(90deg, rgba(255, 255, 255, .88), rgba(167, 197, 255, .72));
}

.cognitive-dialog--glass .cognitive-section-row strong,
.cognitive-dialog--glass .cognitive-dialog-kicker,
.cognitive-dialog--glass .cognitive-mode-grid button > span {
  color: rgba(255, 255, 255, .72) !important;
}

.cognitive-dialog--glass .cognitive-dialog-header > span:last-child {
  color: rgba(255, 255, 255, .72) !important;
}

.cognitive-dialog--glass .cognitive-map-copy strong {
  color: rgba(255, 255, 255, .72) !important;
}

.cognitive-dialog--glass .cognitive-answer span:last-child {
  color: rgba(255, 255, 255, .82) !important;
}

@media (max-width: 1100px) and (min-width: 900px) {
  .cognitive-dialog--glass .cognitive-workspace {
    grid-template-columns: minmax(470px, 1.1fr) minmax(390px, .9fr);
    gap: 22px;
  }

  .cognitive-dialog--glass .cognitive-rhomb {
    width: min(52vw, 590px);
  }
}

@media (max-width: 899px) {
  .cognitive-dialog--glass .cognitive-workspace {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(230px, 34svh) minmax(0, 1fr);
    gap: 10px;
    padding-block: max(16px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-bottom));
  }

  .cognitive-dialog--glass .cognitive-rhomb {
    width: min(580px, 82vw);
  }
}

@media (max-width: 720px) {
  .cognitive-dialog--glass .cognitive-dialog-shell {
    padding-inline: 10px;
  }

  .cognitive-dialog--glass .ecosystem-dialog-close {
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
  }

  .cognitive-dialog--glass .cognitive-workspace {
    grid-template-rows: minmax(220px, 32svh) minmax(0, 1fr);
    gap: 6px;
    padding-block: max(10px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-bottom));
  }

  .cognitive-dialog--glass .cognitive-rhomb {
    width: min(360px, 90vw);
  }

  .cognitive-dialog--glass .cognitive-rhomb-node {
    min-width: 76px;
    min-height: 44px;
    padding: 6px 9px;
  }

  .cognitive-dialog--glass .cognitive-rhomb-node b {
    font-size: 15px;
  }

  .cognitive-dialog--glass .cognitive-rhomb-node small {
    font-size: 7.5px;
  }

  .cognitive-dialog--glass[data-cognitive-view='question'] .cognitive-workspace {
    grid-template-rows: minmax(160px, 24svh) minmax(0, 1fr);
    gap: 4px;
  }

  .cognitive-dialog--glass[data-cognitive-view='question'] .cognitive-rhomb {
    width: min(300px, 86vw);
  }

  .cognitive-dialog--glass[data-cognitive-view='question'] .cognitive-rhomb-node {
    min-width: 66px;
    min-height: 38px;
    padding: 4px 7px;
  }

  .cognitive-dialog--glass .cognitive-panel {
    border-radius: 24px;
  }
}

@media (max-width: 720px) and (max-height: 760px) {
  .cognitive-dialog--glass[data-cognitive-view='question'] .cognitive-workspace {
    grid-template-rows: minmax(140px, 22svh) minmax(0, 1fr);
  }

  .cognitive-dialog--glass[data-cognitive-view='question'] .cognitive-rhomb {
    width: min(260px, 78vw);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .cognitive-dialog--glass,
  .cognitive-dialog--glass .cognitive-panel,
  .cognitive-dialog--glass .cognitive-rhomb-node,
  .cognitive-dialog--glass .ecosystem-dialog-close {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #111821 !important;
  }
}

/* Selected staggered launch composition */
.launch-screen--staggered {
  --launch-inline: clamp(28px, 4.6vw, 56px);
  --launch-card-border: rgba(255, 252, 245, .32);
}

.launch-screen--staggered .launch-screen__picture {
  position: absolute;
  z-index: -3;
  inset: 0;
  display: block;
  overflow: hidden;
}

.launch-screen--staggered .launch-screen__background {
  z-index: 0;
  object-position: 50% 50%;
  filter: saturate(.88) contrast(1.06) brightness(.92);
}

.launch-screen--staggered .launch-screen__veil {
  background:
    radial-gradient(circle at 50% 51%, rgba(255, 244, 219, .05), transparent 21%),
    linear-gradient(90deg, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, .10) 56%, rgba(0, 0, 0, .18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .32), transparent 31%, transparent 74%, rgba(0, 0, 0, .48));
}

.launch-screen--staggered .launch-screen__content {
  width: min(100%, 1180px);
  min-height: 100%;
  padding: 0;
}

.launch-screen--staggered .launch-screen__brand {
  position: absolute;
  z-index: 8;
  top: max(32px, calc(env(safe-area-inset-top) + 18px));
  left: var(--launch-inline);
  width: clamp(76px, 7.4vw, 106px);
  height: clamp(76px, 7.4vw, 106px);
  margin: 0;
  filter: drop-shadow(0 0 28px rgba(225, 198, 143, .24));
}

.launch-screen--staggered .launch-screen__heading {
  position: absolute;
  z-index: 8;
  top: clamp(150px, 10.5svh, 205px);
  left: var(--launch-inline);
  width: min(61%, 690px);
  margin: 0;
  text-align: left;
}

.launch-screen--staggered .launch-screen__heading h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(52px, 6.6vw, 82px);
  font-weight: 680;
  line-height: .94;
  letter-spacing: -.058em;
  text-align: left;
  text-wrap: balance;
}

.launch-screen--staggered .launch-screen__heading p {
  max-width: 520px;
  margin-top: clamp(18px, 1.8svh, 28px);
  font-size: clamp(19px, 2.1vw, 27px);
  line-height: 1.38;
}

.launch-screen--staggered .launch-screen__tools {
  position: absolute;
  z-index: 9;
  inset: 0;
  display: block;
  margin: 0;
  pointer-events: none;
}

.launch-screen--staggered .launch-tool {
  position: absolute;
  width: min(45%, 500px);
  min-height: clamp(228px, 15.5svh, 302px);
  padding: clamp(24px, 2.8vw, 34px);
  border-color: var(--launch-card-border);
  border-radius: clamp(28px, 3vw, 40px);
  background: linear-gradient(145deg, rgba(255, 252, 245, .12), rgba(255, 252, 245, .025));
  -webkit-backdrop-filter: blur(20px) saturate(1.08);
  backdrop-filter: blur(20px) saturate(1.08);
  box-shadow: inset 0 1px rgba(255, 255, 255, .20), 0 26px 76px rgba(0, 0, 0, .36);
  pointer-events: auto;
}

.launch-screen--staggered .launch-tool:first-child {
  top: clamp(430px, 25.5svh, 520px);
  left: 2.2%;
}

.launch-screen--staggered .launch-tool:last-child {
  top: clamp(960px, 54.8svh, 1110px);
  right: 2.2%;
}

.launch-screen--staggered .launch-tool__icon {
  width: clamp(62px, 5.7vw, 78px);
  height: clamp(62px, 5.7vw, 78px);
  border-radius: 22px;
  background: rgba(255, 252, 245, .09);
}

.launch-screen--staggered .launch-tool__icon img,
.launch-screen--staggered .launch-tool__icon svg {
  width: clamp(34px, 3.4vw, 45px);
  height: clamp(34px, 3.4vw, 45px);
}

.launch-screen--staggered .launch-tool strong {
  margin-top: clamp(18px, 2svh, 27px);
  font-size: clamp(25px, 2.7vw, 34px);
  line-height: 1.05;
}

.launch-screen--staggered .launch-tool > span:last-child {
  margin-top: clamp(10px, 1.1svh, 16px);
  font-size: clamp(17px, 1.7vw, 21px);
}

.launch-screen--staggered .launch-touch {
  top: 51.8%;
  width: clamp(190px, 22vw, 248px);
  height: clamp(172px, 17svh, 222px);
}

.launch-screen--staggered .launch-touch:focus-visible {
  outline: none;
}

.launch-screen--staggered .launch-touch:focus-visible .launch-touch__core {
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .24),
    0 0 0 3px rgba(255, 252, 245, .34),
    0 20px 50px rgba(0, 0, 0, .4);
}

.launch-screen--staggered .launch-touch__core {
  width: clamp(82px, 8.5vw, 106px);
  height: clamp(82px, 8.5vw, 106px);
  border-color: rgba(255, 252, 245, .44);
  background: linear-gradient(145deg, rgba(255, 252, 245, .21), rgba(255, 252, 245, .065));
}

.launch-screen--staggered .launch-touch__label {
  color: rgba(255, 252, 245, .88);
  background: rgba(6, 6, 6, .36);
  border: 1px solid rgba(255, 252, 245, .15);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.launch-screen--staggered .launch-sponsors {
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
  width: min(calc(100% - (var(--launch-inline) * 2)), 1060px);
  min-height: clamp(88px, 8svh, 116px);
  grid-template-columns: auto minmax(0, 1.05fr) minmax(0, 1.35fr);
  gap: clamp(18px, 2.2vw, 30px);
  padding: 14px clamp(22px, 2.6vw, 34px);
  border-color: rgba(255, 252, 245, .28);
  border-radius: clamp(24px, 2.4vw, 34px);
  background: linear-gradient(145deg, rgba(255, 252, 245, .105), rgba(255, 252, 245, .025));
  -webkit-backdrop-filter: blur(22px) saturate(1.06);
  backdrop-filter: blur(22px) saturate(1.06);
  color: rgba(255, 252, 245, .84);
}

.launch-screen--staggered .launch-sponsors > span {
  font-size: clamp(13px, 1.4vw, 17px);
  letter-spacing: .01em;
  text-transform: none;
}

.launch-screen--staggered .launch-sponsor__logo {
  height: clamp(44px, 4.3vw, 58px);
  filter: none;
  opacity: 1;
}

.launch-screen--staggered .launch-sponsor__logo--asi {
  height: clamp(68px, 6.4vw, 86px);
}

.launch-screen--staggered .launch-sponsor {
  position: relative;
  min-width: 0;
  display: grid;
  align-items: center;
}

.launch-screen--staggered .launch-sponsor--roscongress .launch-sponsor__logo {
  grid-area: 1 / 1;
  filter: brightness(0) invert(1) !important;
}

.launch-screen--staggered .launch-sponsor-color-layer {
  grid-area: 1 / 1;
  width: 100%;
  height: clamp(44px, 4.3vw, 58px);
  object-fit: contain;
  clip-path: inset(0 84% 0 0);
}

@media (max-width: 720px) and (orientation: portrait) {
  .launch-screen--staggered {
    --launch-inline: 14px;
  }

  .launch-screen--staggered .launch-screen__content {
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    display: grid;
    grid-template-areas:
      "brand"
      "heading"
      "calculator"
      "touch"
      "trainers"
      "sponsors";
    grid-template-rows: auto auto minmax(96px, auto) minmax(64px, auto) minmax(96px, auto) auto;
    gap: clamp(4px, 1.2svh, 11px);
    align-content: space-between;
    padding: max(10px, env(safe-area-inset-top)) var(--launch-inline) max(8px, env(safe-area-inset-bottom));
  }

  .launch-screen--staggered .launch-screen__brand {
    grid-area: brand;
    position: static;
    justify-self: start;
    width: clamp(46px, 8svh, 70px);
    height: clamp(46px, 8svh, 70px);
  }

  .launch-screen--staggered .launch-screen__heading {
    grid-area: heading;
    position: static;
    justify-self: start;
    width: min(90%, 410px);
  }

  .launch-screen--staggered .launch-screen__heading h1 {
    font-size: clamp(30px, 5.8svh, 52px);
    line-height: .96;
  }

  .launch-screen--staggered .launch-screen__heading p {
    max-width: 310px;
    margin-top: clamp(5px, 1svh, 10px);
    font-size: clamp(12px, 2.25svh, 16px);
  }

  .launch-screen--staggered .launch-screen__tools {
    display: contents;
  }

  .launch-screen--staggered .launch-tool {
    width: min(72%, 360px);
    min-height: clamp(96px, 17svh, 148px);
    padding: clamp(11px, 2svh, 18px);
    border-radius: clamp(18px, 3.8svh, 24px);
  }

  .launch-screen--staggered .launch-tool:first-child {
    grid-area: calculator;
    position: static;
    justify-self: start;
  }

  .launch-screen--staggered .launch-tool:last-child {
    grid-area: trainers;
    position: static;
    justify-self: end;
  }

  .launch-screen--staggered .launch-tool__icon {
    width: clamp(34px, 7svh, 54px);
    height: clamp(34px, 7svh, 54px);
    border-radius: clamp(12px, 2.4svh, 17px);
  }

  .launch-screen--staggered .launch-tool__icon img,
  .launch-screen--staggered .launch-tool__icon svg {
    width: clamp(20px, 3.8svh, 27px);
    height: clamp(20px, 3.8svh, 27px);
  }

  .launch-screen--staggered .launch-tool strong {
    max-width: 220px;
    margin-top: clamp(6px, 1.5svh, 14px);
    font-size: clamp(16px, 3.2svh, 22px);
  }

  .launch-screen--staggered .launch-tool > span:last-child {
    margin-top: clamp(3px, .8svh, 7px);
    font-size: clamp(11px, 2svh, 14px);
  }

  .launch-screen--staggered .launch-touch {
    grid-area: touch;
    position: static;
    justify-self: center;
    align-self: center;
    width: clamp(132px, 36vw, 160px);
    height: clamp(64px, 12svh, 110px);
    transform: none;
  }

  .launch-screen--staggered .launch-touch.is-visible {
    animation-name: launch-touch-prompt-flow;
  }

  .launch-screen--staggered .launch-touch__core {
    width: clamp(48px, 9.5svh, 72px);
    height: clamp(48px, 9.5svh, 72px);
  }

  .launch-screen--staggered .launch-touch__core img {
    width: clamp(28px, 5.5svh, 40px);
    height: clamp(28px, 5.5svh, 40px);
  }

  .launch-screen--staggered .launch-touch__label {
    padding: 5px 10px;
    font-size: clamp(11px, 2svh, 14px);
  }

  .launch-screen--staggered .launch-sponsors {
    grid-area: sponsors;
    position: static;
    justify-self: center;
    width: 100%;
    min-height: clamp(48px, 10svh, 78px);
    grid-template-columns: auto minmax(0, 1.1fr) minmax(0, 1.35fr);
    gap: clamp(6px, 1.5vw, 10px);
    padding: clamp(5px, 1.4svh, 9px) clamp(7px, 2.4vw, 12px);
    border-radius: clamp(14px, 3svh, 18px);
    transform: none;
  }

  .launch-screen--staggered .launch-sponsors > span {
    font-size: clamp(8px, 1.6svh, 10px);
  }

  .launch-screen--staggered .launch-sponsor__logo {
    height: clamp(26px, 5svh, 36px);
  }

  .launch-screen--staggered .launch-sponsor__logo--asi {
    height: clamp(36px, 7svh, 52px);
  }

  .launch-screen--staggered .launch-sponsor-color-layer {
    height: clamp(26px, 5svh, 36px);
  }
}

@keyframes launch-touch-prompt-flow {
  0%, 100% { opacity: 0; transform: scale(.88); }
  16%, 74% { opacity: 1; }
  40% { transform: scale(1); }
  78% { opacity: 0; transform: scale(1.04); }
}

@media (max-width: 480px) and (orientation: portrait) {
  .launch-screen--staggered .launch-screen__brand {
    width: clamp(44px, 8svh, 58px);
    height: clamp(44px, 8svh, 58px);
  }

  .launch-screen--staggered .launch-screen__heading h1 {
    font-size: clamp(29px, 5.8svh, 44px);
  }

  .launch-screen--staggered .launch-tool {
    width: min(67%, 290px);
    min-height: clamp(92px, 17svh, 124px);
    padding: clamp(10px, 1.8svh, 16px);
  }

  .launch-screen--staggered .launch-tool__icon {
    width: clamp(34px, 6.5svh, 46px);
    height: clamp(34px, 6.5svh, 46px);
  }

  .launch-screen--staggered .launch-sponsors {
    min-height: clamp(46px, 9svh, 66px);
    gap: 7px;
    padding: clamp(4px, 1.1svh, 7px) 9px;
  }

  .launch-screen--staggered .launch-sponsors > span {
    font-size: 8px;
  }

  .launch-screen--staggered .launch-sponsor__logo,
  .launch-screen--staggered .launch-sponsor-color-layer {
    height: 29px;
  }

  .launch-screen--staggered .launch-sponsor__logo--asi {
    height: 42px;
  }
}

@media (orientation: landscape) and (max-height: 720px) {
  .launch-screen--staggered {
    --launch-inline: 22px;
  }

  .launch-screen--staggered .launch-screen__brand {
    top: 14px;
    width: 54px;
    height: 54px;
  }

  .launch-screen--staggered .launch-screen__heading {
    top: 18px;
    left: 92px;
    width: 44%;
  }

  .launch-screen--staggered .launch-screen__heading h1 {
    font-size: clamp(31px, 4.5vw, 46px);
    line-height: .96;
  }

  .launch-screen--staggered .launch-screen__heading p {
    margin-top: 8px;
    font-size: 13px;
  }

  .launch-screen--staggered .launch-tool {
    top: clamp(155px, 31svh, 205px);
    width: 40%;
    min-height: 132px;
    padding: 14px 18px;
    border-radius: 24px;
  }

  .launch-screen--staggered .launch-tool:first-child {
    left: 3%;
  }

  .launch-screen--staggered .launch-tool:last-child {
    top: clamp(155px, 31svh, 205px);
    right: 3%;
  }

  .launch-screen--staggered .launch-tool__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .launch-screen--staggered .launch-tool strong {
    margin-top: 9px;
    font-size: clamp(18px, 2.35vw, 24px);
  }

  .launch-screen--staggered .launch-tool > span:last-child {
    margin-top: 5px;
    font-size: 12px;
  }

  .launch-screen--staggered .launch-touch {
    top: 68%;
    width: 132px;
    height: 116px;
  }

  .launch-screen--staggered .launch-touch__core {
    width: 62px;
    height: 62px;
  }

  .launch-screen--staggered .launch-touch__label {
    padding: 6px 10px;
    font-size: 12px;
  }

  .launch-screen--staggered .launch-sponsors {
    bottom: 8px;
    width: min(66%, 700px);
    min-height: 58px;
    gap: 10px;
    padding: 6px 12px;
  }

  .launch-screen--staggered .launch-sponsors > span {
    font-size: 9px;
  }

  .launch-screen--staggered .launch-sponsor__logo {
    height: 28px;
  }

  .launch-screen--staggered .launch-sponsor__logo--asi {
    height: 44px;
  }
}

/* Application tail fix */
body:not(.has-launch-screen) {
  padding-bottom: 0;
}

body:not(.has-launch-screen) main {
  padding-bottom: 0;
}

body:not(.has-launch-screen) .games-focus {
  padding-bottom: calc(var(--app-dock-height) + env(safe-area-inset-bottom) + 48px);
}

/* Mobile stability contract */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  touch-action: manipulation;
}

main,
section,
.wrap {
  min-width: 0;
  max-width: 100%;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

@media (max-width: 720px) {
  input,
  textarea,
  select {
    font-size: max(16px, 1em);
  }

  .trainer-filter {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow-x: clip;
  }

  .trainer-filter__button {
    min-width: 0;
    width: 100%;
    padding-inline: 10px !important;
    white-space: normal;
  }

  .trainer-filter__button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
