@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/montserrat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --night: #030e19;
  --water: #052731;
  --ink: #f0f5f6;
  --secondary: #d0e1e6;
  --aqua: #88e8ee;
  --bright: #32e6ee;
  --line: rgb(117 221 235 / 29%);
  --gutter: clamp(1.25rem, 5.35vw, 6.25rem);
  --header-height: 4.25rem;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 100%;
  line-height: 1.5;
  background: var(--night);
  color: var(--ink);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 4px; }
::selection { color: var(--night); background: var(--aqua); }
section[id], main[id] { scroll-margin-top: var(--header-height); }

.icon-library { position: absolute; pointer-events: none; }
.icon {
  display: block;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-dots { stroke-width: 2.2; }
.shell { width: min(84rem, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: var(--gutter);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--water);
  transform: translateY(-170%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  background: linear-gradient(rgb(2 12 22 / 60%), transparent);
  transition: background-color 220ms, box-shadow 220ms;
}
.site-header.is-scrolled {
  background: rgb(3 25 35 / 93%);
  box-shadow: 0 3px 24px rgb(0 11 20 / 24%);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(86rem, 100% - 2 * (var(--gutter) - 0.8rem));
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}
.header-inner::after {
  content: "";
  position: absolute;
  inset: auto 0 0 6rem;
  height: 1px;
  background: linear-gradient(90deg, rgb(170 221 236 / 20%), rgb(122 202 220 / 33%), rgb(162 231 241 / 9%));
  pointer-events: none;
}
.brand { display: inline-flex; gap: 1.25rem; flex: none; align-items: center; }
.brand img { width: clamp(3.5rem, 6.25vw, 5rem); height: auto; }
.brand span { font-size: 1.06rem; line-height: 1.13; text-transform: uppercase; letter-spacing: 0.02em; font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: clamp(1.3rem, 4.55vw, 4.2rem); }
.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  font-size: 0.94rem;
  white-space: nowrap;
  transition: color 160ms;
}
.site-nav a::after {
  position: absolute;
  content: "";
  bottom: 0.9rem;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 1rem;
  background: var(--bright);
  box-shadow: 0 0 9px #39e9faad;
  opacity: 0;
  transform: scaleX(0.65);
  transition: opacity 180ms, transform 180ms;
}
.site-nav a:hover { color: var(--aqua); }
.site-nav a[aria-current]::after { opacity: 1; transform: scaleX(1); }
.nav-toggle { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: max(44.5rem, 100svh);
  overflow: clip;
  background: #030e1c;
}
.hero-art, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-art { object-fit: cover; object-position: center 55%; }
.hero::after {
  content: "";
  background:
    linear-gradient(90deg, rgb(1 9 17 / 83%) 0%, rgb(1 10 19 / 63%) 29%, rgb(1 13 24 / 10%) 56%, transparent 72%),
    linear-gradient(0deg, #031923 0%, rgb(3 14 26 / 15%) 12%, transparent 35%);
  pointer-events: none;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(3rem, 7.5svh, 5.75rem);
  padding-block: clamp(8.3rem, 19.5svh, 14rem) clamp(2.65rem, 7.7svh, 5.5rem);
}
.hero-copy { max-width: 39rem; }
.hero h1 {
  font-size: clamp(3.5rem, 5.02vw, 5.45rem);
  font-weight: 400;
  line-height: 0.97;
  letter-spacing: -0.043em;
  text-transform: uppercase;
  text-shadow: 0 2px 24px #01091070;
}
.hero h1 span { display: block; }
.hero-copy p { max-width: 29rem; font-size: clamp(1.15rem, 1.66vw, 1.43rem); line-height: 1.24; }
.section-rule {
  display: block;
  width: 3.5rem;
  height: 0.2rem;
  margin-block: 0.8rem 0.85rem;
  border-radius: 1rem;
  background: var(--bright);
  box-shadow: 0 0 9px #3deefa80;
}
.hero .section-rule { margin-block: 1.7rem 1.18rem; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--aqua);
  border-radius: 100vmax;
  background: rgb(3 24 36 / 63%);
  box-shadow: inset 0 0 15px #31def031, 0 0 17px #2ae4f23c;
  font-weight: 650;
  line-height: 1.2;
  transition: border-color 180ms, box-shadow 180ms, background-color 180ms;
}
.pill:hover {
  border-color: #b9faff;
  background-color: rgb(12 68 82 / 90%);
  box-shadow: inset 0 0 20px #22dff663, 0 0 22px #2ae4f25a;
}
.intro-button { min-height: 3.5rem; margin-top: 2.1rem; padding: 0.7rem 2.3rem; gap: 1.2rem; font-size: 1.13rem; font-weight: 560; }
.intro-button .icon { width: 1.65rem; height: 1.65rem; color: var(--aqua); filter: drop-shadow(0 0 6px #44e9fa80); }
.intro-button span { border-left: 1px solid var(--line); padding-left: 1.23rem; }

.support {
  width: 100%;
  min-height: 7.6rem;
  display: grid;
  grid-template-columns: minmax(12rem, 1.13fr) minmax(16rem, 1.55fr) minmax(8rem, 0.78fr);
  align-items: center;
  gap: clamp(1.25rem, 4.05vw, 3.25rem);
  padding: 0.35rem 4.5% 0.35rem 3%;
  border: 1px solid rgb(124 198 220 / 38%);
  border-radius: 1.1rem;
  background: linear-gradient(115deg, rgb(7 24 43 / 76%), rgb(6 26 47 / 80%));
  box-shadow: inset 0 0 30px #2a81b121, 0 4px 20px #010d196b;
  backdrop-filter: blur(5px);
}
.support-fund { display: grid; place-items: center; padding-left: 0.85rem; background: linear-gradient(var(--line), var(--line)) right center / 1px 4rem no-repeat; }
.support-fund img { width: clamp(8.1rem, 14.65vw, 11.75rem); height: auto; }
.support-platform { display: grid; align-items: center; justify-items: start; padding-left: 0.55rem; }
.support-platform img { width: clamp(7rem, 12.6vw, 10.2rem); max-height: 6.8rem; height: auto; }
.support p { max-width: 25rem; font-size: clamp(0.94rem, 1.36vw, 1.2rem); line-height: 1.32; }

.ocean-body {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 68% 41%, #073443 0%, transparent 59%), linear-gradient(180deg, #031923 0%, #052632 28%, #052833 57%, #03212d 100%);
  overflow: clip;
}
.product, .institutions { position: relative; isolation: isolate; }
.product::before, .institutions::before, .institutions::after {
  content: "";
  position: absolute;
  z-index: -1;
  background: url("assets/waves.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}
.product::before { width: min(47rem, 53%); height: 16rem; top: 0.8rem; right: -4rem; opacity: 0.85; }
.product::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto auto -1rem -7rem;
  width: 29rem;
  height: 14rem;
  background: url("assets/wave-floor.svg") center / 100% 100% no-repeat;
  opacity: 0.58;
  transform: rotate(14deg) scaleY(-1);
  pointer-events: none;
}
.product { padding-block: clamp(1.32rem, 1.65vw, 2.1rem) clamp(2.15rem, 3.4vw, 3.8rem); }
.section-intro, .institutions > .shell, .closing > .shell { width: min(82.75rem, 100% - 2 * (var(--gutter) + 0.6rem)); }
.eyebrow {
  margin-bottom: 0.22rem;
  color: #e7f1f3;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
h2 { font-size: clamp(2rem, 3.05vw, 3.15rem); font-weight: 670; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.section-description { max-width: 44rem; color: var(--secondary); font-size: 1.03rem; line-height: 1.35; }
.product h2 { font-size: clamp(2rem, 2.85vw, 3.05rem); letter-spacing: -0.015em; }
.product .section-rule { margin-block: 0.65rem; }
.product .section-description { line-height: 1.26; }
.showcase { width: min(86rem, 100% - 2 * (var(--gutter) - 0.9rem)); margin: 1.65rem auto 0; }
.tab-list {
  position: relative;
  z-index: 1;
  width: calc(100% - clamp(4.5rem, 9vw, 7.2rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.08fr 1fr 1.15fr 1fr;
  padding: 1px;
  border: 1px solid var(--line);
  border-radius: 100vmax;
  background: rgb(3 29 43 / 93%);
  box-shadow: inset 0 0 24px #14657e2a;
}
.tab-list button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.78rem;
  min-width: 0;
  min-height: 2.88rem;
  border: 1px solid transparent;
  border-radius: 100vmax;
  font-weight: 530;
  line-height: 1.16;
  transition: box-shadow 180ms, color 180ms, background-color 180ms;
}
.tab-list button + button::before {
  content: "";
  position: absolute;
  top: 22%;
  bottom: 22%;
  left: 0;
  width: 1px;
  background: linear-gradient(transparent, #6bcdd84f, transparent);
}
.tab-list button[aria-selected="true"], .tab-list button:hover { background-color: #0b4a59; }
.tab-list button[aria-selected="true"] {
  border-color: #62ddeaaa;
  box-shadow: inset 0 0 20px #29e4f15c, 0 0 15px #39dffa47;
}
.tab-list button[aria-selected="true"]::before,
.tab-list button[aria-selected="true"] + button::before { opacity: 0; }
.tab-list :is(img, .icon) { flex: none; color: var(--aqua); width: 1.9rem; height: 1.78rem; }
.tab-list img { width: 2.2rem; object-fit: contain; }
.showcase-frame {
  position: relative;
  margin-top: -1.56rem;
  padding: 2.48rem clamp(2.4rem, 4.55vw, 4.35rem) 1.13rem clamp(2.4rem, 6.15vw, 5.7rem);
  border: 1px solid rgb(108 209 226 / 53%);
  border-radius: 1.75rem;
  background: linear-gradient(115deg, rgb(6 38 54 / 77%), rgb(3 35 48 / 87%));
  box-shadow: inset 0 0 35px #1397b01b, 0 14px 40px #000e191c;
}
.tab-panel { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.55fr); gap: clamp(1.38rem, 2.45vw, 2.55rem); align-items: start; min-height: 17.75rem; }
.panel-copy h3 { max-width: 22.5rem; font-size: clamp(1.25rem, 1.82vw, 1.65rem); line-height: 1.05; letter-spacing: -0.023em; font-weight: 700; }
.panel-copy > p { margin-top: 0.24rem; color: var(--secondary); font-size: 1rem; line-height: 1.09; }
.steps { display: grid; gap: 0.42rem; margin-top: 0.5rem; }
.steps li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); align-items: center; gap: 0.78rem; color: #dcebed; font-size: 0.83rem; line-height: 1.09; }
.steps strong { color: var(--ink); font-weight: 690; }
.step-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 2.55rem;
  border: 1px solid var(--line);
  border-radius: 0.64rem;
  color: var(--aqua);
  background: #07323e;
  box-shadow: inset 0 0 15px #2ac5df38;
}
.step-icon .icon { width: 1.65rem; height: 1.65rem; filter: drop-shadow(0 0 4px #53e4f065); }
.carousel-arrow {
  position: absolute;
  z-index: 2;
  top: 46%;
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid rgb(110 225 237 / 65%);
  border-radius: 50%;
  background: #05232f;
  transition: background 140ms, box-shadow 140ms;
}
.carousel-arrow:hover { background: #0c4d5b; box-shadow: 0 0 10px #35dfe961; }
.carousel-arrow.previous { left: 0; transform: translateX(-50%); }
.carousel-arrow.next { right: 0; transform: translateX(50%); }
.carousel-arrow .icon { width: 1rem; height: 1rem; }
.carousel-dots { display: flex; justify-content: center; margin-top: 0.35rem; }
.carousel-dots button { display: grid; place-items: center; width: 1.22rem; height: 1.75rem; }
.carousel-dots button::before { content: ""; width: 0.49rem; height: 0.49rem; border-radius: 50%; background: #52747e; }
.carousel-dots button[aria-pressed="true"]::before { background: var(--bright); box-shadow: 0 0 10px #37e8f4ec; }

.game-view {
  position: relative;
  isolation: isolate;
  min-width: 0;
  aspect-ratio: 2.15;
  overflow: hidden;
  border: 1px solid rgb(110 208 225 / 58%);
  border-radius: 1.32rem;
  background: #031526;
}
.game-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
[data-scene] .game-art { animation: scenic-drift 14s ease-in-out infinite alternate; }
[data-scene].is-paused .game-art { animation-play-state: paused; }
@keyframes scenic-drift { from { transform: scale(1); } to { transform: scale(1.045) translateX(-0.5%); } }
.scene-toggle { position: absolute; top: 0.35rem; left: 0.55rem; display: grid; place-items: center; width: 2.35rem; height: 2.35rem; border-radius: 50%; color: #62d7ff; }
.scene-toggle:hover { background: #081a2dd1; }
.scene-toggle .icon { width: 1.14rem; height: 1.14rem; stroke-width: 2.5; filter: drop-shadow(0 0 6px #0fc8ffad); }
.scene-toggle .scene-play, .is-paused .scene-pause { display: none; }
.is-paused .scene-play { display: block; }
.route { position: absolute; top: 0.8rem; right: 1.2rem; width: min(33%, 8rem); fill: #142b42; stroke: #b5d9e9; stroke-width: 1.4; }
.route-current { fill: #68dfe9; stroke: #d4fbff; stroke-width: 1.9; filter: drop-shadow(0 0 4px #00d8ff); }
.signal {
  position: absolute;
  right: 2.1%;
  bottom: 4.4%;
  display: grid;
  gap: 0.29rem;
  width: min(28%, 11rem);
  padding: 0.52rem 0.7rem 0.65rem;
  border: 1px solid rgb(110 217 228 / 42%);
  border-radius: 0.88rem;
  background: rgb(4 37 54 / 83%);
  box-shadow: inset 0 0 16px #07b7de30;
  backdrop-filter: blur(4px);
}
.signal svg { width: 100%; fill: none; stroke: #61f6fb; stroke-width: 1.8; filter: drop-shadow(0 0 4px #2debfa); }
.signal circle { fill: #e9ffff; stroke: none; }
.signal-track { display: block; height: 0.56rem; padding: 1px; overflow: hidden; border-radius: 2rem; background: #103c50; }
.signal-track span { display: block; width: 64%; height: 100%; border-radius: inherit; background: #28edfd; box-shadow: 0 0 7px #30eafaad; }
.event-view .game-art { object-position: center 23%; }
.exercise-view { display: grid; place-items: center; }
.exercise-view .game-art { z-index: -2; }
.exercise-view::before { position: absolute; inset: 0; z-index: -1; content: ""; background: radial-gradient(ellipse at center, #031929ad, #03182772); }
.breathing { display: grid; place-items: center; gap: 0.42rem; padding: 0.5rem; }
.breath-orbit { display: grid; place-items: center; width: clamp(4.4rem, 8vw, 6.75rem); aspect-ratio: 1; border-radius: 50%; border: 1px solid #7ceaf181; box-shadow: inset 0 0 18px #36e5f43d, 0 0 16px #36e5f454; }
.breath-orbit span { width: 74%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #94f6fc; background: radial-gradient(#42f1ee52, #16899c66); box-shadow: 0 0 14px #36e5f48c; transform: scale(0.8); }
.breathing[data-phase="in"] .breath-orbit span { transform: scale(1.24); transition: transform 4s ease-in-out; }
.breathing[data-phase="out"] .breath-orbit span { transition: transform 6s ease-in-out; }
.breath-label { min-height: 1.5rem; color: #e5faff; font-size: 0.9rem; font-weight: 630; }
.breath-button { min-width: 6.8rem; min-height: 2.05rem; padding-inline: 0.7rem; font-size: 0.86rem; }
.dashboard { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: clamp(0.55rem, 1.1vw, 0.95rem); padding: clamp(0.72rem, 1.65vw, 1.4rem); background: radial-gradient(ellipse at top right, #0a4051, #061b2e 68%); }
.dashboard-head { display: flex; justify-content: space-between; align-items: center; gap: 0.4rem; font-size: clamp(0.88rem, 1.5vw, 1.17rem); }
.dashboard-head span { padding: 0.18rem 0.55rem; border: 1px solid var(--line); border-radius: 1rem; color: var(--aqua); font-size: 0.75rem; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.5rem, 1vw, 0.8rem); }
.metric { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 0.45rem; min-width: 0; padding: clamp(0.4rem, 0.85vw, 0.7rem); border: 1px solid #73d8e83b; border-radius: 0.65rem; background: #041a28a1; }
.metric > div { display: flex; align-items: center; gap: 0.35rem; line-height: 1.1; font-size: clamp(0.76rem, 1.15vw, 0.94rem); }
.metric .icon { width: 1.05rem; height: 1.05rem; color: var(--aqua); }
.metric-plot { width: 100%; height: 100%; min-height: 0; stroke-width: 2.3; stroke: var(--bright); fill: none; background: repeating-linear-gradient(180deg, transparent 0 calc(25% - 1px), #5b99ae36 calc(25% - 1px) 25%); }
.dashboard-foot { display: flex; gap: 0.3rem; }
.dashboard-foot span { width: 11%; height: 3px; border-radius: 1rem; background: #5294a7; }
.dashboard-foot span:first-child { width: 25%; background: var(--aqua); }

.institutions { padding-block: clamp(2rem, 3.55vw, 4.1rem) clamp(5.3rem, 8vw, 7rem); }
.institutions::before { right: -4rem; top: -1.5rem; width: min(45rem, 51%); height: 15rem; opacity: 0.65; }
.institutions::after { left: -3%; right: -3%; bottom: 0.2rem; height: 8rem; opacity: 0.8; background-image: url("assets/wave-floor.svg"); }
.institutions .eyebrow { margin-bottom: 0.4rem; }
.institutions h2 { font-size: clamp(2.25rem, 3.9vw, 4rem); }
.institutions .section-rule { width: 4rem; height: 0.25rem; margin-top: 1rem; }
.services { display: grid; grid-template-columns: repeat(5, 1fr); margin: clamp(1.95rem, 3.85vw, 3.45rem) -0.4rem 0; }
.services li { position: relative; display: grid; justify-items: center; align-content: start; gap: 0.64rem; padding-inline: 0.55rem; text-align: center; }
.services li + li::before { position: absolute; content: ""; top: 0.85rem; bottom: 0; left: 0; width: 1px; background: linear-gradient(transparent, var(--line), transparent); }
.services .icon { width: clamp(3.45rem, 7.55vw, 6.05rem); height: clamp(3.45rem, 7.55vw, 6.05rem); color: var(--aqua); stroke-width: 1.46; }
.services p { font-size: clamp(1.05rem, 1.82vw, 1.52rem); font-weight: 650; line-height: 1.24; letter-spacing: -0.03em; }
.institutions-action { display: grid; justify-items: start; gap: 0.78rem; margin-top: clamp(2.5rem, 4.85vw, 4.3rem); }
.primary-button { min-height: 4.2rem; gap: 0.95rem; padding: 0.85rem clamp(1.48rem, 3.55vw, 3.25rem); font-size: clamp(1.25rem, 1.94vw, 1.65rem); border-color: #56ecf0; background-color: #0a3e4e; box-shadow: inset 0 0 20px #27d9e868, 0 0 22px #26dcea54; }
.primary-button .icon { width: 1.65rem; height: 1.65rem; }
.institutions-action > p { display: flex; gap: 0.58rem; align-items: center; padding-left: 0.65rem; font-size: 1rem; color: var(--secondary); }
.institutions-action > p .icon { width: 1.18rem; height: 1.18rem; }

.closing { position: relative; isolation: isolate; padding-bottom: clamp(5rem, 8.5vw, 8.5rem); }
.closing::before {
  position: absolute;
  content: "";
  z-index: -1;
  inset: auto 0 0;
  height: clamp(17rem, 26vw, 26rem);
  background: url("assets/footer.webp") center 85% / cover no-repeat;
  mask-image: linear-gradient(transparent, #000 69%);
  pointer-events: none;
}
.about { padding-block: clamp(2rem, 3.95vw, 3.55rem) clamp(2.35rem, 4.15vw, 3.9rem); }
.about h2 { text-wrap: initial; }
.about .section-description { max-width: 59rem; }
.directions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.25rem; }
.directions li { padding-inline: 1.5rem 0; border-left: 1px solid var(--line); }
.directions li:first-child { padding-left: 0; border-left: 0; }
.directions .icon { width: 2.05rem; height: 2.05rem; color: var(--aqua); margin-bottom: 0.57rem; }
.directions h3 { margin-bottom: 0.25rem; font-size: clamp(1.05rem, 1.48vw, 1.27rem); line-height: 1.2; }
.directions p { max-width: 19rem; color: var(--secondary); font-size: 1rem; line-height: 1.35; }
.contacts { display: grid; grid-template-columns: 0.94fr 1.45fr; align-items: center; gap: 2.35rem; padding-block: clamp(1.55rem, 3vw, 2.55rem); border-block: 1px solid var(--line); }
.contacts h2 { text-wrap: initial; }
.contacts address { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3.3vw, 3.5rem); border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 3.65vw, 3.5rem); font-style: normal; }
.contacts a { display: flex; align-items: center; gap: 0.8rem; min-height: 2.8rem; white-space: nowrap; }
.contacts .icon { width: 1.8rem; height: 1.8rem; color: var(--aqua); }
.contacts a:hover, .legal-links button:hover, .legal-content a:hover { color: var(--aqua); }
.site-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.9rem 1.6rem; padding-top: 1.1rem; color: var(--secondary); font-size: 0.82rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 0.45rem 1.65rem; }
.legal-links button, .legal-content a { text-decoration: underline; text-decoration-color: #bdd9e576; text-underline-offset: 0.2em; }

.dialog {
  position: fixed;
  width: min(55rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: clamp(0.9rem, 2.15vw, 1.65rem);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: #062631;
  color: var(--ink);
  box-shadow: 0 0 44px #17c7dc3a, 0 12px 70px #0007;
}
.dialog::backdrop { background: rgb(1 9 17 / 77%); backdrop-filter: blur(5px); }
body:has(.dialog[open]) { overflow: hidden; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 0.85rem; margin-bottom: 0.95rem; }
.dialog-head h2 { font-size: clamp(1.38rem, 2.75vw, 2rem); text-wrap: initial; }
.dialog-close { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-radius: 50%; color: var(--aqua); }
.dialog-close:hover { background: #0e4857; }
.intro-dialog video { width: 100%; aspect-ratio: 16 / 9; background: var(--night); border-radius: 0.65rem; }
.dialog-caption { margin-top: 0.8rem; color: var(--secondary); font-size: 0.87rem; }
.legal-dialog { width: min(37rem, calc(100% - 2rem)); }
.legal-content { display: grid; gap: 0.8rem; color: var(--secondary); }
.legal-draft { color: var(--aqua); font-size: 0.88rem; }

@media (min-width: 1051px) {
  .steps { margin-right: -0.85rem; }
  .steps li { letter-spacing: -0.009em; }
}

@media (max-width: 1150px) {
  .support-break { display: none; }
}

@media (max-width: 1050px) {
  .tab-list { width: calc(100% - 4.5rem); }
  .tab-list button { gap: 0.38rem; font-size: 0.9rem; padding-inline: 0.35rem; }
  .showcase-frame { padding-inline: 2.6rem; }
  .tab-panel { gap: 1.35rem; }
  .wide-break { display: none; }
  .contacts { gap: 1.5rem; }
  .contacts address { padding-left: 1.4rem; gap: 1.1rem; }
}

@media (max-width: 800px) {
  :root { --gutter: clamp(1.25rem, 5vw, 2.5rem); --header-height: 4rem; }
  .header-inner { width: min(100% - 2 * var(--gutter), 86rem); }
  .header-inner::after { left: 0; }
  .brand { gap: 0.75rem; }
  .brand span { font-size: 0.89rem; }
  .nav-toggle { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border: 1px solid var(--line); border-radius: 0.67rem; color: var(--aqua); background: #051d2ac4; }
  .nav-toggle .menu-close, .nav-toggle[aria-expanded="true"] .menu-open { display: none; }
  .nav-toggle[aria-expanded="true"] .menu-close { display: block; }
  .site-nav { position: absolute; top: calc(100% + 0.35rem); right: 0; flex-direction: column; align-items: stretch; gap: 0; width: min(18rem, 100%); padding: 0.45rem 1rem; border: 1px solid var(--line); border-radius: 0.85rem; background: #05242ff7; box-shadow: 0 6px 30px #0009; }
  .site-nav:not([data-open]) { display: none; }
  .site-nav a { min-height: 2.85rem; }
  .site-nav a + a { border-top: 1px solid #8ee1e725; }
  .site-nav a::after { bottom: 0.43rem; left: 0; right: auto; width: 2rem; }
  .hero h1 { font-size: clamp(3rem, 7.5vw, 4.2rem); }
  .hero-art { object-position: 62% 55%; }
  .hero::after { background: linear-gradient(90deg, #010911d9 0%, #010a1375 50%, transparent 100%), linear-gradient(0deg, #031923, transparent 30%); }
  .hero-inner { gap: 3.1rem; }
  .support { grid-template-columns: minmax(7.6rem, 0.93fr) minmax(11.5rem, 1.6fr) minmax(6rem, 0.85fr); padding-inline: 0.95rem; gap: 1.1rem; }
  .support-fund { padding-right: 0.8rem; }
  .support-platform { justify-items: center; padding-left: 0; }
  .product::before { width: 60%; height: 11rem; top: 2rem; opacity: 0.55; }
  .section-intro, .institutions > .shell, .closing > .shell, .showcase { width: calc(100% - 2 * var(--gutter)); }
  .tab-list { width: 100%; }
  .tab-list :is(img, .icon) { width: 1.3rem; height: 1.3rem; }
  .showcase-frame { padding-inline: 1.25rem; }
  .tab-panel { grid-template-columns: 1fr 1.15fr; }
  .panel-copy > p { line-height: 1.35; }
  .steps li { grid-template-columns: 2.38rem minmax(0, 1fr); gap: 0.63rem; font-size: 0.88rem; line-height: 1.24; }
  .step-icon { width: 2.38rem; height: 2.38rem; }
  .step-icon .icon { width: 1.4rem; height: 1.4rem; }
  .game-view { aspect-ratio: 1.5; }
  .carousel-arrow { display: none; }
  .carousel-dots button { width: 1.85rem; height: 2.2rem; }
  .services p { font-size: clamp(0.92rem, 2.05vw, 1.1rem); }
  .contacts { grid-template-columns: 1fr; gap: 1rem; }
  .contacts address { grid-template-columns: max-content max-content; gap: clamp(1.5rem, 7vw, 4rem); padding-left: 0; border: 0; }
}

@media (max-width: 580px) {
  .hero { min-height: max(45.5rem, 100svh); }
  .hero-inner { padding-block: clamp(6.6rem, 16svh, 9.25rem) 1.5rem; gap: clamp(8.5rem, 38vw, 12rem); }
  .hero-art { inset: 3.6rem 0 auto; height: 44rem; max-height: 87%; object-position: 65% 57%; mask-image: linear-gradient(transparent, #000 8% 72%, transparent 98%); }
  .hero::after { background: linear-gradient(180deg, #030e19 2%, #030e19c2 16%, #030e1980 35%, #03132305 61%, #03192300 78%, #031923 100%); }
  .hero h1 { font-size: clamp(2.28rem, 9.4vw, 3.5rem); }
  .hero-break { display: none; }
  .hero .section-rule { margin-block: 1.35rem 0.85rem; }
  .hero-copy p { max-width: 22rem; font-size: 1.075rem; line-height: 1.38; }
  .intro-button { min-height: 3.15rem; margin-top: 1.35rem; padding-inline: 1.35rem; font-size: 1rem; }
  .intro-button .icon { width: 1.35rem; height: 1.35rem; }
  .support { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "fund platform" "credit credit"; min-height: 0; gap: 0.55rem 0.8rem; padding: 0.65rem 0.9rem 0.95rem; }
  .support-fund { grid-area: fund; padding: 0 0.6rem 0 0; }
  .support-fund img { width: min(100%, 8rem); }
  .support-platform { grid-area: platform; }
  .support-platform img { width: min(90%, 7rem); max-height: 4.75rem; }
  .support p { grid-area: credit; margin-inline: auto; max-width: 25rem; font-size: 0.86rem; text-align: center; }
  .product { padding-block: 2.15rem 2rem; }
  .product::before { top: 3.5rem; right: -4.7rem; width: 85%; opacity: 0.42; }
  h2 { font-size: clamp(1.8rem, 7.7vw, 2.65rem); text-wrap: initial; }
  .product h2 { font-size: clamp(1.8rem, 7.2vw, 2.6rem); }
  .desktop-break { display: none; }
  .eyebrow { font-size: 0.81rem; }
  .section-description { font-size: 1rem; line-height: 1.44; }
  .product .section-description { line-height: 1.44; }
  .showcase { margin-top: 1.3rem; }
  .tab-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.18rem; padding: 0.25rem; border-radius: 1rem; }
  .tab-list button { min-height: 2.75rem; justify-content: flex-start; gap: 0.48rem; padding-inline: 0.52rem; border-radius: 0.7rem; text-align: left; font-size: 0.84rem; }
  .tab-list button + button::before { display: none; }
  .showcase-frame { margin-top: 0.55rem; padding: 1rem; border-radius: 1.12rem; }
  .tab-panel { grid-template-columns: 1fr; gap: 1.05rem; }
  .panel-copy h3 { font-size: 1.28rem; line-height: 1.13; }
  .panel-copy > p { margin-top: 0.5rem; }
  .steps { gap: 0.56rem; margin-top: 0.8rem; }
  .game-view { aspect-ratio: 1.6; border-radius: 0.8rem; }
  .game-art, .event-view .game-art { object-position: center; }
  .signal { width: 32%; padding: 0.25rem 0.45rem 0.45rem; border-radius: 0.55rem; }
  .signal-track { height: 0.34rem; }
  .route { top: 0.68rem; right: 0.68rem; }
  .scene-toggle { top: 0.15rem; left: 0.25rem; }
  .institutions { padding-block: 2rem 4.8rem; }
  .institutions h2 { font-size: clamp(1.92rem, 8.25vw, 2.65rem); }
  .institutions::before { width: 68%; opacity: 0.5; }
  .institutions::after { bottom: -1.25rem; }
  .services { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem 0; margin-top: 1.5rem; }
  .services li { grid-column: span 2; gap: 0.55rem; padding-inline: 0.22rem; }
  .services li:nth-child(4) { grid-column: 2 / span 2; }
  .services li:nth-child(4)::before { display: none; }
  .services p { font-size: clamp(0.85rem, 3.6vw, 1rem); }
  .services .icon { width: 3.45rem; height: 3.45rem; }
  .institutions-action { justify-items: center; margin-top: 2rem; }
  .institutions-action > p { padding-left: 0; font-size: 0.89rem; }
  .primary-button { min-height: 3.5rem; gap: 0.65rem; padding-inline: 1.3rem; }
  .primary-button .icon { width: 1.35rem; height: 1.35rem; }
  .about { padding-block: 1.4rem 2.1rem; }
  .directions { grid-template-columns: 1fr; gap: 0.8rem; margin-top: 1.15rem; }
  .directions li, .directions li:first-child { position: relative; min-height: 3.3rem; padding: 0 0 0.7rem 2.7rem; border-left: 0; border-bottom: 1px solid #80d5e62e; }
  .directions li:last-child { padding-bottom: 0; border-bottom: 0; }
  .directions .icon { position: absolute; left: 0; top: 0.11rem; width: 1.8rem; height: 1.8rem; }
  .directions p { max-width: unset; }
  .closing::before { background-size: auto 100%; }
  .contacts address { grid-template-columns: 1fr; gap: 0.25rem; }
  .contacts a { width: fit-content; }
  .site-footer { flex-direction: column; }
  .legal-links { gap: 0.5rem 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-scene] .scene-toggle { display: none; }
}
